basaltic-sdk-python 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- basaltic/__init__.py +26 -0
- basaltic/_client.py +136 -0
- basaltic/_common.py +284 -0
- basaltic/_transport.py +196 -0
- basaltic/_version.py +3 -0
- basaltic/auth.py +231 -0
- basaltic/client.py +144 -0
- basaltic/config.py +151 -0
- basaltic/errors.py +73 -0
- basaltic/models/__init__.py +17 -0
- basaltic/models/audit.py +85 -0
- basaltic/models/billing.py +284 -0
- basaltic/models/catalog.py +35 -0
- basaltic/models/certificate.py +127 -0
- basaltic/models/compute.py +905 -0
- basaltic/models/dns.py +256 -0
- basaltic/models/iam.py +736 -0
- basaltic/models/kms.py +157 -0
- basaltic/models/loadbalancer.py +574 -0
- basaltic/models/network.py +985 -0
- basaltic/models/quota.py +30 -0
- basaltic/models/secrets.py +136 -0
- basaltic/models/storage.py +789 -0
- basaltic/models/telemetry.py +393 -0
- basaltic/models/workspace.py +734 -0
- basaltic/py.typed +0 -0
- basaltic/response.py +152 -0
- basaltic/services/__init__.py +1 -0
- basaltic/services/audit.py +211 -0
- basaltic/services/billing.py +777 -0
- basaltic/services/catalog.py +172 -0
- basaltic/services/certificate.py +395 -0
- basaltic/services/compute.py +2395 -0
- basaltic/services/dns.py +1079 -0
- basaltic/services/iam.py +3405 -0
- basaltic/services/kms.py +742 -0
- basaltic/services/loadbalancer.py +1727 -0
- basaltic/services/network.py +4691 -0
- basaltic/services/quota.py +75 -0
- basaltic/services/secrets.py +550 -0
- basaltic/services/storage.py +3059 -0
- basaltic/services/telemetry.py +1316 -0
- basaltic/services/workspace.py +3899 -0
- basaltic_sdk_python-0.1.1.dist-info/METADATA +211 -0
- basaltic_sdk_python-0.1.1.dist-info/RECORD +47 -0
- basaltic_sdk_python-0.1.1.dist-info/WHEEL +4 -0
- basaltic_sdk_python-0.1.1.dist-info/licenses/LICENSE +202 -0
basaltic/models/iam.py
ADDED
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
"""Generated API models. Dictionary keys retain their wire names."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Literal, NotRequired, Required, TypeAlias, TypedDict
|
|
6
|
+
|
|
7
|
+
AssumeRoleRequestInput = TypedDict(
|
|
8
|
+
"AssumeRoleRequestInput",
|
|
9
|
+
{
|
|
10
|
+
"role": "Required[RoleReferenceInput]",
|
|
11
|
+
"duration_seconds": "NotRequired[int]",
|
|
12
|
+
"policy": "NotRequired[SessionPolicyDocumentInput]",
|
|
13
|
+
},
|
|
14
|
+
total=False,
|
|
15
|
+
)
|
|
16
|
+
RoleReferenceInput: TypeAlias = "str"
|
|
17
|
+
SessionPolicyDocumentInput = TypedDict(
|
|
18
|
+
"SessionPolicyDocumentInput",
|
|
19
|
+
{
|
|
20
|
+
"version": "Required[Literal['2024-01-01']]",
|
|
21
|
+
"statements": "Required[list[SessionPolicyStatementInput]]",
|
|
22
|
+
},
|
|
23
|
+
total=False,
|
|
24
|
+
)
|
|
25
|
+
SessionPolicyStatementInput = TypedDict(
|
|
26
|
+
"SessionPolicyStatementInput",
|
|
27
|
+
{
|
|
28
|
+
"sid": "NotRequired[str]",
|
|
29
|
+
"effect": "Required[Literal['allow', 'deny']]",
|
|
30
|
+
"actions": "NotRequired[list[str]]",
|
|
31
|
+
"not_actions": "NotRequired[list[str]]",
|
|
32
|
+
"resources": "NotRequired[list[str]]",
|
|
33
|
+
"not_resources": "NotRequired[list[str]]",
|
|
34
|
+
},
|
|
35
|
+
total=False,
|
|
36
|
+
)
|
|
37
|
+
AssumeRoleBody: TypeAlias = "AssumeRoleRequestInput"
|
|
38
|
+
AssumeRoleResponse2 = TypedDict(
|
|
39
|
+
"AssumeRoleResponse2",
|
|
40
|
+
{
|
|
41
|
+
"access_token": "NotRequired[str]",
|
|
42
|
+
"token_type": "NotRequired[str]",
|
|
43
|
+
"expires_in": "NotRequired[int]",
|
|
44
|
+
"access_key_id": "NotRequired[str]",
|
|
45
|
+
"secret_access_key": "NotRequired[str]",
|
|
46
|
+
"session_token": "NotRequired[str]",
|
|
47
|
+
"expiration": "NotRequired[str]",
|
|
48
|
+
"account_id": "NotRequired[str]",
|
|
49
|
+
"account_handle": "NotRequired[str]",
|
|
50
|
+
"role_id": "NotRequired[str]",
|
|
51
|
+
},
|
|
52
|
+
total=False,
|
|
53
|
+
)
|
|
54
|
+
AssumeRoleResponse: TypeAlias = "AssumeRoleResponse2"
|
|
55
|
+
AssumeRoleWithWebIdentityRequestInput = TypedDict(
|
|
56
|
+
"AssumeRoleWithWebIdentityRequestInput",
|
|
57
|
+
{
|
|
58
|
+
"web_identity_token": "Required[str]",
|
|
59
|
+
"role": "Required[RoleReferenceInput]",
|
|
60
|
+
"account": "Required[AccountReferenceInput]",
|
|
61
|
+
"session_name": "NotRequired[str]",
|
|
62
|
+
"duration_seconds": "NotRequired[int]",
|
|
63
|
+
},
|
|
64
|
+
total=False,
|
|
65
|
+
)
|
|
66
|
+
AccountReferenceInput: TypeAlias = "str"
|
|
67
|
+
AssumeRoleWithWebIdentityBody: TypeAlias = "AssumeRoleWithWebIdentityRequestInput"
|
|
68
|
+
AssumeRoleWithWebIdentityResponse: TypeAlias = "AssumeRoleResponse2"
|
|
69
|
+
RolePolicyAttachRequestInput = TypedDict(
|
|
70
|
+
"RolePolicyAttachRequestInput", {"policy": "Required[PolicyReferenceInput]"}, total=False
|
|
71
|
+
)
|
|
72
|
+
PolicyReferenceInput: TypeAlias = "str"
|
|
73
|
+
AttachRolePolicyBody: TypeAlias = "RolePolicyAttachRequestInput"
|
|
74
|
+
PolicyAttachRequestInput = TypedDict(
|
|
75
|
+
"PolicyAttachRequestInput", {"policy": "Required[PolicyReferenceInput]"}, total=False
|
|
76
|
+
)
|
|
77
|
+
AttachServiceAccountPolicyBody: TypeAlias = "PolicyAttachRequestInput"
|
|
78
|
+
OAuthAuthorizeRequestInput = TypedDict(
|
|
79
|
+
"OAuthAuthorizeRequestInput",
|
|
80
|
+
{
|
|
81
|
+
"client_id": "Required[str]",
|
|
82
|
+
"redirect_uri": "Required[str]",
|
|
83
|
+
"code_challenge": "Required[str]",
|
|
84
|
+
"code_challenge_method": "Required[Literal['S256']]",
|
|
85
|
+
"state": "NotRequired[str]",
|
|
86
|
+
"organization": "Required[OrganizationReferenceInput]",
|
|
87
|
+
},
|
|
88
|
+
total=False,
|
|
89
|
+
)
|
|
90
|
+
OrganizationReferenceInput: TypeAlias = "str"
|
|
91
|
+
AuthorizeOAuthClientBody: TypeAlias = "OAuthAuthorizeRequestInput"
|
|
92
|
+
OAuthAuthorizeResponse = TypedDict(
|
|
93
|
+
"OAuthAuthorizeResponse",
|
|
94
|
+
{"code": "NotRequired[str]", "redirect_to": "NotRequired[str]", "expires_in": "Required[int]"},
|
|
95
|
+
total=False,
|
|
96
|
+
)
|
|
97
|
+
AuthorizeOAuthClientResponse: TypeAlias = "OAuthAuthorizeResponse"
|
|
98
|
+
SSHKeyCreateRequestInput = TypedDict(
|
|
99
|
+
"SSHKeyCreateRequestInput",
|
|
100
|
+
{"name": "Required[str]", "public_key": "Required[str]", "expires_at": "NotRequired[str]"},
|
|
101
|
+
total=False,
|
|
102
|
+
)
|
|
103
|
+
CreatePersonalSSHKeyBody: TypeAlias = "SSHKeyCreateRequestInput"
|
|
104
|
+
CreatePersonalSSHKeyResult = TypedDict(
|
|
105
|
+
"CreatePersonalSSHKeyResult", {"ssh_key": "Required[SSHKey]"}, total=False
|
|
106
|
+
)
|
|
107
|
+
SSHKey = TypedDict(
|
|
108
|
+
"SSHKey",
|
|
109
|
+
{
|
|
110
|
+
"id": "Required[str]",
|
|
111
|
+
"crn": "Required[str]",
|
|
112
|
+
"name": "Required[str]",
|
|
113
|
+
"public_key": "Required[str]",
|
|
114
|
+
"fingerprint": "Required[str]",
|
|
115
|
+
"algorithm": "Required[str]",
|
|
116
|
+
"created_at": "Required[str]",
|
|
117
|
+
"expires_at": "NotRequired[str]",
|
|
118
|
+
},
|
|
119
|
+
total=False,
|
|
120
|
+
)
|
|
121
|
+
CreatePersonalSSHKeyResponse: TypeAlias = "CreatePersonalSSHKeyResult"
|
|
122
|
+
PolicyCreateRequestInput = TypedDict(
|
|
123
|
+
"PolicyCreateRequestInput",
|
|
124
|
+
{
|
|
125
|
+
"name": "Required[str]",
|
|
126
|
+
"description": "NotRequired[str]",
|
|
127
|
+
"tags": "NotRequired[TagsInput]",
|
|
128
|
+
"document": "Required[PolicyDocumentInput]",
|
|
129
|
+
},
|
|
130
|
+
total=False,
|
|
131
|
+
)
|
|
132
|
+
TagsInput: TypeAlias = "dict[str, str]"
|
|
133
|
+
PolicyDocumentInput = TypedDict(
|
|
134
|
+
"PolicyDocumentInput",
|
|
135
|
+
{
|
|
136
|
+
"version": "Required[Literal['2024-01-01']]",
|
|
137
|
+
"statements": "Required[list[PolicyStatementInput]]",
|
|
138
|
+
},
|
|
139
|
+
total=False,
|
|
140
|
+
)
|
|
141
|
+
PolicyStatementInput = TypedDict(
|
|
142
|
+
"PolicyStatementInput",
|
|
143
|
+
{
|
|
144
|
+
"sid": "NotRequired[str]",
|
|
145
|
+
"effect": "Required[Literal['allow', 'deny']]",
|
|
146
|
+
"actions": "NotRequired[list[str]]",
|
|
147
|
+
"not_actions": "NotRequired[list[str]]",
|
|
148
|
+
"resources": "NotRequired[list[str]]",
|
|
149
|
+
"not_resources": "NotRequired[list[str]]",
|
|
150
|
+
"conditions": "NotRequired[list[PolicyConditionInput]]",
|
|
151
|
+
},
|
|
152
|
+
total=False,
|
|
153
|
+
)
|
|
154
|
+
PolicyConditionInput = TypedDict(
|
|
155
|
+
"PolicyConditionInput",
|
|
156
|
+
{
|
|
157
|
+
"operator": "Required[Literal['equals', 'not_equals', 'starts_with', 'ends_with', 'contains', 'in', 'not_in', 'greater_than', 'less_than', 'greater_than_or_equals', 'less_than_or_equals', 'exists', 'not_exists', 'ip_address', 'not_ip_address']]",
|
|
158
|
+
"key": "Required[str]",
|
|
159
|
+
"values": "Required[list[str]]",
|
|
160
|
+
"set_operator": "NotRequired[Literal['for_all_values', 'for_any_value']]",
|
|
161
|
+
},
|
|
162
|
+
total=False,
|
|
163
|
+
)
|
|
164
|
+
CreatePolicyBody: TypeAlias = "PolicyCreateRequestInput"
|
|
165
|
+
CreatePolicyResult = TypedDict("CreatePolicyResult", {"policy": "NotRequired[Policy]"}, total=False)
|
|
166
|
+
Policy = TypedDict(
|
|
167
|
+
"Policy",
|
|
168
|
+
{
|
|
169
|
+
"id": "NotRequired[str]",
|
|
170
|
+
"crn": "NotRequired[str]",
|
|
171
|
+
"name": "NotRequired[str]",
|
|
172
|
+
"description": "NotRequired[str]",
|
|
173
|
+
"tags": "NotRequired[Tags]",
|
|
174
|
+
"is_system": "NotRequired[bool]",
|
|
175
|
+
"document": "NotRequired[PolicyDocument]",
|
|
176
|
+
"created_at": "NotRequired[str]",
|
|
177
|
+
"updated_at": "NotRequired[str]",
|
|
178
|
+
"account_id": "NotRequired[str]",
|
|
179
|
+
"account_handle": "NotRequired[str]",
|
|
180
|
+
},
|
|
181
|
+
total=False,
|
|
182
|
+
)
|
|
183
|
+
Tags: TypeAlias = "dict[str, str]"
|
|
184
|
+
PolicyDocument = TypedDict(
|
|
185
|
+
"PolicyDocument",
|
|
186
|
+
{"version": "Required[Literal['2024-01-01']]", "statements": "Required[list[PolicyStatement]]"},
|
|
187
|
+
total=False,
|
|
188
|
+
)
|
|
189
|
+
PolicyStatement = TypedDict(
|
|
190
|
+
"PolicyStatement",
|
|
191
|
+
{
|
|
192
|
+
"sid": "NotRequired[str]",
|
|
193
|
+
"effect": "Required[Literal['allow', 'deny']]",
|
|
194
|
+
"actions": "NotRequired[list[str]]",
|
|
195
|
+
"not_actions": "NotRequired[list[str]]",
|
|
196
|
+
"resources": "NotRequired[list[str]]",
|
|
197
|
+
"not_resources": "NotRequired[list[str]]",
|
|
198
|
+
"conditions": "NotRequired[list[PolicyCondition]]",
|
|
199
|
+
},
|
|
200
|
+
total=False,
|
|
201
|
+
)
|
|
202
|
+
PolicyCondition = TypedDict(
|
|
203
|
+
"PolicyCondition",
|
|
204
|
+
{
|
|
205
|
+
"operator": "Required[Literal['equals', 'not_equals', 'starts_with', 'ends_with', 'contains', 'in', 'not_in', 'greater_than', 'less_than', 'greater_than_or_equals', 'less_than_or_equals', 'exists', 'not_exists', 'ip_address', 'not_ip_address']]",
|
|
206
|
+
"key": "Required[str]",
|
|
207
|
+
"values": "Required[list[str]]",
|
|
208
|
+
"set_operator": "NotRequired[Literal['for_all_values', 'for_any_value']]",
|
|
209
|
+
},
|
|
210
|
+
total=False,
|
|
211
|
+
)
|
|
212
|
+
CreatePolicyResponse: TypeAlias = "CreatePolicyResult"
|
|
213
|
+
RoleCreateRequestInput = TypedDict(
|
|
214
|
+
"RoleCreateRequestInput",
|
|
215
|
+
{
|
|
216
|
+
"name": "Required[str]",
|
|
217
|
+
"description": "NotRequired[str]",
|
|
218
|
+
"tags": "NotRequired[TagsInput]",
|
|
219
|
+
"trust_policy": "NotRequired[TrustPolicyInput]",
|
|
220
|
+
},
|
|
221
|
+
total=False,
|
|
222
|
+
)
|
|
223
|
+
TrustPolicyInput = TypedDict(
|
|
224
|
+
"TrustPolicyInput",
|
|
225
|
+
{
|
|
226
|
+
"principals": "NotRequired[list[str]]",
|
|
227
|
+
"conditions": "NotRequired[list[PolicyConditionInput]]",
|
|
228
|
+
},
|
|
229
|
+
total=False,
|
|
230
|
+
)
|
|
231
|
+
CreateRoleBody: TypeAlias = "RoleCreateRequestInput"
|
|
232
|
+
CreateRoleResult = TypedDict("CreateRoleResult", {"role": "NotRequired[Role]"}, total=False)
|
|
233
|
+
Role = TypedDict(
|
|
234
|
+
"Role",
|
|
235
|
+
{
|
|
236
|
+
"id": "NotRequired[str]",
|
|
237
|
+
"crn": "NotRequired[str]",
|
|
238
|
+
"name": "NotRequired[str]",
|
|
239
|
+
"description": "NotRequired[str]",
|
|
240
|
+
"tags": "NotRequired[Tags]",
|
|
241
|
+
"trust_policy": "NotRequired[TrustPolicy]",
|
|
242
|
+
"created_at": "NotRequired[str]",
|
|
243
|
+
"updated_at": "NotRequired[str]",
|
|
244
|
+
"account_id": "NotRequired[str]",
|
|
245
|
+
"account_handle": "NotRequired[str]",
|
|
246
|
+
"is_system": "NotRequired[bool]",
|
|
247
|
+
"builtin_kind": "NotRequired[Literal['administrator', 'readonly']]",
|
|
248
|
+
},
|
|
249
|
+
total=False,
|
|
250
|
+
)
|
|
251
|
+
TrustPolicy = TypedDict(
|
|
252
|
+
"TrustPolicy",
|
|
253
|
+
{"principals": "NotRequired[list[str]]", "conditions": "NotRequired[list[PolicyCondition]]"},
|
|
254
|
+
total=False,
|
|
255
|
+
)
|
|
256
|
+
CreateRoleResponse: TypeAlias = "CreateRoleResult"
|
|
257
|
+
ServiceAccountCreateRequestInput = TypedDict(
|
|
258
|
+
"ServiceAccountCreateRequestInput",
|
|
259
|
+
{"name": "Required[str]", "description": "NotRequired[str]", "tags": "NotRequired[TagsInput]"},
|
|
260
|
+
total=False,
|
|
261
|
+
)
|
|
262
|
+
CreateServiceAccountBody: TypeAlias = "ServiceAccountCreateRequestInput"
|
|
263
|
+
CreateServiceAccountResult = TypedDict(
|
|
264
|
+
"CreateServiceAccountResult", {"service_account": "NotRequired[ServiceAccount]"}, total=False
|
|
265
|
+
)
|
|
266
|
+
ServiceAccount = TypedDict(
|
|
267
|
+
"ServiceAccount",
|
|
268
|
+
{
|
|
269
|
+
"linux_identity": "NotRequired[LinuxIdentity]",
|
|
270
|
+
"id": "NotRequired[str]",
|
|
271
|
+
"crn": "NotRequired[str]",
|
|
272
|
+
"account_id": "NotRequired[str]",
|
|
273
|
+
"name": "NotRequired[str]",
|
|
274
|
+
"description": "NotRequired[str]",
|
|
275
|
+
"tags": "NotRequired[Tags]",
|
|
276
|
+
"enabled": "NotRequired[bool]",
|
|
277
|
+
"created_at": "NotRequired[str]",
|
|
278
|
+
"updated_at": "NotRequired[str]",
|
|
279
|
+
"account_handle": "NotRequired[str]",
|
|
280
|
+
},
|
|
281
|
+
total=False,
|
|
282
|
+
)
|
|
283
|
+
LinuxIdentity = TypedDict(
|
|
284
|
+
"LinuxIdentity",
|
|
285
|
+
{
|
|
286
|
+
"home_directory": "Required[str]",
|
|
287
|
+
"username": "Required[str]",
|
|
288
|
+
"uid": "Required[int]",
|
|
289
|
+
"gid": "Required[int]",
|
|
290
|
+
},
|
|
291
|
+
total=False,
|
|
292
|
+
)
|
|
293
|
+
CreateServiceAccountResponse: TypeAlias = "CreateServiceAccountResult"
|
|
294
|
+
CredentialCreateRequestInput = TypedDict(
|
|
295
|
+
"CredentialCreateRequestInput",
|
|
296
|
+
{"name": "Required[str]", "expires_at": "NotRequired[str]"},
|
|
297
|
+
total=False,
|
|
298
|
+
)
|
|
299
|
+
CreateServiceAccountCredentialBody: TypeAlias = "CredentialCreateRequestInput"
|
|
300
|
+
CredentialCreateResponse = TypedDict(
|
|
301
|
+
"CredentialCreateResponse",
|
|
302
|
+
{"credential": "NotRequired[Credential]", "secret_access_key": "NotRequired[str]"},
|
|
303
|
+
total=False,
|
|
304
|
+
)
|
|
305
|
+
Credential = TypedDict(
|
|
306
|
+
"Credential",
|
|
307
|
+
{
|
|
308
|
+
"id": "NotRequired[str]",
|
|
309
|
+
"crn": "NotRequired[str]",
|
|
310
|
+
"name": "NotRequired[str]",
|
|
311
|
+
"access_key_id": "NotRequired[str]",
|
|
312
|
+
"last_used_at": "NotRequired[str | None]",
|
|
313
|
+
"expires_at": "NotRequired[str | None]",
|
|
314
|
+
"created_at": "NotRequired[str]",
|
|
315
|
+
},
|
|
316
|
+
total=False,
|
|
317
|
+
)
|
|
318
|
+
CreateServiceAccountCredentialResponse: TypeAlias = "CredentialCreateResponse"
|
|
319
|
+
CreateServiceAccountSSHKeyBody: TypeAlias = "SSHKeyCreateRequestInput"
|
|
320
|
+
CreateServiceAccountSSHKeyResult = TypedDict(
|
|
321
|
+
"CreateServiceAccountSSHKeyResult", {"ssh_key": "Required[SSHKey]"}, total=False
|
|
322
|
+
)
|
|
323
|
+
CreateServiceAccountSSHKeyResponse: TypeAlias = "CreateServiceAccountSSHKeyResult"
|
|
324
|
+
OAuthTokenRequestInput = TypedDict(
|
|
325
|
+
"OAuthTokenRequestInput",
|
|
326
|
+
{
|
|
327
|
+
"grant_type": "Required[Literal['client_credentials', 'authorization_code', 'refresh_token']]",
|
|
328
|
+
"client_id": "NotRequired[str]",
|
|
329
|
+
"client_secret": "NotRequired[str]",
|
|
330
|
+
"duration_seconds": "NotRequired[int]",
|
|
331
|
+
"code": "NotRequired[str]",
|
|
332
|
+
"code_verifier": "NotRequired[str]",
|
|
333
|
+
"redirect_uri": "NotRequired[str]",
|
|
334
|
+
"refresh_token": "NotRequired[str]",
|
|
335
|
+
},
|
|
336
|
+
total=False,
|
|
337
|
+
)
|
|
338
|
+
GetOAuthTokenBody: TypeAlias = "OAuthTokenRequestInput"
|
|
339
|
+
OAuthTokenResponse = TypedDict(
|
|
340
|
+
"OAuthTokenResponse",
|
|
341
|
+
{
|
|
342
|
+
"access_token": "Required[str]",
|
|
343
|
+
"token_type": "Required[Literal['Bearer']]",
|
|
344
|
+
"expires_in": "Required[int]",
|
|
345
|
+
"refresh_token": "NotRequired[str]",
|
|
346
|
+
},
|
|
347
|
+
total=False,
|
|
348
|
+
)
|
|
349
|
+
GetOAuthTokenResponse: TypeAlias = "OAuthTokenResponse"
|
|
350
|
+
GetPersonalLinuxIdentityResult = TypedDict(
|
|
351
|
+
"GetPersonalLinuxIdentityResult", {"linux_identity": "Required[LinuxIdentity]"}, total=False
|
|
352
|
+
)
|
|
353
|
+
GetPersonalLinuxIdentityResponse: TypeAlias = "GetPersonalLinuxIdentityResult"
|
|
354
|
+
GetPolicyResult = TypedDict("GetPolicyResult", {"policy": "NotRequired[Policy]"}, total=False)
|
|
355
|
+
GetPolicyResponse: TypeAlias = "GetPolicyResult"
|
|
356
|
+
GetPolicyResource: TypeAlias = "Policy"
|
|
357
|
+
GetPolicyScope = TypedDict("GetPolicyScope", {"limit": "NotRequired[int]"}, total=False)
|
|
358
|
+
GetRoleResult = TypedDict("GetRoleResult", {"role": "NotRequired[Role]"}, total=False)
|
|
359
|
+
GetRoleResponse: TypeAlias = "GetRoleResult"
|
|
360
|
+
GetRoleResource: TypeAlias = "Role"
|
|
361
|
+
GetRoleScope = TypedDict("GetRoleScope", {"limit": "NotRequired[int]"}, total=False)
|
|
362
|
+
InlinePolicyResponse = TypedDict(
|
|
363
|
+
"InlinePolicyResponse", {"inline_policy": "NotRequired[InlinePolicy]"}, total=False
|
|
364
|
+
)
|
|
365
|
+
InlinePolicy = TypedDict(
|
|
366
|
+
"InlinePolicy",
|
|
367
|
+
{
|
|
368
|
+
"crn": "Required[str]",
|
|
369
|
+
"id": "NotRequired[str]",
|
|
370
|
+
"principal_id": "NotRequired[str]",
|
|
371
|
+
"principal_type": "NotRequired[Literal['service_account', 'role']]",
|
|
372
|
+
"name": "NotRequired[str]",
|
|
373
|
+
"document": "NotRequired[PolicyDocument]",
|
|
374
|
+
"created_at": "NotRequired[str]",
|
|
375
|
+
"updated_at": "NotRequired[str]",
|
|
376
|
+
},
|
|
377
|
+
total=False,
|
|
378
|
+
)
|
|
379
|
+
GetRoleInlinePolicyResponse: TypeAlias = "InlinePolicyResponse"
|
|
380
|
+
GetRoleInlinePolicyResource: TypeAlias = "InlinePolicy"
|
|
381
|
+
GetRoleInlinePolicyScope = TypedDict("GetRoleInlinePolicyScope", {}, total=False)
|
|
382
|
+
PermissionBoundaryResponse = TypedDict(
|
|
383
|
+
"PermissionBoundaryResponse",
|
|
384
|
+
{"permission_boundary": "NotRequired[PermissionBoundary]"},
|
|
385
|
+
total=False,
|
|
386
|
+
)
|
|
387
|
+
PermissionBoundary = TypedDict(
|
|
388
|
+
"PermissionBoundary",
|
|
389
|
+
{
|
|
390
|
+
"principal_id": "NotRequired[str]",
|
|
391
|
+
"principal_type": "NotRequired[Literal['service_account', 'role']]",
|
|
392
|
+
"policy_id": "NotRequired[str]",
|
|
393
|
+
"policy_name": "NotRequired[str]",
|
|
394
|
+
"created_at": "NotRequired[str]",
|
|
395
|
+
},
|
|
396
|
+
total=False,
|
|
397
|
+
)
|
|
398
|
+
GetRolePermissionBoundaryResponse: TypeAlias = "PermissionBoundaryResponse"
|
|
399
|
+
STSSessionResponse = TypedDict(
|
|
400
|
+
"STSSessionResponse", {"sts_session": "NotRequired[STSSession]"}, total=False
|
|
401
|
+
)
|
|
402
|
+
STSSession = TypedDict(
|
|
403
|
+
"STSSession",
|
|
404
|
+
{
|
|
405
|
+
"id": "NotRequired[str]",
|
|
406
|
+
"role_id": "NotRequired[str]",
|
|
407
|
+
"principal_id": "NotRequired[str]",
|
|
408
|
+
"principal_type": "NotRequired[Literal['user', 'service_account', 'assumed_role']]",
|
|
409
|
+
"session_name": "NotRequired[str | None]",
|
|
410
|
+
"created_at": "NotRequired[str]",
|
|
411
|
+
"expires_at": "NotRequired[str]",
|
|
412
|
+
"last_used_at": "NotRequired[str | None]",
|
|
413
|
+
"revoked": "NotRequired[bool]",
|
|
414
|
+
"revoked_at": "NotRequired[str | None]",
|
|
415
|
+
"revoked_reason": "NotRequired[str | None]",
|
|
416
|
+
"source_ip": "NotRequired[str | None]",
|
|
417
|
+
"user_agent": "NotRequired[str | None]",
|
|
418
|
+
"account_id": "NotRequired[str]",
|
|
419
|
+
"account_handle": "NotRequired[str]",
|
|
420
|
+
"source_account_id": "NotRequired[str | None]",
|
|
421
|
+
"source_principal_type": "NotRequired[str | None]",
|
|
422
|
+
"source_principal_crn": "NotRequired[str | None]",
|
|
423
|
+
"parent_session_id": "NotRequired[str | None]",
|
|
424
|
+
"grant_type": "NotRequired[str]",
|
|
425
|
+
"crn": "NotRequired[str]",
|
|
426
|
+
},
|
|
427
|
+
total=False,
|
|
428
|
+
)
|
|
429
|
+
GetSTSSessionResponse: TypeAlias = "STSSessionResponse"
|
|
430
|
+
GetSTSSessionResource: TypeAlias = "STSSession"
|
|
431
|
+
GetSTSSessionScope = TypedDict(
|
|
432
|
+
"GetSTSSessionScope",
|
|
433
|
+
{
|
|
434
|
+
"role": "NotRequired[str]",
|
|
435
|
+
"principal": "NotRequired[str]",
|
|
436
|
+
"principal_type": "NotRequired[Literal['user', 'service_account', 'role', 'assumed_role']]",
|
|
437
|
+
"active_only": "NotRequired[bool]",
|
|
438
|
+
"limit": "NotRequired[int]",
|
|
439
|
+
},
|
|
440
|
+
total=False,
|
|
441
|
+
)
|
|
442
|
+
GetServiceAccountResult = TypedDict(
|
|
443
|
+
"GetServiceAccountResult", {"service_account": "NotRequired[ServiceAccount]"}, total=False
|
|
444
|
+
)
|
|
445
|
+
GetServiceAccountResponse: TypeAlias = "GetServiceAccountResult"
|
|
446
|
+
GetServiceAccountResource: TypeAlias = "ServiceAccount"
|
|
447
|
+
GetServiceAccountScope = TypedDict(
|
|
448
|
+
"GetServiceAccountScope", {"limit": "NotRequired[int]"}, total=False
|
|
449
|
+
)
|
|
450
|
+
GetServiceAccountInlinePolicyResponse: TypeAlias = "InlinePolicyResponse"
|
|
451
|
+
GetServiceAccountInlinePolicyResource: TypeAlias = "InlinePolicy"
|
|
452
|
+
GetServiceAccountInlinePolicyScope = TypedDict(
|
|
453
|
+
"GetServiceAccountInlinePolicyScope", {}, total=False
|
|
454
|
+
)
|
|
455
|
+
GetServiceAccountLinuxIdentityResult = TypedDict(
|
|
456
|
+
"GetServiceAccountLinuxIdentityResult",
|
|
457
|
+
{"linux_identity": "Required[LinuxIdentity]"},
|
|
458
|
+
total=False,
|
|
459
|
+
)
|
|
460
|
+
GetServiceAccountLinuxIdentityResponse: TypeAlias = "GetServiceAccountLinuxIdentityResult"
|
|
461
|
+
GetServiceAccountPermissionBoundaryResponse: TypeAlias = "PermissionBoundaryResponse"
|
|
462
|
+
ListPersonalSSHKeysResult = TypedDict(
|
|
463
|
+
"ListPersonalSSHKeysResult", {"ssh_keys": "Required[list[SSHKey]]"}, total=False
|
|
464
|
+
)
|
|
465
|
+
ListPersonalSSHKeysResponse: TypeAlias = "ListPersonalSSHKeysResult"
|
|
466
|
+
ListPersonalSSHKeysItem: TypeAlias = "SSHKey"
|
|
467
|
+
ListPoliciesParameters = TypedDict(
|
|
468
|
+
"ListPoliciesParameters",
|
|
469
|
+
{
|
|
470
|
+
"name": "NotRequired[str]",
|
|
471
|
+
"crn": "NotRequired[str]",
|
|
472
|
+
"limit": "NotRequired[int]",
|
|
473
|
+
"marker": "NotRequired[str]",
|
|
474
|
+
},
|
|
475
|
+
total=False,
|
|
476
|
+
)
|
|
477
|
+
ListPoliciesQuery: TypeAlias = "ListPoliciesParameters"
|
|
478
|
+
PolicyListResponse = TypedDict(
|
|
479
|
+
"PolicyListResponse",
|
|
480
|
+
{"policies": "NotRequired[list[Policy]]", "meta": "NotRequired[PaginationMeta]"},
|
|
481
|
+
total=False,
|
|
482
|
+
)
|
|
483
|
+
PaginationMeta = TypedDict(
|
|
484
|
+
"PaginationMeta",
|
|
485
|
+
{
|
|
486
|
+
"total": "NotRequired[int]",
|
|
487
|
+
"limit": "NotRequired[int]",
|
|
488
|
+
"marker": "NotRequired[str]",
|
|
489
|
+
"has_more": "NotRequired[bool]",
|
|
490
|
+
},
|
|
491
|
+
total=False,
|
|
492
|
+
)
|
|
493
|
+
ListPoliciesResponse: TypeAlias = "PolicyListResponse"
|
|
494
|
+
ListPoliciesItem: TypeAlias = "Policy"
|
|
495
|
+
ListPolicyRolesParameters = TypedDict(
|
|
496
|
+
"ListPolicyRolesParameters",
|
|
497
|
+
{
|
|
498
|
+
"name": "NotRequired[str]",
|
|
499
|
+
"crn": "NotRequired[str]",
|
|
500
|
+
"limit": "NotRequired[int]",
|
|
501
|
+
"marker": "NotRequired[str]",
|
|
502
|
+
},
|
|
503
|
+
total=False,
|
|
504
|
+
)
|
|
505
|
+
ListPolicyRolesQuery: TypeAlias = "ListPolicyRolesParameters"
|
|
506
|
+
PolicyRolesListResponse = TypedDict(
|
|
507
|
+
"PolicyRolesListResponse",
|
|
508
|
+
{"roles": "NotRequired[list[Role]]", "meta": "NotRequired[PaginationMeta]"},
|
|
509
|
+
total=False,
|
|
510
|
+
)
|
|
511
|
+
ListPolicyRolesResponse: TypeAlias = "PolicyRolesListResponse"
|
|
512
|
+
ListPolicyRolesItem: TypeAlias = "Role"
|
|
513
|
+
ListPolicyServiceAccountsParameters = TypedDict(
|
|
514
|
+
"ListPolicyServiceAccountsParameters",
|
|
515
|
+
{
|
|
516
|
+
"name": "NotRequired[str]",
|
|
517
|
+
"crn": "NotRequired[str]",
|
|
518
|
+
"limit": "NotRequired[int]",
|
|
519
|
+
"marker": "NotRequired[str]",
|
|
520
|
+
},
|
|
521
|
+
total=False,
|
|
522
|
+
)
|
|
523
|
+
ListPolicyServiceAccountsQuery: TypeAlias = "ListPolicyServiceAccountsParameters"
|
|
524
|
+
PolicyServiceAccountsListResponse = TypedDict(
|
|
525
|
+
"PolicyServiceAccountsListResponse",
|
|
526
|
+
{
|
|
527
|
+
"service_accounts": "NotRequired[list[ServiceAccount]]",
|
|
528
|
+
"meta": "NotRequired[PaginationMeta]",
|
|
529
|
+
},
|
|
530
|
+
total=False,
|
|
531
|
+
)
|
|
532
|
+
ListPolicyServiceAccountsResponse: TypeAlias = "PolicyServiceAccountsListResponse"
|
|
533
|
+
ListPolicyServiceAccountsItem: TypeAlias = "ServiceAccount"
|
|
534
|
+
ListRegionsParameters = TypedDict(
|
|
535
|
+
"ListRegionsParameters", {"name": "NotRequired[str]", "crn": "NotRequired[str]"}, total=False
|
|
536
|
+
)
|
|
537
|
+
ListRegionsQuery: TypeAlias = "ListRegionsParameters"
|
|
538
|
+
ListRegionsResult = TypedDict(
|
|
539
|
+
"ListRegionsResult",
|
|
540
|
+
{"regions": "Required[list[Region]]", "default": "Required[str]"},
|
|
541
|
+
total=False,
|
|
542
|
+
)
|
|
543
|
+
Region = TypedDict(
|
|
544
|
+
"Region",
|
|
545
|
+
{
|
|
546
|
+
"crn": "Required[str]",
|
|
547
|
+
"code": "Required[str]",
|
|
548
|
+
"name": "Required[str]",
|
|
549
|
+
"location": "Required[str]",
|
|
550
|
+
"country_code": "Required[str]",
|
|
551
|
+
"available": "Required[bool]",
|
|
552
|
+
"coming_soon": "Required[bool]",
|
|
553
|
+
},
|
|
554
|
+
total=False,
|
|
555
|
+
)
|
|
556
|
+
ListRegionsResponse: TypeAlias = "ListRegionsResult"
|
|
557
|
+
ListRegionsItem: TypeAlias = "Region"
|
|
558
|
+
ListRoleInlinePoliciesParameters = TypedDict(
|
|
559
|
+
"ListRoleInlinePoliciesParameters",
|
|
560
|
+
{"name": "NotRequired[str]", "crn": "NotRequired[str]"},
|
|
561
|
+
total=False,
|
|
562
|
+
)
|
|
563
|
+
ListRoleInlinePoliciesQuery: TypeAlias = "ListRoleInlinePoliciesParameters"
|
|
564
|
+
InlinePolicyListResponse = TypedDict(
|
|
565
|
+
"InlinePolicyListResponse", {"inline_policies": "NotRequired[list[InlinePolicy]]"}, total=False
|
|
566
|
+
)
|
|
567
|
+
ListRoleInlinePoliciesResponse: TypeAlias = "InlinePolicyListResponse"
|
|
568
|
+
ListRoleInlinePoliciesItem: TypeAlias = "InlinePolicy"
|
|
569
|
+
ListRolePoliciesParameters = TypedDict(
|
|
570
|
+
"ListRolePoliciesParameters",
|
|
571
|
+
{"name": "NotRequired[str]", "crn": "NotRequired[str]"},
|
|
572
|
+
total=False,
|
|
573
|
+
)
|
|
574
|
+
ListRolePoliciesQuery: TypeAlias = "ListRolePoliciesParameters"
|
|
575
|
+
RolePoliciesListResponse = TypedDict(
|
|
576
|
+
"RolePoliciesListResponse", {"policies": "NotRequired[list[Policy]]"}, total=False
|
|
577
|
+
)
|
|
578
|
+
ListRolePoliciesResponse: TypeAlias = "RolePoliciesListResponse"
|
|
579
|
+
ListRolePoliciesItem: TypeAlias = "Policy"
|
|
580
|
+
ListRolesParameters = TypedDict(
|
|
581
|
+
"ListRolesParameters",
|
|
582
|
+
{
|
|
583
|
+
"name": "NotRequired[str]",
|
|
584
|
+
"crn": "NotRequired[str]",
|
|
585
|
+
"limit": "NotRequired[int]",
|
|
586
|
+
"marker": "NotRequired[str]",
|
|
587
|
+
},
|
|
588
|
+
total=False,
|
|
589
|
+
)
|
|
590
|
+
ListRolesQuery: TypeAlias = "ListRolesParameters"
|
|
591
|
+
RoleListResponse = TypedDict(
|
|
592
|
+
"RoleListResponse",
|
|
593
|
+
{"roles": "NotRequired[list[Role]]", "meta": "NotRequired[PaginationMeta]"},
|
|
594
|
+
total=False,
|
|
595
|
+
)
|
|
596
|
+
ListRolesResponse: TypeAlias = "RoleListResponse"
|
|
597
|
+
ListRolesItem: TypeAlias = "Role"
|
|
598
|
+
ListSTSSessionsParameters = TypedDict(
|
|
599
|
+
"ListSTSSessionsParameters",
|
|
600
|
+
{
|
|
601
|
+
"name": "NotRequired[str]",
|
|
602
|
+
"crn": "NotRequired[str]",
|
|
603
|
+
"role": "NotRequired[str]",
|
|
604
|
+
"principal": "NotRequired[str]",
|
|
605
|
+
"principal_type": "NotRequired[Literal['user', 'service_account', 'role', 'assumed_role']]",
|
|
606
|
+
"active_only": "NotRequired[bool]",
|
|
607
|
+
"limit": "NotRequired[int]",
|
|
608
|
+
"marker": "NotRequired[str]",
|
|
609
|
+
},
|
|
610
|
+
total=False,
|
|
611
|
+
)
|
|
612
|
+
ListSTSSessionsQuery: TypeAlias = "ListSTSSessionsParameters"
|
|
613
|
+
STSSessionListResponse = TypedDict(
|
|
614
|
+
"STSSessionListResponse",
|
|
615
|
+
{"sts_sessions": "NotRequired[list[STSSession]]", "meta": "NotRequired[PaginationMeta]"},
|
|
616
|
+
total=False,
|
|
617
|
+
)
|
|
618
|
+
ListSTSSessionsResponse: TypeAlias = "STSSessionListResponse"
|
|
619
|
+
ListSTSSessionsItem: TypeAlias = "STSSession"
|
|
620
|
+
ListServiceAccountCredentialsParameters = TypedDict(
|
|
621
|
+
"ListServiceAccountCredentialsParameters",
|
|
622
|
+
{"name": "NotRequired[str]", "crn": "NotRequired[str]"},
|
|
623
|
+
total=False,
|
|
624
|
+
)
|
|
625
|
+
ListServiceAccountCredentialsQuery: TypeAlias = "ListServiceAccountCredentialsParameters"
|
|
626
|
+
CredentialListResponse = TypedDict(
|
|
627
|
+
"CredentialListResponse", {"credentials": "NotRequired[list[Credential]]"}, total=False
|
|
628
|
+
)
|
|
629
|
+
ListServiceAccountCredentialsResponse: TypeAlias = "CredentialListResponse"
|
|
630
|
+
ListServiceAccountCredentialsItem: TypeAlias = "Credential"
|
|
631
|
+
ListServiceAccountInlinePoliciesParameters = TypedDict(
|
|
632
|
+
"ListServiceAccountInlinePoliciesParameters",
|
|
633
|
+
{"name": "NotRequired[str]", "crn": "NotRequired[str]"},
|
|
634
|
+
total=False,
|
|
635
|
+
)
|
|
636
|
+
ListServiceAccountInlinePoliciesQuery: TypeAlias = "ListServiceAccountInlinePoliciesParameters"
|
|
637
|
+
ListServiceAccountInlinePoliciesResponse: TypeAlias = "InlinePolicyListResponse"
|
|
638
|
+
ListServiceAccountInlinePoliciesItem: TypeAlias = "InlinePolicy"
|
|
639
|
+
ListServiceAccountPoliciesParameters = TypedDict(
|
|
640
|
+
"ListServiceAccountPoliciesParameters",
|
|
641
|
+
{"name": "NotRequired[str]", "crn": "NotRequired[str]"},
|
|
642
|
+
total=False,
|
|
643
|
+
)
|
|
644
|
+
ListServiceAccountPoliciesQuery: TypeAlias = "ListServiceAccountPoliciesParameters"
|
|
645
|
+
PrincipalPoliciesListResponse = TypedDict(
|
|
646
|
+
"PrincipalPoliciesListResponse", {"policies": "NotRequired[list[Policy]]"}, total=False
|
|
647
|
+
)
|
|
648
|
+
ListServiceAccountPoliciesResponse: TypeAlias = "PrincipalPoliciesListResponse"
|
|
649
|
+
ListServiceAccountPoliciesItem: TypeAlias = "Policy"
|
|
650
|
+
ListServiceAccountSSHKeysResult = TypedDict(
|
|
651
|
+
"ListServiceAccountSSHKeysResult", {"ssh_keys": "Required[list[SSHKey]]"}, total=False
|
|
652
|
+
)
|
|
653
|
+
ListServiceAccountSSHKeysResponse: TypeAlias = "ListServiceAccountSSHKeysResult"
|
|
654
|
+
ListServiceAccountSSHKeysItem: TypeAlias = "SSHKey"
|
|
655
|
+
ListServiceAccountsParameters = TypedDict(
|
|
656
|
+
"ListServiceAccountsParameters",
|
|
657
|
+
{
|
|
658
|
+
"name": "NotRequired[str]",
|
|
659
|
+
"crn": "NotRequired[str]",
|
|
660
|
+
"limit": "NotRequired[int]",
|
|
661
|
+
"marker": "NotRequired[str]",
|
|
662
|
+
},
|
|
663
|
+
total=False,
|
|
664
|
+
)
|
|
665
|
+
ListServiceAccountsQuery: TypeAlias = "ListServiceAccountsParameters"
|
|
666
|
+
ServiceAccountListResponse = TypedDict(
|
|
667
|
+
"ServiceAccountListResponse",
|
|
668
|
+
{
|
|
669
|
+
"service_accounts": "NotRequired[list[ServiceAccount]]",
|
|
670
|
+
"meta": "NotRequired[PaginationMeta]",
|
|
671
|
+
},
|
|
672
|
+
total=False,
|
|
673
|
+
)
|
|
674
|
+
ListServiceAccountsResponse: TypeAlias = "ServiceAccountListResponse"
|
|
675
|
+
ListServiceAccountsItem: TypeAlias = "ServiceAccount"
|
|
676
|
+
PutInlinePolicyRequestInput = TypedDict(
|
|
677
|
+
"PutInlinePolicyRequestInput", {"document": "Required[PolicyDocumentInput]"}, total=False
|
|
678
|
+
)
|
|
679
|
+
PutRoleInlinePolicyBody: TypeAlias = "PutInlinePolicyRequestInput"
|
|
680
|
+
PutRoleInlinePolicyResponse: TypeAlias = "InlinePolicyResponse"
|
|
681
|
+
PutServiceAccountInlinePolicyBody: TypeAlias = "PutInlinePolicyRequestInput"
|
|
682
|
+
PutServiceAccountInlinePolicyResponse: TypeAlias = "InlinePolicyResponse"
|
|
683
|
+
OAuthRevokeRequestInput = TypedDict(
|
|
684
|
+
"OAuthRevokeRequestInput",
|
|
685
|
+
{"token": "Required[str]", "token_type_hint": "NotRequired[str]"},
|
|
686
|
+
total=False,
|
|
687
|
+
)
|
|
688
|
+
RevokeOAuthTokenBody: TypeAlias = "OAuthRevokeRequestInput"
|
|
689
|
+
RevokeSTSSessionRequest = TypedDict(
|
|
690
|
+
"RevokeSTSSessionRequest", {"reason": "NotRequired[str]"}, total=False
|
|
691
|
+
)
|
|
692
|
+
RevokeSTSSessionBody: TypeAlias = "RevokeSTSSessionRequest"
|
|
693
|
+
RevokeSTSSessionResponse: TypeAlias = "STSSessionResponse"
|
|
694
|
+
SetBoundaryRequestInput = TypedDict(
|
|
695
|
+
"SetBoundaryRequestInput", {"policy": "Required[PolicyReferenceInput]"}, total=False
|
|
696
|
+
)
|
|
697
|
+
SetRolePermissionBoundaryBody: TypeAlias = "SetBoundaryRequestInput"
|
|
698
|
+
SetServiceAccountPermissionBoundaryBody: TypeAlias = "SetBoundaryRequestInput"
|
|
699
|
+
PolicyUpdateRequestInput = TypedDict(
|
|
700
|
+
"PolicyUpdateRequestInput",
|
|
701
|
+
{
|
|
702
|
+
"description": "NotRequired[str]",
|
|
703
|
+
"tags": "NotRequired[TagsInput]",
|
|
704
|
+
"document": "NotRequired[PolicyDocumentInput]",
|
|
705
|
+
},
|
|
706
|
+
total=False,
|
|
707
|
+
)
|
|
708
|
+
UpdatePolicyBody: TypeAlias = "PolicyUpdateRequestInput"
|
|
709
|
+
UpdatePolicyResult = TypedDict("UpdatePolicyResult", {"policy": "NotRequired[Policy]"}, total=False)
|
|
710
|
+
UpdatePolicyResponse: TypeAlias = "UpdatePolicyResult"
|
|
711
|
+
RoleUpdateRequestInput = TypedDict(
|
|
712
|
+
"RoleUpdateRequestInput",
|
|
713
|
+
{
|
|
714
|
+
"description": "NotRequired[str]",
|
|
715
|
+
"tags": "NotRequired[TagsInput]",
|
|
716
|
+
"trust_policy": "NotRequired[TrustPolicyInput]",
|
|
717
|
+
},
|
|
718
|
+
total=False,
|
|
719
|
+
)
|
|
720
|
+
UpdateRoleBody: TypeAlias = "RoleUpdateRequestInput"
|
|
721
|
+
UpdateRoleResult = TypedDict("UpdateRoleResult", {"role": "NotRequired[Role]"}, total=False)
|
|
722
|
+
UpdateRoleResponse: TypeAlias = "UpdateRoleResult"
|
|
723
|
+
ServiceAccountUpdateRequestInput = TypedDict(
|
|
724
|
+
"ServiceAccountUpdateRequestInput",
|
|
725
|
+
{
|
|
726
|
+
"description": "NotRequired[str]",
|
|
727
|
+
"tags": "NotRequired[TagsInput]",
|
|
728
|
+
"enabled": "NotRequired[bool]",
|
|
729
|
+
},
|
|
730
|
+
total=False,
|
|
731
|
+
)
|
|
732
|
+
UpdateServiceAccountBody: TypeAlias = "ServiceAccountUpdateRequestInput"
|
|
733
|
+
UpdateServiceAccountResult = TypedDict(
|
|
734
|
+
"UpdateServiceAccountResult", {"service_account": "NotRequired[ServiceAccount]"}, total=False
|
|
735
|
+
)
|
|
736
|
+
UpdateServiceAccountResponse: TypeAlias = "UpdateServiceAccountResult"
|