-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathidentity-management.ts
More file actions
58 lines (48 loc) · 1.8 KB
/
Copy pathidentity-management.ts
File metadata and controls
58 lines (48 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import {
AwsResponseError,
GetIamCredentialParams,
GetIamCredentialResult,
GetSsoTokenParams,
GetSsoTokenResult,
InvalidateSsoTokenParams,
InvalidateSsoTokenResult,
InvalidateStsCredentialParams,
InvalidateStsCredentialResult,
ListProfilesParams,
ListProfilesResult,
GetMfaCodeParams,
SsoTokenChangedParams,
StsCredentialChangedParams,
UpdateProfileParams,
UpdateProfileResult,
GetMfaCodeResult,
} from '../protocol/identity-management'
import { RequestHandler } from '../protocol'
export * from '../protocol/identity-management'
export type IdentityManagement = {
onListProfiles: (
handler: RequestHandler<ListProfilesParams, ListProfilesResult | undefined | null, AwsResponseError>
) => void
onUpdateProfile: (
handler: RequestHandler<UpdateProfileParams, UpdateProfileResult | undefined | null, AwsResponseError>
) => void
onGetSsoToken: (
handler: RequestHandler<GetSsoTokenParams, GetSsoTokenResult | undefined | null, AwsResponseError>
) => void
onGetIamCredential: (
handler: RequestHandler<GetIamCredentialParams, GetIamCredentialResult | undefined | null, AwsResponseError>
) => void
onInvalidateSsoToken: (
handler: RequestHandler<InvalidateSsoTokenParams, InvalidateSsoTokenResult | undefined | null, AwsResponseError>
) => void
onInvalidateStsCredential: (
handler: RequestHandler<
InvalidateStsCredentialParams,
InvalidateStsCredentialResult | undefined | null,
AwsResponseError
>
) => void
sendSsoTokenChanged: (params: SsoTokenChangedParams) => void
sendStsCredentialChanged: (params: StsCredentialChangedParams) => void
sendGetMfaCode: (params: GetMfaCodeParams) => Promise<GetMfaCodeResult>
}