list_log_subscriptions
¶
list_log_subscriptions(
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
directory_id: Optional[DirectoryId] = None,
next_token: Optional[NextToken] = None,
limit: Optional[Limit] = None,
) -> ListLogSubscriptionsResult
Lists the active log subscriptions for the Amazon Web Services account.
Parameters:
-
directory_id(Optional[DirectoryId], default:None) –If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return.
-
limit(Optional[Limit], default:None) –The maximum number of items returned.
Raises:
-
ClientException–A client exception has occurred.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidNextTokenException–The
NextTokenvalue is not valid. -
ServiceException–An exception has occurred in Directory Service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_directory_service/_services/directory_service.py
4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 | |