@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonAppConfig extends Object implements AmazonAppConfig
AmazonAppConfig
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public CreateApplicationResult createApplication(CreateApplicationRequest request)
AmazonAppConfig
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
public CreateConfigurationProfileResult createConfigurationProfile(CreateConfigurationProfileRequest request)
AmazonAppConfig
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
public CreateDeploymentStrategyResult createDeploymentStrategy(CreateDeploymentStrategyRequest request)
AmazonAppConfig
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
public CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest request)
AmazonAppConfig
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
public CreateExtensionResult createExtension(CreateExtensionRequest request)
AmazonAppConfig
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
public CreateExtensionAssociationResult createExtensionAssociation(CreateExtensionAssociationRequest request)
AmazonAppConfig
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
public CreateHostedConfigurationVersionResult createHostedConfigurationVersion(CreateHostedConfigurationVersionRequest request)
AmazonAppConfig
Creates a new configuration in the AppConfig hosted configuration store.
createHostedConfigurationVersion
in interface AmazonAppConfig
public DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
AmazonAppConfig
Deletes an application. Deleting an application does not delete a configuration from a host.
deleteApplication
in interface AmazonAppConfig
public DeleteConfigurationProfileResult deleteConfigurationProfile(DeleteConfigurationProfileRequest request)
AmazonAppConfig
Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
deleteConfigurationProfile
in interface AmazonAppConfig
public DeleteDeploymentStrategyResult deleteDeploymentStrategy(DeleteDeploymentStrategyRequest request)
AmazonAppConfig
Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
deleteDeploymentStrategy
in interface AmazonAppConfig
public DeleteEnvironmentResult deleteEnvironment(DeleteEnvironmentRequest request)
AmazonAppConfig
Deletes an environment. Deleting an environment does not delete a configuration from a host.
deleteEnvironment
in interface AmazonAppConfig
public DeleteExtensionResult deleteExtension(DeleteExtensionRequest request)
AmazonAppConfig
Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
deleteExtension
in interface AmazonAppConfig
public DeleteExtensionAssociationResult deleteExtensionAssociation(DeleteExtensionAssociationRequest request)
AmazonAppConfig
Deletes an extension association. This action doesn't delete extensions defined in the association.
deleteExtensionAssociation
in interface AmazonAppConfig
public DeleteHostedConfigurationVersionResult deleteHostedConfigurationVersion(DeleteHostedConfigurationVersionRequest request)
AmazonAppConfig
Deletes a version of a configuration from the AppConfig hosted configuration store.
deleteHostedConfigurationVersion
in interface AmazonAppConfig
public GetApplicationResult getApplication(GetApplicationRequest request)
AmazonAppConfig
Retrieves information about an application.
getApplication
in interface AmazonAppConfig
@Deprecated public GetConfigurationResult getConfiguration(GetConfigurationRequest request)
AmazonAppConfig
(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
public GetConfigurationProfileResult getConfigurationProfile(GetConfigurationProfileRequest request)
AmazonAppConfig
Retrieves information about a configuration profile.
getConfigurationProfile
in interface AmazonAppConfig
public GetDeploymentResult getDeployment(GetDeploymentRequest request)
AmazonAppConfig
Retrieves information about a configuration deployment.
getDeployment
in interface AmazonAppConfig
public GetDeploymentStrategyResult getDeploymentStrategy(GetDeploymentStrategyRequest request)
AmazonAppConfig
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
public GetEnvironmentResult getEnvironment(GetEnvironmentRequest request)
AmazonAppConfig
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
public GetExtensionResult getExtension(GetExtensionRequest request)
AmazonAppConfig
Returns information about an AppConfig extension.
getExtension
in interface AmazonAppConfig
public GetExtensionAssociationResult getExtensionAssociation(GetExtensionAssociationRequest request)
AmazonAppConfig
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
public GetHostedConfigurationVersionResult getHostedConfigurationVersion(GetHostedConfigurationVersionRequest request)
AmazonAppConfig
Retrieves information about a specific configuration version.
getHostedConfigurationVersion
in interface AmazonAppConfig
public ListApplicationsResult listApplications(ListApplicationsRequest request)
AmazonAppConfig
Lists all applications in your Amazon Web Services account.
listApplications
in interface AmazonAppConfig
public ListConfigurationProfilesResult listConfigurationProfiles(ListConfigurationProfilesRequest request)
AmazonAppConfig
Lists the configuration profiles for an application.
listConfigurationProfiles
in interface AmazonAppConfig
public ListDeploymentStrategiesResult listDeploymentStrategies(ListDeploymentStrategiesRequest request)
AmazonAppConfig
Lists deployment strategies.
listDeploymentStrategies
in interface AmazonAppConfig
public ListDeploymentsResult listDeployments(ListDeploymentsRequest request)
AmazonAppConfig
Lists the deployments for an environment in descending deployment number order.
listDeployments
in interface AmazonAppConfig
public ListEnvironmentsResult listEnvironments(ListEnvironmentsRequest request)
AmazonAppConfig
Lists the environments for an application.
listEnvironments
in interface AmazonAppConfig
public ListExtensionAssociationsResult listExtensionAssociations(ListExtensionAssociationsRequest request)
AmazonAppConfig
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
public ListExtensionsResult listExtensions(ListExtensionsRequest request)
AmazonAppConfig
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
public ListHostedConfigurationVersionsResult listHostedConfigurationVersions(ListHostedConfigurationVersionsRequest request)
AmazonAppConfig
Lists configurations stored in the AppConfig hosted configuration store by version.
listHostedConfigurationVersions
in interface AmazonAppConfig
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonAppConfig
Retrieves the list of key-value tags assigned to the resource.
listTagsForResource
in interface AmazonAppConfig
public StartDeploymentResult startDeployment(StartDeploymentRequest request)
AmazonAppConfig
Starts a deployment.
startDeployment
in interface AmazonAppConfig
public StopDeploymentResult stopDeployment(StopDeploymentRequest request)
AmazonAppConfig
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
public TagResourceResult tagResource(TagResourceRequest request)
AmazonAppConfig
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
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonAppConfig
Deletes a tag key and value from an AppConfig resource.
untagResource
in interface AmazonAppConfig
public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
AmazonAppConfig
Updates an application.
updateApplication
in interface AmazonAppConfig
public UpdateConfigurationProfileResult updateConfigurationProfile(UpdateConfigurationProfileRequest request)
AmazonAppConfig
Updates a configuration profile.
updateConfigurationProfile
in interface AmazonAppConfig
public UpdateDeploymentStrategyResult updateDeploymentStrategy(UpdateDeploymentStrategyRequest request)
AmazonAppConfig
Updates a deployment strategy.
updateDeploymentStrategy
in interface AmazonAppConfig
public UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest request)
AmazonAppConfig
Updates an environment.
updateEnvironment
in interface AmazonAppConfig
public UpdateExtensionResult updateExtension(UpdateExtensionRequest request)
AmazonAppConfig
Updates an AppConfig extension. For more information about extensions, see Extending workflows in the AppConfig User Guide.
updateExtension
in interface AmazonAppConfig
public UpdateExtensionAssociationResult updateExtensionAssociation(UpdateExtensionAssociationRequest request)
AmazonAppConfig
Updates an association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
updateExtensionAssociation
in interface AmazonAppConfig
public ValidateConfigurationResult validateConfiguration(ValidateConfigurationRequest request)
AmazonAppConfig
Uses the validators in a configuration profile to validate a configuration.
validateConfiguration
in interface AmazonAppConfig
public void shutdown()
AmazonAppConfig
shutdown
in interface AmazonAppConfig
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonAppConfig
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 a request.
getCachedResponseMetadata
in interface AmazonAppConfig
request
- The originally executed request.