Interface ServiceCatalogAppRegistryAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ServiceCatalogAppRegistryAsyncClient extends AwsClient
Service client for accessing AppRegistry asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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 Details

  • 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 invoke Throwable.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 via AssociateAttributeGroupRequest.builder()

      Parameters:
      associateAttributeGroupRequest - A Consumer that will call methods on AssociateAttributeGroupRequest.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 invoke Throwable.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 to APPLY_APPLICATION_TAG.

      • tag:GetResources

      • tag:TagResources

      You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.

      • resource-groups:AssociateResource

      • cloudformation:UpdateStack

      • cloudformation:DescribeStacks

      In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.

      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 invoke Throwable.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 to APPLY_APPLICATION_TAG.

      • tag:GetResources

      • tag:TagResources

      You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.

      • resource-groups:AssociateResource

      • cloudformation:UpdateStack

      • cloudformation:DescribeStacks

      In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.


      This is a convenience which creates an instance of the AssociateResourceRequest.Builder avoiding the need to create one manually via AssociateResourceRequest.builder()

      Parameters:
      associateResourceRequest - A Consumer that will call methods on AssociateResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateApplicationRequest.builder()

      Parameters:
      createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via CreateAttributeGroupRequest.builder()

      Parameters:
      createAttributeGroupRequest - A Consumer that will call methods on CreateAttributeGroupRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteApplicationRequest.builder()

      Parameters:
      deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via DeleteAttributeGroupRequest.builder()

      Parameters:
      deleteAttributeGroupRequest - A Consumer that will call methods on DeleteAttributeGroupRequest.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 invoke Throwable.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 invoke Throwable.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 via DisassociateAttributeGroupRequest.builder()

      Parameters:
      disassociateAttributeGroupRequest - A Consumer that will call methods on DisassociateAttributeGroupRequest.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 invoke Throwable.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 invoke Throwable.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 via DisassociateResourceRequest.builder()

      Parameters:
      disassociateResourceRequest - A Consumer that will call methods on DisassociateResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via GetApplicationRequest.builder()

      Parameters:
      getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via GetAssociatedResourceRequest.builder()

      Parameters:
      getAssociatedResourceRequest - A Consumer that will call methods on GetAssociatedResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via GetAttributeGroupRequest.builder()

      Parameters:
      getAttributeGroupRequest - A Consumer that will call methods on GetAttributeGroupRequest.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 invoke Throwable.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 invoke Throwable.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 via GetConfigurationRequest.builder()

      Parameters:
      getConfigurationRequest - A Consumer that will call methods on GetConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListApplicationsRequest.builder()

      Parameters:
      listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListAssociatedAttributeGroupsRequest.builder()

      Parameters:
      listAssociatedAttributeGroupsRequest - A Consumer that will call methods on ListAssociatedAttributeGroupsRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsPublisher publisher = client.listAssociatedAttributeGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListAssociatedAttributeGroupsRequest.builder()

      Parameters:
      listAssociatedAttributeGroupsRequest - A Consumer that will call methods on ListAssociatedAttributeGroupsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListAssociatedResourcesRequest.builder()

      Parameters:
      listAssociatedResourcesRequest - A Consumer that will call methods on ListAssociatedResourcesRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesPublisher publisher = client.listAssociatedResourcesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListAssociatedResourcesRequest.builder()

      Parameters:
      listAssociatedResourcesRequest - A Consumer that will call methods on ListAssociatedResourcesRequest.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 invoke Throwable.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 invoke Throwable.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 via ListAttributeGroupsRequest.builder()

      Parameters:
      listAttributeGroupsRequest - A Consumer that will call methods on ListAttributeGroupsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListAttributeGroupsForApplicationRequest.builder()

      Parameters:
      listAttributeGroupsForApplicationRequest - A Consumer that will call methods on ListAttributeGroupsForApplicationRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsForApplicationPublisher publisher = client.listAttributeGroupsForApplicationPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListAttributeGroupsForApplicationRequest.builder()

      Parameters:
      listAttributeGroupsForApplicationRequest - A Consumer that will call methods on ListAttributeGroupsForApplicationRequest.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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription 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 method
       
       software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsPublisher publisher = client.listAttributeGroupsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 via ListAttributeGroupsRequest.builder()

      Parameters:
      listAttributeGroupsRequest - A Consumer that will call methods on ListAttributeGroupsRequest.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 invoke Throwable.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 invoke Throwable.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 via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via PutConfigurationRequest.builder()

      Parameters:
      putConfigurationRequest - A Consumer that will call methods on PutConfigurationRequest.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 invoke Throwable.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 invoke Throwable.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 via SyncResourceRequest.builder()

      Parameters:
      syncResourceRequest - A Consumer that will call methods on SyncResourceRequest.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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest 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.

      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 invoke Throwable.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 via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.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 invoke Throwable.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 invoke Throwable.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 via UpdateApplicationRequest.builder()

      Parameters:
      updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.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 invoke Throwable.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 invoke Throwable.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 via UpdateAttributeGroupRequest.builder()

      Parameters:
      updateAttributeGroupRequest - A Consumer that will call methods on UpdateAttributeGroupRequest.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 invoke Throwable.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

      default ServiceCatalogAppRegistryServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a ServiceCatalogAppRegistryAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a ServiceCatalogAppRegistryAsyncClient.