
software.amazon.awssdk.services.elasticbeanstalk.ElasticBeanstalkClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.elasticbeanstalk;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.elasticbeanstalk.model.AbortEnvironmentUpdateRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.AbortEnvironmentUpdateResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ApplyEnvironmentManagedActionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ApplyEnvironmentManagedActionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.AssociateEnvironmentOperationsRoleRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.AssociateEnvironmentOperationsRoleResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CheckDnsAvailabilityRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CheckDnsAvailabilityResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CodeBuildNotInServiceRegionException;
import software.amazon.awssdk.services.elasticbeanstalk.model.ComposeEnvironmentsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ComposeEnvironmentsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateApplicationRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateApplicationResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateApplicationVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateApplicationVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateConfigurationTemplateRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateConfigurationTemplateResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateEnvironmentRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateEnvironmentResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreatePlatformVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreatePlatformVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateStorageLocationRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.CreateStorageLocationResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteApplicationRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteApplicationResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteApplicationVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteApplicationVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteConfigurationTemplateResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteEnvironmentConfigurationRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeleteEnvironmentConfigurationResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeletePlatformVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DeletePlatformVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeAccountAttributesRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeAccountAttributesResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeApplicationVersionsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeApplicationVersionsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeApplicationsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeApplicationsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeConfigurationOptionsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeConfigurationOptionsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeConfigurationSettingsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeConfigurationSettingsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentHealthRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentHealthResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentResourcesRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentResourcesResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeInstancesHealthRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribeInstancesHealthResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribePlatformVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DescribePlatformVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.DisassociateEnvironmentOperationsRoleRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.DisassociateEnvironmentOperationsRoleResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkException;
import software.amazon.awssdk.services.elasticbeanstalk.model.ElasticBeanstalkServiceException;
import software.amazon.awssdk.services.elasticbeanstalk.model.InsufficientPrivilegesException;
import software.amazon.awssdk.services.elasticbeanstalk.model.InvalidRequestException;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListAvailableSolutionStacksRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListAvailableSolutionStacksResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ManagedActionInvalidStateException;
import software.amazon.awssdk.services.elasticbeanstalk.model.OperationInProgressException;
import software.amazon.awssdk.services.elasticbeanstalk.model.PlatformVersionStillReferencedException;
import software.amazon.awssdk.services.elasticbeanstalk.model.RebuildEnvironmentRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.RebuildEnvironmentResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.RequestEnvironmentInfoRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.RequestEnvironmentInfoResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ResourceNotFoundException;
import software.amazon.awssdk.services.elasticbeanstalk.model.ResourceTypeNotSupportedException;
import software.amazon.awssdk.services.elasticbeanstalk.model.RestartAppServerRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.RestartAppServerResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.RetrieveEnvironmentInfoRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.RetrieveEnvironmentInfoResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.S3LocationNotInServiceRegionException;
import software.amazon.awssdk.services.elasticbeanstalk.model.S3SubscriptionRequiredException;
import software.amazon.awssdk.services.elasticbeanstalk.model.SourceBundleDeletionException;
import software.amazon.awssdk.services.elasticbeanstalk.model.SwapEnvironmentCnamEsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.SwapEnvironmentCnamEsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.TerminateEnvironmentRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.TerminateEnvironmentResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyApplicationVersionsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyApplicationsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyBucketsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyConfigurationTemplatesException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyEnvironmentsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyPlatformsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.TooManyTagsException;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationResourceLifecycleRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationResourceLifecycleResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationVersionRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateApplicationVersionResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateConfigurationTemplateRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateConfigurationTemplateResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateEnvironmentRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateEnvironmentResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateTagsForResourceRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.UpdateTagsForResourceResponse;
import software.amazon.awssdk.services.elasticbeanstalk.model.ValidateConfigurationSettingsRequest;
import software.amazon.awssdk.services.elasticbeanstalk.model.ValidateConfigurationSettingsResponse;
import software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable;
import software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable;
import software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable;
import software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable;
import software.amazon.awssdk.services.elasticbeanstalk.waiters.ElasticBeanstalkWaiter;
/**
* Service client for accessing Elastic Beanstalk. This can be created using the static {@link #builder()} method.
*
* AWS Elastic Beanstalk
*
* AWS Elastic Beanstalk makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications
* running on the Amazon Web Services cloud.
*
*
* For more information about this product, go to the AWS Elastic
* Beanstalk details page. The location of the latest AWS Elastic Beanstalk WSDL is https://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl. To install the Software
* Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to
* access the API, go to Tools for Amazon Web Services.
*
*
* Endpoints
*
*
* For a list of region-specific endpoints that AWS Elastic Beanstalk supports, go to Regions and Endpoints in
* the Amazon Web Services Glossary.
*
*/
@Generated("software.amazon.awssdk:codegen")
public interface ElasticBeanstalkClient extends SdkClient {
String SERVICE_NAME = "elasticbeanstalk";
/**
* Create a {@link ElasticBeanstalkClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static ElasticBeanstalkClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link ElasticBeanstalkClient}.
*/
static ElasticBeanstalkClientBuilder builder() {
return new DefaultElasticBeanstalkClientBuilder();
}
/**
*
* Cancels in-progress environment configuration update or application version deployment.
*
*
* @param abortEnvironmentUpdateRequest
* @return Result of the AbortEnvironmentUpdate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.AbortEnvironmentUpdate
* @see AWS API Documentation
*/
default AbortEnvironmentUpdateResponse abortEnvironmentUpdate(AbortEnvironmentUpdateRequest abortEnvironmentUpdateRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Cancels in-progress environment configuration update or application version deployment.
*
*
*
* This is a convenience which creates an instance of the {@link AbortEnvironmentUpdateRequest.Builder} avoiding the
* need to create one manually via {@link AbortEnvironmentUpdateRequest#builder()}
*
*
* @param abortEnvironmentUpdateRequest
* A {@link Consumer} that will call methods on {@link AbortEnvironmentUpdateMessage.Builder} to create a
* request.
* @return Result of the AbortEnvironmentUpdate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.AbortEnvironmentUpdate
* @see AWS API Documentation
*/
default AbortEnvironmentUpdateResponse abortEnvironmentUpdate(
Consumer abortEnvironmentUpdateRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return abortEnvironmentUpdate(AbortEnvironmentUpdateRequest.builder().applyMutation(abortEnvironmentUpdateRequest)
.build());
}
/**
*
* Applies a scheduled managed action immediately. A managed action can be applied only if its status is
* Scheduled
. Get the status and action ID of a managed action with
* DescribeEnvironmentManagedActions.
*
*
* @param applyEnvironmentManagedActionRequest
* Request to execute a scheduled managed action immediately.
* @return Result of the ApplyEnvironmentManagedAction operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws ManagedActionInvalidStateException
* Cannot modify the managed action in its current state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ApplyEnvironmentManagedAction
* @see AWS API Documentation
*/
default ApplyEnvironmentManagedActionResponse applyEnvironmentManagedAction(
ApplyEnvironmentManagedActionRequest applyEnvironmentManagedActionRequest) throws ElasticBeanstalkServiceException,
ManagedActionInvalidStateException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Applies a scheduled managed action immediately. A managed action can be applied only if its status is
* Scheduled
. Get the status and action ID of a managed action with
* DescribeEnvironmentManagedActions.
*
*
*
* This is a convenience which creates an instance of the {@link ApplyEnvironmentManagedActionRequest.Builder}
* avoiding the need to create one manually via {@link ApplyEnvironmentManagedActionRequest#builder()}
*
*
* @param applyEnvironmentManagedActionRequest
* A {@link Consumer} that will call methods on {@link ApplyEnvironmentManagedActionRequest.Builder} to
* create a request. Request to execute a scheduled managed action immediately.
* @return Result of the ApplyEnvironmentManagedAction operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws ManagedActionInvalidStateException
* Cannot modify the managed action in its current state.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ApplyEnvironmentManagedAction
* @see AWS API Documentation
*/
default ApplyEnvironmentManagedActionResponse applyEnvironmentManagedAction(
Consumer applyEnvironmentManagedActionRequest)
throws ElasticBeanstalkServiceException, ManagedActionInvalidStateException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return applyEnvironmentManagedAction(ApplyEnvironmentManagedActionRequest.builder()
.applyMutation(applyEnvironmentManagedActionRequest).build());
}
/**
*
* Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the
* associated operations role for permissions to downstream services during subsequent calls acting on this
* environment. For more information, see Operations roles in the
* AWS Elastic Beanstalk Developer Guide.
*
*
* @param associateEnvironmentOperationsRoleRequest
* Request to add or change the operations role used by an environment.
* @return Result of the AssociateEnvironmentOperationsRole operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.AssociateEnvironmentOperationsRole
* @see AWS API Documentation
*/
default AssociateEnvironmentOperationsRoleResponse associateEnvironmentOperationsRole(
AssociateEnvironmentOperationsRoleRequest associateEnvironmentOperationsRoleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the
* associated operations role for permissions to downstream services during subsequent calls acting on this
* environment. For more information, see Operations roles in the
* AWS Elastic Beanstalk Developer Guide.
*
*
*
* This is a convenience which creates an instance of the {@link AssociateEnvironmentOperationsRoleRequest.Builder}
* avoiding the need to create one manually via {@link AssociateEnvironmentOperationsRoleRequest#builder()}
*
*
* @param associateEnvironmentOperationsRoleRequest
* A {@link Consumer} that will call methods on {@link AssociateEnvironmentOperationsRoleMessage.Builder} to
* create a request. Request to add or change the operations role used by an environment.
* @return Result of the AssociateEnvironmentOperationsRole operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.AssociateEnvironmentOperationsRole
* @see AWS API Documentation
*/
default AssociateEnvironmentOperationsRoleResponse associateEnvironmentOperationsRole(
Consumer associateEnvironmentOperationsRoleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return associateEnvironmentOperationsRole(AssociateEnvironmentOperationsRoleRequest.builder()
.applyMutation(associateEnvironmentOperationsRoleRequest).build());
}
/**
*
* Checks if the specified CNAME is available.
*
*
* @param checkDnsAvailabilityRequest
* Results message indicating whether a CNAME is available.
* @return Result of the CheckDNSAvailability operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CheckDNSAvailability
* @see AWS API Documentation
*/
default CheckDnsAvailabilityResponse checkDNSAvailability(CheckDnsAvailabilityRequest checkDnsAvailabilityRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Checks if the specified CNAME is available.
*
*
*
* This is a convenience which creates an instance of the {@link CheckDnsAvailabilityRequest.Builder} avoiding the
* need to create one manually via {@link CheckDnsAvailabilityRequest#builder()}
*
*
* @param checkDnsAvailabilityRequest
* A {@link Consumer} that will call methods on {@link CheckDNSAvailabilityMessage.Builder} to create a
* request. Results message indicating whether a CNAME is available.
* @return Result of the CheckDNSAvailability operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CheckDNSAvailability
* @see AWS API Documentation
*/
default CheckDnsAvailabilityResponse checkDNSAvailability(
Consumer checkDnsAvailabilityRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return checkDNSAvailability(CheckDnsAvailabilityRequest.builder().applyMutation(checkDnsAvailabilityRequest).build());
}
/**
*
* Create or update a group of environments that each run a separate component of a single application. Takes a list
* of version labels that specify application source bundles for each of the environments to create or update. The
* name of each environment and other required information must be included in the source bundles in an environment
* manifest named env.yaml
. See Compose
* Environments for details.
*
*
* @param composeEnvironmentsRequest
* Request to create or update a group of environments.
* @return Result of the ComposeEnvironments operation returned by the service.
* @throws TooManyEnvironmentsException
* The specified account has reached its limit of environments.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ComposeEnvironments
* @see AWS API Documentation
*/
default ComposeEnvironmentsResponse composeEnvironments(ComposeEnvironmentsRequest composeEnvironmentsRequest)
throws TooManyEnvironmentsException, InsufficientPrivilegesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Create or update a group of environments that each run a separate component of a single application. Takes a list
* of version labels that specify application source bundles for each of the environments to create or update. The
* name of each environment and other required information must be included in the source bundles in an environment
* manifest named env.yaml
. See Compose
* Environments for details.
*
*
*
* This is a convenience which creates an instance of the {@link ComposeEnvironmentsRequest.Builder} avoiding the
* need to create one manually via {@link ComposeEnvironmentsRequest#builder()}
*
*
* @param composeEnvironmentsRequest
* A {@link Consumer} that will call methods on {@link ComposeEnvironmentsMessage.Builder} to create a
* request. Request to create or update a group of environments.
* @return Result of the ComposeEnvironments operation returned by the service.
* @throws TooManyEnvironmentsException
* The specified account has reached its limit of environments.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ComposeEnvironments
* @see AWS API Documentation
*/
default ComposeEnvironmentsResponse composeEnvironments(
Consumer composeEnvironmentsRequest) throws TooManyEnvironmentsException,
InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return composeEnvironments(ComposeEnvironmentsRequest.builder().applyMutation(composeEnvironmentsRequest).build());
}
/**
*
* Creates an application that has one configuration template named default
and no application
* versions.
*
*
* @param createApplicationRequest
* Request to create an application.
* @return Result of the CreateApplication operation returned by the service.
* @throws TooManyApplicationsException
* The specified account has reached its limit of applications.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateApplication
* @see AWS API Documentation
*/
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest)
throws TooManyApplicationsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an application that has one configuration template named default
and no application
* versions.
*
*
*
* This is a convenience which creates an instance of the {@link CreateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link CreateApplicationRequest#builder()}
*
*
* @param createApplicationRequest
* A {@link Consumer} that will call methods on {@link CreateApplicationMessage.Builder} to create a request.
* Request to create an application.
* @return Result of the CreateApplication operation returned by the service.
* @throws TooManyApplicationsException
* The specified account has reached its limit of applications.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateApplication
* @see AWS API Documentation
*/
default CreateApplicationResponse createApplication(Consumer createApplicationRequest)
throws TooManyApplicationsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return createApplication(CreateApplicationRequest.builder().applyMutation(createApplicationRequest).build());
}
/**
*
* Creates an application version for the specified application. You can create an application version from a source
* bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:
*
*
* Specify a commit in an AWS CodeCommit repository with SourceBuildInformation
.
*
*
* Specify a build in an AWS CodeBuild with SourceBuildInformation
and BuildConfiguration
.
*
*
* Specify a source bundle in S3 with SourceBundle
*
*
* Omit both SourceBuildInformation
and SourceBundle
to use the default sample
* application.
*
*
*
* After you create an application version with a specified Amazon S3 bucket and key location, you can't change that
* Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an
* environment from the application version.
*
*
*
* @param createApplicationVersionRequest
* @return Result of the CreateApplicationVersion operation returned by the service.
* @throws TooManyApplicationsException
* The specified account has reached its limit of applications.
* @throws TooManyApplicationVersionsException
* The specified account has reached its limit of application versions.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws S3LocationNotInServiceRegionException
* The specified S3 bucket does not belong to the S3 region in which the service is running. The following
* regions are supported:
*
* -
*
* IAD/us-east-1
*
*
* -
*
* PDX/us-west-2
*
*
* -
*
* DUB/eu-west-1
*
*
* @throws CodeBuildNotInServiceRegionException
* AWS CodeBuild is not available in the specified region.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateApplicationVersion
* @see AWS API Documentation
*/
default CreateApplicationVersionResponse createApplicationVersion(
CreateApplicationVersionRequest createApplicationVersionRequest) throws TooManyApplicationsException,
TooManyApplicationVersionsException, InsufficientPrivilegesException, S3LocationNotInServiceRegionException,
CodeBuildNotInServiceRegionException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an application version for the specified application. You can create an application version from a source
* bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:
*
*
* Specify a commit in an AWS CodeCommit repository with SourceBuildInformation
.
*
*
* Specify a build in an AWS CodeBuild with SourceBuildInformation
and BuildConfiguration
.
*
*
* Specify a source bundle in S3 with SourceBundle
*
*
* Omit both SourceBuildInformation
and SourceBundle
to use the default sample
* application.
*
*
*
* After you create an application version with a specified Amazon S3 bucket and key location, you can't change that
* Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an
* environment from the application version.
*
*
*
* This is a convenience which creates an instance of the {@link CreateApplicationVersionRequest.Builder} avoiding
* the need to create one manually via {@link CreateApplicationVersionRequest#builder()}
*
*
* @param createApplicationVersionRequest
* A {@link Consumer} that will call methods on {@link CreateApplicationVersionMessage.Builder} to create a
* request.
* @return Result of the CreateApplicationVersion operation returned by the service.
* @throws TooManyApplicationsException
* The specified account has reached its limit of applications.
* @throws TooManyApplicationVersionsException
* The specified account has reached its limit of application versions.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws S3LocationNotInServiceRegionException
* The specified S3 bucket does not belong to the S3 region in which the service is running. The following
* regions are supported:
*
* -
*
* IAD/us-east-1
*
*
* -
*
* PDX/us-west-2
*
*
* -
*
* DUB/eu-west-1
*
*
* @throws CodeBuildNotInServiceRegionException
* AWS CodeBuild is not available in the specified region.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateApplicationVersion
* @see AWS API Documentation
*/
default CreateApplicationVersionResponse createApplicationVersion(
Consumer createApplicationVersionRequest)
throws TooManyApplicationsException, TooManyApplicationVersionsException, InsufficientPrivilegesException,
S3LocationNotInServiceRegionException, CodeBuildNotInServiceRegionException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return createApplicationVersion(CreateApplicationVersionRequest.builder().applyMutation(createApplicationVersionRequest)
.build());
}
/**
*
* Creates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk
* application. You define application configuration settings in a configuration template. You can then use the
* configuration template to deploy different versions of the application with the same configuration settings.
*
*
* Templates aren't associated with any environment. The EnvironmentName
response element is always
* null
.
*
*
* Related Topics
*
*
* -
*
*
* -
*
*
* -
*
*
*
*
* @param createConfigurationTemplateRequest
* Request to create a configuration template.
* @return Result of the CreateConfigurationTemplate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws TooManyConfigurationTemplatesException
* The specified account has reached its limit of configuration templates.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateConfigurationTemplate
* @see AWS API Documentation
*/
default CreateConfigurationTemplateResponse createConfigurationTemplate(
CreateConfigurationTemplateRequest createConfigurationTemplateRequest) throws InsufficientPrivilegesException,
TooManyBucketsException, TooManyConfigurationTemplatesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk
* application. You define application configuration settings in a configuration template. You can then use the
* configuration template to deploy different versions of the application with the same configuration settings.
*
*
* Templates aren't associated with any environment. The EnvironmentName
response element is always
* null
.
*
*
* Related Topics
*
*
* -
*
*
* -
*
*
* -
*
*
*
*
*
* This is a convenience which creates an instance of the {@link CreateConfigurationTemplateRequest.Builder}
* avoiding the need to create one manually via {@link CreateConfigurationTemplateRequest#builder()}
*
*
* @param createConfigurationTemplateRequest
* A {@link Consumer} that will call methods on {@link CreateConfigurationTemplateMessage.Builder} to create
* a request. Request to create a configuration template.
* @return Result of the CreateConfigurationTemplate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws TooManyConfigurationTemplatesException
* The specified account has reached its limit of configuration templates.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateConfigurationTemplate
* @see AWS API Documentation
*/
default CreateConfigurationTemplateResponse createConfigurationTemplate(
Consumer createConfigurationTemplateRequest)
throws InsufficientPrivilegesException, TooManyBucketsException, TooManyConfigurationTemplatesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
return createConfigurationTemplate(CreateConfigurationTemplateRequest.builder()
.applyMutation(createConfigurationTemplateRequest).build());
}
/**
*
* Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.
*
*
* @param createEnvironmentRequest
* @return Result of the CreateEnvironment operation returned by the service.
* @throws TooManyEnvironmentsException
* The specified account has reached its limit of environments.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateEnvironment
* @see AWS API Documentation
*/
default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
throws TooManyEnvironmentsException, InsufficientPrivilegesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEnvironmentRequest.Builder} avoiding the need
* to create one manually via {@link CreateEnvironmentRequest#builder()}
*
*
* @param createEnvironmentRequest
* A {@link Consumer} that will call methods on {@link CreateEnvironmentMessage.Builder} to create a request.
* @return Result of the CreateEnvironment operation returned by the service.
* @throws TooManyEnvironmentsException
* The specified account has reached its limit of environments.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateEnvironment
* @see AWS API Documentation
*/
default CreateEnvironmentResponse createEnvironment(Consumer createEnvironmentRequest)
throws TooManyEnvironmentsException, InsufficientPrivilegesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return createEnvironment(CreateEnvironmentRequest.builder().applyMutation(createEnvironmentRequest).build());
}
/**
*
* Create a new version of your custom platform.
*
*
* @param createPlatformVersionRequest
* Request to create a new platform version.
* @return Result of the CreatePlatformVersion operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws TooManyPlatformsException
* You have exceeded the maximum number of allowed platforms associated with the account.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreatePlatformVersion
* @see AWS API Documentation
*/
default CreatePlatformVersionResponse createPlatformVersion(CreatePlatformVersionRequest createPlatformVersionRequest)
throws InsufficientPrivilegesException, ElasticBeanstalkServiceException, TooManyPlatformsException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Create a new version of your custom platform.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePlatformVersionRequest.Builder} avoiding the
* need to create one manually via {@link CreatePlatformVersionRequest#builder()}
*
*
* @param createPlatformVersionRequest
* A {@link Consumer} that will call methods on {@link CreatePlatformVersionRequest.Builder} to create a
* request. Request to create a new platform version.
* @return Result of the CreatePlatformVersion operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws TooManyPlatformsException
* You have exceeded the maximum number of allowed platforms associated with the account.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreatePlatformVersion
* @see AWS API Documentation
*/
default CreatePlatformVersionResponse createPlatformVersion(
Consumer createPlatformVersionRequest) throws InsufficientPrivilegesException,
ElasticBeanstalkServiceException, TooManyPlatformsException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return createPlatformVersion(CreatePlatformVersionRequest.builder().applyMutation(createPlatformVersionRequest).build());
}
/**
*
* Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk
* environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in
* a region. If the storage location already exists, CreateStorageLocation
still returns the bucket
* name but does not create a new bucket.
*
*
* @return Result of the CreateStorageLocation operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws S3SubscriptionRequiredException
* The specified account does not have a subscription to Amazon S3.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateStorageLocation
* @see #createStorageLocation(CreateStorageLocationRequest)
* @see AWS API Documentation
*/
default CreateStorageLocationResponse createStorageLocation() throws TooManyBucketsException,
S3SubscriptionRequiredException, InsufficientPrivilegesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return createStorageLocation(CreateStorageLocationRequest.builder().build());
}
/**
*
* Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk
* environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in
* a region. If the storage location already exists, CreateStorageLocation
still returns the bucket
* name but does not create a new bucket.
*
*
* @param createStorageLocationRequest
* @return Result of the CreateStorageLocation operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws S3SubscriptionRequiredException
* The specified account does not have a subscription to Amazon S3.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateStorageLocation
* @see AWS API Documentation
*/
default CreateStorageLocationResponse createStorageLocation(CreateStorageLocationRequest createStorageLocationRequest)
throws TooManyBucketsException, S3SubscriptionRequiredException, InsufficientPrivilegesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk
* environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in
* a region. If the storage location already exists, CreateStorageLocation
still returns the bucket
* name but does not create a new bucket.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStorageLocationRequest.Builder} avoiding the
* need to create one manually via {@link CreateStorageLocationRequest#builder()}
*
*
* @param createStorageLocationRequest
* A {@link Consumer} that will call methods on {@link CreateStorageLocationRequest.Builder} to create a
* request.
* @return Result of the CreateStorageLocation operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws S3SubscriptionRequiredException
* The specified account does not have a subscription to Amazon S3.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.CreateStorageLocation
* @see AWS API Documentation
*/
default CreateStorageLocationResponse createStorageLocation(
Consumer createStorageLocationRequest) throws TooManyBucketsException,
S3SubscriptionRequiredException, InsufficientPrivilegesException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return createStorageLocation(CreateStorageLocationRequest.builder().applyMutation(createStorageLocationRequest).build());
}
/**
*
* Deletes the specified application along with all associated versions and configurations. The application versions
* will not be deleted from your Amazon S3 bucket.
*
*
*
* You cannot delete an application that has a running environment.
*
*
*
* @param deleteApplicationRequest
* Request to delete an application.
* @return Result of the DeleteApplication operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteApplication
* @see AWS API Documentation
*/
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
throws OperationInProgressException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified application along with all associated versions and configurations. The application versions
* will not be deleted from your Amazon S3 bucket.
*
*
*
* You cannot delete an application that has a running environment.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApplicationRequest.Builder} avoiding the need
* to create one manually via {@link DeleteApplicationRequest#builder()}
*
*
* @param deleteApplicationRequest
* A {@link Consumer} that will call methods on {@link DeleteApplicationMessage.Builder} to create a request.
* Request to delete an application.
* @return Result of the DeleteApplication operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteApplication
* @see AWS API Documentation
*/
default DeleteApplicationResponse deleteApplication(Consumer deleteApplicationRequest)
throws OperationInProgressException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return deleteApplication(DeleteApplicationRequest.builder().applyMutation(deleteApplicationRequest).build());
}
/**
*
* Deletes the specified version from the specified application.
*
*
*
* You cannot delete an application version that is associated with a running environment.
*
*
*
* @param deleteApplicationVersionRequest
* Request to delete an application version.
* @return Result of the DeleteApplicationVersion operation returned by the service.
* @throws SourceBundleDeletionException
* Unable to delete the Amazon S3 source bundle associated with the application version. The application
* version was deleted successfully.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws S3LocationNotInServiceRegionException
* The specified S3 bucket does not belong to the S3 region in which the service is running. The following
* regions are supported:
*
* -
*
* IAD/us-east-1
*
*
* -
*
* PDX/us-west-2
*
*
* -
*
* DUB/eu-west-1
*
*
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteApplicationVersion
* @see AWS API Documentation
*/
default DeleteApplicationVersionResponse deleteApplicationVersion(
DeleteApplicationVersionRequest deleteApplicationVersionRequest) throws SourceBundleDeletionException,
InsufficientPrivilegesException, OperationInProgressException, S3LocationNotInServiceRegionException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified version from the specified application.
*
*
*
* You cannot delete an application version that is associated with a running environment.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApplicationVersionRequest.Builder} avoiding
* the need to create one manually via {@link DeleteApplicationVersionRequest#builder()}
*
*
* @param deleteApplicationVersionRequest
* A {@link Consumer} that will call methods on {@link DeleteApplicationVersionMessage.Builder} to create a
* request. Request to delete an application version.
* @return Result of the DeleteApplicationVersion operation returned by the service.
* @throws SourceBundleDeletionException
* Unable to delete the Amazon S3 source bundle associated with the application version. The application
* version was deleted successfully.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws S3LocationNotInServiceRegionException
* The specified S3 bucket does not belong to the S3 region in which the service is running. The following
* regions are supported:
*
* -
*
* IAD/us-east-1
*
*
* -
*
* PDX/us-west-2
*
*
* -
*
* DUB/eu-west-1
*
*
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteApplicationVersion
* @see AWS API Documentation
*/
default DeleteApplicationVersionResponse deleteApplicationVersion(
Consumer deleteApplicationVersionRequest)
throws SourceBundleDeletionException, InsufficientPrivilegesException, OperationInProgressException,
S3LocationNotInServiceRegionException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return deleteApplicationVersion(DeleteApplicationVersionRequest.builder().applyMutation(deleteApplicationVersionRequest)
.build());
}
/**
*
* Deletes the specified configuration template.
*
*
*
* When you launch an environment using a configuration template, the environment gets a copy of the template. You
* can delete or modify the environment's copy of the template without affecting the running environment.
*
*
*
* @param deleteConfigurationTemplateRequest
* Request to delete a configuration template.
* @return Result of the DeleteConfigurationTemplate operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteConfigurationTemplate
* @see AWS API Documentation
*/
default DeleteConfigurationTemplateResponse deleteConfigurationTemplate(
DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest) throws OperationInProgressException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified configuration template.
*
*
*
* When you launch an environment using a configuration template, the environment gets a copy of the template. You
* can delete or modify the environment's copy of the template without affecting the running environment.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteConfigurationTemplateRequest.Builder}
* avoiding the need to create one manually via {@link DeleteConfigurationTemplateRequest#builder()}
*
*
* @param deleteConfigurationTemplateRequest
* A {@link Consumer} that will call methods on {@link DeleteConfigurationTemplateMessage.Builder} to create
* a request. Request to delete a configuration template.
* @return Result of the DeleteConfigurationTemplate operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteConfigurationTemplate
* @see AWS API Documentation
*/
default DeleteConfigurationTemplateResponse deleteConfigurationTemplate(
Consumer deleteConfigurationTemplateRequest)
throws OperationInProgressException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return deleteConfigurationTemplate(DeleteConfigurationTemplateRequest.builder()
.applyMutation(deleteConfigurationTemplateRequest).build());
}
/**
*
* Deletes the draft configuration associated with the running environment.
*
*
* Updating a running environment with any configuration changes creates a draft configuration set. You can get the
* draft configuration using DescribeConfigurationSettings while the update is in progress or if the update
* fails. The DeploymentStatus
for the draft configuration indicates whether the deployment is in
* process or has failed. The draft configuration remains in existence until it is deleted with this action.
*
*
* @param deleteEnvironmentConfigurationRequest
* Request to delete a draft environment configuration.
* @return Result of the DeleteEnvironmentConfiguration operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteEnvironmentConfiguration
* @see AWS API Documentation
*/
default DeleteEnvironmentConfigurationResponse deleteEnvironmentConfiguration(
DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the draft configuration associated with the running environment.
*
*
* Updating a running environment with any configuration changes creates a draft configuration set. You can get the
* draft configuration using DescribeConfigurationSettings while the update is in progress or if the update
* fails. The DeploymentStatus
for the draft configuration indicates whether the deployment is in
* process or has failed. The draft configuration remains in existence until it is deleted with this action.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEnvironmentConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link DeleteEnvironmentConfigurationRequest#builder()}
*
*
* @param deleteEnvironmentConfigurationRequest
* A {@link Consumer} that will call methods on {@link DeleteEnvironmentConfigurationMessage.Builder} to
* create a request. Request to delete a draft environment configuration.
* @return Result of the DeleteEnvironmentConfiguration operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeleteEnvironmentConfiguration
* @see AWS API Documentation
*/
default DeleteEnvironmentConfigurationResponse deleteEnvironmentConfiguration(
Consumer deleteEnvironmentConfigurationRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return deleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest.builder()
.applyMutation(deleteEnvironmentConfigurationRequest).build());
}
/**
*
* Deletes the specified version of a custom platform.
*
*
* @param deletePlatformVersionRequest
* @return Result of the DeletePlatformVersion operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws PlatformVersionStillReferencedException
* You cannot delete the platform version because there are still environments running on it.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeletePlatformVersion
* @see AWS API Documentation
*/
default DeletePlatformVersionResponse deletePlatformVersion(DeletePlatformVersionRequest deletePlatformVersionRequest)
throws OperationInProgressException, InsufficientPrivilegesException, ElasticBeanstalkServiceException,
PlatformVersionStillReferencedException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified version of a custom platform.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePlatformVersionRequest.Builder} avoiding the
* need to create one manually via {@link DeletePlatformVersionRequest#builder()}
*
*
* @param deletePlatformVersionRequest
* A {@link Consumer} that will call methods on {@link DeletePlatformVersionRequest.Builder} to create a
* request.
* @return Result of the DeletePlatformVersion operation returned by the service.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws PlatformVersionStillReferencedException
* You cannot delete the platform version because there are still environments running on it.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DeletePlatformVersion
* @see AWS API Documentation
*/
default DeletePlatformVersionResponse deletePlatformVersion(
Consumer deletePlatformVersionRequest) throws OperationInProgressException,
InsufficientPrivilegesException, ElasticBeanstalkServiceException, PlatformVersionStillReferencedException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
return deletePlatformVersion(DeletePlatformVersionRequest.builder().applyMutation(deletePlatformVersionRequest).build());
}
/**
*
* Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.
*
*
* The result currently has one set of attributes—resource quotas.
*
*
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeAccountAttributes
* @see #describeAccountAttributes(DescribeAccountAttributesRequest)
* @see AWS API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes() throws InsufficientPrivilegesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeAccountAttributes(DescribeAccountAttributesRequest.builder().build());
}
/**
*
* Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.
*
*
* The result currently has one set of attributes—resource quotas.
*
*
* @param describeAccountAttributesRequest
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeAccountAttributes
* @see AWS API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes(
DescribeAccountAttributesRequest describeAccountAttributesRequest) throws InsufficientPrivilegesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.
*
*
* The result currently has one set of attributes—resource quotas.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAccountAttributesRequest.Builder} avoiding
* the need to create one manually via {@link DescribeAccountAttributesRequest#builder()}
*
*
* @param describeAccountAttributesRequest
* A {@link Consumer} that will call methods on {@link DescribeAccountAttributesRequest.Builder} to create a
* request.
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeAccountAttributes
* @see AWS API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes(
Consumer describeAccountAttributesRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeAccountAttributes(DescribeAccountAttributesRequest.builder()
.applyMutation(describeAccountAttributesRequest).build());
}
/**
*
* Retrieve a list of application versions.
*
*
* @return Result of the DescribeApplicationVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplicationVersions
* @see #describeApplicationVersions(DescribeApplicationVersionsRequest)
* @see AWS API Documentation
*/
default DescribeApplicationVersionsResponse describeApplicationVersions() throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return describeApplicationVersions(DescribeApplicationVersionsRequest.builder().build());
}
/**
*
* Retrieve a list of application versions.
*
*
* @param describeApplicationVersionsRequest
* Request to describe application versions.
* @return Result of the DescribeApplicationVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplicationVersions
* @see AWS API Documentation
*/
default DescribeApplicationVersionsResponse describeApplicationVersions(
DescribeApplicationVersionsRequest describeApplicationVersionsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieve a list of application versions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeApplicationVersionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeApplicationVersionsRequest#builder()}
*
*
* @param describeApplicationVersionsRequest
* A {@link Consumer} that will call methods on {@link DescribeApplicationVersionsMessage.Builder} to create
* a request. Request to describe application versions.
* @return Result of the DescribeApplicationVersions operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplicationVersions
* @see AWS API Documentation
*/
default DescribeApplicationVersionsResponse describeApplicationVersions(
Consumer describeApplicationVersionsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return describeApplicationVersions(DescribeApplicationVersionsRequest.builder()
.applyMutation(describeApplicationVersionsRequest).build());
}
/**
*
* Returns the descriptions of existing applications.
*
*
* @return Result of the DescribeApplications operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplications
* @see #describeApplications(DescribeApplicationsRequest)
* @see AWS API Documentation
*/
default DescribeApplicationsResponse describeApplications() throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return describeApplications(DescribeApplicationsRequest.builder().build());
}
/**
*
* Returns the descriptions of existing applications.
*
*
* @param describeApplicationsRequest
* Request to describe one or more applications.
* @return Result of the DescribeApplications operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplications
* @see AWS API Documentation
*/
default DescribeApplicationsResponse describeApplications(DescribeApplicationsRequest describeApplicationsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the descriptions of existing applications.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeApplicationsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeApplicationsRequest#builder()}
*
*
* @param describeApplicationsRequest
* A {@link Consumer} that will call methods on {@link DescribeApplicationsMessage.Builder} to create a
* request. Request to describe one or more applications.
* @return Result of the DescribeApplications operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeApplications
* @see AWS API Documentation
*/
default DescribeApplicationsResponse describeApplications(
Consumer describeApplicationsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return describeApplications(DescribeApplicationsRequest.builder().applyMutation(describeApplicationsRequest).build());
}
/**
*
* Describes the configuration options that are used in a particular configuration template or environment, or that
* a specified solution stack defines. The description includes the values the options, their default values, and an
* indication of the required action on a running environment if an option value is changed.
*
*
* @param describeConfigurationOptionsRequest
* Result message containing a list of application version descriptions.
* @return Result of the DescribeConfigurationOptions operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeConfigurationOptions
* @see AWS API Documentation
*/
default DescribeConfigurationOptionsResponse describeConfigurationOptions(
DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest) throws TooManyBucketsException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Describes the configuration options that are used in a particular configuration template or environment, or that
* a specified solution stack defines. The description includes the values the options, their default values, and an
* indication of the required action on a running environment if an option value is changed.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeConfigurationOptionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeConfigurationOptionsRequest#builder()}
*
*
* @param describeConfigurationOptionsRequest
* A {@link Consumer} that will call methods on {@link DescribeConfigurationOptionsMessage.Builder} to create
* a request. Result message containing a list of application version descriptions.
* @return Result of the DescribeConfigurationOptions operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeConfigurationOptions
* @see AWS API Documentation
*/
default DescribeConfigurationOptionsResponse describeConfigurationOptions(
Consumer describeConfigurationOptionsRequest)
throws TooManyBucketsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeConfigurationOptions(DescribeConfigurationOptionsRequest.builder()
.applyMutation(describeConfigurationOptionsRequest).build());
}
/**
*
* Returns a description of the settings for the specified configuration set, that is, either a configuration
* template or the configuration set associated with a running environment.
*
*
* When describing the settings for the configuration set associated with a running environment, it is possible to
* receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft
* configuration of an environment that is either in the process of deployment or that failed to deploy.
*
*
* Related Topics
*
*
* -
*
*
*
*
* @param describeConfigurationSettingsRequest
* Result message containing all of the configuration settings for a specified solution stack or
* configuration template.
* @return Result of the DescribeConfigurationSettings operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeConfigurationSettings
* @see AWS API Documentation
*/
default DescribeConfigurationSettingsResponse describeConfigurationSettings(
DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest) throws TooManyBucketsException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a description of the settings for the specified configuration set, that is, either a configuration
* template or the configuration set associated with a running environment.
*
*
* When describing the settings for the configuration set associated with a running environment, it is possible to
* receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft
* configuration of an environment that is either in the process of deployment or that failed to deploy.
*
*
* Related Topics
*
*
* -
*
*
*
*
*
* This is a convenience which creates an instance of the {@link DescribeConfigurationSettingsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeConfigurationSettingsRequest#builder()}
*
*
* @param describeConfigurationSettingsRequest
* A {@link Consumer} that will call methods on {@link DescribeConfigurationSettingsMessage.Builder} to
* create a request. Result message containing all of the configuration settings for a specified solution
* stack or configuration template.
* @return Result of the DescribeConfigurationSettings operation returned by the service.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeConfigurationSettings
* @see AWS API Documentation
*/
default DescribeConfigurationSettingsResponse describeConfigurationSettings(
Consumer describeConfigurationSettingsRequest)
throws TooManyBucketsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeConfigurationSettings(DescribeConfigurationSettingsRequest.builder()
.applyMutation(describeConfigurationSettingsRequest).build());
}
/**
*
* Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth
* operation is only available with AWS Elastic Beanstalk Enhanced Health.
*
*
* @param describeEnvironmentHealthRequest
* See the example below to learn how to create a request body.
* @return Result of the DescribeEnvironmentHealth operation returned by the service.
* @throws InvalidRequestException
* One or more input parameters is not valid. Please correct the input parameters and try the operation
* again.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentHealth
* @see AWS API Documentation
*/
default DescribeEnvironmentHealthResponse describeEnvironmentHealth(
DescribeEnvironmentHealthRequest describeEnvironmentHealthRequest) throws InvalidRequestException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth
* operation is only available with AWS Elastic Beanstalk Enhanced Health.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEnvironmentHealthRequest.Builder} avoiding
* the need to create one manually via {@link DescribeEnvironmentHealthRequest#builder()}
*
*
* @param describeEnvironmentHealthRequest
* A {@link Consumer} that will call methods on {@link DescribeEnvironmentHealthRequest.Builder} to create a
* request. See the example below to learn how to create a request body.
* @return Result of the DescribeEnvironmentHealth operation returned by the service.
* @throws InvalidRequestException
* One or more input parameters is not valid. Please correct the input parameters and try the operation
* again.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentHealth
* @see AWS API Documentation
*/
default DescribeEnvironmentHealthResponse describeEnvironmentHealth(
Consumer describeEnvironmentHealthRequest) throws InvalidRequestException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEnvironmentHealth(DescribeEnvironmentHealthRequest.builder()
.applyMutation(describeEnvironmentHealthRequest).build());
}
/**
*
* Lists an environment's completed and failed managed actions.
*
*
* @param describeEnvironmentManagedActionHistoryRequest
* Request to list completed and failed managed actions.
* @return Result of the DescribeEnvironmentManagedActionHistory operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActionHistory
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionHistoryResponse describeEnvironmentManagedActionHistory(
DescribeEnvironmentManagedActionHistoryRequest describeEnvironmentManagedActionHistoryRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists an environment's completed and failed managed actions.
*
*
*
* This is a convenience which creates an instance of the
* {@link DescribeEnvironmentManagedActionHistoryRequest.Builder} avoiding the need to create one manually via
* {@link DescribeEnvironmentManagedActionHistoryRequest#builder()}
*
*
* @param describeEnvironmentManagedActionHistoryRequest
* A {@link Consumer} that will call methods on
* {@link DescribeEnvironmentManagedActionHistoryRequest.Builder} to create a request. Request to list
* completed and failed managed actions.
* @return Result of the DescribeEnvironmentManagedActionHistory operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActionHistory
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionHistoryResponse describeEnvironmentManagedActionHistory(
Consumer describeEnvironmentManagedActionHistoryRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEnvironmentManagedActionHistory(DescribeEnvironmentManagedActionHistoryRequest.builder()
.applyMutation(describeEnvironmentManagedActionHistoryRequest).build());
}
/**
*
* Lists an environment's completed and failed managed actions.
*
*
*
* This is a variant of
* {@link #describeEnvironmentManagedActionHistory(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client.describeEnvironmentManagedActionHistoryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client
* .describeEnvironmentManagedActionHistoryPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client.describeEnvironmentManagedActionHistoryPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxItems 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
* {@link #describeEnvironmentManagedActionHistory(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryRequest)}
* operation.
*
*
* @param describeEnvironmentManagedActionHistoryRequest
* Request to list completed and failed managed actions.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActionHistory
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionHistoryIterable describeEnvironmentManagedActionHistoryPaginator(
DescribeEnvironmentManagedActionHistoryRequest describeEnvironmentManagedActionHistoryRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists an environment's completed and failed managed actions.
*
*
*
* This is a variant of
* {@link #describeEnvironmentManagedActionHistory(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client.describeEnvironmentManagedActionHistoryPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client
* .describeEnvironmentManagedActionHistoryPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEnvironmentManagedActionHistoryIterable responses = client.describeEnvironmentManagedActionHistoryPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxItems 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
* {@link #describeEnvironmentManagedActionHistory(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEnvironmentManagedActionHistoryRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link DescribeEnvironmentManagedActionHistoryRequest.Builder} avoiding the need to create one manually via
* {@link DescribeEnvironmentManagedActionHistoryRequest#builder()}
*
*
* @param describeEnvironmentManagedActionHistoryRequest
* A {@link Consumer} that will call methods on
* {@link DescribeEnvironmentManagedActionHistoryRequest.Builder} to create a request. Request to list
* completed and failed managed actions.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActionHistory
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionHistoryIterable describeEnvironmentManagedActionHistoryPaginator(
Consumer describeEnvironmentManagedActionHistoryRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEnvironmentManagedActionHistoryPaginator(DescribeEnvironmentManagedActionHistoryRequest.builder()
.applyMutation(describeEnvironmentManagedActionHistoryRequest).build());
}
/**
*
* Lists an environment's upcoming and in-progress managed actions.
*
*
* @param describeEnvironmentManagedActionsRequest
* Request to list an environment's upcoming and in-progress managed actions.
* @return Result of the DescribeEnvironmentManagedActions operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActions
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionsResponse describeEnvironmentManagedActions(
DescribeEnvironmentManagedActionsRequest describeEnvironmentManagedActionsRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists an environment's upcoming and in-progress managed actions.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEnvironmentManagedActionsRequest.Builder}
* avoiding the need to create one manually via {@link DescribeEnvironmentManagedActionsRequest#builder()}
*
*
* @param describeEnvironmentManagedActionsRequest
* A {@link Consumer} that will call methods on {@link DescribeEnvironmentManagedActionsRequest.Builder} to
* create a request. Request to list an environment's upcoming and in-progress managed actions.
* @return Result of the DescribeEnvironmentManagedActions operation returned by the service.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentManagedActions
* @see AWS API Documentation
*/
default DescribeEnvironmentManagedActionsResponse describeEnvironmentManagedActions(
Consumer describeEnvironmentManagedActionsRequest)
throws ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEnvironmentManagedActions(DescribeEnvironmentManagedActionsRequest.builder()
.applyMutation(describeEnvironmentManagedActionsRequest).build());
}
/**
*
* Returns AWS resources for this environment.
*
*
* @param describeEnvironmentResourcesRequest
* Request to describe the resources in an environment.
* @return Result of the DescribeEnvironmentResources operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentResources
* @see AWS API Documentation
*/
default DescribeEnvironmentResourcesResponse describeEnvironmentResources(
DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest) throws InsufficientPrivilegesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns AWS resources for this environment.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEnvironmentResourcesRequest.Builder}
* avoiding the need to create one manually via {@link DescribeEnvironmentResourcesRequest#builder()}
*
*
* @param describeEnvironmentResourcesRequest
* A {@link Consumer} that will call methods on {@link DescribeEnvironmentResourcesMessage.Builder} to create
* a request. Request to describe the resources in an environment.
* @return Result of the DescribeEnvironmentResources operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironmentResources
* @see AWS API Documentation
*/
default DescribeEnvironmentResourcesResponse describeEnvironmentResources(
Consumer describeEnvironmentResourcesRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEnvironmentResources(DescribeEnvironmentResourcesRequest.builder()
.applyMutation(describeEnvironmentResourcesRequest).build());
}
/**
*
* Returns descriptions for existing environments.
*
*
* @return Result of the DescribeEnvironments operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironments
* @see #describeEnvironments(DescribeEnvironmentsRequest)
* @see AWS API Documentation
*/
default DescribeEnvironmentsResponse describeEnvironments() throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return describeEnvironments(DescribeEnvironmentsRequest.builder().build());
}
/**
*
* Returns descriptions for existing environments.
*
*
* @param describeEnvironmentsRequest
* Request to describe one or more environments.
* @return Result of the DescribeEnvironments operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironments
* @see AWS API Documentation
*/
default DescribeEnvironmentsResponse describeEnvironments(DescribeEnvironmentsRequest describeEnvironmentsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns descriptions for existing environments.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEnvironmentsRequest.Builder} avoiding the
* need to create one manually via {@link DescribeEnvironmentsRequest#builder()}
*
*
* @param describeEnvironmentsRequest
* A {@link Consumer} that will call methods on {@link DescribeEnvironmentsMessage.Builder} to create a
* request. Request to describe one or more environments.
* @return Result of the DescribeEnvironments operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEnvironments
* @see AWS API Documentation
*/
default DescribeEnvironmentsResponse describeEnvironments(
Consumer describeEnvironmentsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return describeEnvironments(DescribeEnvironmentsRequest.builder().applyMutation(describeEnvironmentsRequest).build());
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see #describeEvents(DescribeEventsRequest)
* @see AWS API Documentation
*/
default DescribeEventsResponse describeEvents() throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEvents(DescribeEventsRequest.builder().build());
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* @param describeEventsRequest
* Request to retrieve a list of events for an environment.
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see AWS API Documentation
*/
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on {@link DescribeEventsMessage.Builder} to create a request.
* Request to retrieve a list of events for an environment.
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see AWS API Documentation
*/
default DescribeEventsResponse describeEvents(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEvents(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)} 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see #describeEventsPaginator(DescribeEventsRequest)
* @see AWS API Documentation
*/
default DescribeEventsIterable describeEventsPaginator() throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return describeEventsPaginator(DescribeEventsRequest.builder().build());
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)} 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)}
* operation.
*
*
* @param describeEventsRequest
* Request to retrieve a list of events for an environment.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see AWS API Documentation
*/
default DescribeEventsIterable describeEventsPaginator(DescribeEventsRequest describeEventsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns list of event descriptions matching criteria up to the last 6 weeks.
*
*
*
* This action returns the most recent 1,000 events from the specified NextToken
.
*
*
*
* This is a variant of
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)} 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client
* .describeEventsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #describeEvents(software.amazon.awssdk.services.elasticbeanstalk.model.DescribeEventsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to
* create one manually via {@link DescribeEventsRequest#builder()}
*
*
* @param describeEventsRequest
* A {@link Consumer} that will call methods on {@link DescribeEventsMessage.Builder} to create a request.
* Request to retrieve a list of events for an environment.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeEvents
* @see AWS API Documentation
*/
default DescribeEventsIterable describeEventsPaginator(Consumer describeEventsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeEventsPaginator(DescribeEventsRequest.builder().applyMutation(describeEventsRequest).build());
}
/**
*
* Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation
* requires enhanced health
* reporting.
*
*
* @param describeInstancesHealthRequest
* Parameters for a call to DescribeInstancesHealth
.
* @return Result of the DescribeInstancesHealth operation returned by the service.
* @throws InvalidRequestException
* One or more input parameters is not valid. Please correct the input parameters and try the operation
* again.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeInstancesHealth
* @see AWS API Documentation
*/
default DescribeInstancesHealthResponse describeInstancesHealth(DescribeInstancesHealthRequest describeInstancesHealthRequest)
throws InvalidRequestException, ElasticBeanstalkServiceException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation
* requires enhanced health
* reporting.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeInstancesHealthRequest.Builder} avoiding
* the need to create one manually via {@link DescribeInstancesHealthRequest#builder()}
*
*
* @param describeInstancesHealthRequest
* A {@link Consumer} that will call methods on {@link DescribeInstancesHealthRequest.Builder} to create a
* request. Parameters for a call to DescribeInstancesHealth
.
* @return Result of the DescribeInstancesHealth operation returned by the service.
* @throws InvalidRequestException
* One or more input parameters is not valid. Please correct the input parameters and try the operation
* again.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribeInstancesHealth
* @see AWS API Documentation
*/
default DescribeInstancesHealthResponse describeInstancesHealth(
Consumer describeInstancesHealthRequest) throws InvalidRequestException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return describeInstancesHealth(DescribeInstancesHealthRequest.builder().applyMutation(describeInstancesHealthRequest)
.build());
}
/**
*
* Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides
* summary information about a list of platform versions.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
* @param describePlatformVersionRequest
* @return Result of the DescribePlatformVersion operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribePlatformVersion
* @see AWS API Documentation
*/
default DescribePlatformVersionResponse describePlatformVersion(DescribePlatformVersionRequest describePlatformVersionRequest)
throws InsufficientPrivilegesException, ElasticBeanstalkServiceException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Describes a platform version. Provides full details. Compare to ListPlatformVersions, which provides
* summary information about a list of platform versions.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a convenience which creates an instance of the {@link DescribePlatformVersionRequest.Builder} avoiding
* the need to create one manually via {@link DescribePlatformVersionRequest#builder()}
*
*
* @param describePlatformVersionRequest
* A {@link Consumer} that will call methods on {@link DescribePlatformVersionRequest.Builder} to create a
* request.
* @return Result of the DescribePlatformVersion operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DescribePlatformVersion
* @see AWS API Documentation
*/
default DescribePlatformVersionResponse describePlatformVersion(
Consumer describePlatformVersionRequest)
throws InsufficientPrivilegesException, ElasticBeanstalkServiceException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return describePlatformVersion(DescribePlatformVersionRequest.builder().applyMutation(describePlatformVersionRequest)
.build());
}
/**
*
* Disassociate the operations role from an environment. After this call is made, Elastic Beanstalk uses the
* caller's permissions for permissions to downstream services during subsequent calls acting on this environment.
* For more information, see Operations roles in the
* AWS Elastic Beanstalk Developer Guide.
*
*
* @param disassociateEnvironmentOperationsRoleRequest
* Request to disassociate the operations role from an environment.
* @return Result of the DisassociateEnvironmentOperationsRole operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DisassociateEnvironmentOperationsRole
* @see AWS API Documentation
*/
default DisassociateEnvironmentOperationsRoleResponse disassociateEnvironmentOperationsRole(
DisassociateEnvironmentOperationsRoleRequest disassociateEnvironmentOperationsRoleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Disassociate the operations role from an environment. After this call is made, Elastic Beanstalk uses the
* caller's permissions for permissions to downstream services during subsequent calls acting on this environment.
* For more information, see Operations roles in the
* AWS Elastic Beanstalk Developer Guide.
*
*
*
* This is a convenience which creates an instance of the
* {@link DisassociateEnvironmentOperationsRoleRequest.Builder} avoiding the need to create one manually via
* {@link DisassociateEnvironmentOperationsRoleRequest#builder()}
*
*
* @param disassociateEnvironmentOperationsRoleRequest
* A {@link Consumer} that will call methods on {@link DisassociateEnvironmentOperationsRoleMessage.Builder}
* to create a request. Request to disassociate the operations role from an environment.
* @return Result of the DisassociateEnvironmentOperationsRole operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.DisassociateEnvironmentOperationsRole
* @see AWS API Documentation
*/
default DisassociateEnvironmentOperationsRoleResponse disassociateEnvironmentOperationsRole(
Consumer disassociateEnvironmentOperationsRoleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return disassociateEnvironmentOperationsRole(DisassociateEnvironmentOperationsRoleRequest.builder()
.applyMutation(disassociateEnvironmentOperationsRoleRequest).build());
}
/**
*
* Returns a list of the available solution stack names, with the public version first and then in reverse
* chronological order.
*
*
* @return Result of the ListAvailableSolutionStacks operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListAvailableSolutionStacks
* @see #listAvailableSolutionStacks(ListAvailableSolutionStacksRequest)
* @see AWS API Documentation
*/
default ListAvailableSolutionStacksResponse listAvailableSolutionStacks() throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return listAvailableSolutionStacks(ListAvailableSolutionStacksRequest.builder().build());
}
/**
*
* Returns a list of the available solution stack names, with the public version first and then in reverse
* chronological order.
*
*
* @param listAvailableSolutionStacksRequest
* @return Result of the ListAvailableSolutionStacks operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListAvailableSolutionStacks
* @see AWS API Documentation
*/
default ListAvailableSolutionStacksResponse listAvailableSolutionStacks(
ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of the available solution stack names, with the public version first and then in reverse
* chronological order.
*
*
*
* This is a convenience which creates an instance of the {@link ListAvailableSolutionStacksRequest.Builder}
* avoiding the need to create one manually via {@link ListAvailableSolutionStacksRequest#builder()}
*
*
* @param listAvailableSolutionStacksRequest
* A {@link Consumer} that will call methods on {@link ListAvailableSolutionStacksRequest.Builder} to create
* a request.
* @return Result of the ListAvailableSolutionStacks operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListAvailableSolutionStacks
* @see AWS API Documentation
*/
default ListAvailableSolutionStacksResponse listAvailableSolutionStacks(
Consumer listAvailableSolutionStacksRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return listAvailableSolutionStacks(ListAvailableSolutionStacksRequest.builder()
.applyMutation(listAvailableSolutionStacksRequest).build());
}
/**
*
* Lists the platform branches available for your account in an AWS Region. Provides summary information about each
* platform branch.
*
*
* For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
* @param listPlatformBranchesRequest
* @return Result of the ListPlatformBranches operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformBranches
* @see AWS API Documentation
*/
default ListPlatformBranchesResponse listPlatformBranches(ListPlatformBranchesRequest listPlatformBranchesRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the platform branches available for your account in an AWS Region. Provides summary information about each
* platform branch.
*
*
* For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a convenience which creates an instance of the {@link ListPlatformBranchesRequest.Builder} avoiding the
* need to create one manually via {@link ListPlatformBranchesRequest#builder()}
*
*
* @param listPlatformBranchesRequest
* A {@link Consumer} that will call methods on {@link ListPlatformBranchesRequest.Builder} to create a
* request.
* @return Result of the ListPlatformBranches operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformBranches
* @see AWS API Documentation
*/
default ListPlatformBranchesResponse listPlatformBranches(
Consumer listPlatformBranchesRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return listPlatformBranches(ListPlatformBranchesRequest.builder().applyMutation(listPlatformBranchesRequest).build());
}
/**
*
* Lists the platform branches available for your account in an AWS Region. Provides summary information about each
* platform branch.
*
*
* For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a variant of
* {@link #listPlatformBranches(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client.listPlatformBranchesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client
* .listPlatformBranchesPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client.listPlatformBranchesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #listPlatformBranches(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesRequest)}
* operation.
*
*
* @param listPlatformBranchesRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformBranches
* @see AWS API Documentation
*/
default ListPlatformBranchesIterable listPlatformBranchesPaginator(ListPlatformBranchesRequest listPlatformBranchesRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the platform branches available for your account in an AWS Region. Provides summary information about each
* platform branch.
*
*
* For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a variant of
* {@link #listPlatformBranches(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client.listPlatformBranchesPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client
* .listPlatformBranchesPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformBranchesIterable responses = client.listPlatformBranchesPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #listPlatformBranches(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformBranchesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListPlatformBranchesRequest.Builder} avoiding the
* need to create one manually via {@link ListPlatformBranchesRequest#builder()}
*
*
* @param listPlatformBranchesRequest
* A {@link Consumer} that will call methods on {@link ListPlatformBranchesRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformBranches
* @see AWS API Documentation
*/
default ListPlatformBranchesIterable listPlatformBranchesPaginator(
Consumer listPlatformBranchesRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return listPlatformBranchesPaginator(ListPlatformBranchesRequest.builder().applyMutation(listPlatformBranchesRequest)
.build());
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
* @return Result of the ListPlatformVersions operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see #listPlatformVersions(ListPlatformVersionsRequest)
* @see AWS API Documentation
*/
default ListPlatformVersionsResponse listPlatformVersions() throws InsufficientPrivilegesException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return listPlatformVersions(ListPlatformVersionsRequest.builder().build());
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
* @param listPlatformVersionsRequest
* @return Result of the ListPlatformVersions operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see AWS API Documentation
*/
default ListPlatformVersionsResponse listPlatformVersions(ListPlatformVersionsRequest listPlatformVersionsRequest)
throws InsufficientPrivilegesException, ElasticBeanstalkServiceException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a convenience which creates an instance of the {@link ListPlatformVersionsRequest.Builder} avoiding the
* need to create one manually via {@link ListPlatformVersionsRequest#builder()}
*
*
* @param listPlatformVersionsRequest
* A {@link Consumer} that will call methods on {@link ListPlatformVersionsRequest.Builder} to create a
* request.
* @return Result of the ListPlatformVersions operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see AWS API Documentation
*/
default ListPlatformVersionsResponse listPlatformVersions(
Consumer listPlatformVersionsRequest) throws InsufficientPrivilegesException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return listPlatformVersions(ListPlatformVersionsRequest.builder().applyMutation(listPlatformVersionsRequest).build());
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a variant of
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client
* .listPlatformVersionsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* operation.
*
*
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see #listPlatformVersionsPaginator(ListPlatformVersionsRequest)
* @see AWS API Documentation
*/
default ListPlatformVersionsIterable listPlatformVersionsPaginator() throws InsufficientPrivilegesException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return listPlatformVersionsPaginator(ListPlatformVersionsRequest.builder().build());
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a variant of
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client
* .listPlatformVersionsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* operation.
*
*
* @param listPlatformVersionsRequest
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see AWS API Documentation
*/
default ListPlatformVersionsIterable listPlatformVersionsPaginator(ListPlatformVersionsRequest listPlatformVersionsRequest)
throws InsufficientPrivilegesException, ElasticBeanstalkServiceException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Lists the platform versions available for your account in an AWS Region. Provides summary information about each
* platform version. Compare to DescribePlatformVersion, which provides full details about a single platform
* version.
*
*
* For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk
* Platforms Glossary.
*
*
*
* This is a variant of
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* 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
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client
* .listPlatformVersionsPaginator(request);
* for (software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.elasticbeanstalk.paginators.ListPlatformVersionsIterable responses = client.listPlatformVersionsPaginator(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Please notice that the configuration of MaxRecords 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
* {@link #listPlatformVersions(software.amazon.awssdk.services.elasticbeanstalk.model.ListPlatformVersionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListPlatformVersionsRequest.Builder} avoiding the
* need to create one manually via {@link ListPlatformVersionsRequest#builder()}
*
*
* @param listPlatformVersionsRequest
* A {@link Consumer} that will call methods on {@link ListPlatformVersionsRequest.Builder} to create a
* request.
* @return A custom iterable that can be used to iterate through all the response pages.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ElasticBeanstalkServiceException
* A generic service exception has occurred.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListPlatformVersions
* @see AWS API Documentation
*/
default ListPlatformVersionsIterable listPlatformVersionsPaginator(
Consumer listPlatformVersionsRequest) throws InsufficientPrivilegesException,
ElasticBeanstalkServiceException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return listPlatformVersionsPaginator(ListPlatformVersionsRequest.builder().applyMutation(listPlatformVersionsRequest)
.build());
}
/**
*
* Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value
* pairs.
*
*
* Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging
* Application Resources.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ResourceNotFoundException
* A resource doesn't exist for the specified Amazon Resource Name (ARN).
* @throws ResourceTypeNotSupportedException
* The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws InsufficientPrivilegesException, ResourceNotFoundException, ResourceTypeNotSupportedException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value
* pairs.
*
*
* Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging
* Application Resources.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceMessage.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws ResourceNotFoundException
* A resource doesn't exist for the specified Amazon Resource Name (ARN).
* @throws ResourceTypeNotSupportedException
* The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ListTagsForResource
* @see AWS API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws InsufficientPrivilegesException,
ResourceNotFoundException, ResourceTypeNotSupportedException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a
* specified environment and forces a restart.
*
*
* @param rebuildEnvironmentRequest
* @return Result of the RebuildEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RebuildEnvironment
* @see AWS API Documentation
*/
default RebuildEnvironmentResponse rebuildEnvironment(RebuildEnvironmentRequest rebuildEnvironmentRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a
* specified environment and forces a restart.
*
*
*
* This is a convenience which creates an instance of the {@link RebuildEnvironmentRequest.Builder} avoiding the
* need to create one manually via {@link RebuildEnvironmentRequest#builder()}
*
*
* @param rebuildEnvironmentRequest
* A {@link Consumer} that will call methods on {@link RebuildEnvironmentMessage.Builder} to create a
* request.
* @return Result of the RebuildEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RebuildEnvironment
* @see AWS API Documentation
*/
default RebuildEnvironmentResponse rebuildEnvironment(Consumer rebuildEnvironmentRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return rebuildEnvironment(RebuildEnvironmentRequest.builder().applyMutation(rebuildEnvironmentRequest).build());
}
/**
*
* Initiates a request to compile the specified type of information of the deployed environment.
*
*
* Setting the InfoType
to tail
compiles the last lines from the application server log
* files of every Amazon EC2 instance in your environment.
*
*
* Setting the InfoType
to bundle
compresses the application server log files for every
* Amazon EC2 instance into a .zip
file. Legacy and .NET containers do not support bundle logs.
*
*
* Use RetrieveEnvironmentInfo to obtain the set of logs.
*
*
* Related Topics
*
*
* -
*
*
*
*
* @param requestEnvironmentInfoRequest
* Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
* @return Result of the RequestEnvironmentInfo operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RequestEnvironmentInfo
* @see AWS API Documentation
*/
default RequestEnvironmentInfoResponse requestEnvironmentInfo(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Initiates a request to compile the specified type of information of the deployed environment.
*
*
* Setting the InfoType
to tail
compiles the last lines from the application server log
* files of every Amazon EC2 instance in your environment.
*
*
* Setting the InfoType
to bundle
compresses the application server log files for every
* Amazon EC2 instance into a .zip
file. Legacy and .NET containers do not support bundle logs.
*
*
* Use RetrieveEnvironmentInfo to obtain the set of logs.
*
*
* Related Topics
*
*
* -
*
*
*
*
*
* This is a convenience which creates an instance of the {@link RequestEnvironmentInfoRequest.Builder} avoiding the
* need to create one manually via {@link RequestEnvironmentInfoRequest#builder()}
*
*
* @param requestEnvironmentInfoRequest
* A {@link Consumer} that will call methods on {@link RequestEnvironmentInfoMessage.Builder} to create a
* request. Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage
* bucket.
* @return Result of the RequestEnvironmentInfo operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RequestEnvironmentInfo
* @see AWS API Documentation
*/
default RequestEnvironmentInfoResponse requestEnvironmentInfo(
Consumer requestEnvironmentInfoRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return requestEnvironmentInfo(RequestEnvironmentInfoRequest.builder().applyMutation(requestEnvironmentInfoRequest)
.build());
}
/**
*
* Causes the environment to restart the application container server running on each Amazon EC2 instance.
*
*
* @param restartAppServerRequest
* @return Result of the RestartAppServer operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RestartAppServer
* @see AWS API Documentation
*/
default RestartAppServerResponse restartAppServer(RestartAppServerRequest restartAppServerRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Causes the environment to restart the application container server running on each Amazon EC2 instance.
*
*
*
* This is a convenience which creates an instance of the {@link RestartAppServerRequest.Builder} avoiding the need
* to create one manually via {@link RestartAppServerRequest#builder()}
*
*
* @param restartAppServerRequest
* A {@link Consumer} that will call methods on {@link RestartAppServerMessage.Builder} to create a request.
* @return Result of the RestartAppServer operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RestartAppServer
* @see AWS API Documentation
*/
default RestartAppServerResponse restartAppServer(Consumer restartAppServerRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return restartAppServer(RestartAppServerRequest.builder().applyMutation(restartAppServerRequest).build());
}
/**
*
* Retrieves the compiled information from a RequestEnvironmentInfo request.
*
*
* Related Topics
*
*
* -
*
*
*
*
* @param retrieveEnvironmentInfoRequest
* Request to download logs retrieved with RequestEnvironmentInfo.
* @return Result of the RetrieveEnvironmentInfo operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RetrieveEnvironmentInfo
* @see AWS API Documentation
*/
default RetrieveEnvironmentInfoResponse retrieveEnvironmentInfo(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the compiled information from a RequestEnvironmentInfo request.
*
*
* Related Topics
*
*
* -
*
*
*
*
*
* This is a convenience which creates an instance of the {@link RetrieveEnvironmentInfoRequest.Builder} avoiding
* the need to create one manually via {@link RetrieveEnvironmentInfoRequest#builder()}
*
*
* @param retrieveEnvironmentInfoRequest
* A {@link Consumer} that will call methods on {@link RetrieveEnvironmentInfoMessage.Builder} to create a
* request. Request to download logs retrieved with RequestEnvironmentInfo.
* @return Result of the RetrieveEnvironmentInfo operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.RetrieveEnvironmentInfo
* @see AWS API Documentation
*/
default RetrieveEnvironmentInfoResponse retrieveEnvironmentInfo(
Consumer retrieveEnvironmentInfoRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return retrieveEnvironmentInfo(RetrieveEnvironmentInfoRequest.builder().applyMutation(retrieveEnvironmentInfoRequest)
.build());
}
/**
*
* Swaps the CNAMEs of two environments.
*
*
* @param swapEnvironmentCnamEsRequest
* Swaps the CNAMEs of two environments.
* @return Result of the SwapEnvironmentCNAMEs operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.SwapEnvironmentCNAMEs
* @see AWS API Documentation
*/
default SwapEnvironmentCnamEsResponse swapEnvironmentCNAMEs(SwapEnvironmentCnamEsRequest swapEnvironmentCnamEsRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Swaps the CNAMEs of two environments.
*
*
*
* This is a convenience which creates an instance of the {@link SwapEnvironmentCnamEsRequest.Builder} avoiding the
* need to create one manually via {@link SwapEnvironmentCnamEsRequest#builder()}
*
*
* @param swapEnvironmentCnamEsRequest
* A {@link Consumer} that will call methods on {@link SwapEnvironmentCNAMEsMessage.Builder} to create a
* request. Swaps the CNAMEs of two environments.
* @return Result of the SwapEnvironmentCNAMEs operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.SwapEnvironmentCNAMEs
* @see AWS API Documentation
*/
default SwapEnvironmentCnamEsResponse swapEnvironmentCNAMEs(
Consumer swapEnvironmentCnamEsRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return swapEnvironmentCNAMEs(SwapEnvironmentCnamEsRequest.builder().applyMutation(swapEnvironmentCnamEsRequest).build());
}
/**
*
* Terminates the specified environment.
*
*
* @param terminateEnvironmentRequest
* Request to terminate an environment.
* @return Result of the TerminateEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.TerminateEnvironment
* @see AWS API Documentation
*/
default TerminateEnvironmentResponse terminateEnvironment(TerminateEnvironmentRequest terminateEnvironmentRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Terminates the specified environment.
*
*
*
* This is a convenience which creates an instance of the {@link TerminateEnvironmentRequest.Builder} avoiding the
* need to create one manually via {@link TerminateEnvironmentRequest#builder()}
*
*
* @param terminateEnvironmentRequest
* A {@link Consumer} that will call methods on {@link TerminateEnvironmentMessage.Builder} to create a
* request. Request to terminate an environment.
* @return Result of the TerminateEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.TerminateEnvironment
* @see AWS API Documentation
*/
default TerminateEnvironmentResponse terminateEnvironment(
Consumer terminateEnvironmentRequest) throws InsufficientPrivilegesException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
return terminateEnvironment(TerminateEnvironmentRequest.builder().applyMutation(terminateEnvironmentRequest).build());
}
/**
*
* Updates the specified application to have the specified properties.
*
*
*
* If a property (for example, description
) is not provided, the value remains unchanged. To clear
* these properties, specify an empty string.
*
*
*
* @param updateApplicationRequest
* Request to update an application.
* @return Result of the UpdateApplication operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplication
* @see AWS API Documentation
*/
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the specified application to have the specified properties.
*
*
*
* If a property (for example, description
) is not provided, the value remains unchanged. To clear
* these properties, specify an empty string.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationRequest.Builder} avoiding the need
* to create one manually via {@link UpdateApplicationRequest#builder()}
*
*
* @param updateApplicationRequest
* A {@link Consumer} that will call methods on {@link UpdateApplicationMessage.Builder} to create a request.
* Request to update an application.
* @return Result of the UpdateApplication operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplication
* @see AWS API Documentation
*/
default UpdateApplicationResponse updateApplication(Consumer updateApplicationRequest)
throws AwsServiceException, SdkClientException, ElasticBeanstalkException {
return updateApplication(UpdateApplicationRequest.builder().applyMutation(updateApplicationRequest).build());
}
/**
*
* Modifies lifecycle settings for an application.
*
*
* @param updateApplicationResourceLifecycleRequest
* @return Result of the UpdateApplicationResourceLifecycle operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplicationResourceLifecycle
* @see AWS API Documentation
*/
default UpdateApplicationResourceLifecycleResponse updateApplicationResourceLifecycle(
UpdateApplicationResourceLifecycleRequest updateApplicationResourceLifecycleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies lifecycle settings for an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationResourceLifecycleRequest.Builder}
* avoiding the need to create one manually via {@link UpdateApplicationResourceLifecycleRequest#builder()}
*
*
* @param updateApplicationResourceLifecycleRequest
* A {@link Consumer} that will call methods on {@link UpdateApplicationResourceLifecycleMessage.Builder} to
* create a request.
* @return Result of the UpdateApplicationResourceLifecycle operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplicationResourceLifecycle
* @see AWS API Documentation
*/
default UpdateApplicationResourceLifecycleResponse updateApplicationResourceLifecycle(
Consumer updateApplicationResourceLifecycleRequest)
throws InsufficientPrivilegesException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
return updateApplicationResourceLifecycle(UpdateApplicationResourceLifecycleRequest.builder()
.applyMutation(updateApplicationResourceLifecycleRequest).build());
}
/**
*
* Updates the specified application version to have the specified properties.
*
*
*
* If a property (for example, description
) is not provided, the value remains unchanged. To clear
* properties, specify an empty string.
*
*
*
* @param updateApplicationVersionRequest
* @return Result of the UpdateApplicationVersion operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplicationVersion
* @see AWS API Documentation
*/
default UpdateApplicationVersionResponse updateApplicationVersion(
UpdateApplicationVersionRequest updateApplicationVersionRequest) throws AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the specified application version to have the specified properties.
*
*
*
* If a property (for example, description
) is not provided, the value remains unchanged. To clear
* properties, specify an empty string.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationVersionRequest.Builder} avoiding
* the need to create one manually via {@link UpdateApplicationVersionRequest#builder()}
*
*
* @param updateApplicationVersionRequest
* A {@link Consumer} that will call methods on {@link UpdateApplicationVersionMessage.Builder} to create a
* request.
* @return Result of the UpdateApplicationVersion operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateApplicationVersion
* @see AWS API Documentation
*/
default UpdateApplicationVersionResponse updateApplicationVersion(
Consumer updateApplicationVersionRequest) throws AwsServiceException,
SdkClientException, ElasticBeanstalkException {
return updateApplicationVersion(UpdateApplicationVersionRequest.builder().applyMutation(updateApplicationVersionRequest)
.build());
}
/**
*
* Updates the specified configuration template to have the specified properties or configuration option values.
*
*
*
* If a property (for example, ApplicationName
) is not provided, its value remains unchanged. To clear
* such properties, specify an empty string.
*
*
*
* Related Topics
*
*
* -
*
*
*
*
* @param updateConfigurationTemplateRequest
* The result message containing the options for the specified solution stack.
* @return Result of the UpdateConfigurationTemplate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateConfigurationTemplate
* @see AWS API Documentation
*/
default UpdateConfigurationTemplateResponse updateConfigurationTemplate(
UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest) throws InsufficientPrivilegesException,
TooManyBucketsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the specified configuration template to have the specified properties or configuration option values.
*
*
*
* If a property (for example, ApplicationName
) is not provided, its value remains unchanged. To clear
* such properties, specify an empty string.
*
*
*
* Related Topics
*
*
* -
*
*
*
*
*
* This is a convenience which creates an instance of the {@link UpdateConfigurationTemplateRequest.Builder}
* avoiding the need to create one manually via {@link UpdateConfigurationTemplateRequest#builder()}
*
*
* @param updateConfigurationTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdateConfigurationTemplateMessage.Builder} to create
* a request. The result message containing the options for the specified solution stack.
* @return Result of the UpdateConfigurationTemplate operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateConfigurationTemplate
* @see AWS API Documentation
*/
default UpdateConfigurationTemplateResponse updateConfigurationTemplate(
Consumer updateConfigurationTemplateRequest)
throws InsufficientPrivilegesException, TooManyBucketsException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return updateConfigurationTemplate(UpdateConfigurationTemplateRequest.builder()
.applyMutation(updateConfigurationTemplateRequest).build());
}
/**
*
* Updates the environment description, deploys a new application version, updates the configuration settings to an
* entirely new configuration template, or updates select configuration option values in the running environment.
*
*
* Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an
* InvalidParameterCombination
error.
*
*
* When updating the configuration settings to a new template or individual settings, a draft configuration is
* created and DescribeConfigurationSettings for this environment returns two setting descriptions with
* different DeploymentStatus
values.
*
*
* @param updateEnvironmentRequest
* Request to update an environment.
* @return Result of the UpdateEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateEnvironment
* @see AWS API Documentation
*/
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
throws InsufficientPrivilegesException, TooManyBucketsException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the environment description, deploys a new application version, updates the configuration settings to an
* entirely new configuration template, or updates select configuration option values in the running environment.
*
*
* Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an
* InvalidParameterCombination
error.
*
*
* When updating the configuration settings to a new template or individual settings, a draft configuration is
* created and DescribeConfigurationSettings for this environment returns two setting descriptions with
* different DeploymentStatus
values.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEnvironmentRequest.Builder} avoiding the need
* to create one manually via {@link UpdateEnvironmentRequest#builder()}
*
*
* @param updateEnvironmentRequest
* A {@link Consumer} that will call methods on {@link UpdateEnvironmentMessage.Builder} to create a request.
* Request to update an environment.
* @return Result of the UpdateEnvironment operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateEnvironment
* @see AWS API Documentation
*/
default UpdateEnvironmentResponse updateEnvironment(Consumer updateEnvironmentRequest)
throws InsufficientPrivilegesException, TooManyBucketsException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return updateEnvironment(UpdateEnvironmentRequest.builder().applyMutation(updateEnvironmentRequest).build());
}
/**
*
* Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can be passed:
* TagsToAdd
for tags to add or update, and TagsToRemove
.
*
*
* Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging
* Application Resources.
*
*
* If you create a custom IAM user policy to control permission to this operation, specify one of the following two
* virtual actions (or both) instead of the API operation name:
*
*
* - elasticbeanstalk:AddTags
* -
*
* Controls permission to call UpdateTagsForResource
and pass a list of tags to add in the
* TagsToAdd
parameter.
*
*
* - elasticbeanstalk:RemoveTags
* -
*
* Controls permission to call UpdateTagsForResource
and pass a list of tag keys to remove in the
* TagsToRemove
parameter.
*
*
*
*
* For details about creating a custom user policy, see Creating a Custom User Policy.
*
*
* @param updateTagsForResourceRequest
* @return Result of the UpdateTagsForResource operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws TooManyTagsException
* The number of tags in the resource would exceed the number of tags that each resource can have.
*
* To calculate this, the operation considers both the number of tags the resource already has and the tags
* this operation would add if it succeeded.
* @throws ResourceNotFoundException
* A resource doesn't exist for the specified Amazon Resource Name (ARN).
* @throws ResourceTypeNotSupportedException
* The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateTagsForResource
* @see AWS API Documentation
*/
default UpdateTagsForResourceResponse updateTagsForResource(UpdateTagsForResourceRequest updateTagsForResourceRequest)
throws InsufficientPrivilegesException, OperationInProgressException, TooManyTagsException,
ResourceNotFoundException, ResourceTypeNotSupportedException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can be passed:
* TagsToAdd
for tags to add or update, and TagsToRemove
.
*
*
* Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging
* Application Resources.
*
*
* If you create a custom IAM user policy to control permission to this operation, specify one of the following two
* virtual actions (or both) instead of the API operation name:
*
*
* - elasticbeanstalk:AddTags
* -
*
* Controls permission to call UpdateTagsForResource
and pass a list of tags to add in the
* TagsToAdd
parameter.
*
*
* - elasticbeanstalk:RemoveTags
* -
*
* Controls permission to call UpdateTagsForResource
and pass a list of tag keys to remove in the
* TagsToRemove
parameter.
*
*
*
*
* For details about creating a custom user policy, see Creating a Custom User Policy.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link UpdateTagsForResourceRequest#builder()}
*
*
* @param updateTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link UpdateTagsForResourceMessage.Builder} to create a
* request.
* @return Result of the UpdateTagsForResource operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws OperationInProgressException
* Unable to perform the specified operation because another operation that effects an element in this
* activity is already in progress.
* @throws TooManyTagsException
* The number of tags in the resource would exceed the number of tags that each resource can have.
*
* To calculate this, the operation considers both the number of tags the resource already has and the tags
* this operation would add if it succeeded.
* @throws ResourceNotFoundException
* A resource doesn't exist for the specified Amazon Resource Name (ARN).
* @throws ResourceTypeNotSupportedException
* The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.UpdateTagsForResource
* @see AWS API Documentation
*/
default UpdateTagsForResourceResponse updateTagsForResource(
Consumer updateTagsForResourceRequest) throws InsufficientPrivilegesException,
OperationInProgressException, TooManyTagsException, ResourceNotFoundException, ResourceTypeNotSupportedException,
AwsServiceException, SdkClientException, ElasticBeanstalkException {
return updateTagsForResource(UpdateTagsForResourceRequest.builder().applyMutation(updateTagsForResourceRequest).build());
}
/**
*
* Takes a set of configuration settings and either a configuration template or environment, and determines whether
* those values are valid.
*
*
* This action returns a list of messages indicating any errors or warnings associated with the selection of option
* values.
*
*
* @param validateConfigurationSettingsRequest
* A list of validation messages for a specified configuration template.
* @return Result of the ValidateConfigurationSettings operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ValidateConfigurationSettings
* @see AWS API Documentation
*/
default ValidateConfigurationSettingsResponse validateConfigurationSettings(
ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest) throws InsufficientPrivilegesException,
TooManyBucketsException, AwsServiceException, SdkClientException, ElasticBeanstalkException {
throw new UnsupportedOperationException();
}
/**
*
* Takes a set of configuration settings and either a configuration template or environment, and determines whether
* those values are valid.
*
*
* This action returns a list of messages indicating any errors or warnings associated with the selection of option
* values.
*
*
*
* This is a convenience which creates an instance of the {@link ValidateConfigurationSettingsRequest.Builder}
* avoiding the need to create one manually via {@link ValidateConfigurationSettingsRequest#builder()}
*
*
* @param validateConfigurationSettingsRequest
* A {@link Consumer} that will call methods on {@link ValidateConfigurationSettingsMessage.Builder} to
* create a request. A list of validation messages for a specified configuration template.
* @return Result of the ValidateConfigurationSettings operation returned by the service.
* @throws InsufficientPrivilegesException
* The specified account does not have sufficient privileges for one or more AWS services.
* @throws TooManyBucketsException
* The specified account has reached its limit of Amazon S3 buckets.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws ElasticBeanstalkException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample ElasticBeanstalkClient.ValidateConfigurationSettings
* @see AWS API Documentation
*/
default ValidateConfigurationSettingsResponse validateConfigurationSettings(
Consumer validateConfigurationSettingsRequest)
throws InsufficientPrivilegesException, TooManyBucketsException, AwsServiceException, SdkClientException,
ElasticBeanstalkException {
return validateConfigurationSettings(ValidateConfigurationSettingsRequest.builder()
.applyMutation(validateConfigurationSettingsRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("elasticbeanstalk");
}
/**
* Create an instance of {@link ElasticBeanstalkWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link ElasticBeanstalkWaiter}
*/
default ElasticBeanstalkWaiter waiter() {
throw new UnsupportedOperationException();
}
}