Interface LicenseManagerUserSubscriptionsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateUserResponseassociateUser(Consumer<AssociateUserRequest.Builder> associateUserRequest) Associates the user to an EC2 instance to utilize user-based subscriptions.default AssociateUserResponseassociateUser(AssociateUserRequest associateUserRequest) Associates the user to an EC2 instance to utilize user-based subscriptions.builder()Create a builder that can be used to configure and create aLicenseManagerUserSubscriptionsClient.create()Create aLicenseManagerUserSubscriptionsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createLicenseServerEndpoint(Consumer<CreateLicenseServerEndpointRequest.Builder> createLicenseServerEndpointRequest) Creates a network endpoint for the Remote Desktop Services (RDS) license server.createLicenseServerEndpoint(CreateLicenseServerEndpointRequest createLicenseServerEndpointRequest) Creates a network endpoint for the Remote Desktop Services (RDS) license server.deleteLicenseServerEndpoint(Consumer<DeleteLicenseServerEndpointRequest.Builder> deleteLicenseServerEndpointRequest) Deletes aLicenseServerEndpointresource.deleteLicenseServerEndpoint(DeleteLicenseServerEndpointRequest deleteLicenseServerEndpointRequest) Deletes aLicenseServerEndpointresource.deregisterIdentityProvider(Consumer<DeregisterIdentityProviderRequest.Builder> deregisterIdentityProviderRequest) Deregisters the Active Directory identity provider from License Manager user-based subscriptions.deregisterIdentityProvider(DeregisterIdentityProviderRequest deregisterIdentityProviderRequest) Deregisters the Active Directory identity provider from License Manager user-based subscriptions.default DisassociateUserResponsedisassociateUser(Consumer<DisassociateUserRequest.Builder> disassociateUserRequest) Disassociates the user from an EC2 instance providing user-based subscriptions.default DisassociateUserResponsedisassociateUser(DisassociateUserRequest disassociateUserRequest) Disassociates the user from an EC2 instance providing user-based subscriptions.default ListIdentityProvidersResponselistIdentityProviders(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) Lists the Active Directory identity providers for user-based subscriptions.default ListIdentityProvidersResponselistIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) Lists the Active Directory identity providers for user-based subscriptions.default ListIdentityProvidersIterablelistIdentityProvidersPaginator(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) This is a variant oflistIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation.default ListIdentityProvidersIterablelistIdentityProvidersPaginator(ListIdentityProvidersRequest listIdentityProvidersRequest) This is a variant oflistIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation.default ListInstancesResponselistInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) Lists the EC2 instances providing user-based subscriptions.default ListInstancesResponselistInstances(ListInstancesRequest listInstancesRequest) Lists the EC2 instances providing user-based subscriptions.default ListInstancesIterablelistInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation.default ListInstancesIterablelistInstancesPaginator(ListInstancesRequest listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation.listLicenseServerEndpoints(Consumer<ListLicenseServerEndpointsRequest.Builder> listLicenseServerEndpointsRequest) List the Remote Desktop Services (RDS) License Server endpointslistLicenseServerEndpoints(ListLicenseServerEndpointsRequest listLicenseServerEndpointsRequest) List the Remote Desktop Services (RDS) License Server endpointslistLicenseServerEndpointsPaginator(Consumer<ListLicenseServerEndpointsRequest.Builder> listLicenseServerEndpointsRequest) listLicenseServerEndpointsPaginator(ListLicenseServerEndpointsRequest listLicenseServerEndpointsRequest) default ListProductSubscriptionsResponselistProductSubscriptions(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) Lists the user-based subscription products available from an identity provider.default ListProductSubscriptionsResponselistProductSubscriptions(ListProductSubscriptionsRequest listProductSubscriptionsRequest) Lists the user-based subscription products available from an identity provider.default ListProductSubscriptionsIterablelistProductSubscriptionsPaginator(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) This is a variant oflistProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation.default ListProductSubscriptionsIterablelistProductSubscriptionsPaginator(ListProductSubscriptionsRequest listProductSubscriptionsRequest) This is a variant oflistProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns the list of tags for the specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns the list of tags for the specified resource.default ListUserAssociationsResponselistUserAssociations(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) Lists user associations for an identity provider.default ListUserAssociationsResponselistUserAssociations(ListUserAssociationsRequest listUserAssociationsRequest) Lists user associations for an identity provider.default ListUserAssociationsIterablelistUserAssociationsPaginator(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) This is a variant oflistUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation.default ListUserAssociationsIterablelistUserAssociationsPaginator(ListUserAssociationsRequest listUserAssociationsRequest) This is a variant oflistUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation.default RegisterIdentityProviderResponseregisterIdentityProvider(Consumer<RegisterIdentityProviderRequest.Builder> registerIdentityProviderRequest) Registers an identity provider for user-based subscriptions.default RegisterIdentityProviderResponseregisterIdentityProvider(RegisterIdentityProviderRequest registerIdentityProviderRequest) Registers an identity provider for user-based subscriptions.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartProductSubscriptionResponsestartProductSubscription(Consumer<StartProductSubscriptionRequest.Builder> startProductSubscriptionRequest) Starts a product subscription for a user with the specified identity provider.default StartProductSubscriptionResponsestartProductSubscription(StartProductSubscriptionRequest startProductSubscriptionRequest) Starts a product subscription for a user with the specified identity provider.default StopProductSubscriptionResponsestopProductSubscription(Consumer<StopProductSubscriptionRequest.Builder> stopProductSubscriptionRequest) Stops a product subscription for a user with the specified identity provider.default StopProductSubscriptionResponsestopProductSubscription(StopProductSubscriptionRequest stopProductSubscriptionRequest) Stops a product subscription for a user with the specified identity provider.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateIdentityProviderSettings(Consumer<UpdateIdentityProviderSettingsRequest.Builder> updateIdentityProviderSettingsRequest) Updates additional product configuration settings for the registered identity provider.updateIdentityProviderSettings(UpdateIdentityProviderSettingsRequest updateIdentityProviderSettingsRequest) Updates additional product configuration settings for the registered identity provider.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
associateUser
default AssociateUserResponse associateUser(AssociateUserRequest associateUserRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Associates the user to an EC2 instance to utilize user-based subscriptions.
Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
- Parameters:
associateUserRequest-- Returns:
- Result of the AssociateUser operation returned by the service.
- See Also:
-
associateUser
default AssociateUserResponse associateUser(Consumer<AssociateUserRequest.Builder> associateUserRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Associates the user to an EC2 instance to utilize user-based subscriptions.
Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
This is a convenience which creates an instance of the
AssociateUserRequest.Builderavoiding the need to create one manually viaAssociateUserRequest.builder()- Parameters:
associateUserRequest- AConsumerthat will call methods onAssociateUserRequest.Builderto create a request.- Returns:
- Result of the AssociateUser operation returned by the service.
- See Also:
-
createLicenseServerEndpoint
default CreateLicenseServerEndpointResponse createLicenseServerEndpoint(CreateLicenseServerEndpointRequest createLicenseServerEndpointRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Creates a network endpoint for the Remote Desktop Services (RDS) license server.
- Parameters:
createLicenseServerEndpointRequest-- Returns:
- Result of the CreateLicenseServerEndpoint operation returned by the service.
- See Also:
-
createLicenseServerEndpoint
default CreateLicenseServerEndpointResponse createLicenseServerEndpoint(Consumer<CreateLicenseServerEndpointRequest.Builder> createLicenseServerEndpointRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Creates a network endpoint for the Remote Desktop Services (RDS) license server.
This is a convenience which creates an instance of the
CreateLicenseServerEndpointRequest.Builderavoiding the need to create one manually viaCreateLicenseServerEndpointRequest.builder()- Parameters:
createLicenseServerEndpointRequest- AConsumerthat will call methods onCreateLicenseServerEndpointRequest.Builderto create a request.- Returns:
- Result of the CreateLicenseServerEndpoint operation returned by the service.
- See Also:
-
deleteLicenseServerEndpoint
default DeleteLicenseServerEndpointResponse deleteLicenseServerEndpoint(DeleteLicenseServerEndpointRequest deleteLicenseServerEndpointRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deletes a
LicenseServerEndpointresource.- Parameters:
deleteLicenseServerEndpointRequest-- Returns:
- Result of the DeleteLicenseServerEndpoint operation returned by the service.
- See Also:
-
deleteLicenseServerEndpoint
default DeleteLicenseServerEndpointResponse deleteLicenseServerEndpoint(Consumer<DeleteLicenseServerEndpointRequest.Builder> deleteLicenseServerEndpointRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deletes a
LicenseServerEndpointresource.
This is a convenience which creates an instance of the
DeleteLicenseServerEndpointRequest.Builderavoiding the need to create one manually viaDeleteLicenseServerEndpointRequest.builder()- Parameters:
deleteLicenseServerEndpointRequest- AConsumerthat will call methods onDeleteLicenseServerEndpointRequest.Builderto create a request.- Returns:
- Result of the DeleteLicenseServerEndpoint operation returned by the service.
- See Also:
-
deregisterIdentityProvider
default DeregisterIdentityProviderResponse deregisterIdentityProvider(DeregisterIdentityProviderRequest deregisterIdentityProviderRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deregisters the Active Directory identity provider from License Manager user-based subscriptions.
- Parameters:
deregisterIdentityProviderRequest-- Returns:
- Result of the DeregisterIdentityProvider operation returned by the service.
- See Also:
-
deregisterIdentityProvider
default DeregisterIdentityProviderResponse deregisterIdentityProvider(Consumer<DeregisterIdentityProviderRequest.Builder> deregisterIdentityProviderRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deregisters the Active Directory identity provider from License Manager user-based subscriptions.
This is a convenience which creates an instance of the
DeregisterIdentityProviderRequest.Builderavoiding the need to create one manually viaDeregisterIdentityProviderRequest.builder()- Parameters:
deregisterIdentityProviderRequest- AConsumerthat will call methods onDeregisterIdentityProviderRequest.Builderto create a request.- Returns:
- Result of the DeregisterIdentityProvider operation returned by the service.
- See Also:
-
disassociateUser
default DisassociateUserResponse disassociateUser(DisassociateUserRequest disassociateUserRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Disassociates the user from an EC2 instance providing user-based subscriptions.
- Parameters:
disassociateUserRequest-- Returns:
- Result of the DisassociateUser operation returned by the service.
- See Also:
-
disassociateUser
default DisassociateUserResponse disassociateUser(Consumer<DisassociateUserRequest.Builder> disassociateUserRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Disassociates the user from an EC2 instance providing user-based subscriptions.
This is a convenience which creates an instance of the
DisassociateUserRequest.Builderavoiding the need to create one manually viaDisassociateUserRequest.builder()- Parameters:
disassociateUserRequest- AConsumerthat will call methods onDisassociateUserRequest.Builderto create a request.- Returns:
- Result of the DisassociateUser operation returned by the service.
- See Also:
-
listIdentityProviders
default ListIdentityProvidersResponse listIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the Active Directory identity providers for user-based subscriptions.
- Parameters:
listIdentityProvidersRequest-- Returns:
- Result of the ListIdentityProviders operation returned by the service.
- See Also:
-
listIdentityProviders
default ListIdentityProvidersResponse listIdentityProviders(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the Active Directory identity providers for user-based subscriptions.
This is a convenience which creates an instance of the
ListIdentityProvidersRequest.Builderavoiding the need to create one manually viaListIdentityProvidersRequest.builder()- Parameters:
listIdentityProvidersRequest- AConsumerthat will call methods onListIdentityProvidersRequest.Builderto create a request.- Returns:
- Result of the ListIdentityProviders operation returned by the service.
- See Also:
-
listIdentityProvidersPaginator
default ListIdentityProvidersIterable listIdentityProvidersPaginator(ListIdentityProvidersRequest listIdentityProvidersRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client.listIdentityProvidersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client .listIdentityProvidersPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client.listIdentityProvidersPaginator(request); responses.iterator().forEachRemaining(....);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
listIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation.- Parameters:
listIdentityProvidersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIdentityProvidersPaginator
default ListIdentityProvidersIterable listIdentityProvidersPaginator(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client.listIdentityProvidersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client .listIdentityProvidersPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListIdentityProvidersIterable responses = client.listIdentityProvidersPaginator(request); responses.iterator().forEachRemaining(....);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
listIdentityProviders(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListIdentityProvidersRequest)operation.
This is a convenience which creates an instance of the
ListIdentityProvidersRequest.Builderavoiding the need to create one manually viaListIdentityProvidersRequest.builder()- Parameters:
listIdentityProvidersRequest- AConsumerthat will call methods onListIdentityProvidersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInstances
default ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the EC2 instances providing user-based subscriptions.
- Parameters:
listInstancesRequest-- Returns:
- Result of the ListInstances operation returned by the service.
- See Also:
-
listInstances
default ListInstancesResponse listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the EC2 instances providing user-based subscriptions.
This is a convenience which creates an instance of the
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request.- Returns:
- Result of the ListInstances operation returned by the service.
- See Also:
-
listInstancesPaginator
default ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client .listInstancesPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.iterator().forEachRemaining(....);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
listInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation.- Parameters:
listInstancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInstancesPaginator
default ListInstancesIterable listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client .listInstancesPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListInstancesIterable responses = client.listInstancesPaginator(request); responses.iterator().forEachRemaining(....);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
listInstances(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListInstancesRequest)operation.
This is a convenience which creates an instance of the
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLicenseServerEndpoints
default ListLicenseServerEndpointsResponse listLicenseServerEndpoints(ListLicenseServerEndpointsRequest listLicenseServerEndpointsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException List the Remote Desktop Services (RDS) License Server endpoints
- Parameters:
listLicenseServerEndpointsRequest-- Returns:
- Result of the ListLicenseServerEndpoints operation returned by the service.
- See Also:
-
listLicenseServerEndpoints
default ListLicenseServerEndpointsResponse listLicenseServerEndpoints(Consumer<ListLicenseServerEndpointsRequest.Builder> listLicenseServerEndpointsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException List the Remote Desktop Services (RDS) License Server endpoints
This is a convenience which creates an instance of the
ListLicenseServerEndpointsRequest.Builderavoiding the need to create one manually viaListLicenseServerEndpointsRequest.builder()- Parameters:
listLicenseServerEndpointsRequest- AConsumerthat will call methods onListLicenseServerEndpointsRequest.Builderto create a request.- Returns:
- Result of the ListLicenseServerEndpoints operation returned by the service.
- See Also:
-
listLicenseServerEndpointsPaginator
default ListLicenseServerEndpointsIterable listLicenseServerEndpointsPaginator(ListLicenseServerEndpointsRequest listLicenseServerEndpointsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listLicenseServerEndpoints(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client.listLicenseServerEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client .listLicenseServerEndpointsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client.listLicenseServerEndpointsPaginator(request); responses.iterator().forEachRemaining(....);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
listLicenseServerEndpoints(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsRequest)operation.- Parameters:
listLicenseServerEndpointsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLicenseServerEndpointsPaginator
default ListLicenseServerEndpointsIterable listLicenseServerEndpointsPaginator(Consumer<ListLicenseServerEndpointsRequest.Builder> listLicenseServerEndpointsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listLicenseServerEndpoints(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client.listLicenseServerEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client .listLicenseServerEndpointsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListLicenseServerEndpointsIterable responses = client.listLicenseServerEndpointsPaginator(request); responses.iterator().forEachRemaining(....);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
listLicenseServerEndpoints(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListLicenseServerEndpointsRequest)operation.
This is a convenience which creates an instance of the
ListLicenseServerEndpointsRequest.Builderavoiding the need to create one manually viaListLicenseServerEndpointsRequest.builder()- Parameters:
listLicenseServerEndpointsRequest- AConsumerthat will call methods onListLicenseServerEndpointsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProductSubscriptions
default ListProductSubscriptionsResponse listProductSubscriptions(ListProductSubscriptionsRequest listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the user-based subscription products available from an identity provider.
- Parameters:
listProductSubscriptionsRequest-- Returns:
- Result of the ListProductSubscriptions operation returned by the service.
- See Also:
-
listProductSubscriptions
default ListProductSubscriptionsResponse listProductSubscriptions(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the user-based subscription products available from an identity provider.
This is a convenience which creates an instance of the
ListProductSubscriptionsRequest.Builderavoiding the need to create one manually viaListProductSubscriptionsRequest.builder()- Parameters:
listProductSubscriptionsRequest- AConsumerthat will call methods onListProductSubscriptionsRequest.Builderto create a request.- Returns:
- Result of the ListProductSubscriptions operation returned by the service.
- See Also:
-
listProductSubscriptionsPaginator
default ListProductSubscriptionsIterable listProductSubscriptionsPaginator(ListProductSubscriptionsRequest listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client.listProductSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client .listProductSubscriptionsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client.listProductSubscriptionsPaginator(request); responses.iterator().forEachRemaining(....);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
listProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation.- Parameters:
listProductSubscriptionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProductSubscriptionsPaginator
default ListProductSubscriptionsIterable listProductSubscriptionsPaginator(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client.listProductSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client .listProductSubscriptionsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListProductSubscriptionsIterable responses = client.listProductSubscriptionsPaginator(request); responses.iterator().forEachRemaining(....);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
listProductSubscriptions(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListProductSubscriptionsRequest)operation.
This is a convenience which creates an instance of the
ListProductSubscriptionsRequest.Builderavoiding the need to create one manually viaListProductSubscriptionsRequest.builder()- Parameters:
listProductSubscriptionsRequest- AConsumerthat will call methods onListProductSubscriptionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Returns the list of tags for the specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Returns the list of tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listUserAssociations
default ListUserAssociationsResponse listUserAssociations(ListUserAssociationsRequest listUserAssociationsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists user associations for an identity provider.
- Parameters:
listUserAssociationsRequest-- Returns:
- Result of the ListUserAssociations operation returned by the service.
- See Also:
-
listUserAssociations
default ListUserAssociationsResponse listUserAssociations(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists user associations for an identity provider.
This is a convenience which creates an instance of the
ListUserAssociationsRequest.Builderavoiding the need to create one manually viaListUserAssociationsRequest.builder()- Parameters:
listUserAssociationsRequest- AConsumerthat will call methods onListUserAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListUserAssociations operation returned by the service.
- See Also:
-
listUserAssociationsPaginator
default ListUserAssociationsIterable listUserAssociationsPaginator(ListUserAssociationsRequest listUserAssociationsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client.listUserAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client .listUserAssociationsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client.listUserAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
listUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation.- Parameters:
listUserAssociationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUserAssociationsPaginator
default ListUserAssociationsIterable listUserAssociationsPaginator(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException This is a variant of
listUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client.listUserAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client .listUserAssociationsPaginator(request); for (software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerusersubscriptions.paginators.ListUserAssociationsIterable responses = client.listUserAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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
listUserAssociations(software.amazon.awssdk.services.licensemanagerusersubscriptions.model.ListUserAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListUserAssociationsRequest.Builderavoiding the need to create one manually viaListUserAssociationsRequest.builder()- Parameters:
listUserAssociationsRequest- AConsumerthat will call methods onListUserAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
registerIdentityProvider
default RegisterIdentityProviderResponse registerIdentityProvider(RegisterIdentityProviderRequest registerIdentityProviderRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Registers an identity provider for user-based subscriptions.
- Parameters:
registerIdentityProviderRequest-- Returns:
- Result of the RegisterIdentityProvider operation returned by the service.
- See Also:
-
registerIdentityProvider
default RegisterIdentityProviderResponse registerIdentityProvider(Consumer<RegisterIdentityProviderRequest.Builder> registerIdentityProviderRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Registers an identity provider for user-based subscriptions.
This is a convenience which creates an instance of the
RegisterIdentityProviderRequest.Builderavoiding the need to create one manually viaRegisterIdentityProviderRequest.builder()- Parameters:
registerIdentityProviderRequest- AConsumerthat will call methods onRegisterIdentityProviderRequest.Builderto create a request.- Returns:
- Result of the RegisterIdentityProvider operation returned by the service.
- See Also:
-
startProductSubscription
default StartProductSubscriptionResponse startProductSubscription(StartProductSubscriptionRequest startProductSubscriptionRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Starts a product subscription for a user with the specified identity provider.
Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
- Parameters:
startProductSubscriptionRequest-- Returns:
- Result of the StartProductSubscription operation returned by the service.
- See Also:
-
startProductSubscription
default StartProductSubscriptionResponse startProductSubscription(Consumer<StartProductSubscriptionRequest.Builder> startProductSubscriptionRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Starts a product subscription for a user with the specified identity provider.
Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
This is a convenience which creates an instance of the
StartProductSubscriptionRequest.Builderavoiding the need to create one manually viaStartProductSubscriptionRequest.builder()- Parameters:
startProductSubscriptionRequest- AConsumerthat will call methods onStartProductSubscriptionRequest.Builderto create a request.- Returns:
- Result of the StartProductSubscription operation returned by the service.
- See Also:
-
stopProductSubscription
default StopProductSubscriptionResponse stopProductSubscription(StopProductSubscriptionRequest stopProductSubscriptionRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Stops a product subscription for a user with the specified identity provider.
- Parameters:
stopProductSubscriptionRequest-- Returns:
- Result of the StopProductSubscription operation returned by the service.
- See Also:
-
stopProductSubscription
default StopProductSubscriptionResponse stopProductSubscription(Consumer<StopProductSubscriptionRequest.Builder> stopProductSubscriptionRequest) throws ServiceQuotaExceededException, ValidationException, ConflictException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Stops a product subscription for a user with the specified identity provider.
This is a convenience which creates an instance of the
StopProductSubscriptionRequest.Builderavoiding the need to create one manually viaStopProductSubscriptionRequest.builder()- Parameters:
stopProductSubscriptionRequest- AConsumerthat will call methods onStopProductSubscriptionRequest.Builderto create a request.- Returns:
- Result of the StopProductSubscription operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Adds tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Adds tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateIdentityProviderSettings
default UpdateIdentityProviderSettingsResponse updateIdentityProviderSettings(UpdateIdentityProviderSettingsRequest updateIdentityProviderSettingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Updates additional product configuration settings for the registered identity provider.
- Parameters:
updateIdentityProviderSettingsRequest-- Returns:
- Result of the UpdateIdentityProviderSettings operation returned by the service.
- See Also:
-
updateIdentityProviderSettings
default UpdateIdentityProviderSettingsResponse updateIdentityProviderSettings(Consumer<UpdateIdentityProviderSettingsRequest.Builder> updateIdentityProviderSettingsRequest) throws ValidationException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Updates additional product configuration settings for the registered identity provider.
This is a convenience which creates an instance of the
UpdateIdentityProviderSettingsRequest.Builderavoiding the need to create one manually viaUpdateIdentityProviderSettingsRequest.builder()- Parameters:
updateIdentityProviderSettingsRequest- AConsumerthat will call methods onUpdateIdentityProviderSettingsRequest.Builderto create a request.- Returns:
- Result of the UpdateIdentityProviderSettings operation returned by the service.
- See Also:
-
create
Create aLicenseManagerUserSubscriptionsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLicenseManagerUserSubscriptionsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-