@Generated(value="software.amazon.awssdk:codegen") public interface ImagebuilderClient extends SdkClient
builder() method.
EC2 Image Builder is a fully managed AWS 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 |
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.
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.
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.
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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.
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.
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 AWS 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 AWS 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 AWS 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 AWS 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 a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
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 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 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 © 2021. All rights reserved.