@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,402 @@
|
|
|
1
|
+
const _ACE = "AlreadyCreatedException";
|
|
2
|
+
const _ADE = "AccessDeniedException";
|
|
3
|
+
const _AL = "ApplicationList";
|
|
4
|
+
const _AS = "ApplicationSummary";
|
|
5
|
+
const _CA = "CreateApplication";
|
|
6
|
+
const _CAR = "CreateApplicationRequest";
|
|
7
|
+
const _CARr = "CreateApplicationResponse";
|
|
8
|
+
const _CE = "ConflictException";
|
|
9
|
+
const _CER = "CreateEntitlementRequest";
|
|
10
|
+
const _CERr = "CreateEntitlementResponse";
|
|
11
|
+
const _CEr = "CreateEntitlement";
|
|
12
|
+
const _DA = "DeleteApplication";
|
|
13
|
+
const _DAR = "DeleteApplicationRequest";
|
|
14
|
+
const _DARe = "DeleteApplicationResponse";
|
|
15
|
+
const _DE = "DeleteEntitlement";
|
|
16
|
+
const _DER = "DeleteEntitlementRequest";
|
|
17
|
+
const _DERe = "DeleteEntitlementResponse";
|
|
18
|
+
const _E = "Entitlement";
|
|
19
|
+
const _ED = "ErrorDetails";
|
|
20
|
+
const _EDn = "EntitlementDetails";
|
|
21
|
+
const _EF = "EntitlementFilter";
|
|
22
|
+
const _EL = "EntitlementsList";
|
|
23
|
+
const _ELM = "EntitlementsListMember";
|
|
24
|
+
const _ES = "EntitlementSummary";
|
|
25
|
+
const _GA = "GetApplication";
|
|
26
|
+
const _GAR = "GetApplicationRequest";
|
|
27
|
+
const _GARe = "GetApplicationResponse";
|
|
28
|
+
const _GE = "GetEntitlement";
|
|
29
|
+
const _GER = "GetEntitlementRequest";
|
|
30
|
+
const _GERe = "GetEntitlementResponse";
|
|
31
|
+
const _IC = "IdentityCenter";
|
|
32
|
+
const _ICD = "IdentityCenterDetails";
|
|
33
|
+
const _ICP = "IdentityCenterPrincipal";
|
|
34
|
+
const _ICPF = "IdentityCenterPrincipalFilter";
|
|
35
|
+
const _IS = "IdentitySource";
|
|
36
|
+
const _ISD = "IdentitySourceDetails";
|
|
37
|
+
const _ISE = "InternalServerException";
|
|
38
|
+
const _LA = "ListApplications";
|
|
39
|
+
const _LAR = "ListApplicationsRequest";
|
|
40
|
+
const _LARi = "ListApplicationsResponse";
|
|
41
|
+
const _LE = "ListEntitlements";
|
|
42
|
+
const _LER = "ListEntitlementsRequest";
|
|
43
|
+
const _LERi = "ListEntitlementsResponse";
|
|
44
|
+
const _LTFR = "ListTagsForResource";
|
|
45
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
46
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
47
|
+
const _P = "Principal";
|
|
48
|
+
const _PF = "PrincipalFilter";
|
|
49
|
+
const _PRE = "PrincipalRoleEntitlement";
|
|
50
|
+
const _PRED = "PrincipalRoleEntitlementDetails";
|
|
51
|
+
const _PREF = "PrincipalRoleEntitlementFilter";
|
|
52
|
+
const _PRES = "PrincipalRoleEntitlementSummary";
|
|
53
|
+
const _RNFE = "ResourceNotFoundException";
|
|
54
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
55
|
+
const _TE = "ThrottlingException";
|
|
56
|
+
const _TR = "TagResource";
|
|
57
|
+
const _TRR = "TagResourceRequest";
|
|
58
|
+
const _TRRa = "TagResourceResponse";
|
|
59
|
+
const _UR = "UntagResource";
|
|
60
|
+
const _URR = "UntagResourceRequest";
|
|
61
|
+
const _URRn = "UntagResourceResponse";
|
|
62
|
+
const _VE = "ValidationException";
|
|
63
|
+
const _a = "applications";
|
|
64
|
+
const _aA = "applicationArn";
|
|
65
|
+
const _aN = "accountName";
|
|
66
|
+
const _ac = "account";
|
|
67
|
+
const _c = "client";
|
|
68
|
+
const _cA = "createdAt";
|
|
69
|
+
const _co = "code";
|
|
70
|
+
const _e = "error";
|
|
71
|
+
const _eI = "entitlementId";
|
|
72
|
+
const _en = "entitlement";
|
|
73
|
+
const _ent = "entitlements";
|
|
74
|
+
const _f = "filter";
|
|
75
|
+
const _gI = "groupId";
|
|
76
|
+
const _h = "http";
|
|
77
|
+
const _hE = "httpError";
|
|
78
|
+
const _hQ = "httpQuery";
|
|
79
|
+
const _iA = "instanceArn";
|
|
80
|
+
const _iC = "identityCenter";
|
|
81
|
+
const _iS = "identitySource";
|
|
82
|
+
const _m = "message";
|
|
83
|
+
const _mR = "maxResults";
|
|
84
|
+
const _nT = "nextToken";
|
|
85
|
+
const _p = "principal";
|
|
86
|
+
const _pR = "principalRole";
|
|
87
|
+
const _rA = "resourceArn";
|
|
88
|
+
const _rAo = "roleArn";
|
|
89
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.accountaccess";
|
|
90
|
+
const _se = "server";
|
|
91
|
+
const _st = "status";
|
|
92
|
+
const _t = "tags";
|
|
93
|
+
const _tI = "tenantId";
|
|
94
|
+
const _tK = "tagKeys";
|
|
95
|
+
const _uA = "updatedAt";
|
|
96
|
+
const _uI = "userId";
|
|
97
|
+
const n0 = "com.amazonaws.accountaccess";
|
|
98
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
99
|
+
import { AccountAccessServiceException } from "../models/AccountAccessServiceException";
|
|
100
|
+
import { AccessDeniedException, AlreadyCreatedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
101
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
102
|
+
export var AccountAccessServiceException$ = [-3, _s, "AccountAccessServiceException", 0, [], []];
|
|
103
|
+
_s_registry.registerError(AccountAccessServiceException$, AccountAccessServiceException);
|
|
104
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
105
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
106
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
107
|
+
[_m],
|
|
108
|
+
[0]
|
|
109
|
+
];
|
|
110
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
111
|
+
export var AlreadyCreatedException$ = [-3, n0, _ACE,
|
|
112
|
+
{ [_e]: _c },
|
|
113
|
+
[_m],
|
|
114
|
+
[0]
|
|
115
|
+
];
|
|
116
|
+
n0_registry.registerError(AlreadyCreatedException$, AlreadyCreatedException);
|
|
117
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
118
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
119
|
+
[_m],
|
|
120
|
+
[0]
|
|
121
|
+
];
|
|
122
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
123
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
124
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
125
|
+
[_m],
|
|
126
|
+
[0]
|
|
127
|
+
];
|
|
128
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
129
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
130
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
131
|
+
[_m],
|
|
132
|
+
[0]
|
|
133
|
+
];
|
|
134
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
135
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
136
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
137
|
+
[_m],
|
|
138
|
+
[0]
|
|
139
|
+
];
|
|
140
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
141
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
142
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
143
|
+
[_m],
|
|
144
|
+
[0]
|
|
145
|
+
];
|
|
146
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
147
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
148
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
149
|
+
[_m],
|
|
150
|
+
[0]
|
|
151
|
+
];
|
|
152
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
153
|
+
export const errorTypeRegistries = [
|
|
154
|
+
_s_registry,
|
|
155
|
+
n0_registry,
|
|
156
|
+
];
|
|
157
|
+
export var ApplicationSummary$ = [3, n0, _AS,
|
|
158
|
+
0,
|
|
159
|
+
[_aA, _cA, _uA, _tI],
|
|
160
|
+
[0, 5, 5, 0], 3
|
|
161
|
+
];
|
|
162
|
+
export var CreateApplicationRequest$ = [3, n0, _CAR,
|
|
163
|
+
0,
|
|
164
|
+
[_iS, _t],
|
|
165
|
+
[() => IdentitySource$, 128 | 0], 1
|
|
166
|
+
];
|
|
167
|
+
export var CreateApplicationResponse$ = [3, n0, _CARr,
|
|
168
|
+
0,
|
|
169
|
+
[_aA],
|
|
170
|
+
[0], 1
|
|
171
|
+
];
|
|
172
|
+
export var CreateEntitlementRequest$ = [3, n0, _CER,
|
|
173
|
+
0,
|
|
174
|
+
[_aA, _en],
|
|
175
|
+
[0, () => Entitlement$], 2
|
|
176
|
+
];
|
|
177
|
+
export var CreateEntitlementResponse$ = [3, n0, _CERr,
|
|
178
|
+
0,
|
|
179
|
+
[_eI],
|
|
180
|
+
[0], 1
|
|
181
|
+
];
|
|
182
|
+
export var DeleteApplicationRequest$ = [3, n0, _DAR,
|
|
183
|
+
0,
|
|
184
|
+
[_aA],
|
|
185
|
+
[[0, 1]], 1
|
|
186
|
+
];
|
|
187
|
+
export var DeleteApplicationResponse$ = [3, n0, _DARe,
|
|
188
|
+
0,
|
|
189
|
+
[],
|
|
190
|
+
[]
|
|
191
|
+
];
|
|
192
|
+
export var DeleteEntitlementRequest$ = [3, n0, _DER,
|
|
193
|
+
0,
|
|
194
|
+
[_aA, _eI],
|
|
195
|
+
[[0, { [_hQ]: _aA }], [0, 1]], 2
|
|
196
|
+
];
|
|
197
|
+
export var DeleteEntitlementResponse$ = [3, n0, _DERe,
|
|
198
|
+
0,
|
|
199
|
+
[],
|
|
200
|
+
[]
|
|
201
|
+
];
|
|
202
|
+
export var EntitlementFilter$ = [3, n0, _EF,
|
|
203
|
+
0,
|
|
204
|
+
[_pR],
|
|
205
|
+
[() => PrincipalRoleEntitlementFilter$]
|
|
206
|
+
];
|
|
207
|
+
export var EntitlementsListMember$ = [3, n0, _ELM,
|
|
208
|
+
0,
|
|
209
|
+
[_eI, _en, _cA],
|
|
210
|
+
[0, () => EntitlementSummary$, 5], 3
|
|
211
|
+
];
|
|
212
|
+
export var ErrorDetails$ = [3, n0, _ED,
|
|
213
|
+
0,
|
|
214
|
+
[_co, _m],
|
|
215
|
+
[0, 0], 2
|
|
216
|
+
];
|
|
217
|
+
export var GetApplicationRequest$ = [3, n0, _GAR,
|
|
218
|
+
0,
|
|
219
|
+
[_aA],
|
|
220
|
+
[[0, 1]], 1
|
|
221
|
+
];
|
|
222
|
+
export var GetApplicationResponse$ = [3, n0, _GARe,
|
|
223
|
+
0,
|
|
224
|
+
[_iS, _st, _cA, _uA, _tI, _t, _e],
|
|
225
|
+
[() => IdentitySourceDetails$, 0, 5, 5, 0, 128 | 0, () => ErrorDetails$], 4
|
|
226
|
+
];
|
|
227
|
+
export var GetEntitlementRequest$ = [3, n0, _GER,
|
|
228
|
+
0,
|
|
229
|
+
[_aA, _eI],
|
|
230
|
+
[[0, { [_hQ]: _aA }], [0, 1]], 2
|
|
231
|
+
];
|
|
232
|
+
export var GetEntitlementResponse$ = [3, n0, _GERe,
|
|
233
|
+
0,
|
|
234
|
+
[_aA, _eI, _en, _cA],
|
|
235
|
+
[0, 0, () => EntitlementDetails$, 5], 4
|
|
236
|
+
];
|
|
237
|
+
export var IdentityCenter$ = [3, n0, _IC,
|
|
238
|
+
0,
|
|
239
|
+
[_iA],
|
|
240
|
+
[0], 1
|
|
241
|
+
];
|
|
242
|
+
export var IdentityCenterDetails$ = [3, n0, _ICD,
|
|
243
|
+
0,
|
|
244
|
+
[_iA, _aA],
|
|
245
|
+
[0, 0], 1
|
|
246
|
+
];
|
|
247
|
+
export var ListApplicationsRequest$ = [3, n0, _LAR,
|
|
248
|
+
0,
|
|
249
|
+
[_mR, _nT],
|
|
250
|
+
[1, 0]
|
|
251
|
+
];
|
|
252
|
+
export var ListApplicationsResponse$ = [3, n0, _LARi,
|
|
253
|
+
0,
|
|
254
|
+
[_a, _nT],
|
|
255
|
+
[() => ApplicationList, 0], 1
|
|
256
|
+
];
|
|
257
|
+
export var ListEntitlementsRequest$ = [3, n0, _LER,
|
|
258
|
+
0,
|
|
259
|
+
[_aA, _f, _nT, _mR],
|
|
260
|
+
[0, () => EntitlementFilter$, 0, 1], 2
|
|
261
|
+
];
|
|
262
|
+
export var ListEntitlementsResponse$ = [3, n0, _LERi,
|
|
263
|
+
0,
|
|
264
|
+
[_ent, _nT],
|
|
265
|
+
[() => EntitlementsList, 0], 1
|
|
266
|
+
];
|
|
267
|
+
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
268
|
+
0,
|
|
269
|
+
[_rA],
|
|
270
|
+
[[0, 1]], 1
|
|
271
|
+
];
|
|
272
|
+
export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
273
|
+
0,
|
|
274
|
+
[_t],
|
|
275
|
+
[128 | 0]
|
|
276
|
+
];
|
|
277
|
+
export var PrincipalRoleEntitlement$ = [3, n0, _PRE,
|
|
278
|
+
0,
|
|
279
|
+
[_p, _rAo],
|
|
280
|
+
[() => Principal$, 0], 2
|
|
281
|
+
];
|
|
282
|
+
export var PrincipalRoleEntitlementDetails$ = [3, n0, _PRED,
|
|
283
|
+
0,
|
|
284
|
+
[_p, _rAo, _ac, _aN],
|
|
285
|
+
[() => Principal$, 0, 0, 0], 3
|
|
286
|
+
];
|
|
287
|
+
export var PrincipalRoleEntitlementFilter$ = [3, n0, _PREF,
|
|
288
|
+
0,
|
|
289
|
+
[_p, _rAo, _ac],
|
|
290
|
+
[() => PrincipalFilter$, 0, 0]
|
|
291
|
+
];
|
|
292
|
+
export var PrincipalRoleEntitlementSummary$ = [3, n0, _PRES,
|
|
293
|
+
0,
|
|
294
|
+
[_p, _rAo, _ac, _aN],
|
|
295
|
+
[() => Principal$, 0, 0, 0], 3
|
|
296
|
+
];
|
|
297
|
+
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
298
|
+
0,
|
|
299
|
+
[_rA, _t],
|
|
300
|
+
[[0, 1], 128 | 0], 2
|
|
301
|
+
];
|
|
302
|
+
export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
303
|
+
0,
|
|
304
|
+
[],
|
|
305
|
+
[]
|
|
306
|
+
];
|
|
307
|
+
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
308
|
+
0,
|
|
309
|
+
[_rA, _tK],
|
|
310
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
311
|
+
];
|
|
312
|
+
export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
313
|
+
0,
|
|
314
|
+
[],
|
|
315
|
+
[]
|
|
316
|
+
];
|
|
317
|
+
var ApplicationList = [1, n0, _AL,
|
|
318
|
+
0, () => ApplicationSummary$
|
|
319
|
+
];
|
|
320
|
+
var EntitlementsList = [1, n0, _EL,
|
|
321
|
+
0, () => EntitlementsListMember$
|
|
322
|
+
];
|
|
323
|
+
var TagKeys = 64 | 0;
|
|
324
|
+
var TagsMap = 128 | 0;
|
|
325
|
+
export var Entitlement$ = [4, n0, _E,
|
|
326
|
+
0,
|
|
327
|
+
[_pR],
|
|
328
|
+
[() => PrincipalRoleEntitlement$]
|
|
329
|
+
];
|
|
330
|
+
export var EntitlementDetails$ = [4, n0, _EDn,
|
|
331
|
+
0,
|
|
332
|
+
[_pR],
|
|
333
|
+
[() => PrincipalRoleEntitlementDetails$]
|
|
334
|
+
];
|
|
335
|
+
export var EntitlementSummary$ = [4, n0, _ES,
|
|
336
|
+
0,
|
|
337
|
+
[_pR],
|
|
338
|
+
[() => PrincipalRoleEntitlementSummary$]
|
|
339
|
+
];
|
|
340
|
+
export var IdentityCenterPrincipal$ = [4, n0, _ICP,
|
|
341
|
+
0,
|
|
342
|
+
[_uI, _gI],
|
|
343
|
+
[0, 0]
|
|
344
|
+
];
|
|
345
|
+
export var IdentityCenterPrincipalFilter$ = [4, n0, _ICPF,
|
|
346
|
+
0,
|
|
347
|
+
[_uI, _gI],
|
|
348
|
+
[0, 0]
|
|
349
|
+
];
|
|
350
|
+
export var IdentitySource$ = [4, n0, _IS,
|
|
351
|
+
0,
|
|
352
|
+
[_iC],
|
|
353
|
+
[() => IdentityCenter$]
|
|
354
|
+
];
|
|
355
|
+
export var IdentitySourceDetails$ = [4, n0, _ISD,
|
|
356
|
+
0,
|
|
357
|
+
[_iC],
|
|
358
|
+
[() => IdentityCenterDetails$]
|
|
359
|
+
];
|
|
360
|
+
export var Principal$ = [4, n0, _P,
|
|
361
|
+
0,
|
|
362
|
+
[_iC],
|
|
363
|
+
[() => IdentityCenterPrincipal$]
|
|
364
|
+
];
|
|
365
|
+
export var PrincipalFilter$ = [4, n0, _PF,
|
|
366
|
+
0,
|
|
367
|
+
[_iC],
|
|
368
|
+
[() => IdentityCenterPrincipalFilter$]
|
|
369
|
+
];
|
|
370
|
+
export var CreateApplication$ = [9, n0, _CA,
|
|
371
|
+
{ [_h]: ["POST", "/applications", 200] }, () => CreateApplicationRequest$, () => CreateApplicationResponse$
|
|
372
|
+
];
|
|
373
|
+
export var CreateEntitlement$ = [9, n0, _CEr,
|
|
374
|
+
{ [_h]: ["POST", "/entitlements", 200] }, () => CreateEntitlementRequest$, () => CreateEntitlementResponse$
|
|
375
|
+
];
|
|
376
|
+
export var DeleteApplication$ = [9, n0, _DA,
|
|
377
|
+
{ [_h]: ["DELETE", "/applications/{applicationArn}", 204] }, () => DeleteApplicationRequest$, () => DeleteApplicationResponse$
|
|
378
|
+
];
|
|
379
|
+
export var DeleteEntitlement$ = [9, n0, _DE,
|
|
380
|
+
{ [_h]: ["DELETE", "/entitlements/{entitlementId}", 204] }, () => DeleteEntitlementRequest$, () => DeleteEntitlementResponse$
|
|
381
|
+
];
|
|
382
|
+
export var GetApplication$ = [9, n0, _GA,
|
|
383
|
+
{ [_h]: ["GET", "/applications/{applicationArn}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
|
|
384
|
+
];
|
|
385
|
+
export var GetEntitlement$ = [9, n0, _GE,
|
|
386
|
+
{ [_h]: ["GET", "/entitlements/{entitlementId}", 200] }, () => GetEntitlementRequest$, () => GetEntitlementResponse$
|
|
387
|
+
];
|
|
388
|
+
export var ListApplications$ = [9, n0, _LA,
|
|
389
|
+
{ [_h]: ["POST", "/applications-list", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
|
|
390
|
+
];
|
|
391
|
+
export var ListEntitlements$ = [9, n0, _LE,
|
|
392
|
+
{ [_h]: ["POST", "/entitlements-list", 200] }, () => ListEntitlementsRequest$, () => ListEntitlementsResponse$
|
|
393
|
+
];
|
|
394
|
+
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
395
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
396
|
+
];
|
|
397
|
+
export var TagResource$ = [9, n0, _TR,
|
|
398
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
399
|
+
];
|
|
400
|
+
export var UntagResource$ = [9, n0, _UR,
|
|
401
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
402
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForApplicationActive";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { GetApplicationCommand, } from "../commands/GetApplicationCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetApplicationCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "ACTIVE") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.status;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "CREATE_FAILED") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.status;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "DELETE_FAILED") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
}
|
|
36
|
+
catch (exception) {
|
|
37
|
+
reason = exception;
|
|
38
|
+
}
|
|
39
|
+
return { state: WaiterState.RETRY, reason };
|
|
40
|
+
};
|
|
41
|
+
export const waitForApplicationActive = async (params, input) => {
|
|
42
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
43
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
44
|
+
};
|
|
45
|
+
export const waitUntilApplicationActive = async (params, input) => {
|
|
46
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
47
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
48
|
+
return checkExceptions(result);
|
|
49
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { AccountAccessClient } from "./AccountAccessClient";
|
|
4
|
+
import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
5
|
+
import { type CreateEntitlementCommandInput, type CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
|
|
6
|
+
import { type DeleteApplicationCommandInput, type DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
7
|
+
import { type DeleteEntitlementCommandInput, type DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
|
|
8
|
+
import { type GetApplicationCommandInput, type GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
9
|
+
import { type GetEntitlementCommandInput, type GetEntitlementCommandOutput } from "./commands/GetEntitlementCommand";
|
|
10
|
+
import { type ListApplicationsCommandInput, type ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
11
|
+
import { type ListEntitlementsCommandInput, type ListEntitlementsCommandOutput } from "./commands/ListEntitlementsCommand";
|
|
12
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
14
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
15
|
+
export interface AccountAccess {
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link CreateApplicationCommand}
|
|
18
|
+
*/
|
|
19
|
+
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
20
|
+
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
21
|
+
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link CreateEntitlementCommand}
|
|
24
|
+
*/
|
|
25
|
+
createEntitlement(args: CreateEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<CreateEntitlementCommandOutput>;
|
|
26
|
+
createEntitlement(args: CreateEntitlementCommandInput, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
|
|
27
|
+
createEntitlement(args: CreateEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntitlementCommandOutput) => void): void;
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link DeleteApplicationCommand}
|
|
30
|
+
*/
|
|
31
|
+
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
32
|
+
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
33
|
+
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
34
|
+
/**
|
|
35
|
+
* @see {@link DeleteEntitlementCommand}
|
|
36
|
+
*/
|
|
37
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntitlementCommandOutput>;
|
|
38
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
|
|
39
|
+
deleteEntitlement(args: DeleteEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntitlementCommandOutput) => void): void;
|
|
40
|
+
/**
|
|
41
|
+
* @see {@link GetApplicationCommand}
|
|
42
|
+
*/
|
|
43
|
+
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
44
|
+
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
45
|
+
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
46
|
+
/**
|
|
47
|
+
* @see {@link GetEntitlementCommand}
|
|
48
|
+
*/
|
|
49
|
+
getEntitlement(args: GetEntitlementCommandInput, options?: __HttpHandlerOptions): Promise<GetEntitlementCommandOutput>;
|
|
50
|
+
getEntitlement(args: GetEntitlementCommandInput, cb: (err: any, data?: GetEntitlementCommandOutput) => void): void;
|
|
51
|
+
getEntitlement(args: GetEntitlementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEntitlementCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* @see {@link ListApplicationsCommand}
|
|
54
|
+
*/
|
|
55
|
+
listApplications(): Promise<ListApplicationsCommandOutput>;
|
|
56
|
+
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
57
|
+
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
58
|
+
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
59
|
+
/**
|
|
60
|
+
* @see {@link ListEntitlementsCommand}
|
|
61
|
+
*/
|
|
62
|
+
listEntitlements(args: ListEntitlementsCommandInput, options?: __HttpHandlerOptions): Promise<ListEntitlementsCommandOutput>;
|
|
63
|
+
listEntitlements(args: ListEntitlementsCommandInput, cb: (err: any, data?: ListEntitlementsCommandOutput) => void): void;
|
|
64
|
+
listEntitlements(args: ListEntitlementsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntitlementsCommandOutput) => void): void;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link ListTagsForResourceCommand}
|
|
67
|
+
*/
|
|
68
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
69
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
70
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link TagResourceCommand}
|
|
73
|
+
*/
|
|
74
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
75
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
76
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link UntagResourceCommand}
|
|
79
|
+
*/
|
|
80
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
81
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
82
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link ListApplicationsCommand}
|
|
85
|
+
* @param args - command input.
|
|
86
|
+
* @param paginationConfig - optional pagination config.
|
|
87
|
+
* @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
|
|
88
|
+
*/
|
|
89
|
+
paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link ListEntitlementsCommand}
|
|
92
|
+
* @param args - command input.
|
|
93
|
+
* @param paginationConfig - optional pagination config.
|
|
94
|
+
* @returns AsyncIterable of {@link ListEntitlementsCommandOutput}.
|
|
95
|
+
*/
|
|
96
|
+
paginateListEntitlements(args: ListEntitlementsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEntitlementsCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link GetApplicationCommand}
|
|
99
|
+
* @param args - command input.
|
|
100
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
101
|
+
*/
|
|
102
|
+
waitUntilApplicationActive(args: GetApplicationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AccountAccess>, "client">): Promise<WaiterResult<GetApplicationCommandOutput>>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* <p>Account access manager enables you to manage applications and entitlements that grant IAM Identity Center principals access to IAM roles across accounts.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class AccountAccess extends AccountAccessClient implements AccountAccess {
|
|
109
|
+
}
|