/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.appregistry; import javax.annotation.Generated; import com.amazonaws.services.appregistry.model.*; /** * Interface for accessing AppRegistry asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.appregistry.AbstractAWSAppRegistryAsync} instead. *
**
* Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their * Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the * application metadata that you use within your enterprise. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSAppRegistryAsync extends AWSAppRegistry { /** ** Associates an attribute group with an application to augment the application's metadata with the group's * attributes. This feature enables applications to be described with user-defined details that are * machine-readable, such as third-party integrations. *
* * @param associateAttributeGroupRequest * @return A Java Future containing the result of the AssociateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsync.AssociateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Associates an attribute group with an application to augment the application's metadata with the group's * attributes. This feature enables applications to be described with user-defined details that are * machine-readable, such as third-party integrations. *
* * @param associateAttributeGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AssociateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsyncHandler.AssociateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Associates a resource with an application. The resource can be specified by its ARN or name. The application can * be specified by ARN, ID, or name. *
* * @param associateResourceRequest * @return A Java Future containing the result of the AssociateResource operation returned by the service. * @sample AWSAppRegistryAsync.AssociateResource * @see AWS API Documentation */ java.util.concurrent.Future* Associates a resource with an application. The resource can be specified by its ARN or name. The application can * be specified by ARN, ID, or name. *
* * @param associateResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the AssociateResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.AssociateResource * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions. *
* * @param createApplicationRequest * @return A Java Future containing the result of the CreateApplication operation returned by the service. * @sample AWSAppRegistryAsync.CreateApplication * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions. *
* * @param createApplicationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateApplication operation returned by the service. * @sample AWSAppRegistryAsyncHandler.CreateApplication * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full * control over their cloud application's metadata in a rich machine-readable format to facilitate integration with * automated workflows and third-party tools. *
* * @param createAttributeGroupRequest * @return A Java Future containing the result of the CreateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsync.CreateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full * control over their cloud application's metadata in a rich machine-readable format to facilitate integration with * automated workflows and third-party tools. *
* * @param createAttributeGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsyncHandler.CreateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Deletes an application that is specified either by its application ID, name, or ARN. All associated attribute * groups and resources must be disassociated from it before deleting an application. *
* * @param deleteApplicationRequest * @return A Java Future containing the result of the DeleteApplication operation returned by the service. * @sample AWSAppRegistryAsync.DeleteApplication * @see AWS API Documentation */ java.util.concurrent.Future* Deletes an application that is specified either by its application ID, name, or ARN. All associated attribute * groups and resources must be disassociated from it before deleting an application. *
* * @param deleteApplicationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteApplication operation returned by the service. * @sample AWSAppRegistryAsyncHandler.DeleteApplication * @see AWS API Documentation */ java.util.concurrent.Future* Deletes an attribute group, specified either by its attribute group ID, name, or ARN. *
* * @param deleteAttributeGroupRequest * @return A Java Future containing the result of the DeleteAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsync.DeleteAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Deletes an attribute group, specified either by its attribute group ID, name, or ARN. *
* * @param deleteAttributeGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsyncHandler.DeleteAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future
* Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
* group from the application's metadata. This operation reverts AssociateAttributeGroup
.
*
* Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
* group from the application's metadata. This operation reverts AssociateAttributeGroup
.
*
* Disassociates a resource from application. Both the resource and the application can be specified either by ID or * name. *
* * @param disassociateResourceRequest * @return A Java Future containing the result of the DisassociateResource operation returned by the service. * @sample AWSAppRegistryAsync.DisassociateResource * @see AWS API Documentation */ java.util.concurrent.Future* Disassociates a resource from application. Both the resource and the application can be specified either by ID or * name. *
* * @param disassociateResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DisassociateResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.DisassociateResource * @see AWS API Documentation */ java.util.concurrent.Future
* Retrieves metadata information about one of your applications. The application can be specified by its ARN, ID,
* or name (which is unique within one account in one region at a given point in time). Specify by ARN or ID in
* automated workflows if you want to make sure that the exact same application is returned or a
* ResourceNotFoundException
is thrown, avoiding the ABA addressing problem.
*
* Retrieves metadata information about one of your applications. The application can be specified by its ARN, ID,
* or name (which is unique within one account in one region at a given point in time). Specify by ARN or ID in
* automated workflows if you want to make sure that the exact same application is returned or a
* ResourceNotFoundException
is thrown, avoiding the ABA addressing problem.
*
* Gets the resource associated with the application. *
* * @param getAssociatedResourceRequest * @return A Java Future containing the result of the GetAssociatedResource operation returned by the service. * @sample AWSAppRegistryAsync.GetAssociatedResource * @see AWS API Documentation */ java.util.concurrent.Future* Gets the resource associated with the application. *
* * @param getAssociatedResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetAssociatedResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.GetAssociatedResource * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves an attribute group by its ARN, ID, or name. The attribute group can be specified by its ARN, ID, or * name. *
* * @param getAttributeGroupRequest * @return A Java Future containing the result of the GetAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsync.GetAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves an attribute group by its ARN, ID, or name. The attribute group can be specified by its ARN, ID, or * name. *
* * @param getAttributeGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsyncHandler.GetAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future
* Retrieves a TagKey
configuration from an account.
*
* Retrieves a TagKey
configuration from an account.
*
* Retrieves a list of all of your applications. Results are paginated. *
* * @param listApplicationsRequest * @return A Java Future containing the result of the ListApplications operation returned by the service. * @sample AWSAppRegistryAsync.ListApplications * @see AWS API Documentation */ java.util.concurrent.Future* Retrieves a list of all of your applications. Results are paginated. *
* * @param listApplicationsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListApplications operation returned by the service. * @sample AWSAppRegistryAsyncHandler.ListApplications * @see AWS API Documentation */ java.util.concurrent.Future* Lists all attribute groups that are associated with specified application. Results are paginated. *
* * @param listAssociatedAttributeGroupsRequest * @return A Java Future containing the result of the ListAssociatedAttributeGroups operation returned by the * service. * @sample AWSAppRegistryAsync.ListAssociatedAttributeGroups * @see AWS API Documentation */ java.util.concurrent.Future* Lists all attribute groups that are associated with specified application. Results are paginated. *
* * @param listAssociatedAttributeGroupsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListAssociatedAttributeGroups operation returned by the * service. * @sample AWSAppRegistryAsyncHandler.ListAssociatedAttributeGroups * @see AWS API Documentation */ java.util.concurrent.Future* Lists all of the resources that are associated with the specified application. Results are paginated. *
** If you share an application, and a consumer account associates a tag query to the application, all of the users * who can access the application can also view the tag values in all accounts that are associated with it using * this API. *
** Lists all of the resources that are associated with the specified application. Results are paginated. *
** If you share an application, and a consumer account associates a tag query to the application, all of the users * who can access the application can also view the tag values in all accounts that are associated with it using * this API. *
** Lists all attribute groups which you have access to. Results are paginated. *
* * @param listAttributeGroupsRequest * @return A Java Future containing the result of the ListAttributeGroups operation returned by the service. * @sample AWSAppRegistryAsync.ListAttributeGroups * @see AWS API Documentation */ java.util.concurrent.Future* Lists all attribute groups which you have access to. Results are paginated. *
* * @param listAttributeGroupsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListAttributeGroups operation returned by the service. * @sample AWSAppRegistryAsyncHandler.ListAttributeGroups * @see AWS API Documentation */ java.util.concurrent.Future* Lists the details of all attribute groups associated with a specific application. The results display in pages. *
* * @param listAttributeGroupsForApplicationRequest * @return A Java Future containing the result of the ListAttributeGroupsForApplication operation returned by the * service. * @sample AWSAppRegistryAsync.ListAttributeGroupsForApplication * @see AWS API Documentation */ java.util.concurrent.Future* Lists the details of all attribute groups associated with a specific application. The results display in pages. *
* * @param listAttributeGroupsForApplicationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListAttributeGroupsForApplication operation returned by the * service. * @sample AWSAppRegistryAsyncHandler.ListAttributeGroupsForApplication * @see AWS API Documentation */ java.util.concurrent.Future* Lists all of the tags on the resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSAppRegistryAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Lists all of the tags on the resource. *
* * @param listTagsForResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future
* Associates a TagKey
configuration to an account.
*
* Associates a TagKey
configuration to an account.
*
* Syncs the resource with current AppRegistry records. *
** Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the * resource's AppRegistry system tags if it does not associate with the application. The caller must have * permissions to read and update the resource. *
* * @param syncResourceRequest * @return A Java Future containing the result of the SyncResource operation returned by the service. * @sample AWSAppRegistryAsync.SyncResource * @see AWS * API Documentation */ java.util.concurrent.Future* Syncs the resource with current AppRegistry records. *
** Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the * resource's AppRegistry system tags if it does not associate with the application. The caller must have * permissions to read and update the resource. *
* * @param syncResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the SyncResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.SyncResource * @see AWS * API Documentation */ java.util.concurrent.Future* Assigns one or more tags (key-value pairs) to the specified resource. *
** Each tag consists of a key and an optional value. If a tag with the same key is already associated with the * resource, this action updates its value. *
** This operation returns an empty response if the call was successful. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSAppRegistryAsync.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Assigns one or more tags (key-value pairs) to the specified resource. *
** Each tag consists of a key and an optional value. If a tag with the same key is already associated with the * resource, this action updates its value. *
** This operation returns an empty response if the call was successful. *
* * @param tagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Removes tags from a resource. *
** This operation returns an empty response if the call was successful. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSAppRegistryAsync.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future* Removes tags from a resource. *
** This operation returns an empty response if the call was successful. *
* * @param untagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSAppRegistryAsyncHandler.UntagResource * @see AWS API Documentation */ java.util.concurrent.Future* Updates an existing application with new attributes. *
* * @param updateApplicationRequest * @return A Java Future containing the result of the UpdateApplication operation returned by the service. * @sample AWSAppRegistryAsync.UpdateApplication * @see AWS API Documentation */ java.util.concurrent.Future* Updates an existing application with new attributes. *
* * @param updateApplicationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateApplication operation returned by the service. * @sample AWSAppRegistryAsyncHandler.UpdateApplication * @see AWS API Documentation */ java.util.concurrent.Future* Updates an existing attribute group with new details. *
* * @param updateAttributeGroupRequest * @return A Java Future containing the result of the UpdateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsync.UpdateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future* Updates an existing attribute group with new details. *
* * @param updateAttributeGroupRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateAttributeGroup operation returned by the service. * @sample AWSAppRegistryAsyncHandler.UpdateAttributeGroup * @see AWS API Documentation */ java.util.concurrent.Future