Interface LicenseManagerLinuxSubscriptionsClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface LicenseManagerLinuxSubscriptionsClient extends AwsClient
Service client for accessing AWS License Manager Linux Subscriptions. This can be created using the staticbuilder()method.With License Manager, you can discover and track your commercial Linux subscriptions on running Amazon EC2 instances.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LicenseManagerLinuxSubscriptionsClientBuilderbuilder()Create a builder that can be used to configure and create aLicenseManagerLinuxSubscriptionsClient.static LicenseManagerLinuxSubscriptionsClientcreate()Create aLicenseManagerLinuxSubscriptionsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default GetServiceSettingsResponsegetServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)Lists the Linux subscriptions service settings.default GetServiceSettingsResponsegetServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)Lists the Linux subscriptions service settings.default ListLinuxSubscriptionInstancesResponselistLinuxSubscriptionInstances(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest)Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.default ListLinuxSubscriptionInstancesResponselistLinuxSubscriptionInstances(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest)Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.default ListLinuxSubscriptionInstancesIterablelistLinuxSubscriptionInstancesPaginator(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest)Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.default ListLinuxSubscriptionInstancesIterablelistLinuxSubscriptionInstancesPaginator(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest)Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.default ListLinuxSubscriptionsResponselistLinuxSubscriptions(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest)Lists the Linux subscriptions that have been discovered.default ListLinuxSubscriptionsResponselistLinuxSubscriptions(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest)Lists the Linux subscriptions that have been discovered.default ListLinuxSubscriptionsIterablelistLinuxSubscriptionsPaginator(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest)Lists the Linux subscriptions that have been discovered.default ListLinuxSubscriptionsIterablelistLinuxSubscriptionsPaginator(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest)Lists the Linux subscriptions that have been discovered.default LicenseManagerLinuxSubscriptionsServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default UpdateServiceSettingsResponseupdateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)Updates the service settings for Linux subscriptions.default UpdateServiceSettingsResponseupdateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)Updates the service settings for Linux subscriptions.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions service settings.
- Parameters:
getServiceSettingsRequest-- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions service settings.
This is a convenience which creates an instance of the
GetServiceSettingsRequest.Builderavoiding the need to create one manually viaGetServiceSettingsRequest.builder()- Parameters:
getServiceSettingsRequest- AConsumerthat will call methods onGetServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionInstances
default ListLinuxSubscriptionInstancesResponse listLinuxSubscriptionInstances(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
- Parameters:
listLinuxSubscriptionInstancesRequest- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- Result of the ListLinuxSubscriptionInstances operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionInstances
default ListLinuxSubscriptionInstancesResponse listLinuxSubscriptionInstances(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
This is a convenience which creates an instance of the
ListLinuxSubscriptionInstancesRequest.Builderavoiding the need to create one manually viaListLinuxSubscriptionInstancesRequest.builder()- Parameters:
listLinuxSubscriptionInstancesRequest- AConsumerthat will call methods onListLinuxSubscriptionInstancesRequest.Builderto create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- Result of the ListLinuxSubscriptionInstances operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionInstancesPaginator
default ListLinuxSubscriptionInstancesIterable listLinuxSubscriptionInstancesPaginator(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
This is a variant of
listLinuxSubscriptionInstances(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesRequest)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.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client.listLinuxSubscriptionInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client .listLinuxSubscriptionInstancesPaginator(request); for (software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client.listLinuxSubscriptionInstancesPaginator(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
listLinuxSubscriptionInstances(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesRequest)operation.- Parameters:
listLinuxSubscriptionInstancesRequest- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionInstancesPaginator
default ListLinuxSubscriptionInstancesIterable listLinuxSubscriptionInstancesPaginator(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
This is a variant of
listLinuxSubscriptionInstances(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesRequest)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.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client.listLinuxSubscriptionInstancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client .listLinuxSubscriptionInstancesPaginator(request); for (software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionInstancesIterable responses = client.listLinuxSubscriptionInstancesPaginator(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
listLinuxSubscriptionInstances(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionInstancesRequest)operation.This is a convenience which creates an instance of the
ListLinuxSubscriptionInstancesRequest.Builderavoiding the need to create one manually viaListLinuxSubscriptionInstancesRequest.builder()- Parameters:
listLinuxSubscriptionInstancesRequest- AConsumerthat will call methods onListLinuxSubscriptionInstancesRequest.Builderto create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptions
default ListLinuxSubscriptionsResponse listLinuxSubscriptions(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
- Parameters:
listLinuxSubscriptionsRequest- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- Result of the ListLinuxSubscriptions operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptions
default ListLinuxSubscriptionsResponse listLinuxSubscriptions(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
This is a convenience which creates an instance of the
ListLinuxSubscriptionsRequest.Builderavoiding the need to create one manually viaListLinuxSubscriptionsRequest.builder()- Parameters:
listLinuxSubscriptionsRequest- AConsumerthat will call methods onListLinuxSubscriptionsRequest.Builderto create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- Result of the ListLinuxSubscriptions operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionsPaginator
default ListLinuxSubscriptionsIterable listLinuxSubscriptionsPaginator(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
This is a variant of
listLinuxSubscriptions(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsRequest)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.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client.listLinuxSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client .listLinuxSubscriptionsPaginator(request); for (software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client.listLinuxSubscriptionsPaginator(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
listLinuxSubscriptions(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsRequest)operation.- Parameters:
listLinuxSubscriptionsRequest- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLinuxSubscriptionsPaginator
default ListLinuxSubscriptionsIterable listLinuxSubscriptionsPaginator(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
This is a variant of
listLinuxSubscriptions(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsRequest)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.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client.listLinuxSubscriptionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client .listLinuxSubscriptionsPaginator(request); for (software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.licensemanagerlinuxsubscriptions.paginators.ListLinuxSubscriptionsIterable responses = client.listLinuxSubscriptionsPaginator(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
listLinuxSubscriptions(software.amazon.awssdk.services.licensemanagerlinuxsubscriptions.model.ListLinuxSubscriptionsRequest)operation.This is a convenience which creates an instance of the
ListLinuxSubscriptionsRequest.Builderavoiding the need to create one manually viaListLinuxSubscriptionsRequest.builder()- Parameters:
listLinuxSubscriptionsRequest- AConsumerthat will call methods onListLinuxSubscriptionsRequest.Builderto create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
default UpdateServiceSettingsResponse updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Updates the service settings for Linux subscriptions.
- Parameters:
updateServiceSettingsRequest-- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
default UpdateServiceSettingsResponse updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest) throws InternalServerException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, LicenseManagerLinuxSubscriptionsException
Updates the service settings for Linux subscriptions.
This is a convenience which creates an instance of the
UpdateServiceSettingsRequest.Builderavoiding the need to create one manually viaUpdateServiceSettingsRequest.builder()- Parameters:
updateServiceSettingsRequest- AConsumerthat will call methods onUpdateServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
InternalServerException- An exception occurred with the service.ThrottlingException- The request was denied due to request throttling.ValidationException- The provided input is not valid. Try your request again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerLinuxSubscriptionsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static LicenseManagerLinuxSubscriptionsClient create()
Create aLicenseManagerLinuxSubscriptionsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static LicenseManagerLinuxSubscriptionsClientBuilder builder()
Create a builder that can be used to configure and create aLicenseManagerLinuxSubscriptionsClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default LicenseManagerLinuxSubscriptionsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-