Interface AppConfigClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AppConfigClient extends AwsClient
Service client for accessing AppConfig. This can be created using the staticbuilder()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 an Amazon Web Services 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:
-
Feature flags: Use AppConfig to turn on new features that require a timely deployment, such as a product launch or announcement.
-
Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested with production traffic.
-
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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static AppConfigClientBuilderbuilder()Create a builder that can be used to configure and create aAppConfigClient.static AppConfigClientcreate()Create aAppConfigClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateApplicationResponsecreateApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)Creates an application.default CreateApplicationResponsecreateApplication(CreateApplicationRequest createApplicationRequest)Creates an application.default CreateConfigurationProfileResponsecreateConfigurationProfile(Consumer<CreateConfigurationProfileRequest.Builder> createConfigurationProfileRequest)Creates a configuration profile, which is information that enables AppConfig to access the configuration source.default CreateConfigurationProfileResponsecreateConfigurationProfile(CreateConfigurationProfileRequest createConfigurationProfileRequest)Creates a configuration profile, which is information that enables AppConfig to access the configuration source.default CreateDeploymentStrategyResponsecreateDeploymentStrategy(Consumer<CreateDeploymentStrategyRequest.Builder> createDeploymentStrategyRequest)Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets.default CreateDeploymentStrategyResponsecreateDeploymentStrategy(CreateDeploymentStrategyRequest createDeploymentStrategyRequest)Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets.default CreateEnvironmentResponsecreateEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)Creates an environment.default CreateEnvironmentResponsecreateEnvironment(CreateEnvironmentRequest createEnvironmentRequest)Creates an environment.default CreateExtensionResponsecreateExtension(Consumer<CreateExtensionRequest.Builder> createExtensionRequest)Creates an AppConfig extension.default CreateExtensionResponsecreateExtension(CreateExtensionRequest createExtensionRequest)Creates an AppConfig extension.default CreateExtensionAssociationResponsecreateExtensionAssociation(Consumer<CreateExtensionAssociationRequest.Builder> createExtensionAssociationRequest)When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile.default CreateExtensionAssociationResponsecreateExtensionAssociation(CreateExtensionAssociationRequest createExtensionAssociationRequest)When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile.default CreateHostedConfigurationVersionResponsecreateHostedConfigurationVersion(Consumer<CreateHostedConfigurationVersionRequest.Builder> createHostedConfigurationVersionRequest)Creates a new configuration in the AppConfig hosted configuration store.default CreateHostedConfigurationVersionResponsecreateHostedConfigurationVersion(CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest)Creates a new configuration in the AppConfig hosted configuration store.default DeleteApplicationResponsedeleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)Deletes an application.default DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest deleteApplicationRequest)Deletes an application.default DeleteConfigurationProfileResponsedeleteConfigurationProfile(Consumer<DeleteConfigurationProfileRequest.Builder> deleteConfigurationProfileRequest)Deletes a configuration profile.default DeleteConfigurationProfileResponsedeleteConfigurationProfile(DeleteConfigurationProfileRequest deleteConfigurationProfileRequest)Deletes a configuration profile.default DeleteDeploymentStrategyResponsedeleteDeploymentStrategy(Consumer<DeleteDeploymentStrategyRequest.Builder> deleteDeploymentStrategyRequest)Deletes a deployment strategy.default DeleteDeploymentStrategyResponsedeleteDeploymentStrategy(DeleteDeploymentStrategyRequest deleteDeploymentStrategyRequest)Deletes a deployment strategy.default DeleteEnvironmentResponsedeleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)Deletes an environment.default DeleteEnvironmentResponsedeleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)Deletes an environment.default DeleteExtensionResponsedeleteExtension(Consumer<DeleteExtensionRequest.Builder> deleteExtensionRequest)Deletes an AppConfig extension.default DeleteExtensionResponsedeleteExtension(DeleteExtensionRequest deleteExtensionRequest)Deletes an AppConfig extension.default DeleteExtensionAssociationResponsedeleteExtensionAssociation(Consumer<DeleteExtensionAssociationRequest.Builder> deleteExtensionAssociationRequest)Deletes an extension association.default DeleteExtensionAssociationResponsedeleteExtensionAssociation(DeleteExtensionAssociationRequest deleteExtensionAssociationRequest)Deletes an extension association.default DeleteHostedConfigurationVersionResponsedeleteHostedConfigurationVersion(Consumer<DeleteHostedConfigurationVersionRequest.Builder> deleteHostedConfigurationVersionRequest)Deletes a version of a configuration from the AppConfig hosted configuration store.default DeleteHostedConfigurationVersionResponsedeleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest)Deletes a version of a configuration from the AppConfig hosted configuration store.default GetApplicationResponsegetApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)Retrieves information about an application.default GetApplicationResponsegetApplication(GetApplicationRequest getApplicationRequest)Retrieves information about an application.default GetConfigurationResponsegetConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest)Deprecated.This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.default GetConfigurationResponsegetConfiguration(GetConfigurationRequest getConfigurationRequest)Deprecated.This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.default GetConfigurationProfileResponsegetConfigurationProfile(Consumer<GetConfigurationProfileRequest.Builder> getConfigurationProfileRequest)Retrieves information about a configuration profile.default GetConfigurationProfileResponsegetConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest)Retrieves information about a configuration profile.default GetDeploymentResponsegetDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)Retrieves information about a configuration deployment.default GetDeploymentResponsegetDeployment(GetDeploymentRequest getDeploymentRequest)Retrieves information about a configuration deployment.default GetDeploymentStrategyResponsegetDeploymentStrategy(Consumer<GetDeploymentStrategyRequest.Builder> getDeploymentStrategyRequest)Retrieves information about a deployment strategy.default GetDeploymentStrategyResponsegetDeploymentStrategy(GetDeploymentStrategyRequest getDeploymentStrategyRequest)Retrieves information about a deployment strategy.default GetEnvironmentResponsegetEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)Retrieves information about an environment.default GetEnvironmentResponsegetEnvironment(GetEnvironmentRequest getEnvironmentRequest)Retrieves information about an environment.default GetExtensionResponsegetExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest)Returns information about an AppConfig extension.default GetExtensionResponsegetExtension(GetExtensionRequest getExtensionRequest)Returns information about an AppConfig extension.default GetExtensionAssociationResponsegetExtensionAssociation(Consumer<GetExtensionAssociationRequest.Builder> getExtensionAssociationRequest)Returns information about an AppConfig extension association.default GetExtensionAssociationResponsegetExtensionAssociation(GetExtensionAssociationRequest getExtensionAssociationRequest)Returns information about an AppConfig extension association.default GetHostedConfigurationVersionResponsegetHostedConfigurationVersion(Consumer<GetHostedConfigurationVersionRequest.Builder> getHostedConfigurationVersionRequest)Retrieves information about a specific configuration version.default GetHostedConfigurationVersionResponsegetHostedConfigurationVersion(GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest)Retrieves information about a specific configuration version.default ListApplicationsResponselistApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)Lists all applications in your Amazon Web Services account.default ListApplicationsResponselistApplications(ListApplicationsRequest listApplicationsRequest)Lists all applications in your Amazon Web Services account.default ListApplicationsIterablelistApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)Lists all applications in your Amazon Web Services account.default ListApplicationsIterablelistApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)Lists all applications in your Amazon Web Services account.default ListConfigurationProfilesResponselistConfigurationProfiles(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)Lists the configuration profiles for an application.default ListConfigurationProfilesResponselistConfigurationProfiles(ListConfigurationProfilesRequest listConfigurationProfilesRequest)Lists the configuration profiles for an application.default ListConfigurationProfilesIterablelistConfigurationProfilesPaginator(Consumer<ListConfigurationProfilesRequest.Builder> listConfigurationProfilesRequest)Lists the configuration profiles for an application.default ListConfigurationProfilesIterablelistConfigurationProfilesPaginator(ListConfigurationProfilesRequest listConfigurationProfilesRequest)Lists the configuration profiles for an application.default ListDeploymentsResponselistDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)Lists the deployments for an environment in descending deployment number order.default ListDeploymentsResponselistDeployments(ListDeploymentsRequest listDeploymentsRequest)Lists the deployments for an environment in descending deployment number order.default ListDeploymentsIterablelistDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)Lists the deployments for an environment in descending deployment number order.default ListDeploymentsIterablelistDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)Lists the deployments for an environment in descending deployment number order.default ListDeploymentStrategiesResponselistDeploymentStrategies(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)Lists deployment strategies.default ListDeploymentStrategiesResponselistDeploymentStrategies(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)Lists deployment strategies.default ListDeploymentStrategiesIterablelistDeploymentStrategiesPaginator(Consumer<ListDeploymentStrategiesRequest.Builder> listDeploymentStrategiesRequest)Lists deployment strategies.default ListDeploymentStrategiesIterablelistDeploymentStrategiesPaginator(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest)Lists deployment strategies.default ListEnvironmentsResponselistEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)Lists the environments for an application.default ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)Lists the environments for an application.default ListEnvironmentsIterablelistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)Lists the environments for an application.default ListEnvironmentsIterablelistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)Lists the environments for an application.default ListExtensionAssociationsResponselistExtensionAssociations(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest)Lists all AppConfig extension associations in the account.default ListExtensionAssociationsResponselistExtensionAssociations(ListExtensionAssociationsRequest listExtensionAssociationsRequest)Lists all AppConfig extension associations in the account.default ListExtensionAssociationsIterablelistExtensionAssociationsPaginator(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest)Lists all AppConfig extension associations in the account.default ListExtensionAssociationsIterablelistExtensionAssociationsPaginator(ListExtensionAssociationsRequest listExtensionAssociationsRequest)Lists all AppConfig extension associations in the account.default ListExtensionsResponselistExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)Lists all custom and Amazon Web Services authored AppConfig extensions in the account.default ListExtensionsResponselistExtensions(ListExtensionsRequest listExtensionsRequest)Lists all custom and Amazon Web Services authored AppConfig extensions in the account.default ListExtensionsIterablelistExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)Lists all custom and Amazon Web Services authored AppConfig extensions in the account.default ListExtensionsIterablelistExtensionsPaginator(ListExtensionsRequest listExtensionsRequest)Lists all custom and Amazon Web Services authored AppConfig extensions in the account.default ListHostedConfigurationVersionsResponselistHostedConfigurationVersions(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)Lists configurations stored in the AppConfig hosted configuration store by version.default ListHostedConfigurationVersionsResponselistHostedConfigurationVersions(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)Lists configurations stored in the AppConfig hosted configuration store by version.default ListHostedConfigurationVersionsIterablelistHostedConfigurationVersionsPaginator(Consumer<ListHostedConfigurationVersionsRequest.Builder> listHostedConfigurationVersionsRequest)Lists configurations stored in the AppConfig hosted configuration store by version.default ListHostedConfigurationVersionsIterablelistHostedConfigurationVersionsPaginator(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest)Lists configurations stored in the AppConfig hosted configuration store by version.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Retrieves the list of key-value tags assigned to the resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Retrieves the list of key-value tags assigned to the resource.default AppConfigServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartDeploymentResponsestartDeployment(Consumer<StartDeploymentRequest.Builder> startDeploymentRequest)Starts a deployment.default StartDeploymentResponsestartDeployment(StartDeploymentRequest startDeploymentRequest)Starts a deployment.default StopDeploymentResponsestopDeployment(Consumer<StopDeploymentRequest.Builder> stopDeploymentRequest)Stops a deployment.default StopDeploymentResponsestopDeployment(StopDeploymentRequest stopDeploymentRequest)Stops a deployment.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Assigns metadata to an AppConfig resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Assigns metadata to an AppConfig resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Deletes a tag key and value from an AppConfig resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Deletes a tag key and value from an AppConfig resource.default UpdateApplicationResponseupdateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)Updates an application.default UpdateApplicationResponseupdateApplication(UpdateApplicationRequest updateApplicationRequest)Updates an application.default UpdateConfigurationProfileResponseupdateConfigurationProfile(Consumer<UpdateConfigurationProfileRequest.Builder> updateConfigurationProfileRequest)Updates a configuration profile.default UpdateConfigurationProfileResponseupdateConfigurationProfile(UpdateConfigurationProfileRequest updateConfigurationProfileRequest)Updates a configuration profile.default UpdateDeploymentStrategyResponseupdateDeploymentStrategy(Consumer<UpdateDeploymentStrategyRequest.Builder> updateDeploymentStrategyRequest)Updates a deployment strategy.default UpdateDeploymentStrategyResponseupdateDeploymentStrategy(UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest)Updates a deployment strategy.default UpdateEnvironmentResponseupdateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)Updates an environment.default UpdateEnvironmentResponseupdateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)Updates an environment.default UpdateExtensionResponseupdateExtension(Consumer<UpdateExtensionRequest.Builder> updateExtensionRequest)Updates an AppConfig extension.default UpdateExtensionResponseupdateExtension(UpdateExtensionRequest updateExtensionRequest)Updates an AppConfig extension.default UpdateExtensionAssociationResponseupdateExtensionAssociation(Consumer<UpdateExtensionAssociationRequest.Builder> updateExtensionAssociationRequest)Updates an association.default UpdateExtensionAssociationResponseupdateExtensionAssociation(UpdateExtensionAssociationRequest updateExtensionAssociationRequest)Updates an association.default ValidateConfigurationResponsevalidateConfiguration(Consumer<ValidateConfigurationRequest.Builder> validateConfigurationRequest)Uses the validators in a configuration profile to validate a configuration.default ValidateConfigurationResponsevalidateConfiguration(ValidateConfigurationRequest validateConfigurationRequest)Uses the validators in a configuration profile to validate a configuration.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws BadRequestException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.
- Parameters:
createApplicationRequest-- Returns:
- Result of the CreateApplication operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws BadRequestException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builderavoiding the need to create one manually viaCreateApplicationRequest.builder()- Parameters:
createApplicationRequest- AConsumerthat will call methods onCreateApplicationRequest.Builderto create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
createConfigurationProfile
default CreateConfigurationProfileResponse createConfigurationProfile(CreateConfigurationProfileRequest createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the following:
-
Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
-
Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket
-
Pipelines stored in CodePipeline
-
Secrets stored in Secrets Manager
-
Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
-
Configuration data in SSM documents stored in the Systems Manager document store
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 Amazon Web Services Lambda function.
For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
- Parameters:
createConfigurationProfileRequest-- Returns:
- Result of the CreateConfigurationProfile operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createConfigurationProfile
default CreateConfigurationProfileResponse createConfigurationProfile(Consumer<CreateConfigurationProfileRequest.Builder> createConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the following:
-
Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
-
Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket
-
Pipelines stored in CodePipeline
-
Secrets stored in Secrets Manager
-
Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
-
Configuration data in SSM documents stored in the Systems Manager document store
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 Amazon Web Services 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.Builderavoiding the need to create one manually viaCreateConfigurationProfileRequest.builder()- Parameters:
createConfigurationProfileRequest- AConsumerthat will call methods onCreateConfigurationProfileRequest.Builderto create a request.- Returns:
- Result of the CreateConfigurationProfile operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createDeploymentStrategy
default CreateDeploymentStrategyResponse createDeploymentStrategy(CreateDeploymentStrategyRequest createDeploymentStrategyRequest) throws InternalServerException, ServiceQuotaExceededException, 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.
- Parameters:
createDeploymentStrategyRequest-- Returns:
- Result of the CreateDeploymentStrategy operation returned by the service.
- Throws:
InternalServerException- There was an internal failure in the AppConfig service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
createDeploymentStrategy
default CreateDeploymentStrategyResponse createDeploymentStrategy(Consumer<CreateDeploymentStrategyRequest.Builder> createDeploymentStrategyRequest) throws InternalServerException, ServiceQuotaExceededException, 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.Builderavoiding the need to create one manually viaCreateDeploymentStrategyRequest.builder()- Parameters:
createDeploymentStrategyRequest- AConsumerthat will call methods onCreateDeploymentStrategyRequest.Builderto create a request.- Returns:
- Result of the CreateDeploymentStrategy operation returned by the service.
- Throws:
InternalServerException- There was an internal failure in the AppConfig service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
Creates an environment. For each application, you define one or more environments. An environment is a deployment group of AppConfig targets, such as applications in a
BetaorProductionenvironment. You can also define environments for application subcomponents such as theWeb,MobileandBack-endcomponents 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.- Parameters:
createEnvironmentRequest-- Returns:
- Result of the CreateEnvironment operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws InternalServerException, ResourceNotFoundException, BadRequestException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
Creates an environment. For each application, you define one or more environments. An environment is a deployment group of AppConfig targets, such as applications in a
BetaorProductionenvironment. You can also define environments for application subcomponents such as theWeb,MobileandBack-endcomponents 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.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request.- Returns:
- Result of the CreateEnvironment operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
createExtension
default CreateExtensionResponse createExtension(CreateExtensionRequest createExtensionRequest) throws BadRequestException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration.
You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the
Urifield for the new extension version.-
For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the
Urifield. -
For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the
Urifield. -
For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the
Urifield.
For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
createExtensionRequest-- Returns:
- Result of the CreateExtension operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ConflictException- The request could not be processed because of conflict in the current state of the resource.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createExtension
default CreateExtensionResponse createExtension(Consumer<CreateExtensionRequest.Builder> createExtensionRequest) throws BadRequestException, ConflictException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration.
You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the
Urifield for the new extension version.-
For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the
Urifield. -
For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the
Urifield. -
For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the
Urifield.
For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
CreateExtensionRequest.Builderavoiding the need to create one manually viaCreateExtensionRequest.builder()- Parameters:
createExtensionRequest- AConsumerthat will call methods onCreateExtensionRequest.Builderto create a request.- Returns:
- Result of the CreateExtension operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ConflictException- The request could not be processed because of conflict in the current state of the resource.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
createExtensionAssociation
default CreateExtensionAssociationResponse createExtensionAssociation(CreateExtensionAssociationRequest createExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the
AppConfig deployment events to Amazon SNSAmazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.- Parameters:
createExtensionAssociationRequest-- Returns:
- Result of the CreateExtensionAssociation operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
createExtensionAssociation
default CreateExtensionAssociationResponse createExtensionAssociation(Consumer<CreateExtensionAssociationRequest.Builder> createExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, AppConfigException
When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the
AppConfig deployment events to Amazon SNSAmazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
CreateExtensionAssociationRequest.Builderavoiding the need to create one manually viaCreateExtensionAssociationRequest.builder()- Parameters:
createExtensionAssociationRequest- AConsumerthat will call methods onCreateExtensionAssociationRequest.Builderto create a request.- Returns:
- Result of the CreateExtensionAssociation operation returned by the service.
- Throws:
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.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.AwsServiceException- See Also:
- AWS API Documentation
-
createHostedConfigurationVersion
default CreateHostedConfigurationVersionResponse createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest createHostedConfigurationVersionRequest) throws BadRequestException, ServiceQuotaExceededException, ResourceNotFoundException, ConflictException, PayloadTooLargeException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Creates a new configuration in the AppConfig hosted configuration store.
- Parameters:
createHostedConfigurationVersionRequest-- Returns:
- Result of the CreateHostedConfigurationVersion operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
createHostedConfigurationVersion
default 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.Builderavoiding the need to create one manually viaCreateHostedConfigurationVersionRequest.builder()- Parameters:
createHostedConfigurationVersionRequest- AConsumerthat will call methods onCreateHostedConfigurationVersionRequest.Builderto create a request.- Returns:
- Result of the CreateHostedConfigurationVersion operation returned by the service.
- Throws:
BadRequestException- The input fails to satisfy the constraints specified by an Amazon Web Services service.ServiceQuotaExceededException- The number of one more AppConfig resources exceeds the maximum allowed. Verify that your environment doesn't exceed the following service quotas:Applications: 100 max
Deployment strategies: 20 max
Configuration profiles: 100 max per application
Environments: 20 max per application
To resolve this issue, you can delete one or more resources and try again. Or, you can request a quota increase. For more information about quotas and to request an increase, see Service quotas for AppConfig in the Amazon Web Services General Reference.
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default 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.
- Parameters:
deleteApplicationRequest-- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApplication
default 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.Builderavoiding the need to create one manually viaDeleteApplicationRequest.builder()- Parameters:
deleteApplicationRequest- AConsumerthat will call methods onDeleteApplicationRequest.Builderto create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfigurationProfile
default 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.
- Parameters:
deleteConfigurationProfileRequest-- Returns:
- Result of the DeleteConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfigurationProfile
default 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.Builderavoiding the need to create one manually viaDeleteConfigurationProfileRequest.builder()- Parameters:
deleteConfigurationProfileRequest- AConsumerthat will call methods onDeleteConfigurationProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDeploymentStrategy
default 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.
- Parameters:
deleteDeploymentStrategyRequest-- Returns:
- Result of the DeleteDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteDeploymentStrategy
default 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.Builderavoiding the need to create one manually viaDeleteDeploymentStrategyRequest.builder()- Parameters:
deleteDeploymentStrategyRequest- AConsumerthat will call methods onDeleteDeploymentStrategyRequest.Builderto create a request.- Returns:
- Result of the DeleteDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default 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.
- Parameters:
deleteEnvironmentRequest-- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteEnvironment
default 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.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExtension
default DeleteExtensionResponse deleteExtension(DeleteExtensionRequest deleteExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
- Parameters:
deleteExtensionRequest-- Returns:
- Result of the DeleteExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExtension
default DeleteExtensionResponse deleteExtension(Consumer<DeleteExtensionRequest.Builder> deleteExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
This is a convenience which creates an instance of the
DeleteExtensionRequest.Builderavoiding the need to create one manually viaDeleteExtensionRequest.builder()- Parameters:
deleteExtensionRequest- AConsumerthat will call methods onDeleteExtensionRequest.Builderto create a request.- Returns:
- Result of the DeleteExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExtensionAssociation
default DeleteExtensionAssociationResponse deleteExtensionAssociation(DeleteExtensionAssociationRequest deleteExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes an extension association. This action doesn't delete extensions defined in the association.
- Parameters:
deleteExtensionAssociationRequest-- Returns:
- Result of the DeleteExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteExtensionAssociation
default DeleteExtensionAssociationResponse deleteExtensionAssociation(Consumer<DeleteExtensionAssociationRequest.Builder> deleteExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes an extension association. This action doesn't delete extensions defined in the association.
This is a convenience which creates an instance of the
DeleteExtensionAssociationRequest.Builderavoiding the need to create one manually viaDeleteExtensionAssociationRequest.builder()- Parameters:
deleteExtensionAssociationRequest- AConsumerthat will call methods onDeleteExtensionAssociationRequest.Builderto create a request.- Returns:
- Result of the DeleteExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteHostedConfigurationVersion
default DeleteHostedConfigurationVersionResponse deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest deleteHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a version of a configuration from the AppConfig hosted configuration store.
- Parameters:
deleteHostedConfigurationVersionRequest-- Returns:
- Result of the DeleteHostedConfigurationVersion operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteHostedConfigurationVersion
default 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.Builderavoiding the need to create one manually viaDeleteHostedConfigurationVersionRequest.builder()- Parameters:
deleteHostedConfigurationVersionRequest- AConsumerthat will call methods onDeleteHostedConfigurationVersionRequest.Builderto create a request.- Returns:
- Result of the DeleteHostedConfigurationVersion operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApplication
default GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an application.
- Parameters:
getApplicationRequest-- Returns:
- Result of the GetApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getApplication
default 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.Builderavoiding the need to create one manually viaGetApplicationRequest.builder()- Parameters:
getApplicationRequest- AConsumerthat will call methods onGetApplicationRequest.Builderto create a request.- Returns:
- Result of the GetApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguration
@Deprecated default GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deprecated.This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.(Deprecated) Retrieves the latest deployed configuration.
Note the following important information.
-
This API action is deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead.
-
GetConfigurationis a priced call. For more information, see Pricing.
- Parameters:
getConfigurationRequest-- Returns:
- Result of the GetConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
getConfiguration
@Deprecated default GetConfigurationResponse getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Deprecated.This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.(Deprecated) Retrieves the latest deployed configuration.
Note the following important information.
-
This API action is deprecated. Calls to receive configuration data should use the StartConfigurationSession and GetLatestConfiguration APIs instead.
-
GetConfigurationis a priced call. For more information, see Pricing.
This is a convenience which creates an instance of the
GetConfigurationRequest.Builderavoiding the need to create one manually viaGetConfigurationRequest.builder()- Parameters:
getConfigurationRequest- AConsumerthat will call methods onGetConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
-
getConfigurationProfile
default GetConfigurationProfileResponse getConfigurationProfile(GetConfigurationProfileRequest getConfigurationProfileRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration profile.
- Parameters:
getConfigurationProfileRequest-- Returns:
- Result of the GetConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getConfigurationProfile
default 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.Builderavoiding the need to create one manually viaGetConfigurationProfileRequest.builder()- Parameters:
getConfigurationProfileRequest- AConsumerthat will call methods onGetConfigurationProfileRequest.Builderto create a request.- Returns:
- Result of the GetConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDeployment
default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a configuration deployment.
- Parameters:
getDeploymentRequest-- Returns:
- Result of the GetDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDeployment
default 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.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- Result of the GetDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDeploymentStrategy
default 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.
- Parameters:
getDeploymentStrategyRequest-- Returns:
- Result of the GetDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getDeploymentStrategy
default 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.Builderavoiding the need to create one manually viaGetDeploymentStrategyRequest.builder()- Parameters:
getDeploymentStrategyRequest- AConsumerthat will call methods onGetDeploymentStrategyRequest.Builderto create a request.- Returns:
- Result of the GetDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEnvironment
default GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a
Productionenvironment or in anEU_Regionenvironment. 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.- Parameters:
getEnvironmentRequest-- Returns:
- Result of the GetEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getEnvironment
default GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a
Productionenvironment or in anEU_Regionenvironment. 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.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto create a request.- Returns:
- Result of the GetEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExtension
default GetExtensionResponse getExtension(GetExtensionRequest getExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Returns information about an AppConfig extension.
- Parameters:
getExtensionRequest-- Returns:
- Result of the GetExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExtension
default GetExtensionResponse getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Returns information about an AppConfig extension.
This is a convenience which creates an instance of the
GetExtensionRequest.Builderavoiding the need to create one manually viaGetExtensionRequest.builder()- Parameters:
getExtensionRequest- AConsumerthat will call methods onGetExtensionRequest.Builderto create a request.- Returns:
- Result of the GetExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExtensionAssociation
default GetExtensionAssociationResponse getExtensionAssociation(GetExtensionAssociationRequest getExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
getExtensionAssociationRequest-- Returns:
- Result of the GetExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getExtensionAssociation
default GetExtensionAssociationResponse getExtensionAssociation(Consumer<GetExtensionAssociationRequest.Builder> getExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
GetExtensionAssociationRequest.Builderavoiding the need to create one manually viaGetExtensionAssociationRequest.builder()- Parameters:
getExtensionAssociationRequest- AConsumerthat will call methods onGetExtensionAssociationRequest.Builderto create a request.- Returns:
- Result of the GetExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getHostedConfigurationVersion
default GetHostedConfigurationVersionResponse getHostedConfigurationVersion(GetHostedConfigurationVersionRequest getHostedConfigurationVersionRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves information about a specific configuration version.
- Parameters:
getHostedConfigurationVersionRequest-- Returns:
- Result of the GetHostedConfigurationVersion operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getHostedConfigurationVersion
default 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.Builderavoiding the need to create one manually viaGetHostedConfigurationVersionRequest.builder()- Parameters:
getHostedConfigurationVersionRequest- AConsumerthat will call methods onGetHostedConfigurationVersionRequest.Builderto create a request.- Returns:
- Result of the GetHostedConfigurationVersion operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all applications in your Amazon Web Services account.
- Parameters:
listApplicationsRequest-- Returns:
- Result of the ListApplications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplications
default 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.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- Result of the ListApplications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listApplicationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listApplicationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListApplicationsRequest.builder()- Parameters:
listApplicationsRequest- AConsumerthat will call methods onListApplicationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationProfiles
default ListConfigurationProfilesResponse listConfigurationProfiles(ListConfigurationProfilesRequest listConfigurationProfilesRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the configuration profiles for an application.
- Parameters:
listConfigurationProfilesRequest-- Returns:
- Result of the ListConfigurationProfiles operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationProfiles
default 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.Builderavoiding the need to create one manually viaListConfigurationProfilesRequest.builder()- Parameters:
listConfigurationProfilesRequest- AConsumerthat will call methods onListConfigurationProfilesRequest.Builderto create a request.- Returns:
- Result of the ListConfigurationProfiles operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationProfilesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listConfigurationProfilesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationProfilesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListConfigurationProfilesIterable responses = client.listConfigurationProfilesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListConfigurationProfilesRequest.builder()- Parameters:
listConfigurationProfilesRequest- AConsumerthat will call methods onListConfigurationProfilesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentStrategies
default ListDeploymentStrategiesResponse listDeploymentStrategies(ListDeploymentStrategiesRequest listDeploymentStrategiesRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists deployment strategies.
- Parameters:
listDeploymentStrategiesRequest-- Returns:
- Result of the ListDeploymentStrategies operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentStrategies
default 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.Builderavoiding the need to create one manually viaListDeploymentStrategiesRequest.builder()- Parameters:
listDeploymentStrategiesRequest- AConsumerthat will call methods onListDeploymentStrategiesRequest.Builderto create a request.- Returns:
- Result of the ListDeploymentStrategies operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentStrategiesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listDeploymentStrategiesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentStrategiesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListDeploymentStrategiesIterable responses = client.listDeploymentStrategiesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListDeploymentStrategiesRequest.builder()- Parameters:
listDeploymentStrategiesRequest- AConsumerthat will call methods onListDeploymentStrategiesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeployments
default ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment in descending deployment number order.
- Parameters:
listDeploymentsRequest-- Returns:
- Result of the ListDeployments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeployments
default ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment in descending deployment number order.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- Result of the ListDeployments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentsPaginator
default ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment in descending deployment number order.
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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listDeploymentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listDeploymentsPaginator
default ListDeploymentsIterable listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the deployments for an environment in descending deployment number order.
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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ResourceNotFoundException, InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists the environments for an application.
- Parameters:
listEnvironmentsRequest-- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironments
default 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.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- Result of the ListEnvironments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironmentsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listEnvironmentsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionAssociations
default ListExtensionAssociationsResponse listExtensionAssociations(ListExtensionAssociationsRequest listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
listExtensionAssociationsRequest-- Returns:
- Result of the ListExtensionAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionAssociations
default ListExtensionAssociationsResponse listExtensionAssociations(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
ListExtensionAssociationsRequest.Builderavoiding the need to create one manually viaListExtensionAssociationsRequest.builder()- Parameters:
listExtensionAssociationsRequest- AConsumerthat will call methods onListExtensionAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListExtensionAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionAssociationsPaginator
default ListExtensionAssociationsIterable listExtensionAssociationsPaginator(ListExtensionAssociationsRequest listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a variant of
listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client .listExtensionAssociationsPaginator(request); for (software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(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
listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)operation.- Parameters:
listExtensionAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionAssociationsPaginator
default ListExtensionAssociationsIterable listExtensionAssociationsPaginator(Consumer<ListExtensionAssociationsRequest.Builder> listExtensionAssociationsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a variant of
listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client .listExtensionAssociationsPaginator(request); for (software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionAssociationsIterable responses = client.listExtensionAssociationsPaginator(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
listExtensionAssociations(software.amazon.awssdk.services.appconfig.model.ListExtensionAssociationsRequest)operation.This is a convenience which creates an instance of the
ListExtensionAssociationsRequest.Builderavoiding the need to create one manually viaListExtensionAssociationsRequest.builder()- Parameters:
listExtensionAssociationsRequest- AConsumerthat will call methods onListExtensionAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensions
default ListExtensionsResponse listExtensions(ListExtensionsRequest listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
listExtensionsRequest-- Returns:
- Result of the ListExtensions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensions
default ListExtensionsResponse listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
ListExtensionsRequest.Builderavoiding the need to create one manually viaListExtensionsRequest.builder()- Parameters:
listExtensionsRequest- AConsumerthat will call methods onListExtensionsRequest.Builderto create a request.- Returns:
- Result of the ListExtensions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionsPaginator
default ListExtensionsIterable listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
This is a variant of
listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client .listExtensionsPaginator(request); for (software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(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
listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)operation.- Parameters:
listExtensionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listExtensionsPaginator
default ListExtensionsIterable listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest) throws InternalServerException, BadRequestException, AwsServiceException, SdkClientException, AppConfigException
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
This is a variant of
listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client .listExtensionsPaginator(request); for (software.amazon.awssdk.services.appconfig.model.ListExtensionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.appconfig.paginators.ListExtensionsIterable responses = client.listExtensionsPaginator(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
listExtensions(software.amazon.awssdk.services.appconfig.model.ListExtensionsRequest)operation.This is a convenience which creates an instance of the
ListExtensionsRequest.Builderavoiding the need to create one manually viaListExtensionsRequest.builder()- Parameters:
listExtensionsRequest- AConsumerthat will call methods onListExtensionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listHostedConfigurationVersions
default ListHostedConfigurationVersionsResponse listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest listHostedConfigurationVersionsRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Lists configurations stored in the AppConfig hosted configuration store by version.
- Parameters:
listHostedConfigurationVersionsRequest-- Returns:
- Result of the ListHostedConfigurationVersions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listHostedConfigurationVersions
default 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.Builderavoiding the need to create one manually viaListHostedConfigurationVersionsRequest.builder()- Parameters:
listHostedConfigurationVersionsRequest- AConsumerthat will call methods onListHostedConfigurationVersionsRequest.Builderto create a request.- Returns:
- Result of the ListHostedConfigurationVersions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listHostedConfigurationVersionsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listHostedConfigurationVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listHostedConfigurationVersionsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.appconfig.paginators.ListHostedConfigurationVersionsIterable responses = client.listHostedConfigurationVersionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListHostedConfigurationVersionsRequest.builder()- Parameters:
listHostedConfigurationVersionsRequest- AConsumerthat will call methods onListHostedConfigurationVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Retrieves the list of key-value tags assigned to the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startDeployment
default StartDeploymentResponse startDeployment(StartDeploymentRequest startDeploymentRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Starts a deployment.
- Parameters:
startDeploymentRequest-- Returns:
- Result of the StartDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startDeployment
default 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.Builderavoiding the need to create one manually viaStartDeploymentRequest.builder()- Parameters:
startDeploymentRequest- AConsumerthat will call methods onStartDeploymentRequest.Builderto create a request.- Returns:
- Result of the StartDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopDeployment
default 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 ofROLLED_BACK.- Parameters:
stopDeploymentRequest-- Returns:
- Result of the StopDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
stopDeployment
default 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 ofROLLED_BACK.
This is a convenience which creates an instance of the
StopDeploymentRequest.Builderavoiding the need to create one manually viaStopDeploymentRequest.builder()- Parameters:
stopDeploymentRequest- AConsumerthat will call methods onStopDeploymentRequest.Builderto create a request.- Returns:
- Result of the StopDeployment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, BadRequestException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Deletes a tag key and value from an AppConfig resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an application.
- Parameters:
updateApplicationRequest-- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateApplication
default 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.Builderavoiding the need to create one manually viaUpdateApplicationRequest.builder()- Parameters:
updateApplicationRequest- AConsumerthat will call methods onUpdateApplicationRequest.Builderto create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationProfile
default UpdateConfigurationProfileResponse updateConfigurationProfile(UpdateConfigurationProfileRequest updateConfigurationProfileRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a configuration profile.
- Parameters:
updateConfigurationProfileRequest-- Returns:
- Result of the UpdateConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationProfile
default 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.Builderavoiding the need to create one manually viaUpdateConfigurationProfileRequest.builder()- Parameters:
updateConfigurationProfileRequest- AConsumerthat will call methods onUpdateConfigurationProfileRequest.Builderto create a request.- Returns:
- Result of the UpdateConfigurationProfile operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDeploymentStrategy
default UpdateDeploymentStrategyResponse updateDeploymentStrategy(UpdateDeploymentStrategyRequest updateDeploymentStrategyRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates a deployment strategy.
- Parameters:
updateDeploymentStrategyRequest-- Returns:
- Result of the UpdateDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateDeploymentStrategy
default 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.Builderavoiding the need to create one manually viaUpdateDeploymentStrategyRequest.builder()- Parameters:
updateDeploymentStrategyRequest- AConsumerthat will call methods onUpdateDeploymentStrategyRequest.Builderto create a request.- Returns:
- Result of the UpdateDeploymentStrategy operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an environment.
- Parameters:
updateEnvironmentRequest-- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateEnvironment
default 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.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExtension
default UpdateExtensionResponse updateExtension(UpdateExtensionRequest updateExtensionRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
updateExtensionRequest-- Returns:
- Result of the UpdateExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExtension
default UpdateExtensionResponse updateExtension(Consumer<UpdateExtensionRequest.Builder> updateExtensionRequest) throws BadRequestException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
UpdateExtensionRequest.Builderavoiding the need to create one manually viaUpdateExtensionRequest.builder()- Parameters:
updateExtensionRequest- AConsumerthat will call methods onUpdateExtensionRequest.Builderto create a request.- Returns:
- Result of the UpdateExtension operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExtensionAssociation
default UpdateExtensionAssociationResponse updateExtensionAssociation(UpdateExtensionAssociationRequest updateExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
- Parameters:
updateExtensionAssociationRequest-- Returns:
- Result of the UpdateExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateExtensionAssociation
default UpdateExtensionAssociationResponse updateExtensionAssociation(Consumer<UpdateExtensionAssociationRequest.Builder> updateExtensionAssociationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
This is a convenience which creates an instance of the
UpdateExtensionAssociationRequest.Builderavoiding the need to create one manually viaUpdateExtensionAssociationRequest.builder()- Parameters:
updateExtensionAssociationRequest- AConsumerthat will call methods onUpdateExtensionAssociationRequest.Builderto create a request.- Returns:
- Result of the UpdateExtensionAssociation operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
validateConfiguration
default ValidateConfigurationResponse validateConfiguration(ValidateConfigurationRequest validateConfigurationRequest) throws BadRequestException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, AppConfigException
Uses the validators in a configuration profile to validate a configuration.
- Parameters:
validateConfigurationRequest-- Returns:
- Result of the ValidateConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
validateConfiguration
default 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.Builderavoiding the need to create one manually viaValidateConfigurationRequest.builder()- Parameters:
validateConfigurationRequest- AConsumerthat will call methods onValidateConfigurationRequest.Builderto create a request.- Returns:
- Result of the ValidateConfiguration operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static AppConfigClient create()
Create aAppConfigClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AppConfigClientBuilder builder()
Create a builder that can be used to configure and create aAppConfigClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AppConfigServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-