Skip to content

Commit b55830a

Browse files
Generate kms
1 parent 427b7e6 commit b55830a

File tree

1 file changed

+34
-10
lines changed

1 file changed

+34
-10
lines changed

services/kms/src/stackit/kms/api/default_api.py

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,7 @@ def delete_key(
13071307
"400": "HttpError",
13081308
"401": "HttpError",
13091309
"404": "HttpError",
1310+
"409": "HttpError",
13101311
"500": "HttpError",
13111312
}
13121313
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1383,6 +1384,7 @@ def delete_key_with_http_info(
13831384
"400": "HttpError",
13841385
"401": "HttpError",
13851386
"404": "HttpError",
1387+
"409": "HttpError",
13861388
"500": "HttpError",
13871389
}
13881390
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1459,6 +1461,7 @@ def delete_key_without_preload_content(
14591461
"400": "HttpError",
14601462
"401": "HttpError",
14611463
"404": "HttpError",
1464+
"409": "HttpError",
14621465
"500": "HttpError",
14631466
}
14641467
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1586,6 +1589,7 @@ def delete_key_ring(
15861589
"400": "HttpError",
15871590
"401": "HttpError",
15881591
"404": "HttpError",
1592+
"409": "HttpError",
15891593
"500": "HttpError",
15901594
}
15911595
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1658,6 +1662,7 @@ def delete_key_ring_with_http_info(
16581662
"400": "HttpError",
16591663
"401": "HttpError",
16601664
"404": "HttpError",
1665+
"409": "HttpError",
16611666
"500": "HttpError",
16621667
}
16631668
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1730,6 +1735,7 @@ def delete_key_ring_without_preload_content(
17301735
"400": "HttpError",
17311736
"401": "HttpError",
17321737
"404": "HttpError",
1738+
"409": "HttpError",
17331739
"500": "HttpError",
17341740
}
17351741
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1858,6 +1864,7 @@ def delete_wrapping_key(
18581864
"400": "HttpError",
18591865
"401": "HttpError",
18601866
"404": "HttpError",
1867+
"409": "HttpError",
18611868
"500": "HttpError",
18621869
}
18631870
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -1934,6 +1941,7 @@ def delete_wrapping_key_with_http_info(
19341941
"400": "HttpError",
19351942
"401": "HttpError",
19361943
"404": "HttpError",
1944+
"409": "HttpError",
19371945
"500": "HttpError",
19381946
}
19391947
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2010,6 +2018,7 @@ def delete_wrapping_key_without_preload_content(
20102018
"400": "HttpError",
20112019
"401": "HttpError",
20122020
"404": "HttpError",
2021+
"409": "HttpError",
20132022
"500": "HttpError",
20142023
}
20152024
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2145,6 +2154,7 @@ def destroy_version(
21452154
"400": "HttpError",
21462155
"401": "HttpError",
21472156
"404": "HttpError",
2157+
"409": "HttpError",
21482158
"500": "HttpError",
21492159
}
21502160
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2225,6 +2235,7 @@ def destroy_version_with_http_info(
22252235
"400": "HttpError",
22262236
"401": "HttpError",
22272237
"404": "HttpError",
2238+
"409": "HttpError",
22282239
"500": "HttpError",
22292240
}
22302241
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2305,6 +2316,7 @@ def destroy_version_without_preload_content(
23052316
"400": "HttpError",
23062317
"401": "HttpError",
23072318
"404": "HttpError",
2319+
"409": "HttpError",
23082320
"500": "HttpError",
23092321
}
23102322
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2443,6 +2455,7 @@ def disable_version(
24432455
"400": "HttpError",
24442456
"401": "HttpError",
24452457
"404": "HttpError",
2458+
"409": "HttpError",
24462459
"500": "HttpError",
24472460
}
24482461
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2523,6 +2536,7 @@ def disable_version_with_http_info(
25232536
"400": "HttpError",
25242537
"401": "HttpError",
25252538
"404": "HttpError",
2539+
"409": "HttpError",
25262540
"500": "HttpError",
25272541
}
25282542
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2603,6 +2617,7 @@ def disable_version_without_preload_content(
26032617
"400": "HttpError",
26042618
"401": "HttpError",
26052619
"404": "HttpError",
2620+
"409": "HttpError",
26062621
"500": "HttpError",
26072622
}
26082623
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2741,6 +2756,7 @@ def enable_version(
27412756
"400": "HttpError",
27422757
"401": "HttpError",
27432758
"404": "HttpError",
2759+
"409": "HttpError",
27442760
"500": "HttpError",
27452761
}
27462762
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2821,6 +2837,7 @@ def enable_version_with_http_info(
28212837
"400": "HttpError",
28222838
"401": "HttpError",
28232839
"404": "HttpError",
2840+
"409": "HttpError",
28242841
"500": "HttpError",
28252842
}
28262843
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -2901,6 +2918,7 @@ def enable_version_without_preload_content(
29012918
"400": "HttpError",
29022919
"401": "HttpError",
29032920
"404": "HttpError",
2921+
"409": "HttpError",
29042922
"500": "HttpError",
29052923
}
29062924
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -4441,7 +4459,7 @@ def import_key(
44414459
_content_type: Optional[StrictStr] = None,
44424460
_headers: Optional[Dict[StrictStr, Any]] = None,
44434461
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4444-
) -> Key:
4462+
) -> Version:
44454463
"""Import key
44464464
44474465
Imports a new version to the given key.
@@ -4491,7 +4509,7 @@ def import_key(
44914509
)
44924510

44934511
_response_types_map: Dict[str, Optional[str]] = {
4494-
"200": "Key",
4512+
"200": "Version",
44954513
"400": "HttpError",
44964514
"401": "HttpError",
44974515
"404": "HttpError",
@@ -4522,7 +4540,7 @@ def import_key_with_http_info(
45224540
_content_type: Optional[StrictStr] = None,
45234541
_headers: Optional[Dict[StrictStr, Any]] = None,
45244542
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4525-
) -> ApiResponse[Key]:
4543+
) -> ApiResponse[Version]:
45264544
"""Import key
45274545
45284546
Imports a new version to the given key.
@@ -4572,7 +4590,7 @@ def import_key_with_http_info(
45724590
)
45734591

45744592
_response_types_map: Dict[str, Optional[str]] = {
4575-
"200": "Key",
4593+
"200": "Version",
45764594
"400": "HttpError",
45774595
"401": "HttpError",
45784596
"404": "HttpError",
@@ -4653,7 +4671,7 @@ def import_key_without_preload_content(
46534671
)
46544672

46554673
_response_types_map: Dict[str, Optional[str]] = {
4656-
"200": "Key",
4674+
"200": "Version",
46574675
"400": "HttpError",
46584676
"401": "HttpError",
46594677
"404": "HttpError",
@@ -5869,6 +5887,7 @@ def restore_key(
58695887
"400": "HttpError",
58705888
"401": "HttpError",
58715889
"404": "HttpError",
5890+
"409": "HttpError",
58725891
"500": "HttpError",
58735892
}
58745893
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -5945,6 +5964,7 @@ def restore_key_with_http_info(
59455964
"400": "HttpError",
59465965
"401": "HttpError",
59475966
"404": "HttpError",
5967+
"409": "HttpError",
59485968
"500": "HttpError",
59495969
}
59505970
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6021,6 +6041,7 @@ def restore_key_without_preload_content(
60216041
"400": "HttpError",
60226042
"401": "HttpError",
60236043
"404": "HttpError",
6044+
"409": "HttpError",
60246045
"500": "HttpError",
60256046
}
60266047
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6156,6 +6177,7 @@ def restore_version(
61566177
"400": "HttpError",
61576178
"401": "HttpError",
61586179
"404": "HttpError",
6180+
"409": "HttpError",
61596181
"500": "HttpError",
61606182
}
61616183
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6236,6 +6258,7 @@ def restore_version_with_http_info(
62366258
"400": "HttpError",
62376259
"401": "HttpError",
62386260
"404": "HttpError",
6261+
"409": "HttpError",
62396262
"500": "HttpError",
62406263
}
62416264
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6316,6 +6339,7 @@ def restore_version_without_preload_content(
63166339
"400": "HttpError",
63176340
"401": "HttpError",
63186341
"404": "HttpError",
6342+
"409": "HttpError",
63196343
"500": "HttpError",
63206344
}
63216345
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
@@ -6399,7 +6423,7 @@ def rotate_key(
63996423
_content_type: Optional[StrictStr] = None,
64006424
_headers: Optional[Dict[StrictStr, Any]] = None,
64016425
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6402-
) -> Key:
6426+
) -> Version:
64036427
"""Rotate key
64046428
64056429
Rotates the given key.
@@ -6446,7 +6470,7 @@ def rotate_key(
64466470
)
64476471

64486472
_response_types_map: Dict[str, Optional[str]] = {
6449-
"200": "Key",
6473+
"200": "Version",
64506474
"400": "HttpError",
64516475
"401": "HttpError",
64526476
"403": "HttpError",
@@ -6477,7 +6501,7 @@ def rotate_key_with_http_info(
64776501
_content_type: Optional[StrictStr] = None,
64786502
_headers: Optional[Dict[StrictStr, Any]] = None,
64796503
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6480-
) -> ApiResponse[Key]:
6504+
) -> ApiResponse[Version]:
64816505
"""Rotate key
64826506
64836507
Rotates the given key.
@@ -6524,7 +6548,7 @@ def rotate_key_with_http_info(
65246548
)
65256549

65266550
_response_types_map: Dict[str, Optional[str]] = {
6527-
"200": "Key",
6551+
"200": "Version",
65286552
"400": "HttpError",
65296553
"401": "HttpError",
65306554
"403": "HttpError",
@@ -6602,7 +6626,7 @@ def rotate_key_without_preload_content(
66026626
)
66036627

66046628
_response_types_map: Dict[str, Optional[str]] = {
6605-
"200": "Key",
6629+
"200": "Version",
66066630
"400": "HttpError",
66076631
"401": "HttpError",
66086632
"403": "HttpError",

0 commit comments

Comments
 (0)