Lists the Linux subscriptions service settings for your account.
Raises:
Source code in docs_src/capo_license_manager_linux_subscriptions/_services/async_license_manager_linux_subscriptions.py
| async def get_service_settings(
self,
*,
config_overrides: Optional[
AsyncLicenseManagerLinuxSubscriptionsClientConfig
] = None,
) -> "capo_license_manager_linux_subscriptions.types.get_service_settings_response.GetServiceSettingsResponse":
"""<p>Lists the Linux subscriptions service settings for your account.</p>
Raises:
capo_license_manager_linux_subscriptions.errors.internal_server_exception.InternalServerException: <p>An exception occurred with the service.</p>
capo_license_manager_linux_subscriptions.errors.throttling_exception.ThrottlingException: <p>The request was denied due to request throttling.</p>
capo_license_manager_linux_subscriptions.errors.validation_exception.ValidationException: <p>The provided input is not valid. Try your request again.</p>
capo_license_manager_linux_subscriptions.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_license_manager_linux_subscriptions.types.get_service_settings_request.GetServiceSettingsRequest]",
) -> AsyncOperationResponse[
"capo_license_manager_linux_subscriptions.types.get_service_settings_response.GetServiceSettingsResponse"
]:
import capo_license_manager_linux_subscriptions._operations.license_manager_linux_subscriptions.get_service_settings
(
output,
http_response,
) = await capo_license_manager_linux_subscriptions._operations.license_manager_linux_subscriptions.get_service_settings.async_get_service_settings(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetServiceSettings")
)
input_: capo_license_manager_linux_subscriptions.types.get_service_settings_request.GetServiceSettingsRequest = {}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|