Interface SchemasAsyncClient

    • Method Detail

      • createDiscoverer

        default CompletableFuture<CreateDiscovererResponse> createDiscoverer​(CreateDiscovererRequest createDiscovererRequest)

        Creates a discoverer.

        Parameters:
        createDiscovererRequest -
        Returns:
        A Java Future containing the result of the CreateDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • UnauthorizedException 401 response
        • ForbiddenException 403 response
        • ServiceUnavailableException 503 response
        • ConflictException 409 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDiscoverer

        default CompletableFuture<CreateDiscovererResponse> createDiscoverer​(Consumer<CreateDiscovererRequest.Builder> createDiscovererRequest)

        Creates a discoverer.


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

        Parameters:
        createDiscovererRequest - A Consumer that will call methods on CreateDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • UnauthorizedException 401 response
        • ForbiddenException 403 response
        • ServiceUnavailableException 503 response
        • ConflictException 409 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createRegistry

        default CompletableFuture<CreateRegistryResponse> createRegistry​(CreateRegistryRequest createRegistryRequest)

        Creates a registry.

        Parameters:
        createRegistryRequest -
        Returns:
        A Java Future containing the result of the CreateRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • UnauthorizedException 401 response
        • ForbiddenException 403 response
        • ServiceUnavailableException 503 response
        • ConflictException 409 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createRegistry

        default CompletableFuture<CreateRegistryResponse> createRegistry​(Consumer<CreateRegistryRequest.Builder> createRegistryRequest)

        Creates a registry.


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

        Parameters:
        createRegistryRequest - A Consumer that will call methods on CreateRegistryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • UnauthorizedException 401 response
        • ForbiddenException 403 response
        • ServiceUnavailableException 503 response
        • ConflictException 409 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSchema

        default CompletableFuture<CreateSchemaResponse> createSchema​(CreateSchemaRequest createSchemaRequest)

        Creates a schema definition.

        Inactive schemas will be deleted after two years.

        Parameters:
        createSchemaRequest -
        Returns:
        A Java Future containing the result of the CreateSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSchema

        default CompletableFuture<CreateSchemaResponse> createSchema​(Consumer<CreateSchemaRequest.Builder> createSchemaRequest)

        Creates a schema definition.

        Inactive schemas will be deleted after two years.


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

        Parameters:
        createSchemaRequest - A Consumer that will call methods on CreateSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDiscoverer

        default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer​(DeleteDiscovererRequest deleteDiscovererRequest)

        Deletes a discoverer.

        Parameters:
        deleteDiscovererRequest -
        Returns:
        A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDiscoverer

        default CompletableFuture<DeleteDiscovererResponse> deleteDiscoverer​(Consumer<DeleteDiscovererRequest.Builder> deleteDiscovererRequest)

        Deletes a discoverer.


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

        Parameters:
        deleteDiscovererRequest - A Consumer that will call methods on DeleteDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteRegistry

        default CompletableFuture<DeleteRegistryResponse> deleteRegistry​(DeleteRegistryRequest deleteRegistryRequest)

        Deletes a Registry.

        Parameters:
        deleteRegistryRequest -
        Returns:
        A Java Future containing the result of the DeleteRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteRegistry

        default CompletableFuture<DeleteRegistryResponse> deleteRegistry​(Consumer<DeleteRegistryRequest.Builder> deleteRegistryRequest)

        Deletes a Registry.


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

        Parameters:
        deleteRegistryRequest - A Consumer that will call methods on DeleteRegistryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourcePolicy

        default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy​(DeleteResourcePolicyRequest deleteResourcePolicyRequest)

        Delete the resource-based policy attached to the specified registry.

        Parameters:
        deleteResourcePolicyRequest -
        Returns:
        A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteResourcePolicy

        default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy​(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)

        Delete the resource-based policy attached to the specified registry.


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

        Parameters:
        deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSchema

        default CompletableFuture<DeleteSchemaResponse> deleteSchema​(DeleteSchemaRequest deleteSchemaRequest)

        Delete a schema definition.

        Parameters:
        deleteSchemaRequest -
        Returns:
        A Java Future containing the result of the DeleteSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSchema

        default CompletableFuture<DeleteSchemaResponse> deleteSchema​(Consumer<DeleteSchemaRequest.Builder> deleteSchemaRequest)

        Delete a schema definition.


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

        Parameters:
        deleteSchemaRequest - A Consumer that will call methods on DeleteSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSchemaVersion

        default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion​(DeleteSchemaVersionRequest deleteSchemaVersionRequest)

        Delete the schema version definition

        Parameters:
        deleteSchemaVersionRequest -
        Returns:
        A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSchemaVersion

        default CompletableFuture<DeleteSchemaVersionResponse> deleteSchemaVersion​(Consumer<DeleteSchemaVersionRequest.Builder> deleteSchemaVersionRequest)

        Delete the schema version definition


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

        Parameters:
        deleteSchemaVersionRequest - A Consumer that will call methods on DeleteSchemaVersionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteSchemaVersion operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCodeBinding

        default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding​(DescribeCodeBindingRequest describeCodeBindingRequest)

        Describe the code binding URI.

        Parameters:
        describeCodeBindingRequest -
        Returns:
        A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCodeBinding

        default CompletableFuture<DescribeCodeBindingResponse> describeCodeBinding​(Consumer<DescribeCodeBindingRequest.Builder> describeCodeBindingRequest)

        Describe the code binding URI.


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

        Parameters:
        describeCodeBindingRequest - A Consumer that will call methods on DescribeCodeBindingRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeCodeBinding operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDiscoverer

        default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer​(DescribeDiscovererRequest describeDiscovererRequest)

        Describes the discoverer.

        Parameters:
        describeDiscovererRequest -
        Returns:
        A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDiscoverer

        default CompletableFuture<DescribeDiscovererResponse> describeDiscoverer​(Consumer<DescribeDiscovererRequest.Builder> describeDiscovererRequest)

        Describes the discoverer.


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

        Parameters:
        describeDiscovererRequest - A Consumer that will call methods on DescribeDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRegistry

        default CompletableFuture<DescribeRegistryResponse> describeRegistry​(DescribeRegistryRequest describeRegistryRequest)

        Describes the registry.

        Parameters:
        describeRegistryRequest -
        Returns:
        A Java Future containing the result of the DescribeRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeRegistry

        default CompletableFuture<DescribeRegistryResponse> describeRegistry​(Consumer<DescribeRegistryRequest.Builder> describeRegistryRequest)

        Describes the registry.


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

        Parameters:
        describeRegistryRequest - A Consumer that will call methods on DescribeRegistryRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchema

        default CompletableFuture<DescribeSchemaResponse> describeSchema​(DescribeSchemaRequest describeSchemaRequest)

        Retrieve the schema definition.

        Parameters:
        describeSchemaRequest -
        Returns:
        A Java Future containing the result of the DescribeSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSchema

        default CompletableFuture<DescribeSchemaResponse> describeSchema​(Consumer<DescribeSchemaRequest.Builder> describeSchemaRequest)

        Retrieve the schema definition.


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

        Parameters:
        describeSchemaRequest - A Consumer that will call methods on DescribeSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • exportSchema

        default CompletableFuture<ExportSchemaResponse> exportSchema​(ExportSchemaRequest exportSchemaRequest)
        Invokes the ExportSchema operation asynchronously.
        Parameters:
        exportSchemaRequest -
        Returns:
        A Java Future containing the result of the ExportSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • exportSchema

        default CompletableFuture<ExportSchemaResponse> exportSchema​(Consumer<ExportSchemaRequest.Builder> exportSchemaRequest)
        Invokes the ExportSchema operation asynchronously.

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

        Parameters:
        exportSchemaRequest - A Consumer that will call methods on ExportSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ExportSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCodeBindingSource

        default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource​(GetCodeBindingSourceRequest getCodeBindingSourceRequest)

        Get the code binding source URI.

        Parameters:
        getCodeBindingSourceRequest -
        Returns:
        A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCodeBindingSource

        default CompletableFuture<GetCodeBindingSourceResponse> getCodeBindingSource​(Consumer<GetCodeBindingSourceRequest.Builder> getCodeBindingSourceRequest)

        Get the code binding source URI.


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

        Parameters:
        getCodeBindingSourceRequest - A Consumer that will call methods on GetCodeBindingSourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCodeBindingSource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDiscoveredSchema

        default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema​(GetDiscoveredSchemaRequest getDiscoveredSchemaRequest)

        Get the discovered schema that was generated based on sampled events.

        Parameters:
        getDiscoveredSchemaRequest -
        Returns:
        A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getDiscoveredSchema

        default CompletableFuture<GetDiscoveredSchemaResponse> getDiscoveredSchema​(Consumer<GetDiscoveredSchemaRequest.Builder> getDiscoveredSchemaRequest)

        Get the discovered schema that was generated based on sampled events.


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

        Parameters:
        getDiscoveredSchemaRequest - A Consumer that will call methods on GetDiscoveredSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetDiscoveredSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourcePolicy

        default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy​(GetResourcePolicyRequest getResourcePolicyRequest)

        Retrieves the resource-based policy attached to a given registry.

        Parameters:
        getResourcePolicyRequest -
        Returns:
        A Java Future containing the result of the GetResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourcePolicy

        default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy​(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)

        Retrieves the resource-based policy attached to a given registry.


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

        Parameters:
        getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDiscoverers

        default CompletableFuture<ListDiscoverersResponse> listDiscoverers​(ListDiscoverersRequest listDiscoverersRequest)

        List the discoverers.

        Parameters:
        listDiscoverersRequest -
        Returns:
        A Java Future containing the result of the ListDiscoverers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDiscoverers

        default CompletableFuture<ListDiscoverersResponse> listDiscoverers​(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest)

        List the discoverers.


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

        Parameters:
        listDiscoverersRequest - A Consumer that will call methods on ListDiscoverersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDiscoverers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDiscoverersPaginator

        default ListDiscoverersPublisher listDiscoverersPaginator​(ListDiscoverersRequest listDiscoverersRequest)

        List the discoverers.


        This is a variant of listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) 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.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse 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 Limit 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 listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation.

        Parameters:
        listDiscoverersRequest -
        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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDiscoverersPaginator

        default ListDiscoverersPublisher listDiscoverersPaginator​(Consumer<ListDiscoverersRequest.Builder> listDiscoverersRequest)

        List the discoverers.


        This is a variant of listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) 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.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListDiscoverersPublisher publisher = client.listDiscoverersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListDiscoverersResponse 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 Limit 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 listDiscoverers(software.amazon.awssdk.services.schemas.model.ListDiscoverersRequest) operation.

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

        Parameters:
        listDiscoverersRequest - A Consumer that will call methods on ListDiscoverersRequest.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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRegistries

        default CompletableFuture<ListRegistriesResponse> listRegistries​(ListRegistriesRequest listRegistriesRequest)

        List the registries.

        Parameters:
        listRegistriesRequest -
        Returns:
        A Java Future containing the result of the ListRegistries operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRegistries

        default CompletableFuture<ListRegistriesResponse> listRegistries​(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest)

        List the registries.


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

        Parameters:
        listRegistriesRequest - A Consumer that will call methods on ListRegistriesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListRegistries operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRegistriesPaginator

        default ListRegistriesPublisher listRegistriesPaginator​(ListRegistriesRequest listRegistriesRequest)

        List the registries.


        This is a variant of listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) 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.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse 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 Limit 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 listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) operation.

        Parameters:
        listRegistriesRequest -
        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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listRegistriesPaginator

        default ListRegistriesPublisher listRegistriesPaginator​(Consumer<ListRegistriesRequest.Builder> listRegistriesRequest)

        List the registries.


        This is a variant of listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) 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.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListRegistriesPublisher publisher = client.listRegistriesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListRegistriesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListRegistriesResponse 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 Limit 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 listRegistries(software.amazon.awssdk.services.schemas.model.ListRegistriesRequest) operation.

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

        Parameters:
        listRegistriesRequest - A Consumer that will call methods on ListRegistriesRequest.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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemaVersions

        default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions​(ListSchemaVersionsRequest listSchemaVersionsRequest)

        Provides a list of the schema versions and related information.

        Parameters:
        listSchemaVersionsRequest -
        Returns:
        A Java Future containing the result of the ListSchemaVersions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemaVersions

        default CompletableFuture<ListSchemaVersionsResponse> listSchemaVersions​(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest)

        Provides a list of the schema versions and related information.


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

        Parameters:
        listSchemaVersionsRequest - A Consumer that will call methods on ListSchemaVersionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSchemaVersions operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemaVersionsPaginator

        default ListSchemaVersionsPublisher listSchemaVersionsPaginator​(ListSchemaVersionsRequest listSchemaVersionsRequest)

        Provides a list of the schema versions and related information.


        This is a variant of listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) 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.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse 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 Limit 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 listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) operation.

        Parameters:
        listSchemaVersionsRequest -
        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.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemaVersionsPaginator

        default ListSchemaVersionsPublisher listSchemaVersionsPaginator​(Consumer<ListSchemaVersionsRequest.Builder> listSchemaVersionsRequest)

        Provides a list of the schema versions and related information.


        This is a variant of listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) 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.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListSchemaVersionsPublisher publisher = client.listSchemaVersionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsResponse 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 Limit 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 listSchemaVersions(software.amazon.awssdk.services.schemas.model.ListSchemaVersionsRequest) operation.

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

        Parameters:
        listSchemaVersionsRequest - A Consumer that will call methods on ListSchemaVersionsRequest.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.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemas

        default CompletableFuture<ListSchemasResponse> listSchemas​(ListSchemasRequest listSchemasRequest)

        List the schemas.

        Parameters:
        listSchemasRequest -
        Returns:
        A Java Future containing the result of the ListSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemas

        default CompletableFuture<ListSchemasResponse> listSchemas​(Consumer<ListSchemasRequest.Builder> listSchemasRequest)

        List the schemas.


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

        Parameters:
        listSchemasRequest - A Consumer that will call methods on ListSchemasRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemasPaginator

        default ListSchemasPublisher listSchemasPaginator​(ListSchemasRequest listSchemasRequest)

        List the schemas.


        This is a variant of listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) 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.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse 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 Limit 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 listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) operation.

        Parameters:
        listSchemasRequest -
        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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSchemasPaginator

        default ListSchemasPublisher listSchemasPaginator​(Consumer<ListSchemasRequest.Builder> listSchemasRequest)

        List the schemas.


        This is a variant of listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) 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.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.ListSchemasPublisher publisher = client.listSchemasPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.ListSchemasResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.ListSchemasResponse 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 Limit 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 listSchemas(software.amazon.awssdk.services.schemas.model.ListSchemasRequest) operation.

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

        Parameters:
        listSchemasRequest - A Consumer that will call methods on ListSchemasRequest.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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Get tags for 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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

        Get tags for 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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putCodeBinding

        default CompletableFuture<PutCodeBindingResponse> putCodeBinding​(PutCodeBindingRequest putCodeBindingRequest)

        Put code binding URI

        Parameters:
        putCodeBindingRequest -
        Returns:
        A Java Future containing the result of the PutCodeBinding operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • GoneException 410 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putCodeBinding

        default CompletableFuture<PutCodeBindingResponse> putCodeBinding​(Consumer<PutCodeBindingRequest.Builder> putCodeBindingRequest)

        Put code binding URI


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

        Parameters:
        putCodeBindingRequest - A Consumer that will call methods on PutCodeBindingRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the PutCodeBinding operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • GoneException 410 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • TooManyRequestsException 429 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putResourcePolicy

        default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy​(PutResourcePolicyRequest putResourcePolicyRequest)

        The name of the policy.

        Parameters:
        putResourcePolicyRequest - The name of the policy.
        Returns:
        A Java Future containing the result of the PutResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • PreconditionFailedException 412 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putResourcePolicy

        default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy​(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)

        The name of the policy.


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

        Parameters:
        putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request. The name of the policy.
        Returns:
        A Java Future containing the result of the PutResourcePolicy operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • PreconditionFailedException 412 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSchemas

        default CompletableFuture<SearchSchemasResponse> searchSchemas​(SearchSchemasRequest searchSchemasRequest)

        Search the schemas

        Parameters:
        searchSchemasRequest -
        Returns:
        A Java Future containing the result of the SearchSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSchemas

        default CompletableFuture<SearchSchemasResponse> searchSchemas​(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest)

        Search the schemas


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

        Parameters:
        searchSchemasRequest - A Consumer that will call methods on SearchSchemasRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SearchSchemas operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSchemasPaginator

        default SearchSchemasPublisher searchSchemasPaginator​(SearchSchemasRequest searchSchemasRequest)

        Search the schemas


        This is a variant of searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) 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.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse 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 Limit 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 searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) operation.

        Parameters:
        searchSchemasRequest -
        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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchSchemasPaginator

        default SearchSchemasPublisher searchSchemasPaginator​(Consumer<SearchSchemasRequest.Builder> searchSchemasRequest)

        Search the schemas


        This is a variant of searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) 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.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.schemas.paginators.SearchSchemasPublisher publisher = client.searchSchemasPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.schemas.model.SearchSchemasResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.schemas.model.SearchSchemasResponse 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 Limit 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 searchSchemas(software.amazon.awssdk.services.schemas.model.SearchSchemasRequest) operation.

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

        Parameters:
        searchSchemasRequest - A Consumer that will call methods on SearchSchemasRequest.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.
        • ServiceUnavailableException 503 response
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startDiscoverer

        default CompletableFuture<StartDiscovererResponse> startDiscoverer​(StartDiscovererRequest startDiscovererRequest)

        Starts the discoverer

        Parameters:
        startDiscovererRequest -
        Returns:
        A Java Future containing the result of the StartDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startDiscoverer

        default CompletableFuture<StartDiscovererResponse> startDiscoverer​(Consumer<StartDiscovererRequest.Builder> startDiscovererRequest)

        Starts the discoverer


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

        Parameters:
        startDiscovererRequest - A Consumer that will call methods on StartDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopDiscoverer

        default CompletableFuture<StopDiscovererResponse> stopDiscoverer​(StopDiscovererRequest stopDiscovererRequest)

        Stops the discoverer

        Parameters:
        stopDiscovererRequest -
        Returns:
        A Java Future containing the result of the StopDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopDiscoverer

        default CompletableFuture<StopDiscovererResponse> stopDiscoverer​(Consumer<StopDiscovererRequest.Builder> stopDiscovererRequest)

        Stops the discoverer


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

        Parameters:
        stopDiscovererRequest - A Consumer that will call methods on StopDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Add tags to a resource.

        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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Add tags to a resource.


        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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes tags from a resource.

        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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes tags from a resource.


        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.
        • NotFoundException 404 response
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDiscoverer

        default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer​(UpdateDiscovererRequest updateDiscovererRequest)

        Updates the discoverer

        Parameters:
        updateDiscovererRequest -
        Returns:
        A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDiscoverer

        default CompletableFuture<UpdateDiscovererResponse> updateDiscoverer​(Consumer<UpdateDiscovererRequest.Builder> updateDiscovererRequest)

        Updates the discoverer


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

        Parameters:
        updateDiscovererRequest - A Consumer that will call methods on UpdateDiscovererRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateDiscoverer operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRegistry

        default CompletableFuture<UpdateRegistryResponse> updateRegistry​(UpdateRegistryRequest updateRegistryRequest)

        Updates a registry.

        Parameters:
        updateRegistryRequest - Updates the registry.
        Returns:
        A Java Future containing the result of the UpdateRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRegistry

        default CompletableFuture<UpdateRegistryResponse> updateRegistry​(Consumer<UpdateRegistryRequest.Builder> updateRegistryRequest)

        Updates a registry.


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

        Parameters:
        updateRegistryRequest - A Consumer that will call methods on UpdateRegistryRequest.Builder to create a request. Updates the registry.
        Returns:
        A Java Future containing the result of the UpdateRegistry operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • UnauthorizedException 401 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSchema

        default CompletableFuture<UpdateSchemaResponse> updateSchema​(UpdateSchemaRequest updateSchemaRequest)

        Updates the schema definition

        Inactive schemas will be deleted after two years.

        Parameters:
        updateSchemaRequest -
        Returns:
        A Java Future containing the result of the UpdateSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSchema

        default CompletableFuture<UpdateSchemaResponse> updateSchema​(Consumer<UpdateSchemaRequest.Builder> updateSchemaRequest)

        Updates the schema definition

        Inactive schemas will be deleted after two years.


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

        Parameters:
        updateSchemaRequest - A Consumer that will call methods on UpdateSchemaRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSchema operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • BadRequestException 400 response
        • InternalServerErrorException 500 response
        • ForbiddenException 403 response
        • NotFoundException 404 response
        • ServiceUnavailableException 503 response
        • 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.
        • SchemasException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • waiter

        default SchemasAsyncWaiter waiter()
        Create an instance of SchemasAsyncWaiter using this client.

        Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

        Returns:
        an instance of SchemasAsyncWaiter