@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAppConfigClient extends AmazonWebServiceClient implements AmazonAppConfig
AppConfig feature flags and dynamic configurations help software builders quickly and securely adjust application behavior in production environments without full code deployments. AppConfig speeds up software release frequency, improves application resiliency, and helps you address emergent issues more quickly. With feature flags, you can gradually release new capabilities to users and measure the impact of those changes before fully deploying the new capabilities to all users. With operational flags and dynamic configurations, you can update block lists, allow lists, throttling limits, logging verbosity, and perform other operational tuning to quickly respond to issues in production environments.
AppConfig is a capability of Amazon Web Services Systems Manager.
Despite the fact that application configuration content can vary greatly from application to application, AppConfig supports the following use cases, which cover a broad spectrum of customer needs:
Feature flags and toggles - Safely release new capabilities to your customers in a controlled environment. Instantly roll back changes if you experience a problem.
Application tuning - Carefully introduce application changes while testing the impact of those changes with users in production environments.
Allow list or block list - Control access to premium features or instantly block specific users without deploying new code.
Centralized configuration storage - Keep your configuration data organized and consistent across all of your workloads. You can use AppConfig to deploy configuration data stored in the AppConfig hosted configuration store, Secrets Manager, Systems Manager, Parameter Store, or Amazon S3.
How AppConfig works
This section provides a high-level description of how AppConfig works and how you get started.
Before you start creating AppConfig artifacts, we recommend you identify configuration data in your code that you want to dynamically manage using AppConfig. Good examples include feature flags or toggles, allow and block lists, logging verbosity, service limits, and throttling rules, to name a few.
If your configuration data already exists in the cloud, you can take advantage of AppConfig validation, deployment, and extension features to further streamline configuration data management.
To create a namespace, you create an AppConfig artifact called an application. An application is simply an organizational construct like a folder.
For each AppConfig application, you define one or more environments. An environment is a logical grouping of targets,
such as applications in a Beta
or Production
environment, Lambda functions, or containers.
You can also define environments for application subcomponents, such as the Web
, Mobile
,
and Back-end
.
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.
A configuration profile includes, among other things, a URI that enables AppConfig to locate your configuration data
in its stored location and a profile type. AppConfig supports two configuration profile types: feature flags and
freeform configurations. Feature flag configuration profiles store their data in the AppConfig hosted configuration
store and the URI is simply hosted
. For freeform configuration profiles, you can store your data in the
AppConfig hosted configuration store or any Amazon Web Services service that integrates with AppConfig, as described
in
Creating a free form configuration profile in the the AppConfig User Guide.
A configuration profile can also include optional validators to ensure your configuration data is syntactically and semantically correct. AppConfig performs a check using the validators when you start a deployment. If any errors are detected, the deployment rolls back to the previous configuration data.
When you create a new deployment, you specify the following:
An application ID
A configuration profile ID
A configuration version
An environment ID where you want to deploy the configuration data
A deployment strategy ID that defines how fast you want the changes to take effect
When you call the StartDeployment API action, AppConfig performs the following tasks:
Retrieves the configuration data from the underlying data store by using the location URI in the configuration profile.
Verifies the configuration data is syntactically and semantically correct by using the validators you specified when you created your configuration profile.
Caches a copy of the data so it is ready to be retrieved by your application. This cached copy is called the deployed data.
You can configure AppConfig Agent as a local host and have the agent poll AppConfig for configuration updates. The agent calls the StartConfigurationSession and GetLatestConfiguration API actions and caches your configuration data locally. To retrieve the data, your application makes an HTTP call to the localhost server. AppConfig Agent supports several use cases, as described in Simplified retrieval methods in the the AppConfig User Guide.
If AppConfig Agent isn't supported for your use case, you can configure your application to poll AppConfig for configuration updates by directly calling the StartConfigurationSession and GetLatestConfiguration API actions.
This reference is intended to be used with the AppConfig User Guide.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonAppConfigClientBuilder builder()
public CreateApplicationResult createApplication(CreateApplicationRequest request)
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.
createApplication
in interface AmazonAppConfig
createApplicationRequest
- 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.public CreateConfigurationProfileResult createConfigurationProfile(CreateConfigurationProfileRequest request)
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.
createConfigurationProfile
in interface AmazonAppConfig
createConfigurationProfileRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.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.
public CreateDeploymentStrategyResult createDeploymentStrategy(CreateDeploymentStrategyRequest request)
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.
createDeploymentStrategy
in interface AmazonAppConfig
createDeploymentStrategyRequest
- 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.public CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest request)
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 Beta
or Production
environment.
You can also define environments for application subcomponents such as the Web
, Mobile
and Back-end
components for your application. You can configure Amazon CloudWatch alarms for each
environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system
rolls back the configuration.
createEnvironment
in interface AmazonAppConfig
createEnvironmentRequest
- InternalServerException
- There was an internal failure in the AppConfig service.ResourceNotFoundException
- The requested resource could not be found.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.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.
public CreateExtensionResult createExtension(CreateExtensionRequest request)
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 Uri
field for
the new extension version.
For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the
Uri
field.
For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri
field.
For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the
Uri
field.
For more information about extensions, see Extending workflows in the AppConfig User Guide.
createExtension
in interface AmazonAppConfig
createExtensionRequest
- 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.public CreateExtensionAssociationResult createExtensionAssociation(CreateExtensionAssociationRequest request)
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 SNS
Amazon 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 Extending
workflows in the AppConfig User Guide.
createExtensionAssociation
in interface AmazonAppConfig
createExtensionAssociationRequest
- 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.
public CreateHostedConfigurationVersionResult createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request)
Creates a new configuration in the AppConfig hosted configuration store.
createHostedConfigurationVersion
in interface AmazonAppConfig
createHostedConfigurationVersionRequest
- 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.public DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
Deletes an application. Deleting an application does not delete a configuration from a host.
deleteApplication
in interface AmazonAppConfig
deleteApplicationRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public DeleteConfigurationProfileResult deleteConfigurationProfile(DeleteConfigurationProfileRequest request)
Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
deleteConfigurationProfile
in interface AmazonAppConfig
deleteConfigurationProfileRequest
- ResourceNotFoundException
- The requested resource could not be found.ConflictException
- The request could not be processed because of conflict in the current state of the resource.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public DeleteDeploymentStrategyResult deleteDeploymentStrategy(DeleteDeploymentStrategyRequest request)
Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
deleteDeploymentStrategy
in interface AmazonAppConfig
deleteDeploymentStrategyRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public DeleteEnvironmentResult deleteEnvironment(DeleteEnvironmentRequest request)
Deletes an environment. Deleting an environment does not delete a configuration from a host.
deleteEnvironment
in interface AmazonAppConfig
deleteEnvironmentRequest
- ResourceNotFoundException
- The requested resource could not be found.ConflictException
- The request could not be processed because of conflict in the current state of the resource.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public DeleteExtensionResult deleteExtension(DeleteExtensionRequest request)
Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
deleteExtension
in interface AmazonAppConfig
deleteExtensionRequest
- 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.public DeleteExtensionAssociationResult deleteExtensionAssociation(DeleteExtensionAssociationRequest request)
Deletes an extension association. This action doesn't delete extensions defined in the association.
deleteExtensionAssociation
in interface AmazonAppConfig
deleteExtensionAssociationRequest
- 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.public DeleteHostedConfigurationVersionResult deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request)
Deletes a version of a configuration from the AppConfig hosted configuration store.
deleteHostedConfigurationVersion
in interface AmazonAppConfig
deleteHostedConfigurationVersionRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public GetApplicationResult getApplication(GetApplicationRequest request)
Retrieves information about an application.
getApplication
in interface AmazonAppConfig
getApplicationRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.@Deprecated public GetConfigurationResult getConfiguration(GetConfigurationRequest request)
(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.
GetConfiguration
is a priced call. For more information, see Pricing.
getConfiguration
in interface AmazonAppConfig
getConfigurationRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetConfigurationProfileResult getConfigurationProfile(GetConfigurationProfileRequest request)
Retrieves information about a configuration profile.
getConfigurationProfile
in interface AmazonAppConfig
getConfigurationProfileRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetDeploymentResult getDeployment(GetDeploymentRequest request)
Retrieves information about a configuration deployment.
getDeployment
in interface AmazonAppConfig
getDeploymentRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetDeploymentStrategyResult getDeploymentStrategy(GetDeploymentStrategyRequest request)
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.
getDeploymentStrategy
in interface AmazonAppConfig
getDeploymentStrategyRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetEnvironmentResult getEnvironment(GetEnvironmentRequest request)
Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such
as applications in a Production
environment or in an EU_Region
environment. Each
configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an
environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.
getEnvironment
in interface AmazonAppConfig
getEnvironmentRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetExtensionResult getExtension(GetExtensionRequest request)
Returns information about an AppConfig extension.
getExtension
in interface AmazonAppConfig
getExtensionRequest
- 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.public GetExtensionAssociationResult getExtensionAssociation(GetExtensionAssociationRequest request)
Returns information about an AppConfig extension association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
getExtensionAssociation
in interface AmazonAppConfig
getExtensionAssociationRequest
- 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.public GetHostedConfigurationVersionResult getHostedConfigurationVersion(GetHostedConfigurationVersionRequest request)
Retrieves information about a specific configuration version.
getHostedConfigurationVersion
in interface AmazonAppConfig
getHostedConfigurationVersionRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public ListApplicationsResult listApplications(ListApplicationsRequest request)
Lists all applications in your Amazon Web Services account.
listApplications
in interface AmazonAppConfig
listApplicationsRequest
- InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListConfigurationProfilesResult listConfigurationProfiles(ListConfigurationProfilesRequest request)
Lists the configuration profiles for an application.
listConfigurationProfiles
in interface AmazonAppConfig
listConfigurationProfilesRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListDeploymentStrategiesResult listDeploymentStrategies(ListDeploymentStrategiesRequest request)
Lists deployment strategies.
listDeploymentStrategies
in interface AmazonAppConfig
listDeploymentStrategiesRequest
- InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListDeploymentsResult listDeployments(ListDeploymentsRequest request)
Lists the deployments for an environment in descending deployment number order.
listDeployments
in interface AmazonAppConfig
listDeploymentsRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListEnvironmentsResult listEnvironments(ListEnvironmentsRequest request)
Lists the environments for an application.
listEnvironments
in interface AmazonAppConfig
listEnvironmentsRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListExtensionAssociationsResult listExtensionAssociations(ListExtensionAssociationsRequest request)
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
listExtensionAssociations
in interface AmazonAppConfig
listExtensionAssociationsRequest
- 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.public ListExtensionsResult listExtensions(ListExtensionsRequest request)
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Extending workflows in the AppConfig User Guide.
listExtensions
in interface AmazonAppConfig
listExtensionsRequest
- 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.public ListHostedConfigurationVersionsResult listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request)
Lists configurations stored in the AppConfig hosted configuration store by version.
listHostedConfigurationVersions
in interface AmazonAppConfig
listHostedConfigurationVersionsRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Retrieves the list of key-value tags assigned to the resource.
listTagsForResource
in interface AmazonAppConfig
listTagsForResourceRequest
- ResourceNotFoundException
- The requested resource could not be found.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException
- There was an internal failure in the AppConfig service.public StartDeploymentResult startDeployment(StartDeploymentRequest request)
Starts a deployment.
startDeployment
in interface AmazonAppConfig
startDeploymentRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.ConflictException
- The request could not be processed because of conflict in the current state of the resource.InternalServerException
- There was an internal failure in the AppConfig service.public StopDeploymentResult stopDeployment(StopDeploymentRequest request)
Stops a deployment. This API action works only on deployments that have a status of DEPLOYING
. This
action moves the deployment to a status of ROLLED_BACK
.
stopDeployment
in interface AmazonAppConfig
stopDeploymentRequest
- ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public TagResourceResult tagResource(TagResourceRequest request)
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.
tagResource
in interface AmazonAppConfig
tagResourceRequest
- ResourceNotFoundException
- The requested resource could not be found.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException
- There was an internal failure in the AppConfig service.public UntagResourceResult untagResource(UntagResourceRequest request)
Deletes a tag key and value from an AppConfig resource.
untagResource
in interface AmazonAppConfig
untagResourceRequest
- ResourceNotFoundException
- The requested resource could not be found.BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.InternalServerException
- There was an internal failure in the AppConfig service.public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
Updates an application.
updateApplication
in interface AmazonAppConfig
updateApplicationRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public UpdateConfigurationProfileResult updateConfigurationProfile(UpdateConfigurationProfileRequest request)
Updates a configuration profile.
updateConfigurationProfile
in interface AmazonAppConfig
updateConfigurationProfileRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public UpdateDeploymentStrategyResult updateDeploymentStrategy(UpdateDeploymentStrategyRequest request)
Updates a deployment strategy.
updateDeploymentStrategy
in interface AmazonAppConfig
updateDeploymentStrategyRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest request)
Updates an environment.
updateEnvironment
in interface AmazonAppConfig
updateEnvironmentRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public UpdateExtensionResult updateExtension(UpdateExtensionRequest request)
Updates an AppConfig extension. For more information about extensions, see Extending workflows in the AppConfig User Guide.
updateExtension
in interface AmazonAppConfig
updateExtensionRequest
- 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.public UpdateExtensionAssociationResult updateExtensionAssociation(UpdateExtensionAssociationRequest request)
Updates an association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
updateExtensionAssociation
in interface AmazonAppConfig
updateExtensionAssociationRequest
- 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.public ValidateConfigurationResult validateConfiguration(ValidateConfigurationRequest request)
Uses the validators in a configuration profile to validate a configuration.
validateConfiguration
in interface AmazonAppConfig
validateConfigurationRequest
- BadRequestException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.ResourceNotFoundException
- The requested resource could not be found.InternalServerException
- There was an internal failure in the AppConfig service.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonAppConfig
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonAppConfig
shutdown
in class AmazonWebServiceClient