github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cloud9/2017-09-23/examples-1.json (about) 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-6300cd1b" 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 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 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 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 "lifecycle": { 219 "status": "CREATED" 220 }, 221 "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser" 222 }, 223 { 224 "name": "another-demo-environment", 225 "type": "ssh", 226 "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX", 227 "description": "", 228 "id": "349c86d4579e4e7298d500ff57a6b2EX", 229 "lifecycle": { 230 "status": "CREATED" 231 }, 232 "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser" 233 } 234 ] 235 }, 236 "comments": { 237 "input": { 238 }, 239 "output": { 240 } 241 }, 242 "description": "", 243 "id": "describeenvironments-1516823568291", 244 "title": "DescribeEnvironments" 245 } 246 ], 247 "ListEnvironments": [ 248 { 249 "input": { 250 }, 251 "output": { 252 "environmentIds": [ 253 "349c86d4579e4e7298d500ff57a6b2EX", 254 "45a3da47af0840f2b0c0824f5ee232EX" 255 ] 256 }, 257 "comments": { 258 "input": { 259 }, 260 "output": { 261 } 262 }, 263 "description": "", 264 "id": "listenvironments-1516823687205", 265 "title": "ListEnvironments" 266 } 267 ], 268 "UpdateEnvironment": [ 269 { 270 "input": { 271 "name": "my-changed-demo-environment", 272 "description": "This is my changed demonstration environment.", 273 "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" 274 }, 275 "output": { 276 }, 277 "comments": { 278 "input": { 279 }, 280 "output": { 281 } 282 }, 283 "description": "", 284 "id": "updateenvironment-1516823781910", 285 "title": "UpdateEnvironment" 286 } 287 ], 288 "UpdateEnvironmentMembership": [ 289 { 290 "input": { 291 "environmentId": "8d9967e2f0624182b74e7690ad69ebEX", 292 "permissions": "read-only", 293 "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser" 294 }, 295 "output": { 296 "membership": { 297 "environmentId": "8d9967e2f0624182b74e7690ad69eb31", 298 "permissions": "read-only", 299 "userArn": "arn:aws:iam::123456789012:user/AnotherDemoUser", 300 "userId": "AIDAJ3BA6O2FMJWCWXHEX" 301 } 302 }, 303 "comments": { 304 "input": { 305 }, 306 "output": { 307 } 308 }, 309 "description": "", 310 "id": "updateenvironmentmembership-1516823876645", 311 "title": "UpdateEnvironmentMembership" 312 } 313 ] 314 } 315 }