Interface WorkLinkAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture
<AssociateDomainResponse> associateDomain
(Consumer<AssociateDomainRequest.Builder> associateDomainRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<AssociateDomainResponse> associateDomain
(AssociateDomainRequest associateDomainRequest) Deprecated.Amazon WorkLink is no longer supported.associateWebsiteAuthorizationProvider
(Consumer<AssociateWebsiteAuthorizationProviderRequest.Builder> associateWebsiteAuthorizationProviderRequest) Deprecated.Amazon WorkLink is no longer supported.associateWebsiteAuthorizationProvider
(AssociateWebsiteAuthorizationProviderRequest associateWebsiteAuthorizationProviderRequest) Deprecated.Amazon WorkLink is no longer supported.associateWebsiteCertificateAuthority
(Consumer<AssociateWebsiteCertificateAuthorityRequest.Builder> associateWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.associateWebsiteCertificateAuthority
(AssociateWebsiteCertificateAuthorityRequest associateWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.static WorkLinkAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aWorkLinkAsyncClient
.static WorkLinkAsyncClient
create()
Create aWorkLinkAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateFleetResponse> createFleet
(Consumer<CreateFleetRequest.Builder> createFleetRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<CreateFleetResponse> createFleet
(CreateFleetRequest createFleetRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DeleteFleetResponse> deleteFleet
(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DeleteFleetResponse> deleteFleet
(DeleteFleetRequest deleteFleetRequest) Deprecated.Amazon WorkLink is no longer supported.describeAuditStreamConfiguration
(Consumer<DescribeAuditStreamConfigurationRequest.Builder> describeAuditStreamConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeAuditStreamConfiguration
(DescribeAuditStreamConfigurationRequest describeAuditStreamConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeCompanyNetworkConfiguration
(Consumer<DescribeCompanyNetworkConfigurationRequest.Builder> describeCompanyNetworkConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeCompanyNetworkConfiguration
(DescribeCompanyNetworkConfigurationRequest describeCompanyNetworkConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DescribeDeviceResponse> describeDevice
(Consumer<DescribeDeviceRequest.Builder> describeDeviceRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DescribeDeviceResponse> describeDevice
(DescribeDeviceRequest describeDeviceRequest) Deprecated.Amazon WorkLink is no longer supported.describeDevicePolicyConfiguration
(Consumer<DescribeDevicePolicyConfigurationRequest.Builder> describeDevicePolicyConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeDevicePolicyConfiguration
(DescribeDevicePolicyConfigurationRequest describeDevicePolicyConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DescribeDomainResponse> describeDomain
(Consumer<DescribeDomainRequest.Builder> describeDomainRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<DescribeDomainResponse> describeDomain
(DescribeDomainRequest describeDomainRequest) Deprecated.Amazon WorkLink is no longer supported.describeFleetMetadata
(Consumer<DescribeFleetMetadataRequest.Builder> describeFleetMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.describeFleetMetadata
(DescribeFleetMetadataRequest describeFleetMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.describeIdentityProviderConfiguration
(Consumer<DescribeIdentityProviderConfigurationRequest.Builder> describeIdentityProviderConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeIdentityProviderConfiguration
(DescribeIdentityProviderConfigurationRequest describeIdentityProviderConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.describeWebsiteCertificateAuthority
(Consumer<DescribeWebsiteCertificateAuthorityRequest.Builder> describeWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.describeWebsiteCertificateAuthority
(DescribeWebsiteCertificateAuthorityRequest describeWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateDomain
(Consumer<DisassociateDomainRequest.Builder> disassociateDomainRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateDomain
(DisassociateDomainRequest disassociateDomainRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateWebsiteAuthorizationProvider
(Consumer<DisassociateWebsiteAuthorizationProviderRequest.Builder> disassociateWebsiteAuthorizationProviderRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateWebsiteAuthorizationProvider
(DisassociateWebsiteAuthorizationProviderRequest disassociateWebsiteAuthorizationProviderRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateWebsiteCertificateAuthority
(Consumer<DisassociateWebsiteCertificateAuthorityRequest.Builder> disassociateWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.disassociateWebsiteCertificateAuthority
(DisassociateWebsiteCertificateAuthorityRequest disassociateWebsiteCertificateAuthorityRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListDevicesResponse> listDevices
(Consumer<ListDevicesRequest.Builder> listDevicesRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListDevicesResponse> listDevices
(ListDevicesRequest listDevicesRequest) Deprecated.Amazon WorkLink is no longer supported.default ListDevicesPublisher
listDevicesPaginator
(Consumer<ListDevicesRequest.Builder> listDevicesRequest) Deprecated.Amazon WorkLink is no longer supported.default ListDevicesPublisher
listDevicesPaginator
(ListDevicesRequest listDevicesRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListDomainsResponse> listDomains
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListDomainsResponse> listDomains
(ListDomainsRequest listDomainsRequest) Deprecated.Amazon WorkLink is no longer supported.default ListDomainsPublisher
listDomainsPaginator
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) Deprecated.Amazon WorkLink is no longer supported.default ListDomainsPublisher
listDomainsPaginator
(ListDomainsRequest listDomainsRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListFleetsResponse> Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListFleetsResponse> listFleets
(Consumer<ListFleetsRequest.Builder> listFleetsRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<ListFleetsResponse> listFleets
(ListFleetsRequest listFleetsRequest) Deprecated.Amazon WorkLink is no longer supported.default ListFleetsPublisher
Deprecated.Amazon WorkLink is no longer supported.default ListFleetsPublisher
listFleetsPaginator
(Consumer<ListFleetsRequest.Builder> listFleetsRequest) Deprecated.Amazon WorkLink is no longer supported.default ListFleetsPublisher
listFleetsPaginator
(ListFleetsRequest listFleetsRequest) Deprecated.Amazon WorkLink is no longer supported.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Deprecated.Amazon WorkLink is no longer supported.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteAuthorizationProviders
(Consumer<ListWebsiteAuthorizationProvidersRequest.Builder> listWebsiteAuthorizationProvidersRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteAuthorizationProviders
(ListWebsiteAuthorizationProvidersRequest listWebsiteAuthorizationProvidersRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteAuthorizationProvidersPaginator
(Consumer<ListWebsiteAuthorizationProvidersRequest.Builder> listWebsiteAuthorizationProvidersRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteAuthorizationProvidersPaginator
(ListWebsiteAuthorizationProvidersRequest listWebsiteAuthorizationProvidersRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteCertificateAuthorities
(Consumer<ListWebsiteCertificateAuthoritiesRequest.Builder> listWebsiteCertificateAuthoritiesRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteCertificateAuthorities
(ListWebsiteCertificateAuthoritiesRequest listWebsiteCertificateAuthoritiesRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteCertificateAuthoritiesPaginator
(Consumer<ListWebsiteCertificateAuthoritiesRequest.Builder> listWebsiteCertificateAuthoritiesRequest) Deprecated.Amazon WorkLink is no longer supported.listWebsiteCertificateAuthoritiesPaginator
(ListWebsiteCertificateAuthoritiesRequest listWebsiteCertificateAuthoritiesRequest) Deprecated.Amazon WorkLink is no longer supported.restoreDomainAccess
(Consumer<RestoreDomainAccessRequest.Builder> restoreDomainAccessRequest) Deprecated.Amazon WorkLink is no longer supported.restoreDomainAccess
(RestoreDomainAccessRequest restoreDomainAccessRequest) Deprecated.Amazon WorkLink is no longer supported.revokeDomainAccess
(Consumer<RevokeDomainAccessRequest.Builder> revokeDomainAccessRequest) Deprecated.Amazon WorkLink is no longer supported.revokeDomainAccess
(RevokeDomainAccessRequest revokeDomainAccessRequest) Deprecated.Amazon WorkLink is no longer supported.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<SignOutUserResponse> signOutUser
(Consumer<SignOutUserRequest.Builder> signOutUserRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<SignOutUserResponse> signOutUser
(SignOutUserRequest signOutUserRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deprecated.Amazon WorkLink is no longer supported.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Deprecated.Amazon WorkLink is no longer supported.updateAuditStreamConfiguration
(Consumer<UpdateAuditStreamConfigurationRequest.Builder> updateAuditStreamConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateAuditStreamConfiguration
(UpdateAuditStreamConfigurationRequest updateAuditStreamConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateCompanyNetworkConfiguration
(Consumer<UpdateCompanyNetworkConfigurationRequest.Builder> updateCompanyNetworkConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateCompanyNetworkConfiguration
(UpdateCompanyNetworkConfigurationRequest updateCompanyNetworkConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateDevicePolicyConfiguration
(Consumer<UpdateDevicePolicyConfigurationRequest.Builder> updateDevicePolicyConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateDevicePolicyConfiguration
(UpdateDevicePolicyConfigurationRequest updateDevicePolicyConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateDomainMetadata
(Consumer<UpdateDomainMetadataRequest.Builder> updateDomainMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.updateDomainMetadata
(UpdateDomainMetadataRequest updateDomainMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.updateFleetMetadata
(Consumer<UpdateFleetMetadataRequest.Builder> updateFleetMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.updateFleetMetadata
(UpdateFleetMetadataRequest updateFleetMetadataRequest) Deprecated.Amazon WorkLink is no longer supported.updateIdentityProviderConfiguration
(Consumer<UpdateIdentityProviderConfigurationRequest.Builder> updateIdentityProviderConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.updateIdentityProviderConfiguration
(UpdateIdentityProviderConfigurationRequest updateIdentityProviderConfigurationRequest) Deprecated.Amazon WorkLink is no longer supported.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
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 invokeThrowable.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:
-
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 viaAssociateDomainRequest.builder()
- Parameters:
associateDomainRequest
- AConsumer
that will call methods onAssociateDomainRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaAssociateWebsiteAuthorizationProviderRequest.builder()
- Parameters:
associateWebsiteAuthorizationProviderRequest
- AConsumer
that will call methods onAssociateWebsiteAuthorizationProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaAssociateWebsiteCertificateAuthorityRequest.builder()
- Parameters:
associateWebsiteCertificateAuthorityRequest
- AConsumer
that will call methods onAssociateWebsiteCertificateAuthorityRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaCreateFleetRequest.builder()
- Parameters:
createFleetRequest
- AConsumer
that will call methods onCreateFleetRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDeleteFleetRequest.builder()
- Parameters:
deleteFleetRequest
- AConsumer
that will call methods onDeleteFleetRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeAuditStreamConfigurationRequest.builder()
- Parameters:
describeAuditStreamConfigurationRequest
- AConsumer
that will call methods onDescribeAuditStreamConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeCompanyNetworkConfigurationRequest.builder()
- Parameters:
describeCompanyNetworkConfigurationRequest
- AConsumer
that will call methods onDescribeCompanyNetworkConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeDeviceRequest.builder()
- Parameters:
describeDeviceRequest
- AConsumer
that will call methods onDescribeDeviceRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeDevicePolicyConfigurationRequest.builder()
- Parameters:
describeDevicePolicyConfigurationRequest
- AConsumer
that will call methods onDescribeDevicePolicyConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeDomainRequest.builder()
- Parameters:
describeDomainRequest
- AConsumer
that will call methods onDescribeDomainRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeFleetMetadataRequest.builder()
- Parameters:
describeFleetMetadataRequest
- AConsumer
that will call methods onDescribeFleetMetadataRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeIdentityProviderConfigurationRequest.builder()
- Parameters:
describeIdentityProviderConfigurationRequest
- AConsumer
that will call methods onDescribeIdentityProviderConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDescribeWebsiteCertificateAuthorityRequest.builder()
- Parameters:
describeWebsiteCertificateAuthorityRequest
- AConsumer
that will call methods onDescribeWebsiteCertificateAuthorityRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDisassociateDomainRequest.builder()
- Parameters:
disassociateDomainRequest
- AConsumer
that will call methods onDisassociateDomainRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDisassociateWebsiteAuthorizationProviderRequest.builder()
- Parameters:
disassociateWebsiteAuthorizationProviderRequest
- AConsumer
that will call methods onDisassociateWebsiteAuthorizationProviderRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaDisassociateWebsiteCertificateAuthorityRequest.builder()
- Parameters:
disassociateWebsiteCertificateAuthorityRequest
- AConsumer
that will call methods onDisassociateWebsiteCertificateAuthorityRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaListDevicesRequest.builder()
- Parameters:
listDevicesRequest
- AConsumer
that will call methods onListDevicesRequest.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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListDevicesRequest.builder()
- Parameters:
listDevicesRequest
- AConsumer
that will call methods onListDevicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaListFleetsRequest.builder()
- Parameters:
listFleetsRequest
- AConsumer
that will call methods onListFleetsRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListFleetsPublisher publisher = client.listFleetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListFleetsRequest.builder()
- Parameters:
listFleetsRequest
- AConsumer
that will call methods onListFleetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaListWebsiteAuthorizationProvidersRequest.builder()
- Parameters:
listWebsiteAuthorizationProvidersRequest
- AConsumer
that will call methods onListWebsiteAuthorizationProvidersRequest.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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListWebsiteAuthorizationProvidersPublisher publisher = client.listWebsiteAuthorizationProvidersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListWebsiteAuthorizationProvidersRequest.builder()
- Parameters:
listWebsiteAuthorizationProvidersRequest
- AConsumer
that will call methods onListWebsiteAuthorizationProvidersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaListWebsiteCertificateAuthoritiesRequest.builder()
- Parameters:
listWebsiteCertificateAuthoritiesRequest
- AConsumer
that will call methods onListWebsiteCertificateAuthoritiesRequest.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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 invokeThrowable.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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.worklink.paginators.ListWebsiteCertificateAuthoritiesPublisher publisher = client.listWebsiteCertificateAuthoritiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListWebsiteCertificateAuthoritiesRequest.builder()
- Parameters:
listWebsiteCertificateAuthoritiesRequest
- AConsumer
that will call methods onListWebsiteCertificateAuthoritiesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaRestoreDomainAccessRequest.builder()
- Parameters:
restoreDomainAccessRequest
- AConsumer
that will call methods onRestoreDomainAccessRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaRevokeDomainAccessRequest.builder()
- Parameters:
revokeDomainAccessRequest
- AConsumer
that will call methods onRevokeDomainAccessRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaSignOutUserRequest.builder()
- Parameters:
signOutUserRequest
- AConsumer
that will call methods onSignOutUserRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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:
-
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 invokeThrowable.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:
-
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 viaUpdateAuditStreamConfigurationRequest.builder()
- Parameters:
updateAuditStreamConfigurationRequest
- AConsumer
that will call methods onUpdateAuditStreamConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaUpdateCompanyNetworkConfigurationRequest.builder()
- Parameters:
updateCompanyNetworkConfigurationRequest
- AConsumer
that will call methods onUpdateCompanyNetworkConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaUpdateDevicePolicyConfigurationRequest.builder()
- Parameters:
updateDevicePolicyConfigurationRequest
- AConsumer
that will call methods onUpdateDevicePolicyConfigurationRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaUpdateDomainMetadataRequest.builder()
- Parameters:
updateDomainMetadataRequest
- AConsumer
that will call methods onUpdateDomainMetadataRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaUpdateFleetMetadataRequest.builder()
- Parameters:
updateFleetMetadataRequest
- AConsumer
that will call methods onUpdateFleetMetadataRequest.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 invokeThrowable.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:
-
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 invokeThrowable.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:
-
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 viaUpdateIdentityProviderConfigurationRequest.builder()
- Parameters:
updateIdentityProviderConfigurationRequest
- AConsumer
that will call methods onUpdateIdentityProviderConfigurationRequest.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 invokeThrowable.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:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aWorkLinkAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aWorkLinkAsyncClient
.
-