From a89651417af4bf0226a4e46bb56cedeac442bfd0 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 21 Jul 2026 08:17:52 +0000 Subject: [PATCH] Generate auditlog --- services/auditlog/oas_commit | 2 +- .../auditlog/src/stackit/auditlog/__init__.py | 11 +++--- .../src/stackit/auditlog/api/default_api.py | 38 ++++++++++++------- .../src/stackit/auditlog/api_client.py | 11 +++--- .../src/stackit/auditlog/api_response.py | 1 + .../src/stackit/auditlog/configuration.py | 11 +++--- .../src/stackit/auditlog/exceptions.py | 10 ++--- .../src/stackit/auditlog/models/__init__.py | 10 ++--- .../audit_log_entry_context_response.py | 10 ++--- .../audit_log_entry_initiator_response.py | 10 ++--- .../audit_log_entry_request_response.py | 10 ++--- .../models/audit_log_entry_response.py | 10 ++--- ...ervice_account_delegation_info_response.py | 10 ++--- .../stackit/auditlog/models/error_response.py | 10 ++--- .../auditlog/models/gateway_error_response.py | 10 ++--- .../models/list_audit_log_entries_response.py | 10 ++--- ...ount_delegation_info_principal_response.py | 10 ++--- .../auditlog/src/stackit/auditlog/rest.py | 11 +++--- 18 files changed, 105 insertions(+), 90 deletions(-) diff --git a/services/auditlog/oas_commit b/services/auditlog/oas_commit index e3713dde3..0f8ce352b 100644 --- a/services/auditlog/oas_commit +++ b/services/auditlog/oas_commit @@ -1 +1 @@ -0e64886dd0847341800d7191ed193b75413be998 +876a48fb56473c7c844baa697906d461c0675f47 diff --git a/services/auditlog/src/stackit/auditlog/__init__.py b/services/auditlog/src/stackit/auditlog/__init__.py index e79d727cb..954a47b28 100644 --- a/services/auditlog/src/stackit/auditlog/__init__.py +++ b/services/auditlog/src/stackit/auditlog/__init__.py @@ -3,16 +3,17 @@ # flake8: noqa """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 + __version__ = "1.0.0" # Define package exports diff --git a/services/auditlog/src/stackit/auditlog/api/default_api.py b/services/auditlog/src/stackit/auditlog/api/default_api.py index 607b5db32..918026ba0 100644 --- a/services/auditlog/src/stackit/auditlog/api/default_api.py +++ b/services/auditlog/src/stackit/auditlog/api/default_api.py @@ -1,16 +1,17 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 +import warnings from datetime import datetime from typing import Any, Dict, List, Optional, Tuple, Union from uuid import UUID @@ -82,7 +83,7 @@ def list_folder_audit_log_entries( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ListAuditLogEntriesResponse: - """Folder - Download audit log entries + """(Deprecated) Folder - Download audit log entries Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -117,6 +118,7 @@ def list_folder_audit_log_entries( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning) _param = self._list_folder_audit_log_entries_serialize( folder_id=folder_id, @@ -186,7 +188,7 @@ def list_folder_audit_log_entries_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[ListAuditLogEntriesResponse]: - """Folder - Download audit log entries + """(Deprecated) Folder - Download audit log entries Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -221,6 +223,7 @@ def list_folder_audit_log_entries_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning) _param = self._list_folder_audit_log_entries_serialize( folder_id=folder_id, @@ -290,7 +293,7 @@ def list_folder_audit_log_entries_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Folder - Download audit log entries + """(Deprecated) Folder - Download audit log entries Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -325,6 +328,7 @@ def list_folder_audit_log_entries_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning) _param = self._list_folder_audit_log_entries_serialize( folder_id=folder_id, @@ -470,7 +474,7 @@ def list_organization_audit_log_entries( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ListAuditLogEntriesResponse: - """Organization - Download audit log entries + """(Deprecated) Organization - Download audit log entries Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -505,6 +509,7 @@ def list_organization_audit_log_entries( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning) _param = self._list_organization_audit_log_entries_serialize( organization_id=organization_id, @@ -576,7 +581,7 @@ def list_organization_audit_log_entries_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[ListAuditLogEntriesResponse]: - """Organization - Download audit log entries + """(Deprecated) Organization - Download audit log entries Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -611,6 +616,7 @@ def list_organization_audit_log_entries_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning) _param = self._list_organization_audit_log_entries_serialize( organization_id=organization_id, @@ -682,7 +688,7 @@ def list_organization_audit_log_entries_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Organization - Download audit log entries + """(Deprecated) Organization - Download audit log entries Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -717,6 +723,7 @@ def list_organization_audit_log_entries_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning) _param = self._list_organization_audit_log_entries_serialize( organization_id=organization_id, @@ -860,7 +867,7 @@ def list_project_audit_log_entries( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ListAuditLogEntriesResponse: - """Project - Download audit log entries + """(Deprecated) Project - Download audit log entries Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -895,6 +902,7 @@ def list_project_audit_log_entries( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning) _param = self._list_project_audit_log_entries_serialize( project_id=project_id, @@ -964,7 +972,7 @@ def list_project_audit_log_entries_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[ListAuditLogEntriesResponse]: - """Project - Download audit log entries + """(Deprecated) Project - Download audit log entries Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -999,6 +1007,7 @@ def list_project_audit_log_entries_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning) _param = self._list_project_audit_log_entries_serialize( project_id=project_id, @@ -1068,7 +1077,7 @@ def list_project_audit_log_entries_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Project - Download audit log entries + """(Deprecated) Project - Download audit log entries Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days. @@ -1103,6 +1112,7 @@ def list_project_audit_log_entries_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning) _param = self._list_project_audit_log_entries_serialize( project_id=project_id, diff --git a/services/auditlog/src/stackit/auditlog/api_client.py b/services/auditlog/src/stackit/auditlog/api_client.py index 4d59890a9..b860e6ba9 100644 --- a/services/auditlog/src/stackit/auditlog/api_client.py +++ b/services/auditlog/src/stackit/auditlog/api_client.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import datetime @@ -36,6 +36,7 @@ ApiException, ) + RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] diff --git a/services/auditlog/src/stackit/auditlog/api_response.py b/services/auditlog/src/stackit/auditlog/api_response.py index ca801da0b..b3ba14a1d 100644 --- a/services/auditlog/src/stackit/auditlog/api_response.py +++ b/services/auditlog/src/stackit/auditlog/api_response.py @@ -6,6 +6,7 @@ from pydantic import BaseModel, Field, StrictBytes, StrictInt + T = TypeVar("T") diff --git a/services/auditlog/src/stackit/auditlog/configuration.py b/services/auditlog/src/stackit/auditlog/configuration.py index d7858d61a..cc52a6c6d 100644 --- a/services/auditlog/src/stackit/auditlog/configuration.py +++ b/services/auditlog/src/stackit/auditlog/configuration.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import sys @@ -18,6 +18,7 @@ import os + ServerVariablesT = Dict[str, str] diff --git a/services/auditlog/src/stackit/auditlog/exceptions.py b/services/auditlog/src/stackit/auditlog/exceptions.py index 04959f936..39a541599 100644 --- a/services/auditlog/src/stackit/auditlog/exceptions.py +++ b/services/auditlog/src/stackit/auditlog/exceptions.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from typing import Any, Optional diff --git a/services/auditlog/src/stackit/auditlog/models/__init__.py b/services/auditlog/src/stackit/auditlog/models/__init__.py index 437b22118..84a8e4641 100644 --- a/services/auditlog/src/stackit/auditlog/models/__init__.py +++ b/services/auditlog/src/stackit/auditlog/models/__init__.py @@ -2,14 +2,14 @@ # flake8: noqa """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 # import models into model package diff --git a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_context_response.py b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_context_response.py index 4ff6eaacb..b38a3b64e 100644 --- a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_context_response.py +++ b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_context_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_initiator_response.py b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_initiator_response.py index d06004dd4..1ab6a093f 100644 --- a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_initiator_response.py +++ b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_initiator_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_request_response.py b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_request_response.py index 501f3d471..4c6af4b71 100644 --- a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_request_response.py +++ b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_request_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_response.py b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_response.py index ab6c516d9..3b725967e 100644 --- a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_response.py +++ b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_service_account_delegation_info_response.py b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_service_account_delegation_info_response.py index 9c2c1fbd3..83b57e916 100644 --- a/services/auditlog/src/stackit/auditlog/models/audit_log_entry_service_account_delegation_info_response.py +++ b/services/auditlog/src/stackit/auditlog/models/audit_log_entry_service_account_delegation_info_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/error_response.py b/services/auditlog/src/stackit/auditlog/models/error_response.py index 942103944..6bf3ce7dc 100644 --- a/services/auditlog/src/stackit/auditlog/models/error_response.py +++ b/services/auditlog/src/stackit/auditlog/models/error_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/gateway_error_response.py b/services/auditlog/src/stackit/auditlog/models/gateway_error_response.py index bf5392367..36d8e24a7 100644 --- a/services/auditlog/src/stackit/auditlog/models/gateway_error_response.py +++ b/services/auditlog/src/stackit/auditlog/models/gateway_error_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/list_audit_log_entries_response.py b/services/auditlog/src/stackit/auditlog/models/list_audit_log_entries_response.py index b7acb1855..e0cbd478f 100644 --- a/services/auditlog/src/stackit/auditlog/models/list_audit_log_entries_response.py +++ b/services/auditlog/src/stackit/auditlog/models/list_audit_log_entries_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/models/service_account_delegation_info_principal_response.py b/services/auditlog/src/stackit/auditlog/models/service_account_delegation_info_principal_response.py index d242dc5db..195f41524 100644 --- a/services/auditlog/src/stackit/auditlog/models/service_account_delegation_info_principal_response.py +++ b/services/auditlog/src/stackit/auditlog/models/service_account_delegation_info_principal_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/auditlog/src/stackit/auditlog/rest.py b/services/auditlog/src/stackit/auditlog/rest.py index ed90fb9e9..c300c137e 100644 --- a/services/auditlog/src/stackit/auditlog/rest.py +++ b/services/auditlog/src/stackit/auditlog/rest.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Audit Log API + STACKIT Audit Log API -API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute. + **Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future. -The version of the OpenAPI document: 2.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import io @@ -21,6 +21,7 @@ from stackit.auditlog.exceptions import ApiException, ApiValueError + RESTResponseType = requests.Response