@aionixone/client-iam 0.0.0-stage → 0.3.0-beta.3
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.
- package/LICENSE +202 -0
- package/NOTICE +11 -0
- package/dist/generated/catalog.d.ts +906 -0
- package/dist/generated/catalog.d.ts.map +1 -0
- package/dist/generated/catalog.js +879 -0
- package/dist/generated/catalog.js.map +1 -0
- package/dist/generated/index.d.ts +6 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +7 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/schema_types.d.ts +98 -0
- package/dist/generated/schema_types.d.ts.map +1 -0
- package/dist/generated/schema_types.js +3 -0
- package/dist/generated/schema_types.js.map +1 -0
- package/dist/generated/service.d.ts +943 -0
- package/dist/generated/service.d.ts.map +1 -0
- package/dist/generated/service.js +1230 -0
- package/dist/generated/service.js.map +1 -0
- package/dist/generated/trn.d.ts +76 -0
- package/dist/generated/trn.d.ts.map +1 -0
- package/dist/generated/trn.js +299 -0
- package/dist/generated/trn.js.map +1 -0
- package/dist/generated/types.d.ts +462 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +3 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +30 -4
- package/src/generated/catalog.ts +882 -0
- package/src/generated/index.ts +7 -0
- package/src/generated/schema_types.ts +99 -0
- package/src/generated/service.ts +1311 -0
- package/src/generated/trn.ts +431 -0
- package/src/generated/types.ts +532 -0
- package/src/index.ts +1 -0
- package/README.md +0 -3
|
@@ -0,0 +1,943 @@
|
|
|
1
|
+
import type { CallEngine, CallOptions, KeyedCallOptions } from '@aionixone/client-core';
|
|
2
|
+
import type { IamAccessGroupAccessGrantListQuery, IamAccessGroupAccessGrantListResponse, IamAccessGroupListQuery, IamAccessGroupListResponse, IamAccessGroupReadResponse, IamAccessGroupReferenceListQuery, IamAccessGroupReferenceListResponse, IamAccessPolicyListQuery, IamAccessPolicyListResponse, IamAccessPolicyReadResponse, IamAuthenticationOidcCodeExchangeResponse, IamAuthenticationOidcProviderListResponse, IamAuthenticationOidcStartResponse, IamAuthenticationPasswordLoginResponse, IamAuthenticationPasswordPolicyReadResponse, IamAuthenticationPasswordResetCompleteResponse, IamAuthorizationAccessPolicyTargetListQuery, IamAuthorizationAccessPolicyTargetListResponse, IamIdentityProviderCallbackEndpointReadResponse, IamIdentityProviderListQuery, IamIdentityProviderListResponse, IamIdentityProviderReadResponse, IamIdentityProviderSecretReplaceResponse, IamIdentityProviderSecretRevokeResponse, IamRoleBindingListQuery, IamRoleBindingListResponse, IamRoleBindingReadResponse, IamRoleListResponse, IamRoleReadResponse, IamServiceAccountAccessGrantListQuery, IamServiceAccountAccessGrantListResponse, IamServiceAccountAccessKeyIssueResponse, IamServiceAccountAccessKeyListQuery, IamServiceAccountAccessKeyListResponse, IamServiceAccountAccessKeyRevokeResponse, IamServiceAccountCredentialRevokeResponse, IamServiceAccountListQuery, IamServiceAccountListResponse, IamServiceAccountReadResponse, IamServiceAccountReferenceListQuery, IamServiceAccountReferenceListResponse, IamTenantAccessCheckResponse, IamTenantAccessGenerateResponse, IamTenantAuthorizationExplainResponse, IamTenantIamStatusReadResponse, IamTenantRenameResponse, IamUserAccessGrantListQuery, IamUserAccessGrantListResponse, IamUserActivateResponse, IamUserActivationReissueResponse, IamUserCreateResponse, IamUserCredentialRevokeResponse, IamUserCurrentAccessGrantListQuery, IamUserCurrentAccessGrantListResponse, IamUserCurrentReadResponse, IamUserDisableResponse, IamUserEnableResponse, IamUserExternalIdentityDisableResponse, IamUserExternalIdentityLinkStartResponse, IamUserExternalIdentityListResponse, IamUserListQuery, IamUserListResponse, IamUserLogoutResponse, IamUserPasswordReplaceResponse, IamUserPasswordResetStartResponse, IamUserReadResponse, IamUserRemovalBlockerListQuery, IamUserRemovalBlockerListResponse, IamUserRetireResponse } from './types.js';
|
|
3
|
+
import type { AccessCredentialId, ActivateUserWithPasswordRequest, ChangeOwnPasswordRequest, CompletePasswordResetRequest, ExchangeOidcCodeRequest, PasswordLoginRequest } from "@aionixone/client-types/authn";
|
|
4
|
+
import type { ResourceUid } from "@aionixone/client-types/core";
|
|
5
|
+
import type { CheckAccessRequest, CreatePendingUserRequest, ExplainAuthorizationRequest, GenerateAccessRequest, IamUserMutationRequest, IssueServiceAccountAccessKeyRequest, RevokeIdentityProviderSecretRequest, RevokeServiceAccountAccessKeyRequest, RevokeServiceAccountCredentialsRequest, RotateIdentityProviderSecretRequest, StartExternalIdentityLinkRequest, StartIamOidcLoginRequest, UpdateIamTenantDisplayNameRequest } from "@aionixone/client-types/iam";
|
|
6
|
+
/** The `iam` service. */
|
|
7
|
+
export declare class IamService {
|
|
8
|
+
readonly accessGroup: IamAccessGroupResource;
|
|
9
|
+
readonly accessPolicy: IamAccessPolicyResource;
|
|
10
|
+
readonly authentication: IamAuthenticationResource;
|
|
11
|
+
readonly authorization: IamAuthorizationResource;
|
|
12
|
+
readonly identityProvider: IamIdentityProviderResource;
|
|
13
|
+
readonly role: IamRoleResource;
|
|
14
|
+
readonly roleBinding: IamRoleBindingResource;
|
|
15
|
+
readonly serviceAccount: IamServiceAccountResource;
|
|
16
|
+
readonly tenant: IamTenantResource;
|
|
17
|
+
readonly user: IamUserResource;
|
|
18
|
+
/** Not part of the public API: `AionixOne` constructs every service. */
|
|
19
|
+
constructor(engine: CallEngine);
|
|
20
|
+
}
|
|
21
|
+
/** The `accessGroup` operations of the `iam` service. */
|
|
22
|
+
export declare class IamAccessGroupResource {
|
|
23
|
+
#private;
|
|
24
|
+
/** Not part of the public API. */
|
|
25
|
+
constructor(engine: CallEngine);
|
|
26
|
+
/**
|
|
27
|
+
* List AccessGroup access grants
|
|
28
|
+
*
|
|
29
|
+
* List one bounded page of the access grants that apply to one AccessGroup
|
|
30
|
+
*
|
|
31
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
32
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
33
|
+
*
|
|
34
|
+
* @param trn IAM resource TRN in the route path
|
|
35
|
+
* @param query The query, by wire names.
|
|
36
|
+
* @param options Call options.
|
|
37
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
38
|
+
*/
|
|
39
|
+
accessGrantList(trn: string, query?: IamAccessGroupAccessGrantListQuery, options?: CallOptions): Promise<IamAccessGroupAccessGrantListResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Every item of `iam.access-group.access_grant_list`, page after page, starting from `query`.
|
|
42
|
+
* Each page is one call with its own time budget and retries.
|
|
43
|
+
*
|
|
44
|
+
* @param trn IAM resource TRN in the route path
|
|
45
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
46
|
+
* @param options Call options of every page.
|
|
47
|
+
*/
|
|
48
|
+
accessGrantListIter(trn: string, query?: IamAccessGroupAccessGrantListQuery, options?: CallOptions): AsyncGenerator<IamAccessGroupAccessGrantListResponse['page']['items'][number], void, undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* List AccessGroup resources
|
|
51
|
+
*
|
|
52
|
+
* List the tenant's reconciled AccessGroup occurrences.
|
|
53
|
+
*
|
|
54
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
55
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
56
|
+
*
|
|
57
|
+
* @param query The query, by wire names.
|
|
58
|
+
* @param options Call options.
|
|
59
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
60
|
+
*/
|
|
61
|
+
list(query?: IamAccessGroupListQuery, options?: CallOptions): Promise<IamAccessGroupListResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Every item of `iam.access-group.list`, page after page, starting from `query`.
|
|
64
|
+
* Each page is one call with its own time budget and retries.
|
|
65
|
+
*
|
|
66
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
67
|
+
* @param options Call options of every page.
|
|
68
|
+
*/
|
|
69
|
+
listIter(query?: IamAccessGroupListQuery, options?: CallOptions): AsyncGenerator<IamAccessGroupListResponse['page']['items'][number], void, undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Read one AccessGroup
|
|
72
|
+
*
|
|
73
|
+
* Read one reconciled AccessGroup occurrence by TRN.
|
|
74
|
+
*
|
|
75
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
76
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
77
|
+
*
|
|
78
|
+
* @param trn IAM resource TRN in the route path
|
|
79
|
+
* @param options Call options.
|
|
80
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
81
|
+
*/
|
|
82
|
+
read(trn: string, options?: CallOptions): Promise<IamAccessGroupReadResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* List AccessGroup references
|
|
85
|
+
*
|
|
86
|
+
* List one bounded page of the active references that name one AccessGroup; they do not block deleting it
|
|
87
|
+
*
|
|
88
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
89
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
90
|
+
*
|
|
91
|
+
* @param trn IAM resource TRN in the route path
|
|
92
|
+
* @param query The query, by wire names.
|
|
93
|
+
* @param options Call options.
|
|
94
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
95
|
+
*/
|
|
96
|
+
referenceList(trn: string, query?: IamAccessGroupReferenceListQuery, options?: CallOptions): Promise<IamAccessGroupReferenceListResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Every item of `iam.access-group.reference_list`, page after page, starting from `query`.
|
|
99
|
+
* Each page is one call with its own time budget and retries.
|
|
100
|
+
*
|
|
101
|
+
* @param trn IAM resource TRN in the route path
|
|
102
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
103
|
+
* @param options Call options of every page.
|
|
104
|
+
*/
|
|
105
|
+
referenceListIter(trn: string, query?: IamAccessGroupReferenceListQuery, options?: CallOptions): AsyncGenerator<IamAccessGroupReferenceListResponse['page']['items'][number], void, undefined>;
|
|
106
|
+
}
|
|
107
|
+
/** The `accessPolicy` operations of the `iam` service. */
|
|
108
|
+
export declare class IamAccessPolicyResource {
|
|
109
|
+
#private;
|
|
110
|
+
/** Not part of the public API. */
|
|
111
|
+
constructor(engine: CallEngine);
|
|
112
|
+
/**
|
|
113
|
+
* List AccessPolicy resources
|
|
114
|
+
*
|
|
115
|
+
* List the tenant's reconciled AccessPolicy occurrences.
|
|
116
|
+
*
|
|
117
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
118
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
119
|
+
*
|
|
120
|
+
* @param query The query, by wire names.
|
|
121
|
+
* @param options Call options.
|
|
122
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
123
|
+
*/
|
|
124
|
+
list(query?: IamAccessPolicyListQuery, options?: CallOptions): Promise<IamAccessPolicyListResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Every item of `iam.access-policy.list`, page after page, starting from `query`.
|
|
127
|
+
* Each page is one call with its own time budget and retries.
|
|
128
|
+
*
|
|
129
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
130
|
+
* @param options Call options of every page.
|
|
131
|
+
*/
|
|
132
|
+
listIter(query?: IamAccessPolicyListQuery, options?: CallOptions): AsyncGenerator<IamAccessPolicyListResponse['page']['items'][number], void, undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Read one AccessPolicy
|
|
135
|
+
*
|
|
136
|
+
* Read one reconciled AccessPolicy occurrence by TRN.
|
|
137
|
+
*
|
|
138
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
139
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
140
|
+
*
|
|
141
|
+
* @param trn IAM resource TRN in the route path
|
|
142
|
+
* @param options Call options.
|
|
143
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
144
|
+
*/
|
|
145
|
+
read(trn: string, options?: CallOptions): Promise<IamAccessPolicyReadResponse>;
|
|
146
|
+
}
|
|
147
|
+
/** The `authentication` operations of the `iam` service. */
|
|
148
|
+
export declare class IamAuthenticationResource {
|
|
149
|
+
#private;
|
|
150
|
+
/** Not part of the public API. */
|
|
151
|
+
constructor(engine: CallEngine);
|
|
152
|
+
/**
|
|
153
|
+
* Exchange OIDC authorization code
|
|
154
|
+
*
|
|
155
|
+
* Consume one browser-bound or PKCE-bound IAM authorization code and issue the canonical credential
|
|
156
|
+
*
|
|
157
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
158
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
159
|
+
*
|
|
160
|
+
* @param body The request body.
|
|
161
|
+
* @param options Call options.
|
|
162
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
163
|
+
*/
|
|
164
|
+
oidcCodeExchange(body: ExchangeOidcCodeRequest, options?: CallOptions): Promise<IamAuthenticationOidcCodeExchangeResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* List OIDC login Providers
|
|
167
|
+
*
|
|
168
|
+
* List enabled human OIDC login Providers for one Tenant hint
|
|
169
|
+
*
|
|
170
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
171
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`.
|
|
172
|
+
*
|
|
173
|
+
* @param tenantId Untrusted Tenant routing hint verified against IAM proof state
|
|
174
|
+
* @param options Call options.
|
|
175
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
176
|
+
*/
|
|
177
|
+
oidcProviderList(tenantId: string, options?: CallOptions): Promise<IamAuthenticationOidcProviderListResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Start OIDC login
|
|
180
|
+
*
|
|
181
|
+
* Create one purpose-bound human OIDC login attempt
|
|
182
|
+
*
|
|
183
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
184
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
185
|
+
*
|
|
186
|
+
* @param tenantId Untrusted Tenant routing hint verified against IAM proof state
|
|
187
|
+
* @param body The request body.
|
|
188
|
+
* @param options Call options.
|
|
189
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
190
|
+
*/
|
|
191
|
+
oidcStart(tenantId: string, body: StartIamOidcLoginRequest, options?: CallOptions): Promise<IamAuthenticationOidcStartResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* Sign in with password
|
|
194
|
+
*
|
|
195
|
+
* Authenticate an active IAM User with its password
|
|
196
|
+
*
|
|
197
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
198
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Auth_IamPasswordPolicyViolation`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
199
|
+
*
|
|
200
|
+
* @param tenantId Untrusted Tenant routing hint verified against IAM proof state
|
|
201
|
+
* @param body The request body.
|
|
202
|
+
* @param options Call options.
|
|
203
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
204
|
+
*/
|
|
205
|
+
passwordLogin(tenantId: string, body: PasswordLoginRequest, options?: CallOptions): Promise<IamAuthenticationPasswordLoginResponse>;
|
|
206
|
+
/**
|
|
207
|
+
* Read password policy
|
|
208
|
+
*
|
|
209
|
+
* Read the deployment password-policy bounds stated to password-authoring surfaces
|
|
210
|
+
*
|
|
211
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
212
|
+
* Declared errors: `Internal_ServiceUnavailable`, `Internal_SystemError`.
|
|
213
|
+
*
|
|
214
|
+
* @param options Call options.
|
|
215
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
216
|
+
*/
|
|
217
|
+
passwordPolicyRead(options?: CallOptions): Promise<IamAuthenticationPasswordPolicyReadResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* Complete password reset
|
|
220
|
+
*
|
|
221
|
+
* Consume a password-reset proof and replace the User authenticator
|
|
222
|
+
*
|
|
223
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
224
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Auth_IamPasswordPolicyViolation`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
225
|
+
*
|
|
226
|
+
* @param tenantId Untrusted Tenant routing hint verified against IAM proof state
|
|
227
|
+
* @param body The request body.
|
|
228
|
+
* @param options Call options.
|
|
229
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
230
|
+
*/
|
|
231
|
+
passwordResetComplete(tenantId: string, body: CompletePasswordResetRequest, options?: CallOptions): Promise<IamAuthenticationPasswordResetCompleteResponse>;
|
|
232
|
+
}
|
|
233
|
+
/** The `authorization` operations of the `iam` service. */
|
|
234
|
+
export declare class IamAuthorizationResource {
|
|
235
|
+
#private;
|
|
236
|
+
/** Not part of the public API. */
|
|
237
|
+
constructor(engine: CallEngine);
|
|
238
|
+
/**
|
|
239
|
+
* List AccessPolicy targets
|
|
240
|
+
*
|
|
241
|
+
* List the contract-derived AccessPolicy target catalog
|
|
242
|
+
*
|
|
243
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
244
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`.
|
|
245
|
+
*
|
|
246
|
+
* @param query The query, by wire names.
|
|
247
|
+
* @param options Call options.
|
|
248
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
249
|
+
*/
|
|
250
|
+
accessPolicyTargetList(query?: IamAuthorizationAccessPolicyTargetListQuery, options?: CallOptions): Promise<IamAuthorizationAccessPolicyTargetListResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* Every item of `iam.authorization.access_policy_target_list`, page after page, starting from `query`.
|
|
253
|
+
* Each page is one call with its own time budget and retries.
|
|
254
|
+
*
|
|
255
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
256
|
+
* @param options Call options of every page.
|
|
257
|
+
*/
|
|
258
|
+
accessPolicyTargetListIter(query?: IamAuthorizationAccessPolicyTargetListQuery, options?: CallOptions): AsyncGenerator<IamAuthorizationAccessPolicyTargetListResponse['page']['items'][number], void, undefined>;
|
|
259
|
+
}
|
|
260
|
+
/** The `identityProvider` operations of the `iam` service. */
|
|
261
|
+
export declare class IamIdentityProviderResource {
|
|
262
|
+
#private;
|
|
263
|
+
/** Not part of the public API. */
|
|
264
|
+
constructor(engine: CallEngine);
|
|
265
|
+
/**
|
|
266
|
+
* Read the sign-in callback URL to register with identity providers
|
|
267
|
+
*
|
|
268
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
269
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`.
|
|
270
|
+
*
|
|
271
|
+
* @param options Call options.
|
|
272
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
273
|
+
*/
|
|
274
|
+
callbackEndpointRead(options?: CallOptions): Promise<IamIdentityProviderCallbackEndpointReadResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* List IdentityProvider resources
|
|
277
|
+
*
|
|
278
|
+
* List the tenant's reconciled IdentityProvider occurrences.
|
|
279
|
+
*
|
|
280
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
281
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
282
|
+
*
|
|
283
|
+
* @param query The query, by wire names.
|
|
284
|
+
* @param options Call options.
|
|
285
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
286
|
+
*/
|
|
287
|
+
list(query?: IamIdentityProviderListQuery, options?: CallOptions): Promise<IamIdentityProviderListResponse>;
|
|
288
|
+
/**
|
|
289
|
+
* Every item of `iam.identity-provider.list`, page after page, starting from `query`.
|
|
290
|
+
* Each page is one call with its own time budget and retries.
|
|
291
|
+
*
|
|
292
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
293
|
+
* @param options Call options of every page.
|
|
294
|
+
*/
|
|
295
|
+
listIter(query?: IamIdentityProviderListQuery, options?: CallOptions): AsyncGenerator<IamIdentityProviderListResponse['page']['items'][number], void, undefined>;
|
|
296
|
+
/**
|
|
297
|
+
* Read one IdentityProvider
|
|
298
|
+
*
|
|
299
|
+
* Read one reconciled IdentityProvider occurrence by TRN.
|
|
300
|
+
*
|
|
301
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
302
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
303
|
+
*
|
|
304
|
+
* @param trn IAM resource TRN in the route path
|
|
305
|
+
* @param options Call options.
|
|
306
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
307
|
+
*/
|
|
308
|
+
read(trn: string, options?: CallOptions): Promise<IamIdentityProviderReadResponse>;
|
|
309
|
+
/**
|
|
310
|
+
* Replace IdentityProvider client secret
|
|
311
|
+
*
|
|
312
|
+
* Replace encrypted client-secret material for one exact IdentityProvider occurrence
|
|
313
|
+
*
|
|
314
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
315
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Internal_PreconditionFailed`.
|
|
316
|
+
*
|
|
317
|
+
* @param trn IAM resource TRN in the route path
|
|
318
|
+
* @param body The request body.
|
|
319
|
+
* @param options Call options.
|
|
320
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
321
|
+
*/
|
|
322
|
+
secretReplace(trn: string, body: RotateIdentityProviderSecretRequest, options?: CallOptions): Promise<IamIdentityProviderSecretReplaceResponse>;
|
|
323
|
+
/**
|
|
324
|
+
* Revoke IdentityProvider client secret
|
|
325
|
+
*
|
|
326
|
+
* Revoke encrypted client-secret material for one exact IdentityProvider occurrence
|
|
327
|
+
*
|
|
328
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
329
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Internal_PreconditionFailed`, `Auth_IamLastHumanAdmin`.
|
|
330
|
+
*
|
|
331
|
+
* @param trn IAM resource TRN in the route path
|
|
332
|
+
* @param body The request body.
|
|
333
|
+
* @param options Call options.
|
|
334
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
335
|
+
*/
|
|
336
|
+
secretRevoke(trn: string, body: RevokeIdentityProviderSecretRequest, options?: CallOptions): Promise<IamIdentityProviderSecretRevokeResponse>;
|
|
337
|
+
}
|
|
338
|
+
/** The `role` operations of the `iam` service. */
|
|
339
|
+
export declare class IamRoleResource {
|
|
340
|
+
#private;
|
|
341
|
+
/** Not part of the public API. */
|
|
342
|
+
constructor(engine: CallEngine);
|
|
343
|
+
/**
|
|
344
|
+
* List system Roles
|
|
345
|
+
*
|
|
346
|
+
* List system Role definitions
|
|
347
|
+
*
|
|
348
|
+
* List the revisioned system Role catalog.
|
|
349
|
+
*
|
|
350
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
351
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_SystemError`.
|
|
352
|
+
*
|
|
353
|
+
* @param options Call options.
|
|
354
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
355
|
+
*/
|
|
356
|
+
list(options?: CallOptions): Promise<IamRoleListResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* Read a system Role
|
|
359
|
+
*
|
|
360
|
+
* Read one system Role definition
|
|
361
|
+
*
|
|
362
|
+
* Read one immutable system Role definition by name.
|
|
363
|
+
*
|
|
364
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
365
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_SystemError`, `Auth_RoleNotFound`.
|
|
366
|
+
*
|
|
367
|
+
* @param name System Role name such as tenant-admin or viewer
|
|
368
|
+
* @param options Call options.
|
|
369
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
370
|
+
*/
|
|
371
|
+
read(name: string, options?: CallOptions): Promise<IamRoleReadResponse>;
|
|
372
|
+
}
|
|
373
|
+
/** The `roleBinding` operations of the `iam` service. */
|
|
374
|
+
export declare class IamRoleBindingResource {
|
|
375
|
+
#private;
|
|
376
|
+
/** Not part of the public API. */
|
|
377
|
+
constructor(engine: CallEngine);
|
|
378
|
+
/**
|
|
379
|
+
* List RoleBinding resources
|
|
380
|
+
*
|
|
381
|
+
* List the tenant's reconciled RoleBinding occurrences.
|
|
382
|
+
*
|
|
383
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
384
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
385
|
+
*
|
|
386
|
+
* @param query The query, by wire names.
|
|
387
|
+
* @param options Call options.
|
|
388
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
389
|
+
*/
|
|
390
|
+
list(query?: IamRoleBindingListQuery, options?: CallOptions): Promise<IamRoleBindingListResponse>;
|
|
391
|
+
/**
|
|
392
|
+
* Every item of `iam.role-binding.list`, page after page, starting from `query`.
|
|
393
|
+
* Each page is one call with its own time budget and retries.
|
|
394
|
+
*
|
|
395
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
396
|
+
* @param options Call options of every page.
|
|
397
|
+
*/
|
|
398
|
+
listIter(query?: IamRoleBindingListQuery, options?: CallOptions): AsyncGenerator<IamRoleBindingListResponse['page']['items'][number], void, undefined>;
|
|
399
|
+
/**
|
|
400
|
+
* Read one RoleBinding
|
|
401
|
+
*
|
|
402
|
+
* Read one reconciled RoleBinding occurrence by TRN.
|
|
403
|
+
*
|
|
404
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
405
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
406
|
+
*
|
|
407
|
+
* @param trn IAM resource TRN in the route path
|
|
408
|
+
* @param options Call options.
|
|
409
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
410
|
+
*/
|
|
411
|
+
read(trn: string, options?: CallOptions): Promise<IamRoleBindingReadResponse>;
|
|
412
|
+
}
|
|
413
|
+
/** The `serviceAccount` operations of the `iam` service. */
|
|
414
|
+
export declare class IamServiceAccountResource {
|
|
415
|
+
#private;
|
|
416
|
+
/** Not part of the public API. */
|
|
417
|
+
constructor(engine: CallEngine);
|
|
418
|
+
/**
|
|
419
|
+
* List ServiceAccount access grants
|
|
420
|
+
*
|
|
421
|
+
* List one bounded page of the access grants that apply to one ServiceAccount
|
|
422
|
+
*
|
|
423
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
424
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
425
|
+
*
|
|
426
|
+
* @param trn IAM resource TRN in the route path
|
|
427
|
+
* @param query The query, by wire names.
|
|
428
|
+
* @param options Call options.
|
|
429
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
430
|
+
*/
|
|
431
|
+
accessGrantList(trn: string, query?: IamServiceAccountAccessGrantListQuery, options?: CallOptions): Promise<IamServiceAccountAccessGrantListResponse>;
|
|
432
|
+
/**
|
|
433
|
+
* Every item of `iam.service-account.access_grant_list`, page after page, starting from `query`.
|
|
434
|
+
* Each page is one call with its own time budget and retries.
|
|
435
|
+
*
|
|
436
|
+
* @param trn IAM resource TRN in the route path
|
|
437
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
438
|
+
* @param options Call options of every page.
|
|
439
|
+
*/
|
|
440
|
+
accessGrantListIter(trn: string, query?: IamServiceAccountAccessGrantListQuery, options?: CallOptions): AsyncGenerator<IamServiceAccountAccessGrantListResponse['page']['items'][number], void, undefined>;
|
|
441
|
+
/**
|
|
442
|
+
* Issue one ServiceAccount access key
|
|
443
|
+
*
|
|
444
|
+
* Issue service account access key
|
|
445
|
+
*
|
|
446
|
+
* Create one canonical IAM credential for an exact ServiceAccount occurrence and disclose its bearer secret once.
|
|
447
|
+
*
|
|
448
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
449
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamResourceNotFound`, `Auth_AuthProtectedResource`, `Auth_IamTenantRevisionConflict`, `Internal_PreconditionFailed`, `Product_CapabilityUnavailable`.
|
|
450
|
+
*
|
|
451
|
+
* @param trn IAM resource TRN in the route path
|
|
452
|
+
* @param body The request body.
|
|
453
|
+
* @param options Call options.
|
|
454
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
455
|
+
*/
|
|
456
|
+
accessKeyIssue(trn: string, body: IssueServiceAccountAccessKeyRequest, options?: CallOptions): Promise<IamServiceAccountAccessKeyIssueResponse>;
|
|
457
|
+
/**
|
|
458
|
+
* List ServiceAccount access keys
|
|
459
|
+
*
|
|
460
|
+
* List non-secret access-key metadata for one ServiceAccount occurrence
|
|
461
|
+
*
|
|
462
|
+
* List non-secret credential metadata for the current ServiceAccount occurrence.
|
|
463
|
+
*
|
|
464
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
465
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
466
|
+
*
|
|
467
|
+
* @param trn IAM ServiceAccount TRN in the route path
|
|
468
|
+
* @param query The query, by wire names.
|
|
469
|
+
* @param options Call options.
|
|
470
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
471
|
+
*/
|
|
472
|
+
accessKeyList(trn: string, query?: IamServiceAccountAccessKeyListQuery, options?: CallOptions): Promise<IamServiceAccountAccessKeyListResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* Every item of `iam.service-account.access_key_list`, page after page, starting from `query`.
|
|
475
|
+
* Each page is one call with its own time budget and retries.
|
|
476
|
+
*
|
|
477
|
+
* @param trn IAM ServiceAccount TRN in the route path
|
|
478
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
479
|
+
* @param options Call options of every page.
|
|
480
|
+
*/
|
|
481
|
+
accessKeyListIter(trn: string, query?: IamServiceAccountAccessKeyListQuery, options?: CallOptions): AsyncGenerator<IamServiceAccountAccessKeyListResponse['items'][number], void, undefined>;
|
|
482
|
+
/**
|
|
483
|
+
* Revoke one ServiceAccount access key
|
|
484
|
+
*
|
|
485
|
+
* Revoke service account access key
|
|
486
|
+
*
|
|
487
|
+
* Irreversibly revoke one canonical IAM credential without returning its secret.
|
|
488
|
+
*
|
|
489
|
+
* Replay: repeating it has no further effect; retried after an attempt with an unknown result.
|
|
490
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamResourceNotFound`, `Auth_AuthProtectedResource`, `Auth_IamTenantRevisionConflict`, `Internal_PreconditionFailed`, `Product_CapabilityUnavailable`.
|
|
491
|
+
*
|
|
492
|
+
* @param trn IAM ServiceAccount TRN in the route path
|
|
493
|
+
* @param credentialId Non-secret IAM access credential selector
|
|
494
|
+
* @param body The request body.
|
|
495
|
+
* @param options Call options.
|
|
496
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
497
|
+
*/
|
|
498
|
+
accessKeyRevoke(trn: string, credentialId: AccessCredentialId, body: RevokeServiceAccountAccessKeyRequest, options?: CallOptions): Promise<IamServiceAccountAccessKeyRevokeResponse>;
|
|
499
|
+
/**
|
|
500
|
+
* Revoke ServiceAccount credentials
|
|
501
|
+
*
|
|
502
|
+
* Revoke service account credentials
|
|
503
|
+
*
|
|
504
|
+
* Advance the security epoch of one exact ServiceAccount occurrence; the client supplies its ResourceUid, never an epoch.
|
|
505
|
+
*
|
|
506
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
507
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamResourceNotFound`, `Auth_AuthProtectedResource`, `Auth_IamTenantRevisionConflict`, `Internal_PreconditionFailed`, `Product_CapabilityUnavailable`.
|
|
508
|
+
*
|
|
509
|
+
* @param trn IAM resource TRN in the route path
|
|
510
|
+
* @param body The request body.
|
|
511
|
+
* @param options Call options.
|
|
512
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
513
|
+
*/
|
|
514
|
+
credentialRevoke(trn: string, body: RevokeServiceAccountCredentialsRequest, options?: CallOptions): Promise<IamServiceAccountCredentialRevokeResponse>;
|
|
515
|
+
/**
|
|
516
|
+
* List ServiceAccount resources
|
|
517
|
+
*
|
|
518
|
+
* List the tenant's reconciled ServiceAccount occurrences.
|
|
519
|
+
*
|
|
520
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
521
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
522
|
+
*
|
|
523
|
+
* @param query The query, by wire names.
|
|
524
|
+
* @param options Call options.
|
|
525
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
526
|
+
*/
|
|
527
|
+
list(query?: IamServiceAccountListQuery, options?: CallOptions): Promise<IamServiceAccountListResponse>;
|
|
528
|
+
/**
|
|
529
|
+
* Every item of `iam.service-account.list`, page after page, starting from `query`.
|
|
530
|
+
* Each page is one call with its own time budget and retries.
|
|
531
|
+
*
|
|
532
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
533
|
+
* @param options Call options of every page.
|
|
534
|
+
*/
|
|
535
|
+
listIter(query?: IamServiceAccountListQuery, options?: CallOptions): AsyncGenerator<IamServiceAccountListResponse['page']['items'][number], void, undefined>;
|
|
536
|
+
/**
|
|
537
|
+
* Read one ServiceAccount
|
|
538
|
+
*
|
|
539
|
+
* Read one reconciled ServiceAccount occurrence by TRN.
|
|
540
|
+
*
|
|
541
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
542
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`.
|
|
543
|
+
*
|
|
544
|
+
* @param trn IAM resource TRN in the route path
|
|
545
|
+
* @param options Call options.
|
|
546
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
547
|
+
*/
|
|
548
|
+
read(trn: string, options?: CallOptions): Promise<IamServiceAccountReadResponse>;
|
|
549
|
+
/**
|
|
550
|
+
* List ServiceAccount references
|
|
551
|
+
*
|
|
552
|
+
* List one bounded page of the active references that name one ServiceAccount; they do not block deleting it
|
|
553
|
+
*
|
|
554
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
555
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
556
|
+
*
|
|
557
|
+
* @param trn IAM resource TRN in the route path
|
|
558
|
+
* @param query The query, by wire names.
|
|
559
|
+
* @param options Call options.
|
|
560
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
561
|
+
*/
|
|
562
|
+
referenceList(trn: string, query?: IamServiceAccountReferenceListQuery, options?: CallOptions): Promise<IamServiceAccountReferenceListResponse>;
|
|
563
|
+
/**
|
|
564
|
+
* Every item of `iam.service-account.reference_list`, page after page, starting from `query`.
|
|
565
|
+
* Each page is one call with its own time budget and retries.
|
|
566
|
+
*
|
|
567
|
+
* @param trn IAM resource TRN in the route path
|
|
568
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
569
|
+
* @param options Call options of every page.
|
|
570
|
+
*/
|
|
571
|
+
referenceListIter(trn: string, query?: IamServiceAccountReferenceListQuery, options?: CallOptions): AsyncGenerator<IamServiceAccountReferenceListResponse['page']['items'][number], void, undefined>;
|
|
572
|
+
}
|
|
573
|
+
/** The `tenant` operations of the `iam` service. */
|
|
574
|
+
export declare class IamTenantResource {
|
|
575
|
+
#private;
|
|
576
|
+
/** Not part of the public API. */
|
|
577
|
+
constructor(engine: CallEngine);
|
|
578
|
+
/**
|
|
579
|
+
* Check service account access
|
|
580
|
+
*
|
|
581
|
+
* Check what one ServiceAccount is currently allowed against a list of requirements
|
|
582
|
+
*
|
|
583
|
+
* Check what one ServiceAccount is currently allowed against a list of operations and targets, through the same evaluator real authorization uses.
|
|
584
|
+
*
|
|
585
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
586
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamTenantNotInitialized`.
|
|
587
|
+
*
|
|
588
|
+
* @param body The request body.
|
|
589
|
+
* @param options Call options.
|
|
590
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
591
|
+
*/
|
|
592
|
+
accessCheck(body: CheckAccessRequest, options?: CallOptions): Promise<IamTenantAccessCheckResponse>;
|
|
593
|
+
/**
|
|
594
|
+
* Generate service account access
|
|
595
|
+
*
|
|
596
|
+
* Calculate the account and access policy drafts for a list of requirements
|
|
597
|
+
*
|
|
598
|
+
* Calculate the account and access policy drafts for a list of requirements. Writes nothing; apply the drafts through the existing resource path with their preconditions.
|
|
599
|
+
*
|
|
600
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
601
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamTenantNotInitialized`.
|
|
602
|
+
*
|
|
603
|
+
* @param body The request body.
|
|
604
|
+
* @param options Call options.
|
|
605
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
606
|
+
*/
|
|
607
|
+
accessGenerate(body: GenerateAccessRequest, options?: CallOptions): Promise<IamTenantAccessGenerateResponse>;
|
|
608
|
+
/**
|
|
609
|
+
* Explain current authorization
|
|
610
|
+
*
|
|
611
|
+
* Explain the authenticated caller's current authorization
|
|
612
|
+
*
|
|
613
|
+
* Explain the authenticated caller's current authorization for one operation and target; no caller-selected principal or snapshot is accepted.
|
|
614
|
+
*
|
|
615
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
616
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamTenantNotInitialized`.
|
|
617
|
+
*
|
|
618
|
+
* @param body The request body.
|
|
619
|
+
* @param options Call options.
|
|
620
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
621
|
+
*/
|
|
622
|
+
authorizationExplain(body: ExplainAuthorizationRequest, options?: CallOptions): Promise<IamTenantAuthorizationExplainResponse>;
|
|
623
|
+
/**
|
|
624
|
+
* Read IAM snapshot status
|
|
625
|
+
*
|
|
626
|
+
* Read the complete current IAM snapshot observation for audit and operations. Never a write precondition.
|
|
627
|
+
*
|
|
628
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
629
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantNotInitialized`.
|
|
630
|
+
*
|
|
631
|
+
* @param options Call options.
|
|
632
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
633
|
+
*/
|
|
634
|
+
iamStatusRead(options?: CallOptions): Promise<IamTenantIamStatusReadResponse>;
|
|
635
|
+
/**
|
|
636
|
+
* Rename tenant
|
|
637
|
+
*
|
|
638
|
+
* Replay: not idempotent; an attempt answered with `Internal_IdempotencyKeyReused` did not run.
|
|
639
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Internal_IdempotencyKeyReused`.
|
|
640
|
+
*
|
|
641
|
+
* @param body The request body.
|
|
642
|
+
* @param options Call options.
|
|
643
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
644
|
+
*/
|
|
645
|
+
rename(body: UpdateIamTenantDisplayNameRequest, options?: KeyedCallOptions): Promise<IamTenantRenameResponse>;
|
|
646
|
+
}
|
|
647
|
+
/** The `user` operations of the `iam` service. */
|
|
648
|
+
export declare class IamUserResource {
|
|
649
|
+
#private;
|
|
650
|
+
/** Not part of the public API. */
|
|
651
|
+
constructor(engine: CallEngine);
|
|
652
|
+
/**
|
|
653
|
+
* List IAM User access grants
|
|
654
|
+
*
|
|
655
|
+
* List one bounded page of the access grants that apply to one IAM User
|
|
656
|
+
*
|
|
657
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
658
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
659
|
+
*
|
|
660
|
+
* @param trn IAM User TRN in the route path
|
|
661
|
+
* @param query The query, by wire names.
|
|
662
|
+
* @param options Call options.
|
|
663
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
664
|
+
*/
|
|
665
|
+
accessGrantList(trn: string, query?: IamUserAccessGrantListQuery, options?: CallOptions): Promise<IamUserAccessGrantListResponse>;
|
|
666
|
+
/**
|
|
667
|
+
* Every item of `iam.user.access_grant_list`, page after page, starting from `query`.
|
|
668
|
+
* Each page is one call with its own time budget and retries.
|
|
669
|
+
*
|
|
670
|
+
* @param trn IAM User TRN in the route path
|
|
671
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
672
|
+
* @param options Call options of every page.
|
|
673
|
+
*/
|
|
674
|
+
accessGrantListIter(trn: string, query?: IamUserAccessGrantListQuery, options?: CallOptions): AsyncGenerator<IamUserAccessGrantListResponse['page']['items'][number], void, undefined>;
|
|
675
|
+
/**
|
|
676
|
+
* Activate IAM User
|
|
677
|
+
*
|
|
678
|
+
* Consume an activation proof and activate one pending IAM User
|
|
679
|
+
*
|
|
680
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
681
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Auth_IamPasswordPolicyViolation`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
682
|
+
*
|
|
683
|
+
* @param tenantId Untrusted Tenant routing hint verified against IAM proof state
|
|
684
|
+
* @param body The request body.
|
|
685
|
+
* @param options Call options.
|
|
686
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
687
|
+
*/
|
|
688
|
+
activate(tenantId: string, body: ActivateUserWithPasswordRequest, options?: CallOptions): Promise<IamUserActivateResponse>;
|
|
689
|
+
/**
|
|
690
|
+
* Reissue IAM User activation
|
|
691
|
+
*
|
|
692
|
+
* Reissue user activation
|
|
693
|
+
*
|
|
694
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
695
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`.
|
|
696
|
+
*
|
|
697
|
+
* @param trn IAM User TRN in the route path
|
|
698
|
+
* @param body The request body.
|
|
699
|
+
* @param options Call options.
|
|
700
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
701
|
+
*/
|
|
702
|
+
activationReissue(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserActivationReissueResponse>;
|
|
703
|
+
/**
|
|
704
|
+
* Create pending IAM User
|
|
705
|
+
*
|
|
706
|
+
* Create pending user
|
|
707
|
+
*
|
|
708
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
709
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_UserAlreadyExists`, `Auth_IamTenantRevisionConflict`, `Internal_IdempotencyKeyReused`, `License_UserCapacityExceeded`.
|
|
710
|
+
*
|
|
711
|
+
* @param body The request body.
|
|
712
|
+
* @param options Call options.
|
|
713
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
714
|
+
*/
|
|
715
|
+
create(body: CreatePendingUserRequest, options?: CallOptions): Promise<IamUserCreateResponse>;
|
|
716
|
+
/**
|
|
717
|
+
* Revoke IAM User credentials
|
|
718
|
+
*
|
|
719
|
+
* Revoke user credentials
|
|
720
|
+
*
|
|
721
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
722
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`.
|
|
723
|
+
*
|
|
724
|
+
* @param trn IAM User TRN in the route path
|
|
725
|
+
* @param body The request body.
|
|
726
|
+
* @param options Call options.
|
|
727
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
728
|
+
*/
|
|
729
|
+
credentialRevoke(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserCredentialRevokeResponse>;
|
|
730
|
+
/**
|
|
731
|
+
* List current IAM User access grants
|
|
732
|
+
*
|
|
733
|
+
* List one bounded page of the access grants that apply to the authenticated IAM User
|
|
734
|
+
*
|
|
735
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
736
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
737
|
+
*
|
|
738
|
+
* @param query The query, by wire names.
|
|
739
|
+
* @param options Call options.
|
|
740
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
741
|
+
*/
|
|
742
|
+
currentAccessGrantList(query?: IamUserCurrentAccessGrantListQuery, options?: CallOptions): Promise<IamUserCurrentAccessGrantListResponse>;
|
|
743
|
+
/**
|
|
744
|
+
* Every item of `iam.user.current_access_grant_list`, page after page, starting from `query`.
|
|
745
|
+
* Each page is one call with its own time budget and retries.
|
|
746
|
+
*
|
|
747
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
748
|
+
* @param options Call options of every page.
|
|
749
|
+
*/
|
|
750
|
+
currentAccessGrantListIter(query?: IamUserCurrentAccessGrantListQuery, options?: CallOptions): AsyncGenerator<IamUserCurrentAccessGrantListResponse['page']['items'][number], void, undefined>;
|
|
751
|
+
/**
|
|
752
|
+
* Read current IAM User
|
|
753
|
+
*
|
|
754
|
+
* Read the authenticated IAM User
|
|
755
|
+
*
|
|
756
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
757
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`.
|
|
758
|
+
*
|
|
759
|
+
* @param options Call options.
|
|
760
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
761
|
+
*/
|
|
762
|
+
currentRead(options?: CallOptions): Promise<IamUserCurrentReadResponse>;
|
|
763
|
+
/**
|
|
764
|
+
* Disable IAM User
|
|
765
|
+
*
|
|
766
|
+
* Disable user
|
|
767
|
+
*
|
|
768
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
769
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Auth_IamLastHumanAdmin`, `Auth_IamTenantRevisionConflict`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`, `License_UserCapacityExceeded`.
|
|
770
|
+
*
|
|
771
|
+
* @param trn IAM User TRN in the route path
|
|
772
|
+
* @param body The request body.
|
|
773
|
+
* @param options Call options.
|
|
774
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
775
|
+
*/
|
|
776
|
+
disable(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserDisableResponse>;
|
|
777
|
+
/**
|
|
778
|
+
* Enable IAM User
|
|
779
|
+
*
|
|
780
|
+
* Enable user
|
|
781
|
+
*
|
|
782
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
783
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Auth_IamLastHumanAdmin`, `Auth_IamTenantRevisionConflict`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`, `License_UserCapacityExceeded`.
|
|
784
|
+
*
|
|
785
|
+
* @param trn IAM User TRN in the route path
|
|
786
|
+
* @param body The request body.
|
|
787
|
+
* @param options Call options.
|
|
788
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
789
|
+
*/
|
|
790
|
+
enable(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserEnableResponse>;
|
|
791
|
+
/**
|
|
792
|
+
* Disable external identity
|
|
793
|
+
*
|
|
794
|
+
* Irreversibly disable one proof-created ExternalUserBinding occurrence
|
|
795
|
+
*
|
|
796
|
+
* Replay: repeating it has no further effect; retried after an attempt with an unknown result.
|
|
797
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_UserNotFound`, `Auth_IamResourceNotFound`, `Auth_IamLastHumanAdmin`, `Internal_PreconditionFailed`.
|
|
798
|
+
*
|
|
799
|
+
* @param trn IAM User TRN in the route path
|
|
800
|
+
* @param bindingResourceUid Non-reusable ExternalUserBinding occurrence identifier
|
|
801
|
+
* @param options Call options.
|
|
802
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
803
|
+
*/
|
|
804
|
+
externalIdentityDisable(trn: string, bindingResourceUid: ResourceUid, options?: CallOptions): Promise<IamUserExternalIdentityDisableResponse>;
|
|
805
|
+
/**
|
|
806
|
+
* Start external identity link
|
|
807
|
+
*
|
|
808
|
+
* Start one proof-bound OIDC link attempt for an exact IAM User occurrence
|
|
809
|
+
*
|
|
810
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
811
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_UserNotFound`, `Auth_IamResourceNotFound`, `Auth_IamAuthenticationProofInvalid`, `Internal_RateLimited`.
|
|
812
|
+
*
|
|
813
|
+
* @param trn IAM User TRN in the route path
|
|
814
|
+
* @param body The request body.
|
|
815
|
+
* @param options Call options.
|
|
816
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
817
|
+
*/
|
|
818
|
+
externalIdentityLinkStart(trn: string, body: StartExternalIdentityLinkRequest, options?: CallOptions): Promise<IamUserExternalIdentityLinkStartResponse>;
|
|
819
|
+
/**
|
|
820
|
+
* List external identities
|
|
821
|
+
*
|
|
822
|
+
* List proof-created external identities for one exact IAM User
|
|
823
|
+
*
|
|
824
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
825
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_UserNotFound`.
|
|
826
|
+
*
|
|
827
|
+
* @param trn IAM User TRN in the route path
|
|
828
|
+
* @param options Call options.
|
|
829
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
830
|
+
*/
|
|
831
|
+
externalIdentityList(trn: string, options?: CallOptions): Promise<IamUserExternalIdentityListResponse>;
|
|
832
|
+
/**
|
|
833
|
+
* List IAM Users
|
|
834
|
+
*
|
|
835
|
+
* List one bounded page of managed IAM Users
|
|
836
|
+
*
|
|
837
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
838
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamTenantRevisionConflict`.
|
|
839
|
+
*
|
|
840
|
+
* @param query The query, by wire names.
|
|
841
|
+
* @param options Call options.
|
|
842
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
843
|
+
*/
|
|
844
|
+
list(query?: IamUserListQuery, options?: CallOptions): Promise<IamUserListResponse>;
|
|
845
|
+
/**
|
|
846
|
+
* Every item of `iam.user.list`, page after page, starting from `query`.
|
|
847
|
+
* Each page is one call with its own time budget and retries.
|
|
848
|
+
*
|
|
849
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
850
|
+
* @param options Call options of every page.
|
|
851
|
+
*/
|
|
852
|
+
listIter(query?: IamUserListQuery, options?: CallOptions): AsyncGenerator<IamUserListResponse['page']['items'][number], void, undefined>;
|
|
853
|
+
/**
|
|
854
|
+
* Sign out
|
|
855
|
+
*
|
|
856
|
+
* Revoke the authenticated User's current IAM credential
|
|
857
|
+
*
|
|
858
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
859
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamAuthenticationProofInvalid`.
|
|
860
|
+
*
|
|
861
|
+
* @param options Call options.
|
|
862
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
863
|
+
*/
|
|
864
|
+
logout(options?: CallOptions): Promise<IamUserLogoutResponse>;
|
|
865
|
+
/**
|
|
866
|
+
* Change password
|
|
867
|
+
*
|
|
868
|
+
* Replace the authenticated User password and its current credential
|
|
869
|
+
*
|
|
870
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
871
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamAuthenticationProofInvalid`, `Auth_IamPasswordPolicyViolation`, `Internal_RateLimited`, `Product_CapabilityUnavailable`.
|
|
872
|
+
*
|
|
873
|
+
* @param body The request body.
|
|
874
|
+
* @param options Call options.
|
|
875
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
876
|
+
*/
|
|
877
|
+
passwordReplace(body: ChangeOwnPasswordRequest, options?: CallOptions): Promise<IamUserPasswordReplaceResponse>;
|
|
878
|
+
/**
|
|
879
|
+
* Start password reset
|
|
880
|
+
*
|
|
881
|
+
* Request user password reset
|
|
882
|
+
*
|
|
883
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
884
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`.
|
|
885
|
+
*
|
|
886
|
+
* @param trn IAM User TRN in the route path
|
|
887
|
+
* @param body The request body.
|
|
888
|
+
* @param options Call options.
|
|
889
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
890
|
+
*/
|
|
891
|
+
passwordResetStart(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserPasswordResetStartResponse>;
|
|
892
|
+
/**
|
|
893
|
+
* Read IAM User
|
|
894
|
+
*
|
|
895
|
+
* Read one exact managed IAM User
|
|
896
|
+
*
|
|
897
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
898
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_UserNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
899
|
+
*
|
|
900
|
+
* @param trn IAM User TRN in the route path
|
|
901
|
+
* @param options Call options.
|
|
902
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
903
|
+
*/
|
|
904
|
+
read(trn: string, options?: CallOptions): Promise<IamUserReadResponse>;
|
|
905
|
+
/**
|
|
906
|
+
* List IAM User removal blockers
|
|
907
|
+
*
|
|
908
|
+
* List one bounded page of the active references that block retiring one IAM User
|
|
909
|
+
*
|
|
910
|
+
* Replay: has no effect; retried after an attempt with an unknown result.
|
|
911
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Auth_IamResourceNotFound`, `Auth_IamTenantRevisionConflict`.
|
|
912
|
+
*
|
|
913
|
+
* @param trn IAM User TRN in the route path
|
|
914
|
+
* @param query The query, by wire names.
|
|
915
|
+
* @param options Call options.
|
|
916
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
917
|
+
*/
|
|
918
|
+
removalBlockerList(trn: string, query?: IamUserRemovalBlockerListQuery, options?: CallOptions): Promise<IamUserRemovalBlockerListResponse>;
|
|
919
|
+
/**
|
|
920
|
+
* Every item of `iam.user.removal_blocker_list`, page after page, starting from `query`.
|
|
921
|
+
* Each page is one call with its own time budget and retries.
|
|
922
|
+
*
|
|
923
|
+
* @param trn IAM User TRN in the route path
|
|
924
|
+
* @param query The query of the first page; `limit` is the size of every page.
|
|
925
|
+
* @param options Call options of every page.
|
|
926
|
+
*/
|
|
927
|
+
removalBlockerListIter(trn: string, query?: IamUserRemovalBlockerListQuery, options?: CallOptions): AsyncGenerator<IamUserRemovalBlockerListResponse['page']['items'][number], void, undefined>;
|
|
928
|
+
/**
|
|
929
|
+
* Retire IAM User
|
|
930
|
+
*
|
|
931
|
+
* Retire user
|
|
932
|
+
*
|
|
933
|
+
* Replay: not declared; an attempt with an unknown result is not retried.
|
|
934
|
+
* Declared errors: `Internal_Unauthorized`, `Internal_PermissionDenied`, `Internal_ValidationFailed`, `Internal_ServiceUnavailable`, `Internal_SystemError`, `Internal_DatabaseError`, `Internal_DatabaseConnectionError`, `Internal_InvalidState`, `Internal_Conflict`, `Internal_PayloadTooLarge`, `Internal_UnsupportedMediaType`, `Auth_IamUserStateConflict`, `Auth_IamLastHumanAdmin`, `Auth_IamTenantRevisionConflict`, `Declarative_RemovalBlocked`, `Internal_PreconditionFailed`, `Internal_IdempotencyKeyReused`.
|
|
935
|
+
*
|
|
936
|
+
* @param trn IAM User TRN in the route path
|
|
937
|
+
* @param body The request body.
|
|
938
|
+
* @param options Call options.
|
|
939
|
+
* @throws {AionixCallError} when the call fails, summarized over its attempts.
|
|
940
|
+
*/
|
|
941
|
+
retire(trn: string, body: IamUserMutationRequest, options?: CallOptions): Promise<IamUserRetireResponse>;
|
|
942
|
+
}
|
|
943
|
+
//# sourceMappingURL=service.d.ts.map
|