|
56 | 56 | "idempotent":true,
|
57 | 57 | "internalonly":true
|
58 | 58 | },
|
| 59 | + "CreateEnvironmentAction":{ |
| 60 | + "name":"CreateEnvironmentAction", |
| 61 | + "http":{ |
| 62 | + "method":"POST", |
| 63 | + "requestUri":"/v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions", |
| 64 | + "responseCode":201 |
| 65 | + }, |
| 66 | + "input":{"shape":"CreateEnvironmentActionInput"}, |
| 67 | + "output":{"shape":"CreateEnvironmentActionOutput"}, |
| 68 | + "errors":[ |
| 69 | + {"shape":"InternalServerException"}, |
| 70 | + {"shape":"ResourceNotFoundException"}, |
| 71 | + {"shape":"AccessDeniedException"}, |
| 72 | + {"shape":"ThrottlingException"}, |
| 73 | + {"shape":"ConflictException"}, |
| 74 | + {"shape":"ValidationException"}, |
| 75 | + {"shape":"UnauthorizedException"} |
| 76 | + ] |
| 77 | + }, |
59 | 78 | "GetEnvironmentActionLink":{
|
60 | 79 | "name":"GetEnvironmentActionLink",
|
61 | 80 | "http":{
|
|
110 | 129 | },
|
111 | 130 | "exception":true
|
112 | 131 | },
|
| 132 | + "ActionParameters":{ |
| 133 | + "type":"structure", |
| 134 | + "members":{ |
| 135 | + "awsConsoleLink":{"shape":"AwsConsoleLinkParameters"}, |
| 136 | + "sageMaker":{ |
| 137 | + "shape":"SageMakerParameters", |
| 138 | + "internalonly":true |
| 139 | + } |
| 140 | + }, |
| 141 | + "union":true |
| 142 | + }, |
113 | 143 | "AuthorizedPrincipal":{
|
114 | 144 | "type":"structure",
|
115 | 145 | "members":{
|
|
124 | 154 | "DATAZONE_USER_PROFILE"
|
125 | 155 | ]
|
126 | 156 | },
|
| 157 | + "AwsConsoleLinkParameters":{ |
| 158 | + "type":"structure", |
| 159 | + "members":{ |
| 160 | + "uri":{"shape":"EnvironmentActionURI"} |
| 161 | + } |
| 162 | + }, |
127 | 163 | "BatchDeleteLinkedTypesErrors":{
|
128 | 164 | "type":"list",
|
129 | 165 | "member":{"shape":"LinkedTypeError"}
|
|
238 | 274 | "CUSTOM"
|
239 | 275 | ]
|
240 | 276 | },
|
| 277 | + "CreateEnvironmentActionInput":{ |
| 278 | + "type":"structure", |
| 279 | + "required":[ |
| 280 | + "domainIdentifier", |
| 281 | + "environmentIdentifier", |
| 282 | + "name", |
| 283 | + "parameters" |
| 284 | + ], |
| 285 | + "members":{ |
| 286 | + "domainIdentifier":{ |
| 287 | + "shape":"DomainId", |
| 288 | + "location":"uri", |
| 289 | + "locationName":"domainIdentifier" |
| 290 | + }, |
| 291 | + "environmentIdentifier":{ |
| 292 | + "shape":"EnvironmentId", |
| 293 | + "location":"uri", |
| 294 | + "locationName":"environmentIdentifier" |
| 295 | + }, |
| 296 | + "name":{"shape":"String"}, |
| 297 | + "parameters":{"shape":"ActionParameters"}, |
| 298 | + "description":{"shape":"String"} |
| 299 | + } |
| 300 | + }, |
| 301 | + "CreateEnvironmentActionOutput":{ |
| 302 | + "type":"structure", |
| 303 | + "required":[ |
| 304 | + "domainId", |
| 305 | + "environmentId", |
| 306 | + "id", |
| 307 | + "name", |
| 308 | + "parameters" |
| 309 | + ], |
| 310 | + "members":{ |
| 311 | + "domainId":{"shape":"DomainId"}, |
| 312 | + "environmentId":{"shape":"EnvironmentId"}, |
| 313 | + "id":{"shape":"EnvironmentActionId"}, |
| 314 | + "name":{"shape":"String"}, |
| 315 | + "parameters":{"shape":"ActionParameters"}, |
| 316 | + "description":{"shape":"String"} |
| 317 | + } |
| 318 | + }, |
241 | 319 | "DomainId":{
|
242 | 320 | "type":"string",
|
243 | 321 | "pattern":"dzd[_][a-zA-Z0-9_-]{1,36}"
|
|
248 | 326 | "max":43200,
|
249 | 327 | "min":900
|
250 | 328 | },
|
| 329 | + "EnvironmentActionId":{ |
| 330 | + "type":"string", |
| 331 | + "pattern":"[a-zA-Z0-9_-]{1,36}" |
| 332 | + }, |
| 333 | + "EnvironmentActionURI":{ |
| 334 | + "type":"string", |
| 335 | + "max":2048, |
| 336 | + "min":1 |
| 337 | + }, |
251 | 338 | "EnvironmentId":{
|
252 | 339 | "type":"string",
|
253 | 340 | "pattern":"[a-zA-Z0-9_-]{1,36}"
|
|
456 | 543 | },
|
457 | 544 | "exception":true
|
458 | 545 | },
|
| 546 | + "SageMakerParameters":{ |
| 547 | + "type":"structure", |
| 548 | + "members":{ |
| 549 | + } |
| 550 | + }, |
459 | 551 | "ServiceQuotaExceededException":{
|
460 | 552 | "type":"structure",
|
461 | 553 | "required":["message"],
|
|
0 commit comments