Interface WorkLinkAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

    Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS and Android phones. In a single step, your users, such as employees, can access internal websites as efficiently as they access any other public website. They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink authenticates the user's access and securely renders authorized internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on mobile devices.

    • Method Detail

      • associateDomain

        @Deprecated
        default CompletableFuture<AssociateDomainResponse> associateDomain​(AssociateDomainRequest associateDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Specifies a domain to be associated to Amazon WorkLink.

        Parameters:
        associateDomainRequest -
        Returns:
        A Java Future containing the result of the AssociateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateDomain

        @Deprecated
        default CompletableFuture<AssociateDomainResponse> associateDomain​(Consumer<AssociateDomainRequest.Builder> associateDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Specifies a domain to be associated to Amazon WorkLink.


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

        Parameters:
        associateDomainRequest - A Consumer that will call methods on AssociateDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateWebsiteAuthorizationProvider

        @Deprecated
        default CompletableFuture<AssociateWebsiteAuthorizationProviderResponse> associateWebsiteAuthorizationProvider​(AssociateWebsiteAuthorizationProviderRequest associateWebsiteAuthorizationProviderRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.

        Parameters:
        associateWebsiteAuthorizationProviderRequest -
        Returns:
        A Java Future containing the result of the AssociateWebsiteAuthorizationProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateWebsiteAuthorizationProvider

        @Deprecated
        default CompletableFuture<AssociateWebsiteAuthorizationProviderResponse> associateWebsiteAuthorizationProvider​(Consumer<AssociateWebsiteAuthorizationProviderRequest.Builder> associateWebsiteAuthorizationProviderRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.


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

        Parameters:
        associateWebsiteAuthorizationProviderRequest - A Consumer that will call methods on AssociateWebsiteAuthorizationProviderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateWebsiteAuthorizationProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<AssociateWebsiteCertificateAuthorityResponse> associateWebsiteCertificateAuthority​(AssociateWebsiteCertificateAuthorityRequest associateWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.

        Parameters:
        associateWebsiteCertificateAuthorityRequest -
        Returns:
        A Java Future containing the result of the AssociateWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<AssociateWebsiteCertificateAuthorityResponse> associateWebsiteCertificateAuthority​(Consumer<AssociateWebsiteCertificateAuthorityRequest.Builder> associateWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.


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

        Parameters:
        associateWebsiteCertificateAuthorityRequest - A Consumer that will call methods on AssociateWebsiteCertificateAuthorityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFleet

        @Deprecated
        default CompletableFuture<CreateFleetResponse> createFleet​(CreateFleetRequest createFleetRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.

        Parameters:
        createFleetRequest -
        Returns:
        A Java Future containing the result of the CreateFleet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFleet

        @Deprecated
        default CompletableFuture<CreateFleetResponse> createFleet​(Consumer<CreateFleetRequest.Builder> createFleetRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.


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

        Parameters:
        createFleetRequest - A Consumer that will call methods on CreateFleetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateFleet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleet

        @Deprecated
        default CompletableFuture<DeleteFleetResponse> deleteFleet​(DeleteFleetRequest deleteFleetRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Deletes a fleet. Prevents users from accessing previously associated websites.

        Parameters:
        deleteFleetRequest -
        Returns:
        A Java Future containing the result of the DeleteFleet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFleet

        @Deprecated
        default CompletableFuture<DeleteFleetResponse> deleteFleet​(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Deletes a fleet. Prevents users from accessing previously associated websites.


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

        Parameters:
        deleteFleetRequest - A Consumer that will call methods on DeleteFleetRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFleet operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAuditStreamConfiguration

        @Deprecated
        default CompletableFuture<DescribeAuditStreamConfigurationResponse> describeAuditStreamConfiguration​(DescribeAuditStreamConfigurationRequest describeAuditStreamConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the configuration for delivering audit streams to the customer account.

        Parameters:
        describeAuditStreamConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeAuditStreamConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeAuditStreamConfiguration

        @Deprecated
        default CompletableFuture<DescribeAuditStreamConfigurationResponse> describeAuditStreamConfiguration​(Consumer<DescribeAuditStreamConfigurationRequest.Builder> describeAuditStreamConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the configuration for delivering audit streams to the customer account.


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

        Parameters:
        describeAuditStreamConfigurationRequest - A Consumer that will call methods on DescribeAuditStreamConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeAuditStreamConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCompanyNetworkConfiguration

        @Deprecated
        default CompletableFuture<DescribeCompanyNetworkConfigurationResponse> describeCompanyNetworkConfiguration​(DescribeCompanyNetworkConfigurationRequest describeCompanyNetworkConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the networking configuration to access the internal websites associated with the specified fleet.

        Parameters:
        describeCompanyNetworkConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeCompanyNetworkConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeCompanyNetworkConfiguration

        @Deprecated
        default CompletableFuture<DescribeCompanyNetworkConfigurationResponse> describeCompanyNetworkConfiguration​(Consumer<DescribeCompanyNetworkConfigurationRequest.Builder> describeCompanyNetworkConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the networking configuration to access the internal websites associated with the specified fleet.


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

        Parameters:
        describeCompanyNetworkConfigurationRequest - A Consumer that will call methods on DescribeCompanyNetworkConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeCompanyNetworkConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDevice

        @Deprecated
        default CompletableFuture<DescribeDeviceResponse> describeDevice​(DescribeDeviceRequest describeDeviceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about a user's device.

        Parameters:
        describeDeviceRequest -
        Returns:
        A Java Future containing the result of the DescribeDevice operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDevice

        @Deprecated
        default CompletableFuture<DescribeDeviceResponse> describeDevice​(Consumer<DescribeDeviceRequest.Builder> describeDeviceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about a user's device.


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

        Parameters:
        describeDeviceRequest - A Consumer that will call methods on DescribeDeviceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDevice operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDevicePolicyConfiguration

        @Deprecated
        default CompletableFuture<DescribeDevicePolicyConfigurationResponse> describeDevicePolicyConfiguration​(DescribeDevicePolicyConfigurationRequest describeDevicePolicyConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the device policy configuration for the specified fleet.

        Parameters:
        describeDevicePolicyConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeDevicePolicyConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDevicePolicyConfiguration

        @Deprecated
        default CompletableFuture<DescribeDevicePolicyConfigurationResponse> describeDevicePolicyConfiguration​(Consumer<DescribeDevicePolicyConfigurationRequest.Builder> describeDevicePolicyConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the device policy configuration for the specified fleet.


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

        Parameters:
        describeDevicePolicyConfigurationRequest - A Consumer that will call methods on DescribeDevicePolicyConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDevicePolicyConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDomain

        @Deprecated
        default CompletableFuture<DescribeDomainResponse> describeDomain​(DescribeDomainRequest describeDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about the domain.

        Parameters:
        describeDomainRequest -
        Returns:
        A Java Future containing the result of the DescribeDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDomain

        @Deprecated
        default CompletableFuture<DescribeDomainResponse> describeDomain​(Consumer<DescribeDomainRequest.Builder> describeDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about the domain.


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

        Parameters:
        describeDomainRequest - A Consumer that will call methods on DescribeDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetMetadata

        @Deprecated
        default CompletableFuture<DescribeFleetMetadataResponse> describeFleetMetadata​(DescribeFleetMetadataRequest describeFleetMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.

        Parameters:
        describeFleetMetadataRequest -
        Returns:
        A Java Future containing the result of the DescribeFleetMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFleetMetadata

        @Deprecated
        default CompletableFuture<DescribeFleetMetadataResponse> describeFleetMetadata​(Consumer<DescribeFleetMetadataRequest.Builder> describeFleetMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.


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

        Parameters:
        describeFleetMetadataRequest - A Consumer that will call methods on DescribeFleetMetadataRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFleetMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeIdentityProviderConfiguration

        @Deprecated
        default CompletableFuture<DescribeIdentityProviderConfigurationResponse> describeIdentityProviderConfiguration​(DescribeIdentityProviderConfigurationRequest describeIdentityProviderConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the identity provider configuration of the specified fleet.

        Parameters:
        describeIdentityProviderConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeIdentityProviderConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeIdentityProviderConfiguration

        @Deprecated
        default CompletableFuture<DescribeIdentityProviderConfigurationResponse> describeIdentityProviderConfiguration​(Consumer<DescribeIdentityProviderConfigurationRequest.Builder> describeIdentityProviderConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Describes the identity provider configuration of the specified fleet.


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

        Parameters:
        describeIdentityProviderConfigurationRequest - A Consumer that will call methods on DescribeIdentityProviderConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeIdentityProviderConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<DescribeWebsiteCertificateAuthorityResponse> describeWebsiteCertificateAuthority​(DescribeWebsiteCertificateAuthorityRequest describeWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about the certificate authority.

        Parameters:
        describeWebsiteCertificateAuthorityRequest -
        Returns:
        A Java Future containing the result of the DescribeWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<DescribeWebsiteCertificateAuthorityResponse> describeWebsiteCertificateAuthority​(Consumer<DescribeWebsiteCertificateAuthorityRequest.Builder> describeWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Provides information about the certificate authority.


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

        Parameters:
        describeWebsiteCertificateAuthorityRequest - A Consumer that will call methods on DescribeWebsiteCertificateAuthorityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateDomain

        @Deprecated
        default CompletableFuture<DisassociateDomainResponse> disassociateDomain​(DisassociateDomainRequest disassociateDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.

        Parameters:
        disassociateDomainRequest -
        Returns:
        A Java Future containing the result of the DisassociateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateDomain

        @Deprecated
        default CompletableFuture<DisassociateDomainResponse> disassociateDomain​(Consumer<DisassociateDomainRequest.Builder> disassociateDomainRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.


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

        Parameters:
        disassociateDomainRequest - A Consumer that will call methods on DisassociateDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateWebsiteAuthorizationProvider

        @Deprecated
        default CompletableFuture<DisassociateWebsiteAuthorizationProviderResponse> disassociateWebsiteAuthorizationProvider​(DisassociateWebsiteAuthorizationProviderRequest disassociateWebsiteAuthorizationProviderRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.

        Parameters:
        disassociateWebsiteAuthorizationProviderRequest -
        Returns:
        A Java Future containing the result of the DisassociateWebsiteAuthorizationProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateWebsiteAuthorizationProvider

        @Deprecated
        default CompletableFuture<DisassociateWebsiteAuthorizationProviderResponse> disassociateWebsiteAuthorizationProvider​(Consumer<DisassociateWebsiteAuthorizationProviderRequest.Builder> disassociateWebsiteAuthorizationProviderRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.


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

        Parameters:
        disassociateWebsiteAuthorizationProviderRequest - A Consumer that will call methods on DisassociateWebsiteAuthorizationProviderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateWebsiteAuthorizationProvider operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • ResourceAlreadyExistsException The resource already exists.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<DisassociateWebsiteCertificateAuthorityResponse> disassociateWebsiteCertificateAuthority​(DisassociateWebsiteCertificateAuthorityRequest disassociateWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Removes a certificate authority (CA).

        Parameters:
        disassociateWebsiteCertificateAuthorityRequest -
        Returns:
        A Java Future containing the result of the DisassociateWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateWebsiteCertificateAuthority

        @Deprecated
        default CompletableFuture<DisassociateWebsiteCertificateAuthorityResponse> disassociateWebsiteCertificateAuthority​(Consumer<DisassociateWebsiteCertificateAuthorityRequest.Builder> disassociateWebsiteCertificateAuthorityRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Removes a certificate authority (CA).


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

        Parameters:
        disassociateWebsiteCertificateAuthorityRequest - A Consumer that will call methods on DisassociateWebsiteCertificateAuthorityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateWebsiteCertificateAuthority operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDevices

        @Deprecated
        default CompletableFuture<ListDevicesResponse> listDevices​(ListDevicesRequest listDevicesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of devices registered with the specified fleet.

        Parameters:
        listDevicesRequest -
        Returns:
        A Java Future containing the result of the ListDevices operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDevices

        @Deprecated
        default CompletableFuture<ListDevicesResponse> listDevices​(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of devices registered with the specified fleet.


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

        Parameters:
        listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDevices operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDevicesPaginator

        @Deprecated
        default ListDevicesPublisher listDevicesPaginator​(ListDevicesRequest listDevicesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listDevices(software.amazon.awssdk.services.worklink.model.ListDevicesRequest) 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.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListDevicesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListDevicesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listDevices(software.amazon.awssdk.services.worklink.model.ListDevicesRequest) operation.

        Parameters:
        listDevicesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDevicesPaginator

        @Deprecated
        default ListDevicesPublisher listDevicesPaginator​(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listDevices(software.amazon.awssdk.services.worklink.model.ListDevicesRequest) 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.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListDevicesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListDevicesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listDevices(software.amazon.awssdk.services.worklink.model.ListDevicesRequest) operation.


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

        Parameters:
        listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomains

        @Deprecated
        default CompletableFuture<ListDomainsResponse> listDomains​(ListDomainsRequest listDomainsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of domains associated to a specified fleet.

        Parameters:
        listDomainsRequest -
        Returns:
        A Java Future containing the result of the ListDomains operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomains

        @Deprecated
        default CompletableFuture<ListDomainsResponse> listDomains​(Consumer<ListDomainsRequest.Builder> listDomainsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of domains associated to a specified fleet.


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

        Parameters:
        listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDomains operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomainsPaginator

        @Deprecated
        default ListDomainsPublisher listDomainsPaginator​(ListDomainsRequest listDomainsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listDomains(software.amazon.awssdk.services.worklink.model.ListDomainsRequest) 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.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListDomainsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListDomainsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listDomains(software.amazon.awssdk.services.worklink.model.ListDomainsRequest) operation.

        Parameters:
        listDomainsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomainsPaginator

        @Deprecated
        default ListDomainsPublisher listDomainsPaginator​(Consumer<ListDomainsRequest.Builder> listDomainsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listDomains(software.amazon.awssdk.services.worklink.model.ListDomainsRequest) 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.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListDomainsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListDomainsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listDomains(software.amazon.awssdk.services.worklink.model.ListDomainsRequest) operation.


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

        Parameters:
        listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleets

        @Deprecated
        default CompletableFuture<ListFleetsResponse> listFleets​(ListFleetsRequest listFleetsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of fleets for the current account and Region.

        Parameters:
        listFleetsRequest -
        Returns:
        A Java Future containing the result of the ListFleets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleets

        @Deprecated
        default CompletableFuture<ListFleetsResponse> listFleets​(Consumer<ListFleetsRequest.Builder> listFleetsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of fleets for the current account and Region.


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

        Parameters:
        listFleetsRequest - A Consumer that will call methods on ListFleetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFleets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleets

        @Deprecated
        default CompletableFuture<ListFleetsResponse> listFleets()
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of fleets for the current account and Region.

        Returns:
        A Java Future containing the result of the ListFleets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleetsPaginator

        @Deprecated
        default ListFleetsPublisher listFleetsPaginator()
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) 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.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListFleetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListFleetsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) operation.

        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleetsPaginator

        @Deprecated
        default ListFleetsPublisher listFleetsPaginator​(ListFleetsRequest listFleetsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) 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.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListFleetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListFleetsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) operation.

        Parameters:
        listFleetsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFleetsPaginator

        @Deprecated
        default ListFleetsPublisher listFleetsPaginator​(Consumer<ListFleetsRequest.Builder> listFleetsRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) 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.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListFleetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListFleetsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFleets(software.amazon.awssdk.services.worklink.model.ListFleetsRequest) operation.


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

        Parameters:
        listFleetsRequest - A Consumer that will call methods on ListFleetsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        @Deprecated
        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of tags for the specified resource.

        Parameters:
        listTagsForResourceRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        @Deprecated
        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of tags for the specified resource.


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

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteAuthorizationProviders

        @Deprecated
        default CompletableFuture<ListWebsiteAuthorizationProvidersResponse> listWebsiteAuthorizationProviders​(ListWebsiteAuthorizationProvidersRequest listWebsiteAuthorizationProvidersRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of website authorization providers associated with a specified fleet.

        Parameters:
        listWebsiteAuthorizationProvidersRequest -
        Returns:
        A Java Future containing the result of the ListWebsiteAuthorizationProviders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteAuthorizationProviders

        @Deprecated
        default CompletableFuture<ListWebsiteAuthorizationProvidersResponse> listWebsiteAuthorizationProviders​(Consumer<ListWebsiteAuthorizationProvidersRequest.Builder> listWebsiteAuthorizationProvidersRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of website authorization providers associated with a specified fleet.


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

        Parameters:
        listWebsiteAuthorizationProvidersRequest - A Consumer that will call methods on ListWebsiteAuthorizationProvidersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWebsiteAuthorizationProviders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteAuthorizationProvidersPaginator

        @Deprecated
        default ListWebsiteAuthorizationProvidersPublisher listWebsiteAuthorizationProvidersPaginator​(ListWebsiteAuthorizationProvidersRequest listWebsiteAuthorizationProvidersRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listWebsiteAuthorizationProviders(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersRequest) 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.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listWebsiteAuthorizationProviders(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersRequest) operation.

        Parameters:
        listWebsiteAuthorizationProvidersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteAuthorizationProvidersPaginator

        @Deprecated
        default ListWebsiteAuthorizationProvidersPublisher listWebsiteAuthorizationProvidersPaginator​(Consumer<ListWebsiteAuthorizationProvidersRequest.Builder> listWebsiteAuthorizationProvidersRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listWebsiteAuthorizationProviders(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersRequest) 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.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listWebsiteAuthorizationProviders(software.amazon.awssdk.services.worklink.model.ListWebsiteAuthorizationProvidersRequest) operation.


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

        Parameters:
        listWebsiteAuthorizationProvidersRequest - A Consumer that will call methods on ListWebsiteAuthorizationProvidersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteCertificateAuthorities

        @Deprecated
        default CompletableFuture<ListWebsiteCertificateAuthoritiesResponse> listWebsiteCertificateAuthorities​(ListWebsiteCertificateAuthoritiesRequest listWebsiteCertificateAuthoritiesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of certificate authorities added for the current account and Region.

        Parameters:
        listWebsiteCertificateAuthoritiesRequest -
        Returns:
        A Java Future containing the result of the ListWebsiteCertificateAuthorities operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteCertificateAuthorities

        @Deprecated
        default CompletableFuture<ListWebsiteCertificateAuthoritiesResponse> listWebsiteCertificateAuthorities​(Consumer<ListWebsiteCertificateAuthoritiesRequest.Builder> listWebsiteCertificateAuthoritiesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Retrieves a list of certificate authorities added for the current account and Region.


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

        Parameters:
        listWebsiteCertificateAuthoritiesRequest - A Consumer that will call methods on ListWebsiteCertificateAuthoritiesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWebsiteCertificateAuthorities operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteCertificateAuthoritiesPaginator

        @Deprecated
        default ListWebsiteCertificateAuthoritiesPublisher listWebsiteCertificateAuthoritiesPaginator​(ListWebsiteCertificateAuthoritiesRequest listWebsiteCertificateAuthoritiesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listWebsiteCertificateAuthorities(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesRequest) 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.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listWebsiteCertificateAuthorities(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesRequest) operation.

        Parameters:
        listWebsiteCertificateAuthoritiesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWebsiteCertificateAuthoritiesPaginator

        @Deprecated
        default ListWebsiteCertificateAuthoritiesPublisher listWebsiteCertificateAuthoritiesPaginator​(Consumer<ListWebsiteCertificateAuthoritiesRequest.Builder> listWebsiteCertificateAuthoritiesRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        This is a variant of listWebsiteCertificateAuthorities(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesRequest) 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.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listWebsiteCertificateAuthorities(software.amazon.awssdk.services.worklink.model.ListWebsiteCertificateAuthoritiesRequest) operation.


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

        Parameters:
        listWebsiteCertificateAuthoritiesRequest - A Consumer that will call methods on ListWebsiteCertificateAuthoritiesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • restoreDomainAccess

        @Deprecated
        default CompletableFuture<RestoreDomainAccessResponse> restoreDomainAccess​(RestoreDomainAccessRequest restoreDomainAccessRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Moves a domain to ACTIVE status if it was in the INACTIVE status.

        Parameters:
        restoreDomainAccessRequest -
        Returns:
        A Java Future containing the result of the RestoreDomainAccess operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • restoreDomainAccess

        @Deprecated
        default CompletableFuture<RestoreDomainAccessResponse> restoreDomainAccess​(Consumer<RestoreDomainAccessRequest.Builder> restoreDomainAccessRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Moves a domain to ACTIVE status if it was in the INACTIVE status.


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

        Parameters:
        restoreDomainAccessRequest - A Consumer that will call methods on RestoreDomainAccessRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RestoreDomainAccess operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • revokeDomainAccess

        @Deprecated
        default CompletableFuture<RevokeDomainAccessResponse> revokeDomainAccess​(RevokeDomainAccessRequest revokeDomainAccessRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Moves a domain to INACTIVE status if it was in the ACTIVE status.

        Parameters:
        revokeDomainAccessRequest -
        Returns:
        A Java Future containing the result of the RevokeDomainAccess operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • revokeDomainAccess

        @Deprecated
        default CompletableFuture<RevokeDomainAccessResponse> revokeDomainAccess​(Consumer<RevokeDomainAccessRequest.Builder> revokeDomainAccessRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Moves a domain to INACTIVE status if it was in the ACTIVE status.


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

        Parameters:
        revokeDomainAccessRequest - A Consumer that will call methods on RevokeDomainAccessRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RevokeDomainAccess operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • signOutUser

        @Deprecated
        default CompletableFuture<SignOutUserResponse> signOutUser​(SignOutUserRequest signOutUserRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Signs the user out from all of their devices. The user can sign in again if they have valid credentials.

        Parameters:
        signOutUserRequest -
        Returns:
        A Java Future containing the result of the SignOutUser operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • signOutUser

        @Deprecated
        default CompletableFuture<SignOutUserResponse> signOutUser​(Consumer<SignOutUserRequest.Builder> signOutUserRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Signs the user out from all of their devices. The user can sign in again if they have valid credentials.


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

        Parameters:
        signOutUserRequest - A Consumer that will call methods on SignOutUserRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SignOutUser operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        @Deprecated
        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.

        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        @Deprecated
        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.


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

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        @Deprecated
        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Removes one or more tags from the specified 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        @Deprecated
        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Removes one or more tags from the specified 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • InvalidRequestException The request is not valid.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAuditStreamConfiguration

        @Deprecated
        default CompletableFuture<UpdateAuditStreamConfigurationResponse> updateAuditStreamConfiguration​(UpdateAuditStreamConfigurationRequest updateAuditStreamConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the audit stream configuration for the fleet.

        Parameters:
        updateAuditStreamConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateAuditStreamConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAuditStreamConfiguration

        @Deprecated
        default CompletableFuture<UpdateAuditStreamConfigurationResponse> updateAuditStreamConfiguration​(Consumer<UpdateAuditStreamConfigurationRequest.Builder> updateAuditStreamConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the audit stream configuration for the fleet.


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

        Parameters:
        updateAuditStreamConfigurationRequest - A Consumer that will call methods on UpdateAuditStreamConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateAuditStreamConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCompanyNetworkConfiguration

        @Deprecated
        default CompletableFuture<UpdateCompanyNetworkConfigurationResponse> updateCompanyNetworkConfiguration​(UpdateCompanyNetworkConfigurationRequest updateCompanyNetworkConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the company network configuration for the fleet.

        Parameters:
        updateCompanyNetworkConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateCompanyNetworkConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateCompanyNetworkConfiguration

        @Deprecated
        default CompletableFuture<UpdateCompanyNetworkConfigurationResponse> updateCompanyNetworkConfiguration​(Consumer<UpdateCompanyNetworkConfigurationRequest.Builder> updateCompanyNetworkConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the company network configuration for the fleet.


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

        Parameters:
        updateCompanyNetworkConfigurationRequest - A Consumer that will call methods on UpdateCompanyNetworkConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateCompanyNetworkConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDevicePolicyConfiguration

        @Deprecated
        default CompletableFuture<UpdateDevicePolicyConfigurationResponse> updateDevicePolicyConfiguration​(UpdateDevicePolicyConfigurationRequest updateDevicePolicyConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the device policy configuration for the fleet.

        Parameters:
        updateDevicePolicyConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateDevicePolicyConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDevicePolicyConfiguration

        @Deprecated
        default CompletableFuture<UpdateDevicePolicyConfigurationResponse> updateDevicePolicyConfiguration​(Consumer<UpdateDevicePolicyConfigurationRequest.Builder> updateDevicePolicyConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the device policy configuration for the fleet.


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

        Parameters:
        updateDevicePolicyConfigurationRequest - A Consumer that will call methods on UpdateDevicePolicyConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateDevicePolicyConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDomainMetadata

        @Deprecated
        default CompletableFuture<UpdateDomainMetadataResponse> updateDomainMetadata​(UpdateDomainMetadataRequest updateDomainMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates domain metadata, such as DisplayName.

        Parameters:
        updateDomainMetadataRequest -
        Returns:
        A Java Future containing the result of the UpdateDomainMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDomainMetadata

        @Deprecated
        default CompletableFuture<UpdateDomainMetadataResponse> updateDomainMetadata​(Consumer<UpdateDomainMetadataRequest.Builder> updateDomainMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates domain metadata, such as DisplayName.


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

        Parameters:
        updateDomainMetadataRequest - A Consumer that will call methods on UpdateDomainMetadataRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateDomainMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFleetMetadata

        @Deprecated
        default CompletableFuture<UpdateFleetMetadataResponse> updateFleetMetadata​(UpdateFleetMetadataRequest updateFleetMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates fleet metadata, such as DisplayName.

        Parameters:
        updateFleetMetadataRequest -
        Returns:
        A Java Future containing the result of the UpdateFleetMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFleetMetadata

        @Deprecated
        default CompletableFuture<UpdateFleetMetadataResponse> updateFleetMetadata​(Consumer<UpdateFleetMetadataRequest.Builder> updateFleetMetadataRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates fleet metadata, such as DisplayName.


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

        Parameters:
        updateFleetMetadataRequest - A Consumer that will call methods on UpdateFleetMetadataRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateFleetMetadata operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateIdentityProviderConfiguration

        @Deprecated
        default CompletableFuture<UpdateIdentityProviderConfigurationResponse> updateIdentityProviderConfiguration​(UpdateIdentityProviderConfigurationRequest updateIdentityProviderConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the identity provider configuration for the fleet.

        Parameters:
        updateIdentityProviderConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateIdentityProviderConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateIdentityProviderConfiguration

        @Deprecated
        default CompletableFuture<UpdateIdentityProviderConfigurationResponse> updateIdentityProviderConfiguration​(Consumer<UpdateIdentityProviderConfigurationRequest.Builder> updateIdentityProviderConfigurationRequest)
        Deprecated.
        Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.

        Updates the identity provider configuration for the fleet.


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

        Parameters:
        updateIdentityProviderConfigurationRequest - A Consumer that will call methods on UpdateIdentityProviderConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateIdentityProviderConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • UnauthorizedException You are not authorized to perform this action.
        • InternalServerErrorException The service is temporarily unavailable.
        • InvalidRequestException The request is not valid.
        • ResourceNotFoundException The requested resource was not found.
        • TooManyRequestsException The number of requests exceeds the limit.
        • 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.
        • WorkLinkException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation