@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ImagebuilderClient extends SdkClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ImagebuilderClientBuilder |
builder()
Create a builder that can be used to configure and create a
ImagebuilderClient. |
default CancelImageCreationResponse |
cancelImageCreation(CancelImageCreationRequest cancelImageCreationRequest)
CancelImageCreation cancels the creation of Image.
|
default CancelImageCreationResponse |
cancelImageCreation(Consumer<CancelImageCreationRequest.Builder> cancelImageCreationRequest)
CancelImageCreation cancels the creation of Image.
|
static ImagebuilderClient |
create()
Create a
ImagebuilderClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateComponentResponse |
createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
Creates a new component that can be used to build, validate, test, and assess your image.
|
default CreateComponentResponse |
createComponent(CreateComponentRequest createComponentRequest)
Creates a new component that can be used to build, validate, test, and assess your image.
|
default CreateContainerRecipeResponse |
createContainerRecipe(Consumer<CreateContainerRecipeRequest.Builder> createContainerRecipeRequest)
Creates a new container recipe.
|
default CreateContainerRecipeResponse |
createContainerRecipe(CreateContainerRecipeRequest createContainerRecipeRequest)
Creates a new container recipe.
|
default CreateDistributionConfigurationResponse |
createDistributionConfiguration(Consumer<CreateDistributionConfigurationRequest.Builder> createDistributionConfigurationRequest)
Creates a new distribution configuration.
|
default CreateDistributionConfigurationResponse |
createDistributionConfiguration(CreateDistributionConfigurationRequest createDistributionConfigurationRequest)
Creates a new distribution configuration.
|
default CreateImageResponse |
createImage(Consumer<CreateImageRequest.Builder> createImageRequest)
Creates a new image.
|
default CreateImageResponse |
createImage(CreateImageRequest createImageRequest)
Creates a new image.
|
default CreateImagePipelineResponse |
createImagePipeline(Consumer<CreateImagePipelineRequest.Builder> createImagePipelineRequest)
Creates a new image pipeline.
|
default CreateImagePipelineResponse |
createImagePipeline(CreateImagePipelineRequest createImagePipelineRequest)
Creates a new image pipeline.
|
default CreateImageRecipeResponse |
createImageRecipe(Consumer<CreateImageRecipeRequest.Builder> createImageRecipeRequest)
Creates a new image recipe.
|
default CreateImageRecipeResponse |
createImageRecipe(CreateImageRecipeRequest createImageRecipeRequest)
Creates a new image recipe.
|
default CreateInfrastructureConfigurationResponse |
createInfrastructureConfiguration(Consumer<CreateInfrastructureConfigurationRequest.Builder> createInfrastructureConfigurationRequest)
Creates a new infrastructure configuration.
|
default CreateInfrastructureConfigurationResponse |
createInfrastructureConfiguration(CreateInfrastructureConfigurationRequest createInfrastructureConfigurationRequest)
Creates a new infrastructure configuration.
|
default DeleteComponentResponse |
deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Deletes a component build version.
|
default DeleteComponentResponse |
deleteComponent(DeleteComponentRequest deleteComponentRequest)
Deletes a component build version.
|
default DeleteContainerRecipeResponse |
deleteContainerRecipe(Consumer<DeleteContainerRecipeRequest.Builder> deleteContainerRecipeRequest)
Deletes a container recipe.
|
default DeleteContainerRecipeResponse |
deleteContainerRecipe(DeleteContainerRecipeRequest deleteContainerRecipeRequest)
Deletes a container recipe.
|
default DeleteDistributionConfigurationResponse |
deleteDistributionConfiguration(Consumer<DeleteDistributionConfigurationRequest.Builder> deleteDistributionConfigurationRequest)
Deletes a distribution configuration.
|
default DeleteDistributionConfigurationResponse |
deleteDistributionConfiguration(DeleteDistributionConfigurationRequest deleteDistributionConfigurationRequest)
Deletes a distribution configuration.
|
default DeleteImageResponse |
deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest)
Deletes an Image Builder image resource.
|
default DeleteImageResponse |
deleteImage(DeleteImageRequest deleteImageRequest)
Deletes an Image Builder image resource.
|
default DeleteImagePipelineResponse |
deleteImagePipeline(Consumer<DeleteImagePipelineRequest.Builder> deleteImagePipelineRequest)
Deletes an image pipeline.
|
default DeleteImagePipelineResponse |
deleteImagePipeline(DeleteImagePipelineRequest deleteImagePipelineRequest)
Deletes an image pipeline.
|
default DeleteImageRecipeResponse |
deleteImageRecipe(Consumer<DeleteImageRecipeRequest.Builder> deleteImageRecipeRequest)
Deletes an image recipe.
|
default DeleteImageRecipeResponse |
deleteImageRecipe(DeleteImageRecipeRequest deleteImageRecipeRequest)
Deletes an image recipe.
|
default DeleteInfrastructureConfigurationResponse |
deleteInfrastructureConfiguration(Consumer<DeleteInfrastructureConfigurationRequest.Builder> deleteInfrastructureConfigurationRequest)
Deletes an infrastructure configuration.
|
default DeleteInfrastructureConfigurationResponse |
deleteInfrastructureConfiguration(DeleteInfrastructureConfigurationRequest deleteInfrastructureConfigurationRequest)
Deletes an infrastructure configuration.
|
default GetComponentResponse |
getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest)
Gets a component object.
|
default GetComponentResponse |
getComponent(GetComponentRequest getComponentRequest)
Gets a component object.
|
default GetComponentPolicyResponse |
getComponentPolicy(Consumer<GetComponentPolicyRequest.Builder> getComponentPolicyRequest)
Gets a component policy.
|
default GetComponentPolicyResponse |
getComponentPolicy(GetComponentPolicyRequest getComponentPolicyRequest)
Gets a component policy.
|
default GetContainerRecipeResponse |
getContainerRecipe(Consumer<GetContainerRecipeRequest.Builder> getContainerRecipeRequest)
Retrieves a container recipe.
|
default GetContainerRecipeResponse |
getContainerRecipe(GetContainerRecipeRequest getContainerRecipeRequest)
Retrieves a container recipe.
|
default GetContainerRecipePolicyResponse |
getContainerRecipePolicy(Consumer<GetContainerRecipePolicyRequest.Builder> getContainerRecipePolicyRequest)
Retrieves the policy for a container recipe.
|
default GetContainerRecipePolicyResponse |
getContainerRecipePolicy(GetContainerRecipePolicyRequest getContainerRecipePolicyRequest)
Retrieves the policy for a container recipe.
|
default GetDistributionConfigurationResponse |
getDistributionConfiguration(Consumer<GetDistributionConfigurationRequest.Builder> getDistributionConfigurationRequest)
Gets a distribution configuration.
|
default GetDistributionConfigurationResponse |
getDistributionConfiguration(GetDistributionConfigurationRequest getDistributionConfigurationRequest)
Gets a distribution configuration.
|
default GetImageResponse |
getImage(Consumer<GetImageRequest.Builder> getImageRequest)
Gets an image.
|
default GetImageResponse |
getImage(GetImageRequest getImageRequest)
Gets an image.
|
default GetImagePipelineResponse |
getImagePipeline(Consumer<GetImagePipelineRequest.Builder> getImagePipelineRequest)
Gets an image pipeline.
|
default GetImagePipelineResponse |
getImagePipeline(GetImagePipelineRequest getImagePipelineRequest)
Gets an image pipeline.
|
default GetImagePolicyResponse |
getImagePolicy(Consumer<GetImagePolicyRequest.Builder> getImagePolicyRequest)
Gets an image policy.
|
default GetImagePolicyResponse |
getImagePolicy(GetImagePolicyRequest getImagePolicyRequest)
Gets an image policy.
|
default GetImageRecipeResponse |
getImageRecipe(Consumer<GetImageRecipeRequest.Builder> getImageRecipeRequest)
Gets an image recipe.
|
default GetImageRecipeResponse |
getImageRecipe(GetImageRecipeRequest getImageRecipeRequest)
Gets an image recipe.
|
default GetImageRecipePolicyResponse |
getImageRecipePolicy(Consumer<GetImageRecipePolicyRequest.Builder> getImageRecipePolicyRequest)
Gets an image recipe policy.
|
default GetImageRecipePolicyResponse |
getImageRecipePolicy(GetImageRecipePolicyRequest getImageRecipePolicyRequest)
Gets an image recipe policy.
|
default GetInfrastructureConfigurationResponse |
getInfrastructureConfiguration(Consumer<GetInfrastructureConfigurationRequest.Builder> getInfrastructureConfigurationRequest)
Gets an infrastructure configuration.
|
default GetInfrastructureConfigurationResponse |
getInfrastructureConfiguration(GetInfrastructureConfigurationRequest getInfrastructureConfigurationRequest)
Gets an infrastructure configuration.
|
default ImportComponentResponse |
importComponent(Consumer<ImportComponentRequest.Builder> importComponentRequest)
Imports a component and transforms its data into a component document.
|
default ImportComponentResponse |
importComponent(ImportComponentRequest importComponentRequest)
Imports a component and transforms its data into a component document.
|
default 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 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.
|
default ListComponentBuildVersionsResponse |
listComponentBuildVersions(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentBuildVersionsResponse |
listComponentBuildVersions(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentBuildVersionsIterable |
listComponentBuildVersionsPaginator(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentBuildVersionsIterable |
listComponentBuildVersionsPaginator(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentsResponse |
listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentsResponse |
listComponents(ListComponentsRequest listComponentsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentsIterable |
listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListComponentsIterable |
listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Returns the list of component build versions for the specified semantic version.
|
default ListContainerRecipesResponse |
listContainerRecipes(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest)
Returns a list of container recipes.
|
default ListContainerRecipesResponse |
listContainerRecipes(ListContainerRecipesRequest listContainerRecipesRequest)
Returns a list of container recipes.
|
default ListContainerRecipesIterable |
listContainerRecipesPaginator(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest)
Returns a list of container recipes.
|
default ListContainerRecipesIterable |
listContainerRecipesPaginator(ListContainerRecipesRequest listContainerRecipesRequest)
Returns a list of container recipes.
|
default ListDistributionConfigurationsResponse |
listDistributionConfigurations(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest)
Returns a list of distribution configurations.
|
default ListDistributionConfigurationsResponse |
listDistributionConfigurations(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest)
Returns a list of distribution configurations.
|
default ListDistributionConfigurationsIterable |
listDistributionConfigurationsPaginator(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest)
Returns a list of distribution configurations.
|
default ListDistributionConfigurationsIterable |
listDistributionConfigurationsPaginator(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest)
Returns a list of distribution configurations.
|
default ListImageBuildVersionsResponse |
listImageBuildVersions(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest)
Returns a list of image build versions.
|
default ListImageBuildVersionsResponse |
listImageBuildVersions(ListImageBuildVersionsRequest listImageBuildVersionsRequest)
Returns a list of image build versions.
|
default ListImageBuildVersionsIterable |
listImageBuildVersionsPaginator(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest)
Returns a list of image build versions.
|
default ListImageBuildVersionsIterable |
listImageBuildVersionsPaginator(ListImageBuildVersionsRequest listImageBuildVersionsRequest)
Returns a list of image build versions.
|
default 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.
|
default 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.
|
default ListImagePackagesIterable |
listImagePackagesPaginator(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.
|
default ListImagePackagesIterable |
listImagePackagesPaginator(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 ListImagePipelineImagesResponse |
listImagePipelineImages(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest)
Returns a list of images created by the specified pipeline.
|
default ListImagePipelineImagesResponse |
listImagePipelineImages(ListImagePipelineImagesRequest listImagePipelineImagesRequest)
Returns a list of images created by the specified pipeline.
|
default ListImagePipelineImagesIterable |
listImagePipelineImagesPaginator(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest)
Returns a list of images created by the specified pipeline.
|
default ListImagePipelineImagesIterable |
listImagePipelineImagesPaginator(ListImagePipelineImagesRequest listImagePipelineImagesRequest)
Returns a list of images created by the specified pipeline.
|
default ListImagePipelinesResponse |
listImagePipelines(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest)
Returns a list of image pipelines.
|
default ListImagePipelinesResponse |
listImagePipelines(ListImagePipelinesRequest listImagePipelinesRequest)
Returns a list of image pipelines.
|
default ListImagePipelinesIterable |
listImagePipelinesPaginator(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest)
Returns a list of image pipelines.
|
default ListImagePipelinesIterable |
listImagePipelinesPaginator(ListImagePipelinesRequest listImagePipelinesRequest)
Returns a list of image pipelines.
|
default ListImageRecipesResponse |
listImageRecipes(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest)
Returns a list of image recipes.
|
default ListImageRecipesResponse |
listImageRecipes(ListImageRecipesRequest listImageRecipesRequest)
Returns a list of image recipes.
|
default ListImageRecipesIterable |
listImageRecipesPaginator(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest)
Returns a list of image recipes.
|
default ListImageRecipesIterable |
listImageRecipesPaginator(ListImageRecipesRequest listImageRecipesRequest)
Returns a list of image recipes.
|
default ListImagesResponse |
listImages(Consumer<ListImagesRequest.Builder> listImagesRequest)
Returns the list of images that you have access to.
|
default ListImagesResponse |
listImages(ListImagesRequest listImagesRequest)
Returns the list of images that you have access to.
|
default ListImagesIterable |
listImagesPaginator(Consumer<ListImagesRequest.Builder> listImagesRequest)
Returns the list of images that you have access to.
|
default ListImagesIterable |
listImagesPaginator(ListImagesRequest listImagesRequest)
Returns the list of images that you have access to.
|
default ListInfrastructureConfigurationsResponse |
listInfrastructureConfigurations(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest)
Returns a list of infrastructure configurations.
|
default ListInfrastructureConfigurationsResponse |
listInfrastructureConfigurations(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest)
Returns a list of infrastructure configurations.
|
default ListInfrastructureConfigurationsIterable |
listInfrastructureConfigurationsPaginator(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest)
Returns a list of infrastructure configurations.
|
default ListInfrastructureConfigurationsIterable |
listInfrastructureConfigurationsPaginator(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest)
Returns a list of infrastructure configurations.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns the list of tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns the list of tags for the specified resource.
|
default PutComponentPolicyResponse |
putComponentPolicy(Consumer<PutComponentPolicyRequest.Builder> putComponentPolicyRequest)
Applies a policy to a component.
|
default PutComponentPolicyResponse |
putComponentPolicy(PutComponentPolicyRequest putComponentPolicyRequest)
Applies a policy to a component.
|
default PutContainerRecipePolicyResponse |
putContainerRecipePolicy(Consumer<PutContainerRecipePolicyRequest.Builder> putContainerRecipePolicyRequest)
Applies a policy to a container image.
|
default PutContainerRecipePolicyResponse |
putContainerRecipePolicy(PutContainerRecipePolicyRequest putContainerRecipePolicyRequest)
Applies a policy to a container image.
|
default PutImagePolicyResponse |
putImagePolicy(Consumer<PutImagePolicyRequest.Builder> putImagePolicyRequest)
Applies a policy to an image.
|
default PutImagePolicyResponse |
putImagePolicy(PutImagePolicyRequest putImagePolicyRequest)
Applies a policy to an image.
|
default PutImageRecipePolicyResponse |
putImageRecipePolicy(Consumer<PutImageRecipePolicyRequest.Builder> putImageRecipePolicyRequest)
Applies a policy to an image recipe.
|
default PutImageRecipePolicyResponse |
putImageRecipePolicy(PutImageRecipePolicyRequest putImageRecipePolicyRequest)
Applies a policy to an image recipe.
|
static ServiceMetadata |
serviceMetadata() |
default StartImagePipelineExecutionResponse |
startImagePipelineExecution(Consumer<StartImagePipelineExecutionRequest.Builder> startImagePipelineExecutionRequest)
Manually triggers a pipeline to create an image.
|
default StartImagePipelineExecutionResponse |
startImagePipelineExecution(StartImagePipelineExecutionRequest startImagePipelineExecutionRequest)
Manually triggers a pipeline to create an image.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds a tag to a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds a tag to a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a resource.
|
default UpdateDistributionConfigurationResponse |
updateDistributionConfiguration(Consumer<UpdateDistributionConfigurationRequest.Builder> updateDistributionConfigurationRequest)
Updates a new distribution configuration.
|
default UpdateDistributionConfigurationResponse |
updateDistributionConfiguration(UpdateDistributionConfigurationRequest updateDistributionConfigurationRequest)
Updates a new distribution configuration.
|
default UpdateImagePipelineResponse |
updateImagePipeline(Consumer<UpdateImagePipelineRequest.Builder> updateImagePipelineRequest)
Updates an image pipeline.
|
default UpdateImagePipelineResponse |
updateImagePipeline(UpdateImagePipelineRequest updateImagePipelineRequest)
Updates an image pipeline.
|
default UpdateInfrastructureConfigurationResponse |
updateInfrastructureConfiguration(Consumer<UpdateInfrastructureConfigurationRequest.Builder> updateInfrastructureConfigurationRequest)
Updates a new infrastructure configuration.
|
default UpdateInfrastructureConfigurationResponse |
updateInfrastructureConfiguration(UpdateInfrastructureConfigurationRequest updateInfrastructureConfigurationRequest)
Updates a new infrastructure configuration.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static ImagebuilderClient create()
ImagebuilderClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ImagebuilderClientBuilder builder()
ImagebuilderClient.default CancelImageCreationResponse cancelImageCreation(CancelImageCreationRequest cancelImageCreationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
cancelImageCreationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CancelImageCreationResponse cancelImageCreation(Consumer<CancelImageCreationRequest.Builder> cancelImageCreationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CancelImageCreationRequest.builder()
cancelImageCreationRequest - A Consumer that will call methods on CancelImageCreationRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
createComponentRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateComponentResponse createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateComponentRequest.builder()
createComponentRequest - A Consumer that will call methods on CreateComponentRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateContainerRecipeResponse createContainerRecipe(CreateContainerRecipeRequest createContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
createContainerRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateContainerRecipeResponse createContainerRecipe(Consumer<CreateContainerRecipeRequest.Builder> createContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateContainerRecipeRequest.builder()
createContainerRecipeRequest - A Consumer that will call methods on CreateContainerRecipeRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateDistributionConfigurationResponse createDistributionConfiguration(CreateDistributionConfigurationRequest createDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
createDistributionConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateDistributionConfigurationResponse createDistributionConfiguration(Consumer<CreateDistributionConfigurationRequest.Builder> createDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, InvalidParameterCombinationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateDistributionConfigurationRequest.builder()
createDistributionConfigurationRequest - A Consumer that will call methods on CreateDistributionConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImageResponse createImage(CreateImageRequest createImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
createImageRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImageResponse createImage(Consumer<CreateImageRequest.Builder> createImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateImageRequest.builder()
createImageRequest - A Consumer that will call methods on CreateImageRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImagePipelineResponse createImagePipeline(CreateImagePipelineRequest createImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
createImagePipelineRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImagePipelineResponse createImagePipeline(Consumer<CreateImagePipelineRequest.Builder> createImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateImagePipelineRequest.builder()
createImagePipelineRequest - A Consumer that will call methods on CreateImagePipelineRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImageRecipeResponse createImageRecipe(CreateImageRecipeRequest createImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
createImageRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateImageRecipeResponse createImageRecipe(Consumer<CreateImageRecipeRequest.Builder> createImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateImageRecipeRequest.builder()
createImageRecipeRequest - A Consumer that will call methods on CreateImageRecipeRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateInfrastructureConfigurationResponse createInfrastructureConfiguration(CreateInfrastructureConfigurationRequest createInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
createInfrastructureConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault CreateInfrastructureConfigurationResponse createInfrastructureConfiguration(Consumer<CreateInfrastructureConfigurationRequest.Builder> createInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, ResourceAlreadyExistsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via CreateInfrastructureConfigurationRequest.builder()
createInfrastructureConfigurationRequest - A Consumer that will call methods on CreateInfrastructureConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteComponentResponse deleteComponent(DeleteComponentRequest deleteComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a component build version.
deleteComponentRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteComponentResponse deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a component build version.
This is a convenience which creates an instance of the DeleteComponentRequest.Builder avoiding the need
to create one manually via DeleteComponentRequest.builder()
deleteComponentRequest - A Consumer that will call methods on DeleteComponentRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteContainerRecipeResponse deleteContainerRecipe(DeleteContainerRecipeRequest deleteContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a container recipe.
deleteContainerRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteContainerRecipeResponse deleteContainerRecipe(Consumer<DeleteContainerRecipeRequest.Builder> deleteContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a container recipe.
This is a convenience which creates an instance of the DeleteContainerRecipeRequest.Builder avoiding the
need to create one manually via DeleteContainerRecipeRequest.builder()
deleteContainerRecipeRequest - A Consumer that will call methods on DeleteContainerRecipeRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteDistributionConfigurationResponse deleteDistributionConfiguration(DeleteDistributionConfigurationRequest deleteDistributionConfigurationRequest) throws ServiceException, ClientException, InvalidRequestException, ServiceUnavailableException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a distribution configuration.
deleteDistributionConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteDistributionConfigurationResponse deleteDistributionConfiguration(Consumer<DeleteDistributionConfigurationRequest.Builder> deleteDistributionConfigurationRequest) throws ServiceException, ClientException, InvalidRequestException, ServiceUnavailableException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes a distribution configuration.
This is a convenience which creates an instance of the DeleteDistributionConfigurationRequest.Builder
avoiding the need to create one manually via DeleteDistributionConfigurationRequest.builder()
deleteDistributionConfigurationRequest - A Consumer that will call methods on DeleteDistributionConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImageResponse deleteImage(DeleteImageRequest deleteImageRequest) throws ServiceException, ClientException, InvalidRequestException, ServiceUnavailableException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
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.
deleteImageRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImageResponse deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest) throws ServiceException, ClientException, InvalidRequestException, ServiceUnavailableException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
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 via DeleteImageRequest.builder()
deleteImageRequest - A Consumer that will call methods on DeleteImageRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImagePipelineResponse deleteImagePipeline(DeleteImagePipelineRequest deleteImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an image pipeline.
deleteImagePipelineRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImagePipelineResponse deleteImagePipeline(Consumer<DeleteImagePipelineRequest.Builder> deleteImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an image pipeline.
This is a convenience which creates an instance of the DeleteImagePipelineRequest.Builder avoiding the
need to create one manually via DeleteImagePipelineRequest.builder()
deleteImagePipelineRequest - A Consumer that will call methods on DeleteImagePipelineRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImageRecipeResponse deleteImageRecipe(DeleteImageRecipeRequest deleteImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an image recipe.
deleteImageRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteImageRecipeResponse deleteImageRecipe(Consumer<DeleteImageRecipeRequest.Builder> deleteImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an image recipe.
This is a convenience which creates an instance of the DeleteImageRecipeRequest.Builder avoiding the need
to create one manually via DeleteImageRecipeRequest.builder()
deleteImageRecipeRequest - A Consumer that will call methods on DeleteImageRecipeRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteInfrastructureConfigurationResponse deleteInfrastructureConfiguration(DeleteInfrastructureConfigurationRequest deleteInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an infrastructure configuration.
deleteInfrastructureConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault DeleteInfrastructureConfigurationResponse deleteInfrastructureConfiguration(Consumer<DeleteInfrastructureConfigurationRequest.Builder> deleteInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, ResourceDependencyException, AwsServiceException, SdkClientException, ImagebuilderException
Deletes an infrastructure configuration.
This is a convenience which creates an instance of the DeleteInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually via DeleteInfrastructureConfigurationRequest.builder()
deleteInfrastructureConfigurationRequest - A Consumer that will call methods on DeleteInfrastructureConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetComponentResponse getComponent(GetComponentRequest getComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a component object.
getComponentRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetComponentResponse getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a component object.
This is a convenience which creates an instance of the GetComponentRequest.Builder avoiding the need to
create one manually via GetComponentRequest.builder()
getComponentRequest - A Consumer that will call methods on GetComponentRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetComponentPolicyResponse getComponentPolicy(GetComponentPolicyRequest getComponentPolicyRequest) throws ServiceException, ServiceUnavailableException, ResourceNotFoundException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a component policy.
getComponentPolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetComponentPolicyResponse getComponentPolicy(Consumer<GetComponentPolicyRequest.Builder> getComponentPolicyRequest) throws ServiceException, ServiceUnavailableException, ResourceNotFoundException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a component policy.
This is a convenience which creates an instance of the GetComponentPolicyRequest.Builder avoiding the
need to create one manually via GetComponentPolicyRequest.builder()
getComponentPolicyRequest - A Consumer that will call methods on GetComponentPolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetContainerRecipeResponse getContainerRecipe(GetContainerRecipeRequest getContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Retrieves a container recipe.
getContainerRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetContainerRecipeResponse getContainerRecipe(Consumer<GetContainerRecipeRequest.Builder> getContainerRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Retrieves a container recipe.
This is a convenience which creates an instance of the GetContainerRecipeRequest.Builder avoiding the
need to create one manually via GetContainerRecipeRequest.builder()
getContainerRecipeRequest - A Consumer that will call methods on GetContainerRecipeRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetContainerRecipePolicyResponse getContainerRecipePolicy(GetContainerRecipePolicyRequest getContainerRecipePolicyRequest) throws ServiceException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Retrieves the policy for a container recipe.
getContainerRecipePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetContainerRecipePolicyResponse getContainerRecipePolicy(Consumer<GetContainerRecipePolicyRequest.Builder> getContainerRecipePolicyRequest) throws ServiceException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via GetContainerRecipePolicyRequest.builder()
getContainerRecipePolicyRequest - A Consumer that will call methods on GetContainerRecipePolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetDistributionConfigurationResponse getDistributionConfiguration(GetDistributionConfigurationRequest getDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a distribution configuration.
getDistributionConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetDistributionConfigurationResponse getDistributionConfiguration(Consumer<GetDistributionConfigurationRequest.Builder> getDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets a distribution configuration.
This is a convenience which creates an instance of the GetDistributionConfigurationRequest.Builder
avoiding the need to create one manually via GetDistributionConfigurationRequest.builder()
getDistributionConfigurationRequest - A Consumer that will call methods on GetDistributionConfigurationRequest.Builder to create
a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageResponse getImage(GetImageRequest getImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image.
getImageRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageResponse getImage(Consumer<GetImageRequest.Builder> getImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image.
This is a convenience which creates an instance of the GetImageRequest.Builder avoiding the need to
create one manually via GetImageRequest.builder()
getImageRequest - A Consumer that will call methods on GetImageRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImagePipelineResponse getImagePipeline(GetImagePipelineRequest getImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image pipeline.
getImagePipelineRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImagePipelineResponse getImagePipeline(Consumer<GetImagePipelineRequest.Builder> getImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image pipeline.
This is a convenience which creates an instance of the GetImagePipelineRequest.Builder avoiding the need
to create one manually via GetImagePipelineRequest.builder()
getImagePipelineRequest - A Consumer that will call methods on GetImagePipelineRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImagePolicyResponse getImagePolicy(GetImagePolicyRequest getImagePolicyRequest) throws ServiceException, ServiceUnavailableException, ResourceNotFoundException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image policy.
getImagePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImagePolicyResponse getImagePolicy(Consumer<GetImagePolicyRequest.Builder> getImagePolicyRequest) throws ServiceException, ServiceUnavailableException, ResourceNotFoundException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image policy.
This is a convenience which creates an instance of the GetImagePolicyRequest.Builder avoiding the need to
create one manually via GetImagePolicyRequest.builder()
getImagePolicyRequest - A Consumer that will call methods on GetImagePolicyRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageRecipeResponse getImageRecipe(GetImageRecipeRequest getImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image recipe.
getImageRecipeRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageRecipeResponse getImageRecipe(Consumer<GetImageRecipeRequest.Builder> getImageRecipeRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image recipe.
This is a convenience which creates an instance of the GetImageRecipeRequest.Builder avoiding the need to
create one manually via GetImageRecipeRequest.builder()
getImageRecipeRequest - A Consumer that will call methods on GetImageRecipeRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageRecipePolicyResponse getImageRecipePolicy(GetImageRecipePolicyRequest getImageRecipePolicyRequest) throws ServiceException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image recipe policy.
getImageRecipePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetImageRecipePolicyResponse getImageRecipePolicy(Consumer<GetImageRecipePolicyRequest.Builder> getImageRecipePolicyRequest) throws ServiceException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an image recipe policy.
This is a convenience which creates an instance of the GetImageRecipePolicyRequest.Builder avoiding the
need to create one manually via GetImageRecipePolicyRequest.builder()
getImageRecipePolicyRequest - A Consumer that will call methods on GetImageRecipePolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetInfrastructureConfigurationResponse getInfrastructureConfiguration(GetInfrastructureConfigurationRequest getInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an infrastructure configuration.
getInfrastructureConfigurationRequest - GetInfrastructureConfiguration request object.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault GetInfrastructureConfigurationResponse getInfrastructureConfiguration(Consumer<GetInfrastructureConfigurationRequest.Builder> getInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Gets an infrastructure configuration.
This is a convenience which creates an instance of the GetInfrastructureConfigurationRequest.Builder
avoiding the need to create one manually via GetInfrastructureConfigurationRequest.builder()
getInfrastructureConfigurationRequest - A Consumer that will call methods on GetInfrastructureConfigurationRequest.Builder to
create a request. GetInfrastructureConfiguration request object.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ImportComponentResponse importComponent(ImportComponentRequest importComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, ImagebuilderException
Imports a component and transforms its data into a component document.
importComponentRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ImportComponentResponse importComponent(Consumer<ImportComponentRequest.Builder> importComponentRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, InvalidVersionNumberException, ResourceInUseException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ImportComponentRequest.builder()
importComponentRequest - A Consumer that will call methods on ImportComponentRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ImportVmImageResponse importVmImage(ImportVmImageRequest importVmImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, AwsServiceException, SdkClientException, ImagebuilderException
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.
importVmImageRequest - 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.AwsServiceExceptiondefault ImportVmImageResponse importVmImage(Consumer<ImportVmImageRequest.Builder> importVmImageRequest) throws ServiceException, ClientException, ServiceUnavailableException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ImportVmImageRequest.builder()
importVmImageRequest - A Consumer that will call methods on ImportVmImageRequest.Builder to create a request.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.AwsServiceExceptiondefault ListComponentBuildVersionsResponse listComponentBuildVersions(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
listComponentBuildVersionsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentBuildVersionsResponse listComponentBuildVersions(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListComponentBuildVersionsRequest.builder()
listComponentBuildVersionsRequest - A Consumer that will call methods on ListComponentBuildVersionsRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentBuildVersionsIterable listComponentBuildVersionsPaginator(ListComponentBuildVersionsRequest listComponentBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client.listComponentBuildVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client
.listComponentBuildVersionsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client.listComponentBuildVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listComponentBuildVersionsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentBuildVersionsIterable listComponentBuildVersionsPaginator(Consumer<ListComponentBuildVersionsRequest.Builder> listComponentBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listComponentBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client.listComponentBuildVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client
.listComponentBuildVersionsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListComponentBuildVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentBuildVersionsIterable responses = client.listComponentBuildVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListComponentBuildVersionsRequest.builder()
listComponentBuildVersionsRequest - A Consumer that will call methods on ListComponentBuildVersionsRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
listComponentsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentsResponse listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client
.listComponentsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listComponentsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListComponentsIterable listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listComponents(software.amazon.awssdk.services.imagebuilder.model.ListComponentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client
.listComponentsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListComponentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListContainerRecipesResponse listContainerRecipes(ListContainerRecipesRequest listContainerRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of container recipes.
listContainerRecipesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListContainerRecipesResponse listContainerRecipes(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListContainerRecipesRequest.builder()
listContainerRecipesRequest - A Consumer that will call methods on ListContainerRecipesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListContainerRecipesIterable listContainerRecipesPaginator(ListContainerRecipesRequest listContainerRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of container recipes.
This is a variant of
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client.listContainerRecipesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client
.listContainerRecipesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client.listContainerRecipesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listContainerRecipesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListContainerRecipesIterable listContainerRecipesPaginator(Consumer<ListContainerRecipesRequest.Builder> listContainerRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of container recipes.
This is a variant of
listContainerRecipes(software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client.listContainerRecipesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client
.listContainerRecipesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListContainerRecipesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListContainerRecipesIterable responses = client.listContainerRecipesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListContainerRecipesRequest.builder()
listContainerRecipesRequest - A Consumer that will call methods on ListContainerRecipesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListDistributionConfigurationsResponse listDistributionConfigurations(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of distribution configurations.
listDistributionConfigurationsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListDistributionConfigurationsResponse listDistributionConfigurations(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListDistributionConfigurationsRequest.builder()
listDistributionConfigurationsRequest - A Consumer that will call methods on ListDistributionConfigurationsRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListDistributionConfigurationsIterable listDistributionConfigurationsPaginator(ListDistributionConfigurationsRequest listDistributionConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of distribution configurations.
This is a variant of
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client.listDistributionConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client
.listDistributionConfigurationsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client.listDistributionConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listDistributionConfigurationsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListDistributionConfigurationsIterable listDistributionConfigurationsPaginator(Consumer<ListDistributionConfigurationsRequest.Builder> listDistributionConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of distribution configurations.
This is a variant of
listDistributionConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client.listDistributionConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client
.listDistributionConfigurationsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListDistributionConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListDistributionConfigurationsIterable responses = client.listDistributionConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListDistributionConfigurationsRequest.builder()
listDistributionConfigurationsRequest - A Consumer that will call methods on ListDistributionConfigurationsRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageBuildVersionsResponse listImageBuildVersions(ListImageBuildVersionsRequest listImageBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image build versions.
listImageBuildVersionsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageBuildVersionsResponse listImageBuildVersions(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListImageBuildVersionsRequest.builder()
listImageBuildVersionsRequest - A Consumer that will call methods on ListImageBuildVersionsRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageBuildVersionsIterable listImageBuildVersionsPaginator(ListImageBuildVersionsRequest listImageBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image build versions.
This is a variant of
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client.listImageBuildVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client
.listImageBuildVersionsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client.listImageBuildVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImageBuildVersionsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageBuildVersionsIterable listImageBuildVersionsPaginator(Consumer<ListImageBuildVersionsRequest.Builder> listImageBuildVersionsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image build versions.
This is a variant of
listImageBuildVersions(software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client.listImageBuildVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client
.listImageBuildVersionsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImageBuildVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImageBuildVersionsIterable responses = client.listImageBuildVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImageBuildVersionsRequest.builder()
listImageBuildVersionsRequest - A Consumer that will call methods on ListImageBuildVersionsRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePackagesResponse listImagePackages(ListImagePackagesRequest listImagePackagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
listImagePackagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePackagesResponse listImagePackages(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListImagePackagesRequest.builder()
listImagePackagesRequest - A Consumer that will call methods on ListImagePackagesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePackagesIterable listImagePackagesPaginator(ListImagePackagesRequest listImagePackagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client.listImagePackagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client
.listImagePackagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client.listImagePackagesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImagePackagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePackagesIterable listImagePackagesPaginator(Consumer<ListImagePackagesRequest.Builder> listImagePackagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 variant of
listImagePackages(software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client.listImagePackagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client
.listImagePackagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePackagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePackagesIterable responses = client.listImagePackagesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImagePackagesRequest.builder()
listImagePackagesRequest - A Consumer that will call methods on ListImagePackagesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelineImagesResponse listImagePipelineImages(ListImagePipelineImagesRequest listImagePipelineImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of images created by the specified pipeline.
listImagePipelineImagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelineImagesResponse listImagePipelineImages(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListImagePipelineImagesRequest.builder()
listImagePipelineImagesRequest - A Consumer that will call methods on ListImagePipelineImagesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelineImagesIterable listImagePipelineImagesPaginator(ListImagePipelineImagesRequest listImagePipelineImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of images created by the specified pipeline.
This is a variant of
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client.listImagePipelineImagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client
.listImagePipelineImagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client.listImagePipelineImagesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImagePipelineImagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelineImagesIterable listImagePipelineImagesPaginator(Consumer<ListImagePipelineImagesRequest.Builder> listImagePipelineImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of images created by the specified pipeline.
This is a variant of
listImagePipelineImages(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client.listImagePipelineImagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client
.listImagePipelineImagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePipelineImagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelineImagesIterable responses = client.listImagePipelineImagesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImagePipelineImagesRequest.builder()
listImagePipelineImagesRequest - A Consumer that will call methods on ListImagePipelineImagesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelinesResponse listImagePipelines(ListImagePipelinesRequest listImagePipelinesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image pipelines.
listImagePipelinesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelinesResponse listImagePipelines(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListImagePipelinesRequest.builder()
listImagePipelinesRequest - A Consumer that will call methods on ListImagePipelinesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelinesIterable listImagePipelinesPaginator(ListImagePipelinesRequest listImagePipelinesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image pipelines.
This is a variant of
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client.listImagePipelinesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client
.listImagePipelinesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client.listImagePipelinesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImagePipelinesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagePipelinesIterable listImagePipelinesPaginator(Consumer<ListImagePipelinesRequest.Builder> listImagePipelinesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image pipelines.
This is a variant of
listImagePipelines(software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client.listImagePipelinesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client
.listImagePipelinesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagePipelinesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagePipelinesIterable responses = client.listImagePipelinesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImagePipelinesRequest.builder()
listImagePipelinesRequest - A Consumer that will call methods on ListImagePipelinesRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageRecipesResponse listImageRecipes(ListImageRecipesRequest listImageRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image recipes.
listImageRecipesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageRecipesResponse listImageRecipes(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListImageRecipesRequest.builder()
listImageRecipesRequest - A Consumer that will call methods on ListImageRecipesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageRecipesIterable listImageRecipesPaginator(ListImageRecipesRequest listImageRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image recipes.
This is a variant of
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client.listImageRecipesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client
.listImageRecipesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client.listImageRecipesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImageRecipesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImageRecipesIterable listImageRecipesPaginator(Consumer<ListImageRecipesRequest.Builder> listImageRecipesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of image recipes.
This is a variant of
listImageRecipes(software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client.listImageRecipesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client
.listImageRecipesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImageRecipesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImageRecipesIterable responses = client.listImageRecipesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImageRecipesRequest.builder()
listImageRecipesRequest - A Consumer that will call methods on ListImageRecipesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagesResponse listImages(ListImagesRequest listImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns the list of images that you have access to.
listImagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagesResponse listImages(Consumer<ListImagesRequest.Builder> listImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns the list of images that you have access to.
This is a convenience which creates an instance of the ListImagesRequest.Builder avoiding the need to
create one manually via ListImagesRequest.builder()
listImagesRequest - A Consumer that will call methods on ListImagesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagesIterable listImagesPaginator(ListImagesRequest listImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns the list of images that you have access to.
This is a variant of listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listImagesRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListImagesIterable listImagesPaginator(Consumer<ListImagesRequest.Builder> listImagesRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns the list of images that you have access to.
This is a variant of listImages(software.amazon.awssdk.services.imagebuilder.model.ListImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListImagesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListImagesIterable responses = client.listImagesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListImagesRequest.builder()
listImagesRequest - A Consumer that will call methods on ListImagesRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListInfrastructureConfigurationsResponse listInfrastructureConfigurations(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of infrastructure configurations.
listInfrastructureConfigurationsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListInfrastructureConfigurationsResponse listInfrastructureConfigurations(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListInfrastructureConfigurationsRequest.builder()
listInfrastructureConfigurationsRequest - A Consumer that will call methods on ListInfrastructureConfigurationsRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListInfrastructureConfigurationsIterable listInfrastructureConfigurationsPaginator(ListInfrastructureConfigurationsRequest listInfrastructureConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of infrastructure configurations.
This is a variant of
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client.listInfrastructureConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client
.listInfrastructureConfigurationsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client.listInfrastructureConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listInfrastructureConfigurationsRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListInfrastructureConfigurationsIterable listInfrastructureConfigurationsPaginator(Consumer<ListInfrastructureConfigurationsRequest.Builder> listInfrastructureConfigurationsRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidPaginationTokenException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
Returns a list of infrastructure configurations.
This is a variant of
listInfrastructureConfigurations(software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client.listInfrastructureConfigurationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client
.listInfrastructureConfigurationsPaginator(request);
for (software.amazon.awssdk.services.imagebuilder.model.ListInfrastructureConfigurationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.imagebuilder.paginators.ListInfrastructureConfigurationsIterable responses = client.listInfrastructureConfigurationsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListInfrastructureConfigurationsRequest.builder()
listInfrastructureConfigurationsRequest - A Consumer that will call methods on ListInfrastructureConfigurationsRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
Returns the list of tags for the specified resource.
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
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 via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault PutComponentPolicyResponse putComponentPolicy(PutComponentPolicyRequest putComponentPolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
putComponentPolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutComponentPolicyResponse putComponentPolicy(Consumer<PutComponentPolicyRequest.Builder> putComponentPolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via PutComponentPolicyRequest.builder()
putComponentPolicyRequest - A Consumer that will call methods on PutComponentPolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutContainerRecipePolicyResponse putContainerRecipePolicy(PutContainerRecipePolicyRequest putContainerRecipePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
putContainerRecipePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutContainerRecipePolicyResponse putContainerRecipePolicy(Consumer<PutContainerRecipePolicyRequest.Builder> putContainerRecipePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via PutContainerRecipePolicyRequest.builder()
putContainerRecipePolicyRequest - A Consumer that will call methods on PutContainerRecipePolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutImagePolicyResponse putImagePolicy(PutImagePolicyRequest putImagePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
putImagePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutImagePolicyResponse putImagePolicy(Consumer<PutImagePolicyRequest.Builder> putImagePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via PutImagePolicyRequest.builder()
putImagePolicyRequest - A Consumer that will call methods on PutImagePolicyRequest.Builder to create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutImageRecipePolicyResponse putImageRecipePolicy(PutImageRecipePolicyRequest putImageRecipePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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.
putImageRecipePolicyRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault PutImageRecipePolicyResponse putImageRecipePolicy(Consumer<PutImageRecipePolicyRequest.Builder> putImageRecipePolicyRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, InvalidParameterValueException, ResourceNotFoundException, ForbiddenException, CallRateLimitExceededException, AwsServiceException, SdkClientException, ImagebuilderException
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 via PutImageRecipePolicyRequest.builder()
putImageRecipePolicyRequest - A Consumer that will call methods on PutImageRecipePolicyRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault StartImagePipelineExecutionResponse startImagePipelineExecution(StartImagePipelineExecutionRequest startImagePipelineExecutionRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
Manually triggers a pipeline to create an image.
startImagePipelineExecutionRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault StartImagePipelineExecutionResponse startImagePipelineExecution(Consumer<StartImagePipelineExecutionRequest.Builder> startImagePipelineExecutionRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, ResourceNotFoundException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
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 via StartImagePipelineExecutionRequest.builder()
startImagePipelineExecutionRequest - A Consumer that will call methods on StartImagePipelineExecutionRequest.Builder to create
a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
Adds a tag to a resource.
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
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 via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
Removes a tag from a resource.
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ServiceException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, ImagebuilderException
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 via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateDistributionConfigurationResponse updateDistributionConfiguration(UpdateDistributionConfigurationRequest updateDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, ImagebuilderException
Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
updateDistributionConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault UpdateDistributionConfigurationResponse updateDistributionConfiguration(Consumer<UpdateDistributionConfigurationRequest.Builder> updateDistributionConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, ImagebuilderException
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 via UpdateDistributionConfigurationRequest.builder()
updateDistributionConfigurationRequest - A Consumer that will call methods on UpdateDistributionConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault UpdateImagePipelineResponse updateImagePipeline(UpdateImagePipelineRequest updateImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images.
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.
updateImagePipelineRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault UpdateImagePipelineResponse updateImagePipeline(Consumer<UpdateImagePipelineRequest.Builder> updateImagePipelineRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images.
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 via UpdateImagePipelineRequest.builder()
updateImagePipelineRequest - A Consumer that will call methods on UpdateImagePipelineRequest.Builder to create a
request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault UpdateInfrastructureConfigurationResponse updateInfrastructureConfiguration(UpdateInfrastructureConfigurationRequest updateInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
updateInfrastructureConfigurationRequest - 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 made a request for an action that is not supported by the service.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.AwsServiceExceptiondefault UpdateInfrastructureConfigurationResponse updateInfrastructureConfiguration(Consumer<UpdateInfrastructureConfigurationRequest.Builder> updateInfrastructureConfigurationRequest) throws ServiceException, ClientException, ServiceUnavailableException, InvalidRequestException, IdempotentParameterMismatchException, ForbiddenException, CallRateLimitExceededException, ResourceInUseException, AwsServiceException, SdkClientException, ImagebuilderException
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 via UpdateInfrastructureConfigurationRequest.builder()
updateInfrastructureConfigurationRequest - A Consumer that will call methods on UpdateInfrastructureConfigurationRequest.Builder to
create a request.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 made a request for an action that is not supported by the service.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.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.