UNPKG

4.48 kBJSONView Raw
1{
2 "version": "2.0",
3 "metadata": {
4 "apiVersion": "2019-06-10",
5 "endpointPrefix": "portal.sso",
6 "jsonVersion": "1.1",
7 "protocol": "rest-json",
8 "serviceAbbreviation": "SSO",
9 "serviceFullName": "AWS Single Sign-On",
10 "serviceId": "SSO",
11 "signatureVersion": "v4",
12 "signingName": "awsssoportal",
13 "uid": "sso-2019-06-10"
14 },
15 "operations": {
16 "GetRoleCredentials": {
17 "http": {
18 "method": "GET",
19 "requestUri": "/federation/credentials"
20 },
21 "input": {
22 "type": "structure",
23 "required": [
24 "roleName",
25 "accountId",
26 "accessToken"
27 ],
28 "members": {
29 "roleName": {
30 "location": "querystring",
31 "locationName": "role_name"
32 },
33 "accountId": {
34 "location": "querystring",
35 "locationName": "account_id"
36 },
37 "accessToken": {
38 "shape": "S4",
39 "location": "header",
40 "locationName": "x-amz-sso_bearer_token"
41 }
42 }
43 },
44 "output": {
45 "type": "structure",
46 "members": {
47 "roleCredentials": {
48 "type": "structure",
49 "members": {
50 "accessKeyId": {},
51 "secretAccessKey": {
52 "type": "string",
53 "sensitive": true
54 },
55 "sessionToken": {
56 "type": "string",
57 "sensitive": true
58 },
59 "expiration": {
60 "type": "long"
61 }
62 }
63 }
64 }
65 },
66 "authtype": "none"
67 },
68 "ListAccountRoles": {
69 "http": {
70 "method": "GET",
71 "requestUri": "/assignment/roles"
72 },
73 "input": {
74 "type": "structure",
75 "required": [
76 "accessToken",
77 "accountId"
78 ],
79 "members": {
80 "nextToken": {
81 "location": "querystring",
82 "locationName": "next_token"
83 },
84 "maxResults": {
85 "location": "querystring",
86 "locationName": "max_result",
87 "type": "integer"
88 },
89 "accessToken": {
90 "shape": "S4",
91 "location": "header",
92 "locationName": "x-amz-sso_bearer_token"
93 },
94 "accountId": {
95 "location": "querystring",
96 "locationName": "account_id"
97 }
98 }
99 },
100 "output": {
101 "type": "structure",
102 "members": {
103 "nextToken": {},
104 "roleList": {
105 "type": "list",
106 "member": {
107 "type": "structure",
108 "members": {
109 "roleName": {},
110 "accountId": {}
111 }
112 }
113 }
114 }
115 },
116 "authtype": "none"
117 },
118 "ListAccounts": {
119 "http": {
120 "method": "GET",
121 "requestUri": "/assignment/accounts"
122 },
123 "input": {
124 "type": "structure",
125 "required": [
126 "accessToken"
127 ],
128 "members": {
129 "nextToken": {
130 "location": "querystring",
131 "locationName": "next_token"
132 },
133 "maxResults": {
134 "location": "querystring",
135 "locationName": "max_result",
136 "type": "integer"
137 },
138 "accessToken": {
139 "shape": "S4",
140 "location": "header",
141 "locationName": "x-amz-sso_bearer_token"
142 }
143 }
144 },
145 "output": {
146 "type": "structure",
147 "members": {
148 "nextToken": {},
149 "accountList": {
150 "type": "list",
151 "member": {
152 "type": "structure",
153 "members": {
154 "accountId": {},
155 "accountName": {},
156 "emailAddress": {}
157 }
158 }
159 }
160 }
161 },
162 "authtype": "none"
163 },
164 "Logout": {
165 "http": {
166 "requestUri": "/logout"
167 },
168 "input": {
169 "type": "structure",
170 "required": [
171 "accessToken"
172 ],
173 "members": {
174 "accessToken": {
175 "shape": "S4",
176 "location": "header",
177 "locationName": "x-amz-sso_bearer_token"
178 }
179 }
180 },
181 "authtype": "none"
182 }
183 },
184 "shapes": {
185 "S4": {
186 "type": "string",
187 "sensitive": true
188 }
189 }
190}
\No newline at end of file