@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerUserSubscriptionsClient extends AmazonWebServiceClient implements AWSLicenseManagerUserSubscriptions
With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateUserResult |
associateUser(AssociateUserRequest request)
Associates the user to an EC2 instance to utilize user-based subscriptions.
|
static AWSLicenseManagerUserSubscriptionsClientBuilder |
builder() |
DeregisterIdentityProviderResult |
deregisterIdentityProvider(DeregisterIdentityProviderRequest request)
Deregisters the identity provider from providing user-based subscriptions.
|
DisassociateUserResult |
disassociateUser(DisassociateUserRequest request)
Disassociates the user from an EC2 instance providing user-based subscriptions.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListIdentityProvidersResult |
listIdentityProviders(ListIdentityProvidersRequest request)
Lists the identity providers for user-based subscriptions.
|
ListInstancesResult |
listInstances(ListInstancesRequest request)
Lists the EC2 instances providing user-based subscriptions.
|
ListProductSubscriptionsResult |
listProductSubscriptions(ListProductSubscriptionsRequest request)
Lists the user-based subscription products available from an identity provider.
|
ListUserAssociationsResult |
listUserAssociations(ListUserAssociationsRequest request)
Lists user associations for an identity provider.
|
RegisterIdentityProviderResult |
registerIdentityProvider(RegisterIdentityProviderRequest request)
Registers an identity provider for user-based subscriptions.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartProductSubscriptionResult |
startProductSubscription(StartProductSubscriptionRequest request)
Starts a product subscription for a user with the specified identity provider.
|
StopProductSubscriptionResult |
stopProductSubscription(StopProductSubscriptionRequest request)
Stops a product subscription for a user with the specified identity provider.
|
UpdateIdentityProviderSettingsResult |
updateIdentityProviderSettings(UpdateIdentityProviderSettingsRequest request)
Updates additional product configuration settings for the registered identity provider.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSLicenseManagerUserSubscriptionsClientBuilder builder()
public AssociateUserResult associateUser(AssociateUserRequest request)
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.
associateUser
in interface AWSLicenseManagerUserSubscriptions
associateUserRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public DeregisterIdentityProviderResult deregisterIdentityProvider(DeregisterIdentityProviderRequest request)
Deregisters the identity provider from providing user-based subscriptions.
deregisterIdentityProvider
in interface AWSLicenseManagerUserSubscriptions
deregisterIdentityProviderRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public DisassociateUserResult disassociateUser(DisassociateUserRequest request)
Disassociates the user from an EC2 instance providing user-based subscriptions.
disassociateUser
in interface AWSLicenseManagerUserSubscriptions
disassociateUserRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public ListIdentityProvidersResult listIdentityProviders(ListIdentityProvidersRequest request)
Lists the identity providers for user-based subscriptions.
listIdentityProviders
in interface AWSLicenseManagerUserSubscriptions
listIdentityProvidersRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public ListInstancesResult listInstances(ListInstancesRequest request)
Lists the EC2 instances providing user-based subscriptions.
listInstances
in interface AWSLicenseManagerUserSubscriptions
listInstancesRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public ListProductSubscriptionsResult listProductSubscriptions(ListProductSubscriptionsRequest request)
Lists the user-based subscription products available from an identity provider.
listProductSubscriptions
in interface AWSLicenseManagerUserSubscriptions
listProductSubscriptionsRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public ListUserAssociationsResult listUserAssociations(ListUserAssociationsRequest request)
Lists user associations for an identity provider.
listUserAssociations
in interface AWSLicenseManagerUserSubscriptions
listUserAssociationsRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public RegisterIdentityProviderResult registerIdentityProvider(RegisterIdentityProviderRequest request)
Registers an identity provider for user-based subscriptions.
registerIdentityProvider
in interface AWSLicenseManagerUserSubscriptions
registerIdentityProviderRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public StartProductSubscriptionResult startProductSubscription(StartProductSubscriptionRequest request)
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.
startProductSubscription
in interface AWSLicenseManagerUserSubscriptions
startProductSubscriptionRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public StopProductSubscriptionResult stopProductSubscription(StopProductSubscriptionRequest request)
Stops a product subscription for a user with the specified identity provider.
stopProductSubscription
in interface AWSLicenseManagerUserSubscriptions
stopProductSubscriptionRequest
- ServiceQuotaExceededException
- The request failed because a service quota is exceeded.ConflictException
- The request couldn't be completed because it conflicted with the current state of the resource.ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.ResourceNotFoundException
- The resource couldn't be found.AccessDeniedException
- You don't have sufficient access to perform this action.public UpdateIdentityProviderSettingsResult updateIdentityProviderSettings(UpdateIdentityProviderSettingsRequest request)
Updates additional product configuration settings for the registered identity provider.
updateIdentityProviderSettings
in interface AWSLicenseManagerUserSubscriptions
updateIdentityProviderSettingsRequest
- ValidationException
- A parameter is not valid.ThrottlingException
- The request was denied because of request throttling. Retry the request.InternalServerException
- An exception occurred with the service.AccessDeniedException
- You don't have sufficient access to perform this action.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSLicenseManagerUserSubscriptions
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSLicenseManagerUserSubscriptions
shutdown
in class AmazonWebServiceClient