1{
2  "version": "1.0",
3  "examples": {
4    "CreateEnvironmentEC2": [
5      {
6        "input": {
7          "name": "my-demo-environment",
8          "automaticStopTimeMinutes": 60,
9          "description": "This is my demonstration environment.",
10          "instanceType": "t2.micro",
11          "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser",
12          "subnetId": "subnet-1fab8aEX"
13        },
14        "output": {
15          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
16        },
17        "comments": {
18          "input": {
19          },
20          "output": {
21          }
22        },
23        "description": "",
24        "id": "createenvironmentec2-1516821730547",
25        "title": "CreateEnvironmentEC2"
26      }
27    ],
28    "CreateEnvironmentMembership": [
29      {
30        "input": {
31          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
32          "permissions": "read-write",
33          "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
34        },
35        "output": {
36          "membership": {
37            "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
38            "permissions": "read-write",
39            "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
40            "userId": "AIDAJ3BA6O2FMJWCWXHEX"
41          }
42        },
43        "comments": {
44          "input": {
45          },
46          "output": {
47          }
48        },
49        "description": "",
50        "id": "createenvironmentmembership-1516822583452",
51        "title": "CreateEnvironmentMembership"
52      }
53    ],
54    "DeleteEnvironment": [
55      {
56        "input": {
57          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
58        },
59        "output": {
60        },
61        "comments": {
62          "input": {
63          },
64          "output": {
65          }
66        },
67        "description": "",
68        "id": "deleteenvironment-1516822903149",
69        "title": "DeleteEnvironment"
70      }
71    ],
72    "DeleteEnvironmentMembership": [
73      {
74        "input": {
75          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
76          "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
77        },
78        "output": {
79        },
80        "comments": {
81          "input": {
82          },
83          "output": {
84          }
85        },
86        "description": "",
87        "id": "deleteenvironmentmembership-1516822975655",
88        "title": "DeleteEnvironmentMembership"
89      }
90    ],
91    "DescribeEnvironmentMemberships": [
92      {
93        "input": {
94          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
95        },
96        "output": {
97          "memberships": [
98            {
99              "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
100              "permissions": "read-write",
101              "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
102              "userId": "AIDAJ3BA6O2FMJWCWXHEX"
103            },
104            {
105              "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
106              "permissions": "owner",
107              "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
108              "userId": "AIDAJNUEDQAQWFELJDLEX"
109            }
110          ]
111        },
112        "comments": {
113          "input": {
114          },
115          "output": {
116          }
117        },
118        "description": "The following example gets information about all of the environment members for the specified AWS Cloud9 development environment.",
119        "id": "describeenvironmentmemberships1-1516823070453",
120        "title": "DescribeEnvironmentMemberships1"
121      },
122      {
123        "input": {
124          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
125          "permissions": [
126            "owner"
127          ]
128        },
129        "output": {
130          "memberships": [
131            {
132              "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
133              "permissions": "owner",
134              "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
135              "userId": "AIDAJNUEDQAQWFELJDLEX"
136            }
137          ]
138        },
139        "comments": {
140          "input": {
141          },
142          "output": {
143          }
144        },
145        "description": "The following example gets information about the owner of the specified AWS Cloud9 development environment.",
146        "id": "describeenvironmentmemberships2-1516823191355",
147        "title": "DescribeEnvironmentMemberships2"
148      },
149      {
150        "input": {
151          "userArn": "arn:aws:iam::123456789012:user/MyDemoUser"
152        },
153        "output": {
154          "memberships": [
155            {
156              "environmentId": "10a75714bd494714929e7f5ec4125aEX",
157              "lastAccess": "2018-01-19T11:06:13Z",
158              "permissions": "owner",
159              "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
160              "userId": "AIDAJNUEDQAQWFELJDLEX"
161            },
162            {
163              "environmentId": "12bfc3cd537f41cb9776f8af5525c9EX",
164              "lastAccess": "2018-01-19T11:39:19Z",
165              "permissions": "owner",
166              "userArn": "arn:aws:iam::123456789012:user/MyDemoUser",
167              "userId": "AIDAJNUEDQAQWFELJDLEX"
168            }
169          ]
170        },
171        "comments": {
172          "input": {
173          },
174          "output": {
175          }
176        },
177        "description": "The following example gets AWS Cloud9 development environment membership information for the specified user.",
178        "id": "describeenvironmentmemberships3-1516823268793",
179        "title": "DescribeEnvironmentMemberships3"
180      }
181    ],
182    "DescribeEnvironmentStatus": [
183      {
184        "input": {
185          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
186        },
187        "output": {
188          "message": "Environment is ready to use",
189          "status": "ready"
190        },
191        "comments": {
192          "input": {
193          },
194          "output": {
195          }
196        },
197        "description": "",
198        "id": "describeenvironmentstatus-1516823462133",
199        "title": "DescribeEnvironmentStatus"
200      }
201    ],
202    "DescribeEnvironments": [
203      {
204        "input": {
205          "environmentIds": [
206            "8d9967e2f0624182b74e7690ad69ebEX",
207            "349c86d4579e4e7298d500ff57a6b2EX"
208          ]
209        },
210        "output": {
211          "environments": [
212            {
213              "name": "my-demo-environment",
214              "type": "ec2",
215              "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX",
216              "description": "This is my demonstration environment.",
217              "id": "8d9967e2f0624182b74e7690ad69ebEX",
218              "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser"
219            },
220            {
221              "name": "another-demo-environment",
222              "type": "ssh",
223              "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX",
224              "id": "349c86d4579e4e7298d500ff57a6b2EX",
225              "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser"
226            }
227          ]
228        },
229        "comments": {
230          "input": {
231          },
232          "output": {
233          }
234        },
235        "description": "",
236        "id": "describeenvironments-1516823568291",
237        "title": "DescribeEnvironments"
238      }
239    ],
240    "ListEnvironments": [
241      {
242        "input": {
243        },
244        "output": {
245          "environmentIds": [
246            "349c86d4579e4e7298d500ff57a6b2EX",
247            "45a3da47af0840f2b0c0824f5ee232EX"
248          ]
249        },
250        "comments": {
251          "input": {
252          },
253          "output": {
254          }
255        },
256        "description": "",
257        "id": "listenvironments-1516823687205",
258        "title": "ListEnvironments"
259      }
260    ],
261    "UpdateEnvironment": [
262      {
263        "input": {
264          "name": "my-changed-demo-environment",
265          "description": "This is my changed demonstration environment.",
266          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX"
267        },
268        "output": {
269        },
270        "comments": {
271          "input": {
272          },
273          "output": {
274          }
275        },
276        "description": "",
277        "id": "updateenvironment-1516823781910",
278        "title": "UpdateEnvironment"
279      }
280    ],
281    "UpdateEnvironmentMembership": [
282      {
283        "input": {
284          "environmentId": "8d9967e2f0624182b74e7690ad69ebEX",
285          "permissions": "read-only",
286          "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser"
287        },
288        "output": {
289          "membership": {
290            "environmentId": "8d9967e2f0624182b74e7690ad69eb31",
291            "permissions": "read-only",
292            "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser",
293            "userId": "AIDAJ3BA6O2FMJWCWXHEX"
294          }
295        },
296        "comments": {
297          "input": {
298          },
299          "output": {
300          }
301        },
302        "description": "",
303        "id": "updateenvironmentmembership-1516823876645",
304        "title": "UpdateEnvironmentMembership"
305      }
306    ]
307  }
308}
309