You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/audit_trail/v1alpha1/api.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ async def list_events(
43
43
page_size: Optional[int] =None,
44
44
page_token: Optional[str] =None,
45
45
product_name: Optional[str] =None,
46
+
service_name: Optional[str] =None,
46
47
) ->ListEventsResponse:
47
48
"""
48
49
List events.
@@ -51,14 +52,15 @@ async def list_events(
51
52
:param project_id: (Optional) ID of the Project containing the Audit Trail events.
52
53
:param organization_id: ID of the Organization containing the Audit Trail events.
53
54
:param resource_type: (Optional) Returns a paginated list of Scaleway resources' features.
54
-
:param method_name: (Optional) Name of the method or the API call performed.
55
+
:param method_name: (Optional) Name of the method of the API call performed.
55
56
:param status: (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied.
56
57
:param recorded_after: (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default.
57
58
:param recorded_before: (Optional) The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Returns `now` by default.
58
59
:param order_by:
59
60
:param page_size:
60
61
:param page_token:
61
62
:param product_name: (Optional) Name of the Scaleway resource in a hyphenated format.
63
+
:param service_name: (Optional) Name of the service of the API call performed.
Copy file name to clipboardExpand all lines: scaleway/scaleway/audit_trail/v1alpha1/api.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ def list_events(
43
43
page_size: Optional[int] =None,
44
44
page_token: Optional[str] =None,
45
45
product_name: Optional[str] =None,
46
+
service_name: Optional[str] =None,
46
47
) ->ListEventsResponse:
47
48
"""
48
49
List events.
@@ -51,14 +52,15 @@ def list_events(
51
52
:param project_id: (Optional) ID of the Project containing the Audit Trail events.
52
53
:param organization_id: ID of the Organization containing the Audit Trail events.
53
54
:param resource_type: (Optional) Returns a paginated list of Scaleway resources' features.
54
-
:param method_name: (Optional) Name of the method or the API call performed.
55
+
:param method_name: (Optional) Name of the method of the API call performed.
55
56
:param status: (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied.
56
57
:param recorded_after: (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default.
57
58
:param recorded_before: (Optional) The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Returns `now` by default.
58
59
:param order_by:
59
60
:param page_size:
60
61
:param page_token:
61
62
:param product_name: (Optional) Name of the Scaleway resource in a hyphenated format.
63
+
:param service_name: (Optional) Name of the service of the API call performed.
0 commit comments