Interface ServiceCatalogAppRegistryAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateAttributeGroup
(Consumer<AssociateAttributeGroupRequest.Builder> associateAttributeGroupRequest) Associates an attribute group with an application to augment the application's metadata with the group's attributes.associateAttributeGroup
(AssociateAttributeGroupRequest associateAttributeGroupRequest) Associates an attribute group with an application to augment the application's metadata with the group's attributes.associateResource
(Consumer<AssociateResourceRequest.Builder> associateResourceRequest) Associates a resource with an application.associateResource
(AssociateResourceRequest associateResourceRequest) Associates a resource with an application.builder()
Create a builder that can be used to configure and create aServiceCatalogAppRegistryAsyncClient
.create()
Create aServiceCatalogAppRegistryAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.createApplication
(CreateApplicationRequest createApplicationRequest) Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.createAttributeGroup
(Consumer<CreateAttributeGroupRequest.Builder> createAttributeGroupRequest) Creates a new attribute group as a container for user-defined attributes.createAttributeGroup
(CreateAttributeGroupRequest createAttributeGroupRequest) Creates a new attribute group as a container for user-defined attributes.deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an application that is specified either by its application ID, name, or ARN.deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Deletes an application that is specified either by its application ID, name, or ARN.deleteAttributeGroup
(Consumer<DeleteAttributeGroupRequest.Builder> deleteAttributeGroupRequest) Deletes an attribute group, specified either by its attribute group ID, name, or ARN.deleteAttributeGroup
(DeleteAttributeGroupRequest deleteAttributeGroupRequest) Deletes an attribute group, specified either by its attribute group ID, name, or ARN.disassociateAttributeGroup
(Consumer<DisassociateAttributeGroupRequest.Builder> disassociateAttributeGroupRequest) Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata.disassociateAttributeGroup
(DisassociateAttributeGroupRequest disassociateAttributeGroupRequest) Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata.disassociateResource
(Consumer<DisassociateResourceRequest.Builder> disassociateResourceRequest) Disassociates a resource from application.disassociateResource
(DisassociateResourceRequest disassociateResourceRequest) Disassociates a resource from application.default CompletableFuture
<GetApplicationResponse> getApplication
(Consumer<GetApplicationRequest.Builder> getApplicationRequest) Retrieves metadata information about one of your applications.default CompletableFuture
<GetApplicationResponse> getApplication
(GetApplicationRequest getApplicationRequest) Retrieves metadata information about one of your applications.getAssociatedResource
(Consumer<GetAssociatedResourceRequest.Builder> getAssociatedResourceRequest) Gets the resource associated with the application.getAssociatedResource
(GetAssociatedResourceRequest getAssociatedResourceRequest) Gets the resource associated with the application.getAttributeGroup
(Consumer<GetAttributeGroupRequest.Builder> getAttributeGroupRequest) Retrieves an attribute group by its ARN, ID, or name.getAttributeGroup
(GetAttributeGroupRequest getAttributeGroupRequest) Retrieves an attribute group by its ARN, ID, or name.getConfiguration
(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) Retrieves aTagKey
configuration from an account.getConfiguration
(GetConfigurationRequest getConfigurationRequest) Retrieves aTagKey
configuration from an account.listApplications
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves a list of all of your applications.listApplications
(ListApplicationsRequest listApplicationsRequest) Retrieves a list of all of your applications.default ListApplicationsPublisher
listApplicationsPaginator
(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.default ListApplicationsPublisher
listApplicationsPaginator
(ListApplicationsRequest listApplicationsRequest) This is a variant oflistApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.listAssociatedAttributeGroups
(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) Lists all attribute groups that are associated with specified application.listAssociatedAttributeGroups
(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) Lists all attribute groups that are associated with specified application.listAssociatedAttributeGroupsPaginator
(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) listAssociatedAttributeGroupsPaginator
(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) listAssociatedResources
(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) Lists all of the resources that are associated with the specified application.listAssociatedResources
(ListAssociatedResourcesRequest listAssociatedResourcesRequest) Lists all of the resources that are associated with the specified application.default ListAssociatedResourcesPublisher
listAssociatedResourcesPaginator
(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) This is a variant oflistAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.default ListAssociatedResourcesPublisher
listAssociatedResourcesPaginator
(ListAssociatedResourcesRequest listAssociatedResourcesRequest) This is a variant oflistAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.listAttributeGroups
(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) Lists all attribute groups which you have access to.listAttributeGroups
(ListAttributeGroupsRequest listAttributeGroupsRequest) Lists all attribute groups which you have access to.listAttributeGroupsForApplication
(Consumer<ListAttributeGroupsForApplicationRequest.Builder> listAttributeGroupsForApplicationRequest) Lists the details of all attribute groups associated with a specific application.listAttributeGroupsForApplication
(ListAttributeGroupsForApplicationRequest listAttributeGroupsForApplicationRequest) Lists the details of all attribute groups associated with a specific application.listAttributeGroupsForApplicationPaginator
(Consumer<ListAttributeGroupsForApplicationRequest.Builder> listAttributeGroupsForApplicationRequest) listAttributeGroupsForApplicationPaginator
(ListAttributeGroupsForApplicationRequest listAttributeGroupsForApplicationRequest) default ListAttributeGroupsPublisher
listAttributeGroupsPaginator
(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) This is a variant oflistAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.default ListAttributeGroupsPublisher
listAttributeGroupsPaginator
(ListAttributeGroupsRequest listAttributeGroupsRequest) This is a variant oflistAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags on the resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags on the resource.putConfiguration
(Consumer<PutConfigurationRequest.Builder> putConfigurationRequest) Associates aTagKey
configuration to an account.putConfiguration
(PutConfigurationRequest putConfigurationRequest) Associates aTagKey
configuration to an account.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<SyncResourceResponse> syncResource
(Consumer<SyncResourceRequest.Builder> syncResourceRequest) Syncs the resource with current AppRegistry records.default CompletableFuture
<SyncResourceResponse> syncResource
(SyncResourceRequest syncResourceRequest) Syncs the resource with current AppRegistry records.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing application with new attributes.updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates an existing application with new attributes.updateAttributeGroup
(Consumer<UpdateAttributeGroupRequest.Builder> updateAttributeGroupRequest) Updates an existing attribute group with new details.updateAttributeGroup
(UpdateAttributeGroupRequest updateAttributeGroupRequest) Updates an existing attribute group with new details.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateAttributeGroup
default CompletableFuture<AssociateAttributeGroupResponse> associateAttributeGroup(AssociateAttributeGroupRequest associateAttributeGroupRequest) 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.
- Parameters:
associateAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the AssociateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAttributeGroup
default CompletableFuture<AssociateAttributeGroupResponse> associateAttributeGroup(Consumer<AssociateAttributeGroupRequest.Builder> associateAttributeGroupRequest) 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.
This is a convenience which creates an instance of the
AssociateAttributeGroupRequest.Builder
avoiding the need to create one manually viaAssociateAttributeGroupRequest.builder()
- Parameters:
associateAttributeGroupRequest
- AConsumer
that will call methods onAssociateAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateResource
default CompletableFuture<AssociateResourceResponse> associateResource(AssociateResourceRequest associateResourceRequest) 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 toAPPLY_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.
- Parameters:
associateResourceRequest
-- Returns:
- A Java Future containing the result of the AssociateResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
associateResource
default CompletableFuture<AssociateResourceResponse> associateResource(Consumer<AssociateResourceRequest.Builder> associateResourceRequest) 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 toAPPLY_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.
This is a convenience which creates an instance of the
AssociateResourceRequest.Builder
avoiding the need to create one manually viaAssociateResourceRequest.builder()
- Parameters:
associateResourceRequest
- AConsumer
that will call methods onAssociateResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(CreateApplicationRequest createApplicationRequest) Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
- Parameters:
createApplicationRequest
-- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApplication
default CompletableFuture<CreateApplicationResponse> createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAttributeGroup
default CompletableFuture<CreateAttributeGroupResponse> createAttributeGroup(CreateAttributeGroupRequest createAttributeGroupRequest) 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.
- Parameters:
createAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the CreateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAttributeGroup
default CompletableFuture<CreateAttributeGroupResponse> createAttributeGroup(Consumer<CreateAttributeGroupRequest.Builder> createAttributeGroupRequest) 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.
This is a convenience which creates an instance of the
CreateAttributeGroupRequest.Builder
avoiding the need to create one manually viaCreateAttributeGroupRequest.builder()
- Parameters:
createAttributeGroupRequest
- AConsumer
that will call methods onCreateAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(DeleteApplicationRequest deleteApplicationRequest) 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.
- Parameters:
deleteApplicationRequest
-- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApplication
default CompletableFuture<DeleteApplicationResponse> deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) 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.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAttributeGroup
default CompletableFuture<DeleteAttributeGroupResponse> deleteAttributeGroup(DeleteAttributeGroupRequest deleteAttributeGroupRequest) Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
- Parameters:
deleteAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAttributeGroup
default CompletableFuture<DeleteAttributeGroupResponse> deleteAttributeGroup(Consumer<DeleteAttributeGroupRequest.Builder> deleteAttributeGroupRequest) Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
This is a convenience which creates an instance of the
DeleteAttributeGroupRequest.Builder
avoiding the need to create one manually viaDeleteAttributeGroupRequest.builder()
- Parameters:
deleteAttributeGroupRequest
- AConsumer
that will call methods onDeleteAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAttributeGroup
default CompletableFuture<DisassociateAttributeGroupResponse> disassociateAttributeGroup(DisassociateAttributeGroupRequest disassociateAttributeGroupRequest) 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
.- Parameters:
disassociateAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the DisassociateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAttributeGroup
default CompletableFuture<DisassociateAttributeGroupResponse> disassociateAttributeGroup(Consumer<DisassociateAttributeGroupRequest.Builder> disassociateAttributeGroupRequest) 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
.
This is a convenience which creates an instance of the
DisassociateAttributeGroupRequest.Builder
avoiding the need to create one manually viaDisassociateAttributeGroupRequest.builder()
- Parameters:
disassociateAttributeGroupRequest
- AConsumer
that will call methods onDisassociateAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateResource
default CompletableFuture<DisassociateResourceResponse> disassociateResource(DisassociateResourceRequest disassociateResourceRequest) 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.
- Parameters:
disassociateResourceRequest
-- Returns:
- A Java Future containing the result of the DisassociateResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
disassociateResource
default CompletableFuture<DisassociateResourceResponse> disassociateResource(Consumer<DisassociateResourceRequest.Builder> disassociateResourceRequest) 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.
This is a convenience which creates an instance of the
DisassociateResourceRequest.Builder
avoiding the need to create one manually viaDisassociateResourceRequest.builder()
- Parameters:
disassociateResourceRequest
- AConsumer
that will call methods onDisassociateResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest) 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.- Parameters:
getApplicationRequest
-- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplication
default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) 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.
This is a convenience which creates an instance of the
GetApplicationRequest.Builder
avoiding the need to create one manually viaGetApplicationRequest.builder()
- Parameters:
getApplicationRequest
- AConsumer
that will call methods onGetApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssociatedResource
default CompletableFuture<GetAssociatedResourceResponse> getAssociatedResource(GetAssociatedResourceRequest getAssociatedResourceRequest) Gets the resource associated with the application.
- Parameters:
getAssociatedResourceRequest
-- Returns:
- A Java Future containing the result of the GetAssociatedResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssociatedResource
default CompletableFuture<GetAssociatedResourceResponse> getAssociatedResource(Consumer<GetAssociatedResourceRequest.Builder> getAssociatedResourceRequest) Gets the resource associated with the application.
This is a convenience which creates an instance of the
GetAssociatedResourceRequest.Builder
avoiding the need to create one manually viaGetAssociatedResourceRequest.builder()
- Parameters:
getAssociatedResourceRequest
- AConsumer
that will call methods onGetAssociatedResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAssociatedResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAttributeGroup
default CompletableFuture<GetAttributeGroupResponse> getAttributeGroup(GetAttributeGroupRequest getAttributeGroupRequest) Retrieves an attribute group by its ARN, ID, or name. The attribute group can be specified by its ARN, ID, or name.
- Parameters:
getAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the GetAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAttributeGroup
default CompletableFuture<GetAttributeGroupResponse> getAttributeGroup(Consumer<GetAttributeGroupRequest.Builder> getAttributeGroupRequest) Retrieves an attribute group by its ARN, ID, or name. The attribute group can be specified by its ARN, ID, or name.
This is a convenience which creates an instance of the
GetAttributeGroupRequest.Builder
avoiding the need to create one manually viaGetAttributeGroupRequest.builder()
- Parameters:
getAttributeGroupRequest
- AConsumer
that will call methods onGetAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConfiguration
default CompletableFuture<GetConfigurationResponse> getConfiguration(GetConfigurationRequest getConfigurationRequest) Retrieves a
TagKey
configuration from an account.- Parameters:
getConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConfiguration
default CompletableFuture<GetConfigurationResponse> getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) Retrieves a
TagKey
configuration from an account.
This is a convenience which creates an instance of the
GetConfigurationRequest.Builder
avoiding the need to create one manually viaGetConfigurationRequest.builder()
- Parameters:
getConfigurationRequest
- AConsumer
that will call methods onGetConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest) Retrieves a list of all of your applications. Results are paginated.
- Parameters:
listApplicationsRequest
-- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplications
default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) Retrieves a list of all of your applications. Results are paginated.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.- Parameters:
listApplicationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApplicationsPaginator
default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) This is a variant of
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the
ListApplicationsRequest.Builder
avoiding the need to create one manually viaListApplicationsRequest.builder()
- Parameters:
listApplicationsRequest
- AConsumer
that will call methods onListApplicationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedAttributeGroups
default CompletableFuture<ListAssociatedAttributeGroupsResponse> listAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) Lists all attribute groups that are associated with specified application. Results are paginated.
- Parameters:
listAssociatedAttributeGroupsRequest
-- Returns:
- A Java Future containing the result of the ListAssociatedAttributeGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedAttributeGroups
default CompletableFuture<ListAssociatedAttributeGroupsResponse> listAssociatedAttributeGroups(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) Lists all attribute groups that are associated with specified application. Results are paginated.
This is a convenience which creates an instance of the
ListAssociatedAttributeGroupsRequest.Builder
avoiding the need to create one manually viaListAssociatedAttributeGroupsRequest.builder()
- Parameters:
listAssociatedAttributeGroupsRequest
- AConsumer
that will call methods onListAssociatedAttributeGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAssociatedAttributeGroups operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedAttributeGroupsPaginator
default ListAssociatedAttributeGroupsPublisher listAssociatedAttributeGroupsPaginator(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) This is a variant of
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation.- Parameters:
listAssociatedAttributeGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedAttributeGroupsPaginator
default ListAssociatedAttributeGroupsPublisher listAssociatedAttributeGroupsPaginator(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) This is a variant of
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListAssociatedAttributeGroupsRequest.Builder
avoiding the need to create one manually viaListAssociatedAttributeGroupsRequest.builder()
- Parameters:
listAssociatedAttributeGroupsRequest
- AConsumer
that will call methods onListAssociatedAttributeGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedResources
default CompletableFuture<ListAssociatedResourcesResponse> listAssociatedResources(ListAssociatedResourcesRequest listAssociatedResourcesRequest) 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.
- Parameters:
listAssociatedResourcesRequest
-- Returns:
- A Java Future containing the result of the ListAssociatedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedResources
default CompletableFuture<ListAssociatedResourcesResponse> listAssociatedResources(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) 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.
This is a convenience which creates an instance of the
ListAssociatedResourcesRequest.Builder
avoiding the need to create one manually viaListAssociatedResourcesRequest.builder()
- Parameters:
listAssociatedResourcesRequest
- AConsumer
that will call methods onListAssociatedResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAssociatedResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedResourcesPaginator
default ListAssociatedResourcesPublisher listAssociatedResourcesPaginator(ListAssociatedResourcesRequest listAssociatedResourcesRequest) This is a variant of
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.- Parameters:
listAssociatedResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociatedResourcesPaginator
default ListAssociatedResourcesPublisher listAssociatedResourcesPaginator(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) This is a variant of
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.
This is a convenience which creates an instance of the
ListAssociatedResourcesRequest.Builder
avoiding the need to create one manually viaListAssociatedResourcesRequest.builder()
- Parameters:
listAssociatedResourcesRequest
- AConsumer
that will call methods onListAssociatedResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroups
default CompletableFuture<ListAttributeGroupsResponse> listAttributeGroups(ListAttributeGroupsRequest listAttributeGroupsRequest) Lists all attribute groups which you have access to. Results are paginated.
- Parameters:
listAttributeGroupsRequest
-- Returns:
- A Java Future containing the result of the ListAttributeGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroups
default CompletableFuture<ListAttributeGroupsResponse> listAttributeGroups(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) Lists all attribute groups which you have access to. Results are paginated.
This is a convenience which creates an instance of the
ListAttributeGroupsRequest.Builder
avoiding the need to create one manually viaListAttributeGroupsRequest.builder()
- Parameters:
listAttributeGroupsRequest
- AConsumer
that will call methods onListAttributeGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAttributeGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsForApplication
default CompletableFuture<ListAttributeGroupsForApplicationResponse> listAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest listAttributeGroupsForApplicationRequest) Lists the details of all attribute groups associated with a specific application. The results display in pages.
- Parameters:
listAttributeGroupsForApplicationRequest
-- Returns:
- A Java Future containing the result of the ListAttributeGroupsForApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsForApplication
default CompletableFuture<ListAttributeGroupsForApplicationResponse> listAttributeGroupsForApplication(Consumer<ListAttributeGroupsForApplicationRequest.Builder> listAttributeGroupsForApplicationRequest) Lists the details of all attribute groups associated with a specific application. The results display in pages.
This is a convenience which creates an instance of the
ListAttributeGroupsForApplicationRequest.Builder
avoiding the need to create one manually viaListAttributeGroupsForApplicationRequest.builder()
- Parameters:
listAttributeGroupsForApplicationRequest
- AConsumer
that will call methods onListAttributeGroupsForApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAttributeGroupsForApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsForApplicationPaginator
default ListAttributeGroupsForApplicationPublisher listAttributeGroupsForApplicationPaginator(ListAttributeGroupsForApplicationRequest listAttributeGroupsForApplicationRequest) This is a variant of
listAttributeGroupsForApplication(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttributeGroupsForApplication(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationRequest)
operation.- Parameters:
listAttributeGroupsForApplicationRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsForApplicationPaginator
default ListAttributeGroupsForApplicationPublisher listAttributeGroupsForApplicationPaginator(Consumer<ListAttributeGroupsForApplicationRequest.Builder> listAttributeGroupsForApplicationRequest) This is a variant of
listAttributeGroupsForApplication(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttributeGroupsForApplication(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsForApplicationRequest)
operation.
This is a convenience which creates an instance of the
ListAttributeGroupsForApplicationRequest.Builder
avoiding the need to create one manually viaListAttributeGroupsForApplicationRequest.builder()
- Parameters:
listAttributeGroupsForApplicationRequest
- AConsumer
that will call methods onListAttributeGroupsForApplicationRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The specified resource does not exist.
- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsPaginator
default ListAttributeGroupsPublisher listAttributeGroupsPaginator(ListAttributeGroupsRequest listAttributeGroupsRequest) This is a variant of
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.- Parameters:
listAttributeGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAttributeGroupsPaginator
default ListAttributeGroupsPublisher listAttributeGroupsPaginator(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) This is a variant of
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse response) { //... }; });
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListAttributeGroupsRequest.Builder
avoiding the need to create one manually viaListAttributeGroupsRequest.builder()
- Parameters:
listAttributeGroupsRequest
- AConsumer
that will call methods onListAttributeGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all of the tags on the resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all of the tags on the resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putConfiguration
default CompletableFuture<PutConfigurationResponse> putConfiguration(PutConfigurationRequest putConfigurationRequest) Associates a
TagKey
configuration to an account.- Parameters:
putConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putConfiguration
default CompletableFuture<PutConfigurationResponse> putConfiguration(Consumer<PutConfigurationRequest.Builder> putConfigurationRequest) Associates a
TagKey
configuration to an account.
This is a convenience which creates an instance of the
PutConfigurationRequest.Builder
avoiding the need to create one manually viaPutConfigurationRequest.builder()
- Parameters:
putConfigurationRequest
- AConsumer
that will call methods onPutConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
syncResource
default CompletableFuture<SyncResourceResponse> syncResource(SyncResourceRequest syncResourceRequest) 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.
- Parameters:
syncResourceRequest
-- Returns:
- A Java Future containing the result of the SyncResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
syncResource
default CompletableFuture<SyncResourceResponse> syncResource(Consumer<SyncResourceRequest.Builder> syncResourceRequest) 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.
This is a convenience which creates an instance of the
SyncResourceRequest.Builder
avoiding the need to create one manually viaSyncResourceRequest.builder()
- Parameters:
syncResourceRequest
- AConsumer
that will call methods onSyncResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SyncResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
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.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.
This operation returns an empty response if the call was successful.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.
This operation returns an empty response if the call was successful.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request has invalid or missing parameters.
- ResourceNotFoundException The specified resource does not exist.
- InternalServerException The service is experiencing internal problems.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(UpdateApplicationRequest updateApplicationRequest) Updates an existing application with new attributes.
- Parameters:
updateApplicationRequest
-- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplication
default CompletableFuture<UpdateApplicationResponse> updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates an existing application with new attributes.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAttributeGroup
default CompletableFuture<UpdateAttributeGroupResponse> updateAttributeGroup(UpdateAttributeGroupRequest updateAttributeGroupRequest) Updates an existing attribute group with new details.
- Parameters:
updateAttributeGroupRequest
-- Returns:
- A Java Future containing the result of the UpdateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAttributeGroup
default CompletableFuture<UpdateAttributeGroupResponse> updateAttributeGroup(Consumer<UpdateAttributeGroupRequest.Builder> updateAttributeGroupRequest) Updates an existing attribute group with new details.
This is a convenience which creates an instance of the
UpdateAttributeGroupRequest.Builder
avoiding the need to create one manually viaUpdateAttributeGroupRequest.builder()
- Parameters:
updateAttributeGroupRequest
- AConsumer
that will call methods onUpdateAttributeGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAttributeGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ServiceCatalogAppRegistryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aServiceCatalogAppRegistryAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aServiceCatalogAppRegistryAsyncClient
.
-