@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AppConfigClient extends SdkClient
builder() method.
Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly deploy application configurations. AppConfig supports controlled deployments to applications of any size and includes built-in validation checks and monitoring. You can use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers, mobile applications, or IoT devices.
To prevent errors when deploying application configurations, especially for production systems where a simple typo could cause an unexpected outage, AppConfig includes validators. A validator provides a syntactic or semantic check to ensure that the configuration you want to deploy works as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
During a configuration deployment, AppConfig monitors the application to ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can configure a deployment strategy for each application or environment that includes deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back to the previous version.
AppConfig supports multiple use cases. Here are some examples:
Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested with production traffic.
Feature toggle: Use AppConfig to turn on new features that require a timely deployment, such as a product launch or announcement.
Allow list: Use AppConfig to allow premium subscribers to access paid content.
Operational issues: Use AppConfig to reduce stress on your application when a dependency or other external factor impacts the system.
This reference is intended to be used with the AppConfig User Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static AppConfigClientBuilder |
builder()
Create a builder that can be used to configure and create a
AppConfigClient. |
static AppConfigClient |
create()
Create a
AppConfigClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates an application.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application.
|
default CreateConfigurationProfileResponse |
createConfigurationProfile(Consumer<CreateConfigurationProfileRequest.Builder> createConfigurationProfileRequest)
Creates a configuration profile, which is information that enables AppConfig to access the configuration source.
|
default CreateConfigurationProfileResponse |
createConfigurationProfile(CreateConfigurationProfileRequest createConfigurationProfileRequest)
Creates a configuration profile, which is information that enables AppConfig to access the configuration source.
|
default CreateDeploymentStrategyResponse |
createDeploymentStrategy(Consumer<CreateDeploymentStrategyRequest.Builder> createDeploymentStrategyRequest)
Creates a deployment strategy that defines important criteria for rolling out your configuration to the
designated targets.
|
default CreateDeploymentStrategyResponse |
createDeploymentStrategy(CreateDeploymentStrategyRequest createDeploymentStrategyRequest)
Creates a deployment strategy that defines important criteria for rolling out your configuration to the
designated targets.
|
default CreateEnvironmentResponse |
createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)
Creates an environment.
|
default CreateEnvironmentResponse |
createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Creates an environment.
|
default CreateHostedConfigurationVersionResponse |
createHostedConfigurationVersion(Consumer<CreateHostedConfigurationVersionRequest.Builder> createHostedConfigurationVersionRequest)
Creates a new configuration in the AppConfig hosted configuration store.
|
default CreateHostedConfigurationVersionResponse |
createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest)
Creates a new configuration in the AppConfig hosted configuration store.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes an application.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes an application.
|
default DeleteConfigurationProfileResponse |
deleteConfigurationProfile(Consumer<DeleteConfigurationProfileRequest.Builder> deleteConfigurationProfileRequest)
Deletes a configuration profile.
|
default DeleteConfigurationProfileResponse |
deleteConfigurationProfile(DeleteConfigurationProfileRequest deleteConfigurationProfileRequest)
Deletes a configuration profile.
|
default DeleteDeploymentStrategyResponse |
deleteDeploymentStrategy(Consumer<DeleteDeploymentStrategyRequest.Builder> deleteDeploymentStrategyRequest)
Deletes a deployment strategy.
|
default DeleteDeploymentStrategyResponse |
deleteDeploymentStrategy(DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest)
Deletes a deployment strategy.
|
default DeleteEnvironmentResponse |
deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)
Deletes an environment.
|
default DeleteEnvironmentResponse |
deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)
Deletes an environment.
|
default DeleteHostedConfigurationVersionResponse |
deleteHostedConfigurationVersion(Consumer<DeleteHostedConfigurationVersionRequest.Builder> deleteHostedConfigurationVersionRequest)
Deletes a version of a configuration from the AppConfig hosted configuration store.
|
default DeleteHostedConfigurationVersionResponse |
deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest)
Deletes a version of a configuration from the AppConfig hosted configuration store.
|
default GetApplicationResponse |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Retrieves information about an application.
|
default GetApplicationResponse |
getApplication(GetApplicationRequest getApplicationRequest)
Retrieves information about an application.
|
default GetConfigurationResponse |
getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest)
Retrieves information about a configuration.
|
default GetConfigurationResponse |
getConfiguration(GetConfigurationRequest getConfigurationRequest)
Retrieves information about a configuration.
|
default GetConfigurationProfileResponse |
getConfigurationProfile(Consumer<GetConfigurationProfileRequest.Builder> getConfigurationProfileRequest)
Retrieves information about a configuration profile.
|
default GetConfigurationProfileResponse |
getConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest)
Retrieves information about a configuration profile.
|
default GetDeploymentResponse |
getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Retrieves information about a configuration deployment.
|
default GetDeploymentResponse |
getDeployment(GetDeploymentRequest getDeploymentRequest)
Retrieves information about a configuration deployment.
|
default GetDeploymentStrategyResponse |
getDeploymentStrategy(Consumer<GetDeploymentStrategyRequest.Builder> getDeploymentStrategyRequest)
Retrieves information about a deployment strategy.
|
default GetDeploymentStrategyResponse |
getDeploymentStrategy(GetDeploymentStrategyRequest getDeploymentStrategyRequest)
Retrieves information about a deployment strategy.
|
default GetEnvironmentResponse |
getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)
Retrieves information about an environment.
|
default GetEnvironmentResponse |
getEnvironment(GetEnvironmentRequest getEnvironmentRequest)
Retrieves information about an environment.
|
default GetHostedConfigurationVersionResponse |
getHostedConfigurationVersion(Consumer<GetHostedConfigurationVersionRequest.Builder> getHostedConfigurationVersionRequest)
Retrieves information about a specific configuration version.
|
default GetHostedConfigurationVersionResponse |
getHostedConfigurationVersion(GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest)
Retrieves information about a specific configuration version.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all applications in your Amazon Web Services account.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists all applications in your Amazon Web Services account.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all applications in your Amazon Web Services account.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists all applications in your Amazon Web Services account.
|
default ListConfigurationProfilesResponse |
listConfigurationProfiles(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)
Lists the configuration profiles for an application.
|
default ListConfigurationProfilesResponse |
listConfigurationProfiles(ListConfigurationProfilesRequest listConfigurationProfilesRequest)
Lists the configuration profiles for an application.
|
default ListConfigurationProfilesIterable |
listConfigurationProfilesPaginator(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)
Lists the configuration profiles for an application.
|
default ListConfigurationProfilesIterable |
listConfigurationProfilesPaginator(ListConfigurationProfilesRequest listConfigurationProfilesRequest)
Lists the configuration profiles for an application.
|
default ListDeploymentsResponse |
listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments for an environment.
|
default ListDeploymentsResponse |
listDeployments(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments for an environment.
|
default ListDeploymentsIterable |
listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Lists the deployments for an environment.
|
default ListDeploymentsIterable |
listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)
Lists the deployments for an environment.
|
default ListDeploymentStrategiesResponse |
listDeploymentStrategies(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)
Lists deployment strategies.
|
default ListDeploymentStrategiesResponse |
listDeploymentStrategies(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)
Lists deployment strategies.
|
default ListDeploymentStrategiesIterable |
listDeploymentStrategiesPaginator(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)
Lists deployment strategies.
|
default ListDeploymentStrategiesIterable |
listDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)
Lists deployment strategies.
|
default ListEnvironmentsResponse |
listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)
Lists the environments for an application.
|
default ListEnvironmentsResponse |
listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the environments for an application.
|
default ListEnvironmentsIterable |
listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)
Lists the environments for an application.
|
default ListEnvironmentsIterable |
listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the environments for an application.
|
default ListHostedConfigurationVersionsResponse |
listHostedConfigurationVersions(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)
Lists configurations stored in the AppConfig hosted configuration store by version.
|
default ListHostedConfigurationVersionsResponse |
listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)
Lists configurations stored in the AppConfig hosted configuration store by version.
|
default ListHostedConfigurationVersionsIterable |
listHostedConfigurationVersionsPaginator(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)
Lists configurations stored in the AppConfig hosted configuration store by version.
|
default ListHostedConfigurationVersionsIterable |
listHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)
Lists configurations stored in the AppConfig hosted configuration store by version.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieves the list of key-value tags assigned to the resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the list of key-value tags assigned to the resource.
|
static ServiceMetadata |
serviceMetadata() |
default StartDeploymentResponse |
startDeployment(Consumer<StartDeploymentRequest.Builder> startDeploymentRequest)
Starts a deployment.
|
default StartDeploymentResponse |
startDeployment(StartDeploymentRequest startDeploymentRequest)
Starts a deployment.
|
default StopDeploymentResponse |
stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)
Stops a deployment.
|
default StopDeploymentResponse |
stopDeployment(StopDeploymentRequest stopDeploymentRequest)
Stops a deployment.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns metadata to an AppConfig resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Assigns metadata to an AppConfig resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes a tag key and value from an AppConfig resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes a tag key and value from an AppConfig resource.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates an application.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates an application.
|
default UpdateConfigurationProfileResponse |
updateConfigurationProfile(Consumer<UpdateConfigurationProfileRequest.Builder> updateConfigurationProfileRequest)
Updates a configuration profile.
|
default UpdateConfigurationProfileResponse |
updateConfigurationProfile(UpdateConfigurationProfileRequest updateConfigurationProfileRequest)
Updates a configuration profile.
|
default UpdateDeploymentStrategyResponse |
updateDeploymentStrategy(Consumer<UpdateDeploymentStrategyRequest.Builder> updateDeploymentStrategyRequest)
Updates a deployment strategy.
|
default UpdateDeploymentStrategyResponse |
updateDeploymentStrategy(UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest)
Updates a deployment strategy.
|
default UpdateEnvironmentResponse |
updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)
Updates an environment.
|
default UpdateEnvironmentResponse |
updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates an environment.
|
default ValidateConfigurationResponse |
validateConfiguration(Consumer<ValidateConfigurationRequest.Builder> validateConfigurationRequest)
Uses the validators in a configuration profile to validate a configuration.
|
default ValidateConfigurationResponse |
validateConfiguration(ValidateConfigurationRequest validateConfigurationRequest)
Uses the validators in a configuration profile to validate a configuration.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static AppConfigClient create()
AppConfigClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AppConfigClientBuilder builder()
AppConfigClient.default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an application. An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and Lambda, or any system you run on behalf of others.
createApplicationRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an application. An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and Lambda, or any system you run on behalf of others.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConfigurationProfileResponse createConfigurationProfile(CreateConfigurationProfileRequest createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information:
The URI location of the configuration data.
The Identity and Access Management (IAM) role that provides access to the configuration data.
A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function.
For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
createConfigurationProfileRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConfigurationProfileResponse createConfigurationProfile(Consumer<CreateConfigurationProfileRequest.Builder> createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the AppConfig hosted configuration store, Amazon Web Services Systems Manager (SSM) documents, SSM Parameter Store parameters, Amazon S3 objects, or any integration source action supported by CodePipeline. A configuration profile includes the following information:
The URI location of the configuration data.
The Identity and Access Management (IAM) role that provides access to the configuration data.
A validator for the configuration data. Available validators include either a JSON Schema or an Lambda function.
For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
This is a convenience which creates an instance of the CreateConfigurationProfileRequest.Builder avoiding
the need to create one manually via CreateConfigurationProfileRequest.builder()
createConfigurationProfileRequest - A Consumer that will call methods on CreateConfigurationProfileRequest.Builder to create a
request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeploymentStrategyResponse createDeploymentStrategy(CreateDeploymentStrategyRequest createDeploymentStrategyRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
createDeploymentStrategyRequest - InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeploymentStrategyResponse createDeploymentStrategy(Consumer<CreateDeploymentStrategyRequest.Builder> createDeploymentStrategyRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
This is a convenience which creates an instance of the CreateDeploymentStrategyRequest.Builder avoiding
the need to create one manually via CreateDeploymentStrategyRequest.builder()
createDeploymentStrategyRequest - A Consumer that will call methods on CreateDeploymentStrategyRequest.Builder to create a
request.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Creates an environment. For each application, you define one or more environments. An environment is a logical
deployment group of AppConfig targets, such as applications in a Beta or Production
environment. You can also define environments for application subcomponents such as the Web,
Mobile and Back-end components for your application. You can configure Amazon
CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm
is triggered, the system rolls back the configuration.
createEnvironmentRequest - InternalServerException - There was an internal failure in the AppConfig service.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Creates an environment. For each application, you define one or more environments. An environment is a logical
deployment group of AppConfig targets, such as applications in a Beta or Production
environment. You can also define environments for application subcomponents such as the Web,
Mobile and Back-end components for your application. You can configure Amazon
CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm
is triggered, the system rolls back the configuration.
This is a convenience which creates an instance of the CreateEnvironmentRequest.Builder avoiding the need
to create one manually via CreateEnvironmentRequest.builder()
createEnvironmentRequest - A Consumer that will call methods on CreateEnvironmentRequest.Builder to create a request.InternalServerException - There was an internal failure in the AppConfig service.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateHostedConfigurationVersionResponse createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest) throws BadRequestException, ServiceQuotaExceededException, ResourceNotFoundException, ConflictException, PayloadTooLargeException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates a new configuration in the AppConfig hosted configuration store.
createHostedConfigurationVersionRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException - The number of hosted configuration versions exceeds the limit for the AppConfig hosted configuration
store. Delete one or more versions and try again.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.PayloadTooLargeException - The configuration size is too large.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateHostedConfigurationVersionResponse createHostedConfigurationVersion(Consumer<CreateHostedConfigurationVersionRequest.Builder> createHostedConfigurationVersionRequest) throws BadRequestException, ServiceQuotaExceededException, ResourceNotFoundException, ConflictException, PayloadTooLargeException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates a new configuration in the AppConfig hosted configuration store.
This is a convenience which creates an instance of the CreateHostedConfigurationVersionRequest.Builder
avoiding the need to create one manually via CreateHostedConfigurationVersionRequest.builder()
createHostedConfigurationVersionRequest - A Consumer that will call methods on CreateHostedConfigurationVersionRequest.Builder to
create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException - The number of hosted configuration versions exceeds the limit for the AppConfig hosted configuration
store. Delete one or more versions and try again.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.PayloadTooLargeException - The configuration size is too large.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an application. Deleting an application does not delete a configuration from a host.
deleteApplicationRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an application. Deleting an application does not delete a configuration from a host.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConfigurationProfileResponse deleteConfigurationProfile(DeleteConfigurationProfileRequest deleteConfigurationProfileRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
deleteConfigurationProfileRequest - ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConfigurationProfileResponse deleteConfigurationProfile(Consumer<DeleteConfigurationProfileRequest.Builder> deleteConfigurationProfileRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
This is a convenience which creates an instance of the DeleteConfigurationProfileRequest.Builder avoiding
the need to create one manually via DeleteConfigurationProfileRequest.builder()
deleteConfigurationProfileRequest - A Consumer that will call methods on DeleteConfigurationProfileRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDeploymentStrategyResponse deleteDeploymentStrategy(DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
deleteDeploymentStrategyRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDeploymentStrategyResponse deleteDeploymentStrategy(Consumer<DeleteDeploymentStrategyRequest.Builder> deleteDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
This is a convenience which creates an instance of the DeleteDeploymentStrategyRequest.Builder avoiding
the need to create one manually via DeleteDeploymentStrategyRequest.builder()
deleteDeploymentStrategyRequest - A Consumer that will call methods on DeleteDeploymentStrategyRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an environment. Deleting an environment does not delete a configuration from a host.
deleteEnvironmentRequest - ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an environment. Deleting an environment does not delete a configuration from a host.
This is a convenience which creates an instance of the DeleteEnvironmentRequest.Builder avoiding the need
to create one manually via DeleteEnvironmentRequest.builder()
deleteEnvironmentRequest - A Consumer that will call methods on DeleteEnvironmentRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteHostedConfigurationVersionResponse deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a version of a configuration from the AppConfig hosted configuration store.
deleteHostedConfigurationVersionRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteHostedConfigurationVersionResponse deleteHostedConfigurationVersion(Consumer<DeleteHostedConfigurationVersionRequest.Builder> deleteHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a version of a configuration from the AppConfig hosted configuration store.
This is a convenience which creates an instance of the DeleteHostedConfigurationVersionRequest.Builder
avoiding the need to create one manually via DeleteHostedConfigurationVersionRequest.builder()
deleteHostedConfigurationVersionRequest - A Consumer that will call methods on DeleteHostedConfigurationVersionRequest.Builder to
create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an application.
getApplicationRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an application.
This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration.
AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration
version on your clients. If you don’t send ClientConfigurationVersion with each call to
GetConfiguration, your clients receive the current configuration. You are charged each time your
clients receive a configuration.
To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with
every call to GetConfiguration. This value must be saved on your client. Subsequent calls to
GetConfiguration must pass this value by using the ClientConfigurationVersion
parameter.
getConfigurationRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConfigurationResponse getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration.
AppConfig uses the value of the ClientConfigurationVersion parameter to identify the configuration
version on your clients. If you don’t send ClientConfigurationVersion with each call to
GetConfiguration, your clients receive the current configuration. You are charged each time your
clients receive a configuration.
To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with
every call to GetConfiguration. This value must be saved on your client. Subsequent calls to
GetConfiguration must pass this value by using the ClientConfigurationVersion
parameter.
This is a convenience which creates an instance of the GetConfigurationRequest.Builder avoiding the need
to create one manually via GetConfigurationRequest.builder()
getConfigurationRequest - A Consumer that will call methods on GetConfigurationRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConfigurationProfileResponse getConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration profile.
getConfigurationProfileRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConfigurationProfileResponse getConfigurationProfile(Consumer<GetConfigurationProfileRequest.Builder> getConfigurationProfileRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration profile.
This is a convenience which creates an instance of the GetConfigurationProfileRequest.Builder avoiding
the need to create one manually via GetConfigurationProfileRequest.builder()
getConfigurationProfileRequest - A Consumer that will call methods on GetConfigurationProfileRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration deployment.
getDeploymentRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentResponse getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration deployment.
This is a convenience which creates an instance of the GetDeploymentRequest.Builder avoiding the need to
create one manually via GetDeploymentRequest.builder()
getDeploymentRequest - A Consumer that will call methods on GetDeploymentRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentStrategyResponse getDeploymentStrategy(GetDeploymentStrategyRequest getDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
getDeploymentStrategyRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentStrategyResponse getDeploymentStrategy(Consumer<GetDeploymentStrategyRequest.Builder> getDeploymentStrategyRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
This is a convenience which creates an instance of the GetDeploymentStrategyRequest.Builder avoiding the
need to create one manually via GetDeploymentStrategyRequest.builder()
getDeploymentStrategyRequest - A Consumer that will call methods on GetDeploymentStrategyRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an environment. An environment is a logical deployment group of AppConfig
applications, such as applications in a Production environment or in an EU_Region
environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch
alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
getEnvironmentRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an environment. An environment is a logical deployment group of AppConfig
applications, such as applications in a Production environment or in an EU_Region
environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch
alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
This is a convenience which creates an instance of the GetEnvironmentRequest.Builder avoiding the need to
create one manually via GetEnvironmentRequest.builder()
getEnvironmentRequest - A Consumer that will call methods on GetEnvironmentRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetHostedConfigurationVersionResponse getHostedConfigurationVersion(GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a specific configuration version.
getHostedConfigurationVersionRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetHostedConfigurationVersionResponse getHostedConfigurationVersion(Consumer<GetHostedConfigurationVersionRequest.Builder> getHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a specific configuration version.
This is a convenience which creates an instance of the GetHostedConfigurationVersionRequest.Builder
avoiding the need to create one manually via GetHostedConfigurationVersionRequest.builder()
getHostedConfigurationVersionRequest - A Consumer that will call methods on GetHostedConfigurationVersionRequest.Builder to
create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all applications in your Amazon Web Services account.
listApplicationsRequest - InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all applications in your Amazon Web Services account.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all applications in your Amazon Web Services account.
This is a variant of
listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client
.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation.
listApplicationsRequest - InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all applications in your Amazon Web Services account.
This is a variant of
listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client
.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.appconfig.model.ListApplicationsRequest) operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationProfilesResponse listConfigurationProfiles(ListConfigurationProfilesRequest listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the configuration profiles for an application.
listConfigurationProfilesRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationProfilesResponse listConfigurationProfiles(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the configuration profiles for an application.
This is a convenience which creates an instance of the ListConfigurationProfilesRequest.Builder avoiding
the need to create one manually via ListConfigurationProfilesRequest.builder()
listConfigurationProfilesRequest - A Consumer that will call methods on ListConfigurationProfilesRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationProfilesIterable listConfigurationProfilesPaginator(ListConfigurationProfilesRequest listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the configuration profiles for an application.
This is a variant of
listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client
.listConfigurationProfilesPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)
operation.
listConfigurationProfilesRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListConfigurationProfilesIterable listConfigurationProfilesPaginator(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the configuration profiles for an application.
This is a variant of
listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client
.listConfigurationProfilesPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConfigurationProfiles(software.amazon.awssdk.services.appconfig.model.ListConfigurationProfilesRequest)
operation.
This is a convenience which creates an instance of the ListConfigurationProfilesRequest.Builder avoiding
the need to create one manually via ListConfigurationProfilesRequest.builder()
listConfigurationProfilesRequest - A Consumer that will call methods on ListConfigurationProfilesRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentStrategiesResponse listDeploymentStrategies(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists deployment strategies.
listDeploymentStrategiesRequest - InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentStrategiesResponse listDeploymentStrategies(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists deployment strategies.
This is a convenience which creates an instance of the ListDeploymentStrategiesRequest.Builder avoiding
the need to create one manually via ListDeploymentStrategiesRequest.builder()
listDeploymentStrategiesRequest - A Consumer that will call methods on ListDeploymentStrategiesRequest.Builder to create a
request.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentStrategiesIterable listDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists deployment strategies.
This is a variant of
listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client
.listDeploymentStrategiesPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)
operation.
listDeploymentStrategiesRequest - InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentStrategiesIterable listDeploymentStrategiesPaginator(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists deployment strategies.
This is a variant of
listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client
.listDeploymentStrategiesPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeploymentStrategies(software.amazon.awssdk.services.appconfig.model.ListDeploymentStrategiesRequest)
operation.
This is a convenience which creates an instance of the ListDeploymentStrategiesRequest.Builder avoiding
the need to create one manually via ListDeploymentStrategiesRequest.builder()
listDeploymentStrategiesRequest - A Consumer that will call methods on ListDeploymentStrategiesRequest.Builder to create a
request.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment.
listDeploymentsRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment.
This is a variant of
listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client
.listDeploymentsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation.
listDeploymentsRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsIterable listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment.
This is a variant of
listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client
.listDeploymentsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDeployments(software.amazon.awssdk.services.appconfig.model.ListDeploymentsRequest) operation.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the environments for an application.
listEnvironmentsRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the environments for an application.
This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need
to create one manually via ListEnvironmentsRequest.builder()
listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the environments for an application.
This is a variant of
listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client
.listEnvironmentsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation.
listEnvironmentsRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the environments for an application.
This is a variant of
listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client
.listEnvironmentsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListEnvironmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.appconfig.model.ListEnvironmentsRequest) operation.
This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need
to create one manually via ListEnvironmentsRequest.builder()
listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostedConfigurationVersionsResponse listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Lists configurations stored in the AppConfig hosted configuration store by version.
listHostedConfigurationVersionsRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostedConfigurationVersionsResponse listHostedConfigurationVersions(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Lists configurations stored in the AppConfig hosted configuration store by version.
This is a convenience which creates an instance of the ListHostedConfigurationVersionsRequest.Builder
avoiding the need to create one manually via ListHostedConfigurationVersionsRequest.builder()
listHostedConfigurationVersionsRequest - A Consumer that will call methods on ListHostedConfigurationVersionsRequest.Builder to
create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostedConfigurationVersionsIterable listHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Lists configurations stored in the AppConfig hosted configuration store by version.
This is a variant of
listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client
.listHostedConfigurationVersionsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)
operation.
listHostedConfigurationVersionsRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListHostedConfigurationVersionsIterable listHostedConfigurationVersionsPaginator(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Lists configurations stored in the AppConfig hosted configuration store by version.
This is a variant of
listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client
.listHostedConfigurationVersionsPaginator(request);
for (software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listHostedConfigurationVersions(software.amazon.awssdk.services.appconfig.model.ListHostedConfigurationVersionsRequest)
operation.
This is a convenience which creates an instance of the ListHostedConfigurationVersionsRequest.Builder
avoiding the need to create one manually via ListHostedConfigurationVersionsRequest.builder()
listHostedConfigurationVersionsRequest - A Consumer that will call methods on ListHostedConfigurationVersionsRequest.Builder to
create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves the list of key-value tags assigned to the resource.
listTagsForResourceRequest - ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves the list of key-value tags assigned to the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDeploymentResponse startDeployment(StartDeploymentRequest startDeploymentRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Starts a deployment.
startDeploymentRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartDeploymentResponse startDeployment(Consumer<StartDeploymentRequest.Builder> startDeploymentRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Starts a deployment.
This is a convenience which creates an instance of the StartDeploymentRequest.Builder avoiding the need
to create one manually via StartDeploymentRequest.builder()
startDeploymentRequest - A Consumer that will call methods on StartDeploymentRequest.Builder to create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.ConflictException - The request could not be processed because of conflict in the current state of the resource.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDeploymentResponse stopDeployment(StopDeploymentRequest stopDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Stops a deployment. This API action works only on deployments that have a status of DEPLOYING. This
action moves the deployment to a status of ROLLED_BACK.
stopDeploymentRequest - ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopDeploymentResponse stopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Stops a deployment. This API action works only on deployments that have a status of DEPLOYING. This
action moves the deployment to a status of ROLLED_BACK.
This is a convenience which creates an instance of the StopDeploymentRequest.Builder avoiding the need to
create one manually via StopDeploymentRequest.builder()
stopDeploymentRequest - A Consumer that will call methods on StopDeploymentRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
tagResourceRequest - ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a tag key and value from an AppConfig resource.
untagResourceRequest - ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a tag key and value from an AppConfig resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an application.
updateApplicationRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an application.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConfigurationProfileResponse updateConfigurationProfile(UpdateConfigurationProfileRequest updateConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a configuration profile.
updateConfigurationProfileRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConfigurationProfileResponse updateConfigurationProfile(Consumer<UpdateConfigurationProfileRequest.Builder> updateConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a configuration profile.
This is a convenience which creates an instance of the UpdateConfigurationProfileRequest.Builder avoiding
the need to create one manually via UpdateConfigurationProfileRequest.builder()
updateConfigurationProfileRequest - A Consumer that will call methods on UpdateConfigurationProfileRequest.Builder to create a
request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeploymentStrategyResponse updateDeploymentStrategy(UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a deployment strategy.
updateDeploymentStrategyRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeploymentStrategyResponse updateDeploymentStrategy(Consumer<UpdateDeploymentStrategyRequest.Builder> updateDeploymentStrategyRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a deployment strategy.
This is a convenience which creates an instance of the UpdateDeploymentStrategyRequest.Builder avoiding
the need to create one manually via UpdateDeploymentStrategyRequest.builder()
updateDeploymentStrategyRequest - A Consumer that will call methods on UpdateDeploymentStrategyRequest.Builder to create a
request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an environment.
updateEnvironmentRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an environment.
This is a convenience which creates an instance of the UpdateEnvironmentRequest.Builder avoiding the need
to create one manually via UpdateEnvironmentRequest.builder()
updateEnvironmentRequest - A Consumer that will call methods on UpdateEnvironmentRequest.Builder to create a request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ValidateConfigurationResponse validateConfiguration(ValidateConfigurationRequest validateConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Uses the validators in a configuration profile to validate a configuration.
validateConfigurationRequest - BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ValidateConfigurationResponse validateConfiguration(Consumer<ValidateConfigurationRequest.Builder> validateConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Uses the validators in a configuration profile to validate a configuration.
This is a convenience which creates an instance of the ValidateConfigurationRequest.Builder avoiding the
need to create one manually via ValidateConfigurationRequest.builder()
validateConfigurationRequest - A Consumer that will call methods on ValidateConfigurationRequest.Builder to create a
request.BadRequestException - The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException - The requested resource could not be found.InternalServerException - There was an internal failure in the AppConfig service.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.AppConfigException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.