@aws-sdk/client-account-access 3.1108.0
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 +201 -0
- package/README.md +258 -0
- package/dist-cjs/index.js +979 -0
- package/dist-es/AccountAccess.js +39 -0
- package/dist-es/AccountAccessClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateApplicationCommand.js +4 -0
- package/dist-es/commands/CreateEntitlementCommand.js +4 -0
- package/dist-es/commands/DeleteApplicationCommand.js +4 -0
- package/dist-es/commands/DeleteEntitlementCommand.js +4 -0
- package/dist-es/commands/GetApplicationCommand.js +4 -0
- package/dist-es/commands/GetEntitlementCommand.js +4 -0
- package/dist-es/commands/ListApplicationsCommand.js +4 -0
- package/dist-es/commands/ListEntitlementsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/AccountAccessServiceException.js +8 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +97 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/ListEntitlementsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +402 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForApplicationActive.js +49 -0
- package/dist-types/AccountAccess.d.ts +109 -0
- package/dist-types/AccountAccessClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +93 -0
- package/dist-types/commands/CreateEntitlementCommand.d.ts +103 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +84 -0
- package/dist-types/commands/DeleteEntitlementCommand.d.ts +88 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +99 -0
- package/dist-types/commands/GetEntitlementCommand.d.ts +102 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +92 -0
- package/dist-types/commands/ListEntitlementsCommand.d.ts +119 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +85 -0
- package/dist-types/commands/TagResourceCommand.d.ts +84 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AccountAccessServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/errors.d.ts +98 -0
- package/dist-types/models/models_0.d.ts +817 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEntitlementsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +69 -0
- package/dist-types/ts3.4/AccountAccess.d.ts +219 -0
- package/dist-types/ts3.4/AccountAccessClient.d.ts +164 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEntitlementCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEntitlementsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/AccountAccessServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +289 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEntitlementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +69 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForApplicationActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForApplicationActive.d.ts +15 -0
- package/package.json +69 -0
|
@@ -0,0 +1,817 @@
|
|
|
1
|
+
import type { ErrorCode, Status } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Specifies the IAM Identity Center instance to use as the identity source for an application.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface IdentityCenter {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ARN of the IAM Identity Center instance.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
instanceArn: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* <p>Specifies the identity source for an account access manager application.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type IdentitySource = IdentitySource.IdentityCenterMember | IdentitySource.$UnknownMember;
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace IdentitySource {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The IAM Identity Center instance to use as the identity source.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
interface IdentityCenterMember {
|
|
27
|
+
identityCenter: IdentityCenter;
|
|
28
|
+
$unknown?: never;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
interface $UnknownMember {
|
|
34
|
+
identityCenter?: never;
|
|
35
|
+
$unknown: [string, any];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated unused in schema-serde mode.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
interface Visitor<T> {
|
|
42
|
+
identityCenter: (value: IdentityCenter) => T;
|
|
43
|
+
_: (name: string, value: any) => T;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface CreateApplicationRequest {
|
|
50
|
+
/**
|
|
51
|
+
* <p>Specifies the identity source for the application. The identity source defines the IAM Identity Center instance that provides principals for entitlements.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
identitySource: IdentitySource | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>Specifies the tags to assign to the application.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
tags?: Record<string, string> | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export interface CreateApplicationResponse {
|
|
65
|
+
/**
|
|
66
|
+
* <p>The Amazon Resource Name (ARN) of the created application.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
applicationArn: string | undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>Identifies a user or group from IAM Identity Center.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type IdentityCenterPrincipal = IdentityCenterPrincipal.GroupIdMember | IdentityCenterPrincipal.UserIdMember | IdentityCenterPrincipal.$UnknownMember;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare namespace IdentityCenterPrincipal {
|
|
80
|
+
/**
|
|
81
|
+
* <p>The unique identifier of a user in IAM Identity Center.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
interface UserIdMember {
|
|
85
|
+
userId: string;
|
|
86
|
+
groupId?: never;
|
|
87
|
+
$unknown?: never;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>The unique identifier of a group in IAM Identity Center.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
interface GroupIdMember {
|
|
94
|
+
userId?: never;
|
|
95
|
+
groupId: string;
|
|
96
|
+
$unknown?: never;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
interface $UnknownMember {
|
|
102
|
+
userId?: never;
|
|
103
|
+
groupId?: never;
|
|
104
|
+
$unknown: [string, any];
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated unused in schema-serde mode.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
interface Visitor<T> {
|
|
111
|
+
userId: (value: string) => T;
|
|
112
|
+
groupId: (value: string) => T;
|
|
113
|
+
_: (name: string, value: any) => T;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>Identifies a principal (user or group) that can be granted entitlements.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type Principal = Principal.IdentityCenterMember | Principal.$UnknownMember;
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare namespace Principal {
|
|
125
|
+
/**
|
|
126
|
+
* <p>The IAM Identity Center principal (user or group).</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
interface IdentityCenterMember {
|
|
130
|
+
identityCenter: IdentityCenterPrincipal;
|
|
131
|
+
$unknown?: never;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
interface $UnknownMember {
|
|
137
|
+
identityCenter?: never;
|
|
138
|
+
$unknown: [string, any];
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated unused in schema-serde mode.
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
interface Visitor<T> {
|
|
145
|
+
identityCenter: (value: IdentityCenterPrincipal) => T;
|
|
146
|
+
_: (name: string, value: any) => T;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* <p>Specifies a principal-to-role entitlement that grants an IAM Identity Center principal permission to assume an IAM role.</p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export interface PrincipalRoleEntitlement {
|
|
154
|
+
/**
|
|
155
|
+
* <p>The principal (user or group) that is granted access to assume the IAM role.</p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
principal: Principal | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p>The ARN of the IAM role that the principal can assume.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
roleArn: string | undefined;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* <p>Specifies the entitlement configuration for an account access manager application, defining which principal can assume which IAM role.</p>
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export type Entitlement = Entitlement.PrincipalRoleMember | Entitlement.$UnknownMember;
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export declare namespace Entitlement {
|
|
174
|
+
/**
|
|
175
|
+
* <p>The principal-to-role mapping for the entitlement.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
interface PrincipalRoleMember {
|
|
179
|
+
principalRole: PrincipalRoleEntitlement;
|
|
180
|
+
$unknown?: never;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
interface $UnknownMember {
|
|
186
|
+
principalRole?: never;
|
|
187
|
+
$unknown: [string, any];
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @deprecated unused in schema-serde mode.
|
|
191
|
+
*
|
|
192
|
+
*/
|
|
193
|
+
interface Visitor<T> {
|
|
194
|
+
principalRole: (value: PrincipalRoleEntitlement) => T;
|
|
195
|
+
_: (name: string, value: any) => T;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export interface CreateEntitlementRequest {
|
|
202
|
+
/**
|
|
203
|
+
* <p>Specifies the ARN of the application to create the entitlement for.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
applicationArn: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* <p>Specifies the entitlement configuration, including the principal and the IAM role to grant access to.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
entitlement: Entitlement | undefined;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export interface CreateEntitlementResponse {
|
|
217
|
+
/**
|
|
218
|
+
* <p>The unique identifier of the created entitlement.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
entitlementId: string | undefined;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export interface DeleteApplicationRequest {
|
|
227
|
+
/**
|
|
228
|
+
* <p>Specifies the ARN of the application to delete.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
applicationArn: string | undefined;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
export interface DeleteApplicationResponse {
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface DeleteEntitlementRequest {
|
|
242
|
+
/**
|
|
243
|
+
* <p>Specifies the ARN of the application that the entitlement belongs to.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
applicationArn: string | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>Specifies the unique identifier of the entitlement to delete.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
entitlementId: string | undefined;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
export interface DeleteEntitlementResponse {
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export interface GetApplicationRequest {
|
|
262
|
+
/**
|
|
263
|
+
* <p>Specifies the ARN of the application to retrieve.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
applicationArn: string | undefined;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* <p>Contains information about an error that occurred during application processing.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export interface ErrorDetails {
|
|
273
|
+
/**
|
|
274
|
+
* <p>The error code that identifies the type of error.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
code: ErrorCode | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>A human-readable message that describes the error.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
message: string | undefined;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* <p>Contains detailed information about the IAM Identity Center configuration for an application.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
export interface IdentityCenterDetails {
|
|
289
|
+
/**
|
|
290
|
+
* <p>The ARN of the IAM Identity Center instance.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
instanceArn: string | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The ARN of the IAM Identity Center application created for this account access manager application.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
applicationArn?: string | undefined;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* <p>Contains detailed information about the identity source for an application.</p>
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
export type IdentitySourceDetails = IdentitySourceDetails.IdentityCenterMember | IdentitySourceDetails.$UnknownMember;
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export declare namespace IdentitySourceDetails {
|
|
309
|
+
/**
|
|
310
|
+
* <p>The IAM Identity Center configuration details for the identity source.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
interface IdentityCenterMember {
|
|
314
|
+
identityCenter: IdentityCenterDetails;
|
|
315
|
+
$unknown?: never;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
interface $UnknownMember {
|
|
321
|
+
identityCenter?: never;
|
|
322
|
+
$unknown: [string, any];
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @deprecated unused in schema-serde mode.
|
|
326
|
+
*
|
|
327
|
+
*/
|
|
328
|
+
interface Visitor<T> {
|
|
329
|
+
identityCenter: (value: IdentityCenterDetails) => T;
|
|
330
|
+
_: (name: string, value: any) => T;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
export interface GetApplicationResponse {
|
|
337
|
+
/**
|
|
338
|
+
* <p>The identity source details for the application, including the IAM Identity Center instance configuration.</p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
identitySource: IdentitySourceDetails | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The current status of the application.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
status: Status | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The tenant identifier associated with the application.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
tenantId?: string | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>The date and time when the application was created.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
createdAt: Date | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The date and time when the application was last updated.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
updatedAt: Date | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The tags associated with the application.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
tags?: Record<string, string> | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* <p>The error details if the application is in a failed state.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
error?: ErrorDetails | undefined;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface GetEntitlementRequest {
|
|
377
|
+
/**
|
|
378
|
+
* <p>Specifies the ARN of the application that the entitlement belongs to.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
applicationArn: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>Specifies the unique identifier of the entitlement to retrieve.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
entitlementId: string | undefined;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* <p>Contains detailed information about a principal-to-role entitlement, including the target account.</p>
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
export interface PrincipalRoleEntitlementDetails {
|
|
393
|
+
/**
|
|
394
|
+
* <p>The principal (user or group) that is granted access to assume the IAM role.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
principal: Principal | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* <p>The ARN of the IAM role that the principal can assume.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
roleArn: string | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The 12-digit Amazon Web Services account ID where the IAM role resides.</p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
account: string | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* <p>The friendly name of the Amazon Web Services account where the IAM role resides.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
accountName?: string | undefined;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* <p>Contains detailed information about an entitlement, including the principal, IAM role, and target account.</p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
export type EntitlementDetails = EntitlementDetails.PrincipalRoleMember | EntitlementDetails.$UnknownMember;
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export declare namespace EntitlementDetails {
|
|
423
|
+
/**
|
|
424
|
+
* <p>The principal-to-role mapping details for the entitlement, including the target account.</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
interface PrincipalRoleMember {
|
|
428
|
+
principalRole: PrincipalRoleEntitlementDetails;
|
|
429
|
+
$unknown?: never;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
interface $UnknownMember {
|
|
435
|
+
principalRole?: never;
|
|
436
|
+
$unknown: [string, any];
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* @deprecated unused in schema-serde mode.
|
|
440
|
+
*
|
|
441
|
+
*/
|
|
442
|
+
interface Visitor<T> {
|
|
443
|
+
principalRole: (value: PrincipalRoleEntitlementDetails) => T;
|
|
444
|
+
_: (name: string, value: any) => T;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
export interface GetEntitlementResponse {
|
|
451
|
+
/**
|
|
452
|
+
* <p>The ARN of the application that the entitlement belongs to.</p>
|
|
453
|
+
* @public
|
|
454
|
+
*/
|
|
455
|
+
applicationArn: string | undefined;
|
|
456
|
+
/**
|
|
457
|
+
* <p>The unique identifier of the entitlement.</p>
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
entitlementId: string | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* <p>The entitlement details, including the principal, IAM role, and target account.</p>
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
entitlement: EntitlementDetails | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* <p>The date and time when the entitlement was created.</p>
|
|
468
|
+
* @public
|
|
469
|
+
*/
|
|
470
|
+
createdAt: Date | undefined;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
*/
|
|
475
|
+
export interface ListApplicationsRequest {
|
|
476
|
+
/**
|
|
477
|
+
* <p>Specifies the maximum number of results to return in a single call.</p>
|
|
478
|
+
* @public
|
|
479
|
+
*/
|
|
480
|
+
maxResults?: number | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* <p>Specifies the pagination token from a previous call to retrieve the next set of results.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
nextToken?: string | undefined;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* <p>Contains summary information about an account access manager application.</p>
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export interface ApplicationSummary {
|
|
492
|
+
/**
|
|
493
|
+
* <p>The ARN of the application.</p>
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
applicationArn: string | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* <p>The tenant identifier associated with the application.</p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
tenantId?: string | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* <p>The date and time when the application was created.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
createdAt: Date | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* <p>The date and time when the application was last updated.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
updatedAt: Date | undefined;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
export interface ListApplicationsResponse {
|
|
517
|
+
/**
|
|
518
|
+
* <p>The list of applications.</p>
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
applications: ApplicationSummary[] | undefined;
|
|
522
|
+
/**
|
|
523
|
+
* <p>The pagination token to use in a subsequent request to retrieve the next set of results. This value is null when there are no more results to return.</p>
|
|
524
|
+
* @public
|
|
525
|
+
*/
|
|
526
|
+
nextToken?: string | undefined;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* <p>Specifies filter criteria for an IAM Identity Center principal.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
export type IdentityCenterPrincipalFilter = IdentityCenterPrincipalFilter.GroupIdMember | IdentityCenterPrincipalFilter.UserIdMember | IdentityCenterPrincipalFilter.$UnknownMember;
|
|
533
|
+
/**
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
export declare namespace IdentityCenterPrincipalFilter {
|
|
537
|
+
/**
|
|
538
|
+
* <p>The unique identifier of a user in IAM Identity Center to filter by.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
interface UserIdMember {
|
|
542
|
+
userId: string;
|
|
543
|
+
groupId?: never;
|
|
544
|
+
$unknown?: never;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* <p>The unique identifier of a group in IAM Identity Center to filter by.</p>
|
|
548
|
+
* @public
|
|
549
|
+
*/
|
|
550
|
+
interface GroupIdMember {
|
|
551
|
+
userId?: never;
|
|
552
|
+
groupId: string;
|
|
553
|
+
$unknown?: never;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
interface $UnknownMember {
|
|
559
|
+
userId?: never;
|
|
560
|
+
groupId?: never;
|
|
561
|
+
$unknown: [string, any];
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* @deprecated unused in schema-serde mode.
|
|
565
|
+
*
|
|
566
|
+
*/
|
|
567
|
+
interface Visitor<T> {
|
|
568
|
+
userId: (value: string) => T;
|
|
569
|
+
groupId: (value: string) => T;
|
|
570
|
+
_: (name: string, value: any) => T;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* <p>Specifies filter criteria for a principal.</p>
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
export type PrincipalFilter = PrincipalFilter.IdentityCenterMember | PrincipalFilter.$UnknownMember;
|
|
578
|
+
/**
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
export declare namespace PrincipalFilter {
|
|
582
|
+
/**
|
|
583
|
+
* <p>The IAM Identity Center principal filter criteria.</p>
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
interface IdentityCenterMember {
|
|
587
|
+
identityCenter: IdentityCenterPrincipalFilter;
|
|
588
|
+
$unknown?: never;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
interface $UnknownMember {
|
|
594
|
+
identityCenter?: never;
|
|
595
|
+
$unknown: [string, any];
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* @deprecated unused in schema-serde mode.
|
|
599
|
+
*
|
|
600
|
+
*/
|
|
601
|
+
interface Visitor<T> {
|
|
602
|
+
identityCenter: (value: IdentityCenterPrincipalFilter) => T;
|
|
603
|
+
_: (name: string, value: any) => T;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* <p>Specifies filter criteria for principal-to-role entitlements. All specified criteria must match for an entitlement to be returned.</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
export interface PrincipalRoleEntitlementFilter {
|
|
611
|
+
/**
|
|
612
|
+
* <p>The principal to filter entitlements by.</p>
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
615
|
+
principal?: PrincipalFilter | undefined;
|
|
616
|
+
/**
|
|
617
|
+
* <p>The IAM role ARN to filter entitlements by.</p>
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
roleArn?: string | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* <p>The 12-digit Amazon Web Services account ID to filter entitlements by.</p>
|
|
623
|
+
* @public
|
|
624
|
+
*/
|
|
625
|
+
account?: string | undefined;
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* <p>Specifies filter criteria for listing entitlements.</p>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export interface EntitlementFilter {
|
|
632
|
+
/**
|
|
633
|
+
* <p>The principal-to-role filter criteria for narrowing entitlement results.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
principalRole?: PrincipalRoleEntitlementFilter | undefined;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
export interface ListEntitlementsRequest {
|
|
642
|
+
/**
|
|
643
|
+
* <p>Specifies the ARN of the application to list entitlements for.</p>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
applicationArn: string | undefined;
|
|
647
|
+
/**
|
|
648
|
+
* <p>Specifies filter criteria to narrow the entitlements returned. You can filter by principal, IAM role, or account.</p>
|
|
649
|
+
* @public
|
|
650
|
+
*/
|
|
651
|
+
filter: EntitlementFilter | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* <p>Specifies the pagination token from a previous call to retrieve the next set of results.</p>
|
|
654
|
+
* @public
|
|
655
|
+
*/
|
|
656
|
+
nextToken?: string | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* <p>Specifies the maximum number of results to return in a single call.</p>
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
maxResults?: number | undefined;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* <p>Contains summary information about a principal-to-role entitlement.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
export interface PrincipalRoleEntitlementSummary {
|
|
668
|
+
/**
|
|
669
|
+
* <p>The principal (user or group) that is granted access to assume the IAM role.</p>
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
principal: Principal | undefined;
|
|
673
|
+
/**
|
|
674
|
+
* <p>The ARN of the IAM role that the principal can assume.</p>
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
roleArn: string | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* <p>The 12-digit Amazon Web Services account ID where the IAM role resides.</p>
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
account: string | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* <p>The friendly name of the Amazon Web Services account where the IAM role resides.</p>
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
accountName?: string | undefined;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* <p>Contains summary information about an entitlement.</p>
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
export type EntitlementSummary = EntitlementSummary.PrincipalRoleMember | EntitlementSummary.$UnknownMember;
|
|
694
|
+
/**
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
export declare namespace EntitlementSummary {
|
|
698
|
+
/**
|
|
699
|
+
* <p>The principal-to-role mapping summary for the entitlement.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
interface PrincipalRoleMember {
|
|
703
|
+
principalRole: PrincipalRoleEntitlementSummary;
|
|
704
|
+
$unknown?: never;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
interface $UnknownMember {
|
|
710
|
+
principalRole?: never;
|
|
711
|
+
$unknown: [string, any];
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* @deprecated unused in schema-serde mode.
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
interface Visitor<T> {
|
|
718
|
+
principalRole: (value: PrincipalRoleEntitlementSummary) => T;
|
|
719
|
+
_: (name: string, value: any) => T;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* <p>Contains information about an entitlement in a list result.</p>
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
export interface EntitlementsListMember {
|
|
727
|
+
/**
|
|
728
|
+
* <p>The unique identifier of the entitlement.</p>
|
|
729
|
+
* @public
|
|
730
|
+
*/
|
|
731
|
+
entitlementId: string | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* <p>The summary information for the entitlement.</p>
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
entitlement: EntitlementSummary | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* <p>The date and time when the entitlement was created.</p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
createdAt: Date | undefined;
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
export interface ListEntitlementsResponse {
|
|
747
|
+
/**
|
|
748
|
+
* <p>The list of entitlements for the specified application.</p>
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
entitlements: EntitlementsListMember[] | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* <p>The pagination token to use in a subsequent request to retrieve the next set of results. This value is null when there are no more results to return.</p>
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
nextToken?: string | undefined;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
export interface ListTagsForResourceRequest {
|
|
762
|
+
/**
|
|
763
|
+
* <p>Specifies the ARN of the resource to list tags for.</p>
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
resourceArn: string | undefined;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* @public
|
|
770
|
+
*/
|
|
771
|
+
export interface ListTagsForResourceResponse {
|
|
772
|
+
/**
|
|
773
|
+
* <p>The tags associated with the resource.</p>
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
tags?: Record<string, string> | undefined;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
export interface TagResourceRequest {
|
|
782
|
+
/**
|
|
783
|
+
* <p>Specifies the ARN of the resource to add tags to.</p>
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
resourceArn: string | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* <p>Specifies the tags to add to the resource.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
tags: Record<string, string> | undefined;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
export interface TagResourceResponse {
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
export interface UntagResourceRequest {
|
|
802
|
+
/**
|
|
803
|
+
* <p>Specifies the ARN of the resource to remove tags from.</p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
resourceArn: string | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* <p>Specifies the tag keys to remove from the resource.</p>
|
|
809
|
+
* @public
|
|
810
|
+
*/
|
|
811
|
+
tagKeys: string[] | undefined;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* @public
|
|
815
|
+
*/
|
|
816
|
+
export interface UntagResourceResponse {
|
|
817
|
+
}
|