-
Notifications
You must be signed in to change notification settings - Fork 4
/
model.ts
58 lines (48 loc) · 987 Bytes
/
model.ts
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
export type ClientRequestToken = string
export type TagKey = string
export type TagValue = string
export interface Tag {
readonly value: TagValue
readonly key: TagKey
}
/**
* AWS region
*/
export type Region = string
/**
* AWS account id
*/
export type AccountId = string
/**
* AWS user id
*/
export type UserId = string
/**
* IAM role arn
*/
export type IamRoleArn = string
export type IamRoleName = string
export type AccountAlias = string
export type AccountEmail = string
export type AccountArn = string
export type AccountName = string
export type ServicePrincipal = string
export type Arn = string
export type AccountStatus = "ACTIVE" | "PENDING_CLOSURE" | "SUSPENDED"
/**
* An interface representing caller identity that is bound to AWS credentials.
*/
export interface CallerIdentity {
/**
* Identity ARN.
*/
readonly arn: string
/**
* User id.
*/
readonly userId: UserId
/**
* Account id.
*/
readonly accountId: AccountId
}