@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAppRegistryClient extends AmazonWebServiceClient implements AWSAppRegistry
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AssociateAttributeGroupResult |
associateAttributeGroup(AssociateAttributeGroupRequest request)
Associates an attribute group with an application to augment the application's metadata with the group's
attributes.
|
AssociateResourceResult |
associateResource(AssociateResourceRequest request)
Associates a resource with an application.
|
static AWSAppRegistryClientBuilder |
builder() |
CreateApplicationResult |
createApplication(CreateApplicationRequest request)
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
|
CreateAttributeGroupResult |
createAttributeGroup(CreateAttributeGroupRequest request)
Creates a new attribute group as a container for user-defined attributes.
|
DeleteApplicationResult |
deleteApplication(DeleteApplicationRequest request)
Deletes an application that is specified either by its application ID, name, or ARN.
|
DeleteAttributeGroupResult |
deleteAttributeGroup(DeleteAttributeGroupRequest request)
Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
|
DisassociateAttributeGroupResult |
disassociateAttributeGroup(DisassociateAttributeGroupRequest request)
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
group from the application's metadata.
|
DisassociateResourceResult |
disassociateResource(DisassociateResourceRequest request)
Disassociates a resource from application.
|
GetApplicationResult |
getApplication(GetApplicationRequest request)
Retrieves metadata information about one of your applications.
|
GetAssociatedResourceResult |
getAssociatedResource(GetAssociatedResourceRequest request)
Gets the resource associated with the application.
|
GetAttributeGroupResult |
getAttributeGroup(GetAttributeGroupRequest request)
Retrieves an attribute group by its ARN, ID, or name.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetConfigurationResult |
getConfiguration(GetConfigurationRequest request)
Retrieves a
TagKey configuration from an account. |
ListApplicationsResult |
listApplications(ListApplicationsRequest request)
Retrieves a list of all of your applications.
|
ListAssociatedAttributeGroupsResult |
listAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
Lists all attribute groups that are associated with specified application.
|
ListAssociatedResourcesResult |
listAssociatedResources(ListAssociatedResourcesRequest request)
Lists all of the resources that are associated with the specified application.
|
ListAttributeGroupsResult |
listAttributeGroups(ListAttributeGroupsRequest request)
Lists all attribute groups which you have access to.
|
ListAttributeGroupsForApplicationResult |
listAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
Lists the details of all attribute groups associated with a specific application.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all of the tags on the resource.
|
PutConfigurationResult |
putConfiguration(PutConfigurationRequest request)
Associates a
TagKey configuration to an account. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
SyncResourceResult |
syncResource(SyncResourceRequest request)
Syncs the resource with current AppRegistry records.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Assigns one or more tags (key-value pairs) to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from a resource.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest request)
Updates an existing application with new attributes.
|
UpdateAttributeGroupResult |
updateAttributeGroup(UpdateAttributeGroupRequest request)
Updates an existing attribute group with new details.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSAppRegistryClientBuilder builder()
public AssociateAttributeGroupResult associateAttributeGroup(AssociateAttributeGroupRequest request)
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.
associateAttributeGroup in interface AWSAppRegistryassociateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).public AssociateResourceResult associateResource(AssociateResourceRequest request)
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.
Minimum permissions
You must have the following permissions to associate a resource using the OPTIONS parameter set to
APPLY_APPLICATION_TAG.
tag:GetResources
tag:TagResources
You must also have these additional permissions if you don't use the
AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.
resource-groups:AssociateResource
cloudformation:UpdateStack
cloudformation:DescribeStacks
In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.
associateResource in interface AWSAppRegistryassociateResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ValidationException - The request has invalid or missing parameters.ThrottlingException - The maximum number of API requests has been exceeded.public CreateApplicationResult createApplication(CreateApplicationRequest request)
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
createApplication in interface AWSAppRegistrycreateApplicationRequest - ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.ValidationException - The request has invalid or missing parameters.ThrottlingException - The maximum number of API requests has been exceeded.public CreateAttributeGroupResult createAttributeGroup(CreateAttributeGroupRequest request)
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.
createAttributeGroup in interface AWSAppRegistrycreateAttributeGroupRequest - ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public DeleteApplicationResult deleteApplication(DeleteApplicationRequest request)
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.
deleteApplication in interface AWSAppRegistrydeleteApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public DeleteAttributeGroupResult deleteAttributeGroup(DeleteAttributeGroupRequest request)
Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
deleteAttributeGroup in interface AWSAppRegistrydeleteAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public DisassociateAttributeGroupResult disassociateAttributeGroup(DisassociateAttributeGroupRequest request)
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.
disassociateAttributeGroup in interface AWSAppRegistrydisassociateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public DisassociateResourceResult disassociateResource(DisassociateResourceRequest request)
Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
Minimum permissions
You must have the following permissions to remove a resource that's been associated with an application using the
APPLY_APPLICATION_TAG option for AssociateResource.
tag:GetResources
tag:UntagResources
You must also have the following permissions if you don't use the
AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.
resource-groups:DisassociateResource
cloudformation:UpdateStack
cloudformation:DescribeStacks
In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see UntagResources in the Resource Groups Tagging API Reference.
disassociateResource in interface AWSAppRegistrydisassociateResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ValidationException - The request has invalid or missing parameters.ThrottlingException - The maximum number of API requests has been exceeded.public GetApplicationResult getApplication(GetApplicationRequest request)
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.
getApplication in interface AWSAppRegistrygetApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).public GetAssociatedResourceResult getAssociatedResource(GetAssociatedResourceRequest request)
Gets the resource associated with the application.
getAssociatedResource in interface AWSAppRegistrygetAssociatedResourceRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public GetAttributeGroupResult getAttributeGroup(GetAttributeGroupRequest request)
Retrieves an attribute group by its ARN, ID, or name. The attribute group can be specified by its ARN, ID, or name.
getAttributeGroup in interface AWSAppRegistrygetAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).public GetConfigurationResult getConfiguration(GetConfigurationRequest request)
Retrieves a TagKey configuration from an account.
getConfiguration in interface AWSAppRegistrygetConfigurationRequest - InternalServerException - The service is experiencing internal problems.public ListApplicationsResult listApplications(ListApplicationsRequest request)
Retrieves a list of all of your applications. Results are paginated.
listApplications in interface AWSAppRegistrylistApplicationsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public ListAssociatedAttributeGroupsResult listAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
Lists all attribute groups that are associated with specified application. Results are paginated.
listAssociatedAttributeGroups in interface AWSAppRegistrylistAssociatedAttributeGroupsRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public ListAssociatedResourcesResult listAssociatedResources(ListAssociatedResourcesRequest request)
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.
listAssociatedResources in interface AWSAppRegistrylistAssociatedResourcesRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public ListAttributeGroupsResult listAttributeGroups(ListAttributeGroupsRequest request)
Lists all attribute groups which you have access to. Results are paginated.
listAttributeGroups in interface AWSAppRegistrylistAttributeGroupsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public ListAttributeGroupsForApplicationResult listAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
Lists the details of all attribute groups associated with a specific application. The results display in pages.
listAttributeGroupsForApplication in interface AWSAppRegistrylistAttributeGroupsForApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all of the tags on the resource.
listTagsForResource in interface AWSAppRegistrylistTagsForResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.public PutConfigurationResult putConfiguration(PutConfigurationRequest request)
Associates a TagKey configuration to an account.
putConfiguration in interface AWSAppRegistryputConfigurationRequest - ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.ValidationException - The request has invalid or missing parameters.public SyncResourceResult syncResource(SyncResourceRequest request)
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.
syncResource in interface AWSAppRegistrysyncResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ThrottlingException - The maximum number of API requests has been exceeded.ValidationException - The request has invalid or missing parameters.public TagResourceResult tagResource(TagResourceRequest request)
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.
tagResource in interface AWSAppRegistrytagResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a resource.
This operation returns an empty response if the call was successful.
untagResource in interface AWSAppRegistryuntagResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.public UpdateApplicationResult updateApplication(UpdateApplicationRequest request)
Updates an existing application with new attributes.
updateApplication in interface AWSAppRegistryupdateApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ThrottlingException - The maximum number of API requests has been exceeded.public UpdateAttributeGroupResult updateAttributeGroup(UpdateAttributeGroupRequest request)
Updates an existing attribute group with new details.
updateAttributeGroup in interface AWSAppRegistryupdateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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 AWSAppRegistryrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSAppRegistryshutdown in class AmazonWebServiceClient