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 SummaryFieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String
- 
Method SummaryModifier 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.deregisterIdentityProvider(Consumer<DeregisterIdentityProviderRequest.Builder> deregisterIdentityProviderRequest) Deregisters the identity provider from providing user-based subscriptions.deregisterIdentityProvider(DeregisterIdentityProviderRequest deregisterIdentityProviderRequest) Deregisters the identity provider from providing 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 identity providers for user-based subscriptions.default ListIdentityProvidersResponselistIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) Lists the 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.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 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.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.SdkAutoCloseablecloseMethods inherited from interface software.amazon.awssdk.core.SdkClientserviceName
- 
Field Details- 
SERVICE_NAME- See Also:
 
- 
SERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.- See Also:
 
 
- 
- 
Method Details- 
associateUserdefault AssociateUserResponse associateUser(AssociateUserRequest associateUserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
associateUserdefault AssociateUserResponse associateUser(Consumer<AssociateUserRequest.Builder> associateUserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- AssociateUserRequest.Builderto create a request.
- Returns:
- Result of the AssociateUser operation returned by the service.
- See Also:
 
- 
deregisterIdentityProviderdefault DeregisterIdentityProviderResponse deregisterIdentityProvider(DeregisterIdentityProviderRequest deregisterIdentityProviderRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deregisters the identity provider from providing user-based subscriptions. - Parameters:
- deregisterIdentityProviderRequest-
- Returns:
- Result of the DeregisterIdentityProvider operation returned by the service.
- See Also:
 
- 
deregisterIdentityProviderdefault DeregisterIdentityProviderResponse deregisterIdentityProvider(Consumer<DeregisterIdentityProviderRequest.Builder> deregisterIdentityProviderRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Deregisters the identity provider from providing 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- A- Consumerthat will call methods on- DeregisterIdentityProviderRequest.Builderto create a request.
- Returns:
- Result of the DeregisterIdentityProvider operation returned by the service.
- See Also:
 
- 
disassociateUserdefault DisassociateUserResponse disassociateUser(DisassociateUserRequest disassociateUserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
disassociateUserdefault DisassociateUserResponse disassociateUser(Consumer<DisassociateUserRequest.Builder> disassociateUserRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- DisassociateUserRequest.Builderto create a request.
- Returns:
- Result of the DisassociateUser operation returned by the service.
- See Also:
 
- 
listIdentityProvidersdefault ListIdentityProvidersResponse listIdentityProviders(ListIdentityProvidersRequest listIdentityProvidersRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the identity providers for user-based subscriptions. - Parameters:
- listIdentityProvidersRequest-
- Returns:
- Result of the ListIdentityProviders operation returned by the service.
- See Also:
 
- 
listIdentityProvidersdefault ListIdentityProvidersResponse listIdentityProviders(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, ThrottlingException, InternalServerException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerUserSubscriptionsException Lists the 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- A- Consumerthat will call methods on- ListIdentityProvidersRequest.Builderto create a request.
- Returns:
- Result of the ListIdentityProviders operation returned by the service.
- See Also:
 
- 
listIdentityProvidersPaginatordefault ListIdentityProvidersIterable listIdentityProvidersPaginator(ListIdentityProvidersRequest listIdentityProvidersRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listIdentityProvidersPaginatordefault ListIdentityProvidersIterable listIdentityProvidersPaginator(Consumer<ListIdentityProvidersRequest.Builder> listIdentityProvidersRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListIdentityProvidersRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listInstancesdefault ListInstancesResponse listInstances(ListInstancesRequest listInstancesRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listInstancesdefault ListInstancesResponse listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListInstancesRequest.Builderto create a request.
- Returns:
- Result of the ListInstances operation returned by the service.
- See Also:
 
- 
listInstancesPaginatordefault ListInstancesIterable listInstancesPaginator(ListInstancesRequest listInstancesRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listInstancesPaginatordefault ListInstancesIterable listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListInstancesRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listProductSubscriptionsdefault ListProductSubscriptionsResponse listProductSubscriptions(ListProductSubscriptionsRequest listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listProductSubscriptionsdefault ListProductSubscriptionsResponse listProductSubscriptions(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListProductSubscriptionsRequest.Builderto create a request.
- Returns:
- Result of the ListProductSubscriptions operation returned by the service.
- See Also:
 
- 
listProductSubscriptionsPaginatordefault ListProductSubscriptionsIterable listProductSubscriptionsPaginator(ListProductSubscriptionsRequest listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listProductSubscriptionsPaginatordefault ListProductSubscriptionsIterable listProductSubscriptionsPaginator(Consumer<ListProductSubscriptionsRequest.Builder> listProductSubscriptionsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListProductSubscriptionsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
listUserAssociationsdefault ListUserAssociationsResponse listUserAssociations(ListUserAssociationsRequest listUserAssociationsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listUserAssociationsdefault ListUserAssociationsResponse listUserAssociations(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListUserAssociationsRequest.Builderto create a request.
- Returns:
- Result of the ListUserAssociations operation returned by the service.
- See Also:
 
- 
listUserAssociationsPaginatordefault ListUserAssociationsIterable listUserAssociationsPaginator(ListUserAssociationsRequest listUserAssociationsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
listUserAssociationsPaginatordefault ListUserAssociationsIterable listUserAssociationsPaginator(Consumer<ListUserAssociationsRequest.Builder> listUserAssociationsRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- ListUserAssociationsRequest.Builderto create a request.
- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
 
- 
registerIdentityProviderdefault RegisterIdentityProviderResponse registerIdentityProvider(RegisterIdentityProviderRequest registerIdentityProviderRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
registerIdentityProviderdefault RegisterIdentityProviderResponse registerIdentityProvider(Consumer<RegisterIdentityProviderRequest.Builder> registerIdentityProviderRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- RegisterIdentityProviderRequest.Builderto create a request.
- Returns:
- Result of the RegisterIdentityProvider operation returned by the service.
- See Also:
 
- 
startProductSubscriptiondefault StartProductSubscriptionResponse startProductSubscription(StartProductSubscriptionRequest startProductSubscriptionRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
startProductSubscriptiondefault StartProductSubscriptionResponse startProductSubscription(Consumer<StartProductSubscriptionRequest.Builder> startProductSubscriptionRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- StartProductSubscriptionRequest.Builderto create a request.
- Returns:
- Result of the StartProductSubscription operation returned by the service.
- See Also:
 
- 
stopProductSubscriptiondefault StopProductSubscriptionResponse stopProductSubscription(StopProductSubscriptionRequest stopProductSubscriptionRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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:
 
- 
stopProductSubscriptiondefault StopProductSubscriptionResponse stopProductSubscription(Consumer<StopProductSubscriptionRequest.Builder> stopProductSubscriptionRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, 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- A- Consumerthat will call methods on- StopProductSubscriptionRequest.Builderto create a request.
- Returns:
- Result of the StopProductSubscription operation returned by the service.
- See Also:
 
- 
updateIdentityProviderSettingsdefault 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:
 
- 
updateIdentityProviderSettingsdefault 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- A- Consumerthat will call methods on- UpdateIdentityProviderSettingsRequest.Builderto create a request.
- Returns:
- Result of the UpdateIdentityProviderSettings operation returned by the service.
- See Also:
 
- 
createCreate aLicenseManagerUserSubscriptionsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
- 
builderCreate a builder that can be used to configure and create aLicenseManagerUserSubscriptionsClient.
- 
serviceMetadata
- 
serviceClientConfigurationDescription copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
- serviceClientConfigurationin interface- AwsClient
- Specified by:
- serviceClientConfigurationin interface- SdkClient
- Returns:
- SdkServiceClientConfiguration
 
 
-