|
13 | 13 | "uid":"outposts-2019-12-03"
|
14 | 14 | },
|
15 | 15 | "operations":{
|
| 16 | + "CreateOrder":{ |
| 17 | + "name":"CreateOrder", |
| 18 | + "http":{ |
| 19 | + "method":"POST", |
| 20 | + "requestUri":"/orders" |
| 21 | + }, |
| 22 | + "input":{"shape":"CreateOrderInput"}, |
| 23 | + "output":{"shape":"CreateOrderOutput"}, |
| 24 | + "errors":[ |
| 25 | + {"shape":"ValidationException"}, |
| 26 | + {"shape":"ConflictException"}, |
| 27 | + {"shape":"AccessDeniedException"}, |
| 28 | + {"shape":"NotFoundException"}, |
| 29 | + {"shape":"InternalServerException"}, |
| 30 | + {"shape":"ServiceQuotaExceededException"} |
| 31 | + ], |
| 32 | + "documentation":"<p>Creates an order for an Outpost.</p>" |
| 33 | + }, |
16 | 34 | "CreateOutpost":{
|
17 | 35 | "name":"CreateOutpost",
|
18 | 36 | "http":{
|
|
238 | 256 | "error":{"httpStatusCode":409},
|
239 | 257 | "exception":true
|
240 | 258 | },
|
| 259 | + "CreateOrderInput":{ |
| 260 | + "type":"structure", |
| 261 | + "required":[ |
| 262 | + "OutpostIdentifier", |
| 263 | + "LineItems", |
| 264 | + "PaymentOption" |
| 265 | + ], |
| 266 | + "members":{ |
| 267 | + "OutpostIdentifier":{ |
| 268 | + "shape":"OutpostIdentifier", |
| 269 | + "documentation":"<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>" |
| 270 | + }, |
| 271 | + "LineItems":{ |
| 272 | + "shape":"LineItemRequestListDefinition", |
| 273 | + "documentation":"<p>The line items that make up the order.</p>" |
| 274 | + }, |
| 275 | + "PaymentOption":{ |
| 276 | + "shape":"PaymentOption", |
| 277 | + "documentation":"<p>The payment option for the order.</p>" |
| 278 | + }, |
| 279 | + "PaymentTerm":{ |
| 280 | + "shape":"PaymentTerm", |
| 281 | + "documentation":"<p>The payment terms for the order.</p>" |
| 282 | + } |
| 283 | + } |
| 284 | + }, |
| 285 | + "CreateOrderOutput":{ |
| 286 | + "type":"structure", |
| 287 | + "members":{ |
| 288 | + "Order":{ |
| 289 | + "shape":"Order", |
| 290 | + "documentation":"<p>Information about this order.</p>" |
| 291 | + } |
| 292 | + } |
| 293 | + }, |
241 | 294 | "CreateOutpostInput":{
|
242 | 295 | "type":"structure",
|
243 | 296 | "required":[
|
|
268 | 321 | "members":{
|
269 | 322 | "OutpostId":{
|
270 | 323 | "shape":"OutpostId",
|
| 324 | + "documentation":"<p> The ID of the Outpost. </p>", |
271 | 325 | "location":"uri",
|
272 | 326 | "locationName":"OutpostId"
|
273 | 327 | }
|
|
306 | 360 | "members":{
|
307 | 361 | "OutpostId":{
|
308 | 362 | "shape":"OutpostId",
|
| 363 | + "documentation":"<p> The ID of the Outpost. </p>", |
309 | 364 | "location":"uri",
|
310 | 365 | "locationName":"OutpostId"
|
311 | 366 | }
|
|
317 | 372 | "members":{
|
318 | 373 | "OutpostId":{
|
319 | 374 | "shape":"OutpostId",
|
| 375 | + "documentation":"<p> The ID of the Outpost. </p>", |
320 | 376 | "location":"uri",
|
321 | 377 | "locationName":"OutpostId"
|
322 | 378 | },
|
|
337 | 393 | "members":{
|
338 | 394 | "InstanceTypes":{"shape":"InstanceTypeListDefinition"},
|
339 | 395 | "NextToken":{"shape":"Token"},
|
340 |
| - "OutpostId":{"shape":"OutpostId"}, |
| 396 | + "OutpostId":{ |
| 397 | + "shape":"OutpostId", |
| 398 | + "documentation":"<p> The ID of the Outpost. </p>" |
| 399 | + }, |
341 | 400 | "OutpostArn":{"shape":"OutpostArn"}
|
342 | 401 | }
|
343 | 402 | },
|
|
347 | 406 | "Outpost":{"shape":"Outpost"}
|
348 | 407 | }
|
349 | 408 | },
|
| 409 | + "ISO8601Timestamp":{"type":"timestamp"}, |
350 | 410 | "InstanceType":{
|
351 | 411 | "type":"string",
|
352 | 412 | "documentation":"<p>The instance type.</p>"
|
|
385 | 445 | "max":5,
|
386 | 446 | "min":1
|
387 | 447 | },
|
| 448 | + "LineItem":{ |
| 449 | + "type":"structure", |
| 450 | + "members":{ |
| 451 | + "CatalogItemId":{ |
| 452 | + "shape":"SkuCode", |
| 453 | + "documentation":"<p> The ID of the catalog item. </p>" |
| 454 | + }, |
| 455 | + "LineItemId":{ |
| 456 | + "shape":"LineItemId", |
| 457 | + "documentation":"<p>The ID of the line item.</p>" |
| 458 | + }, |
| 459 | + "Quantity":{ |
| 460 | + "shape":"LineItemQuantity", |
| 461 | + "documentation":"<p>The quantity of the line item.</p>" |
| 462 | + }, |
| 463 | + "Status":{ |
| 464 | + "shape":"Status", |
| 465 | + "documentation":"<p>The status of the line item.</p>" |
| 466 | + } |
| 467 | + }, |
| 468 | + "documentation":"<p>Information about a line item.</p>" |
| 469 | + }, |
| 470 | + "LineItemId":{ |
| 471 | + "type":"string", |
| 472 | + "pattern":"ooi-[a-f0-9]{17}" |
| 473 | + }, |
| 474 | + "LineItemListDefinition":{ |
| 475 | + "type":"list", |
| 476 | + "member":{"shape":"LineItem"} |
| 477 | + }, |
| 478 | + "LineItemQuantity":{ |
| 479 | + "type":"integer", |
| 480 | + "max":20, |
| 481 | + "min":1 |
| 482 | + }, |
| 483 | + "LineItemRequest":{ |
| 484 | + "type":"structure", |
| 485 | + "members":{ |
| 486 | + "CatalogItemId":{ |
| 487 | + "shape":"SkuCode", |
| 488 | + "documentation":"<p>The ID of the catalog item.</p>" |
| 489 | + }, |
| 490 | + "Quantity":{ |
| 491 | + "shape":"LineItemQuantity", |
| 492 | + "documentation":"<p>The quantity of a line item request.</p>" |
| 493 | + } |
| 494 | + }, |
| 495 | + "documentation":"<p>Information about a line item request.</p>" |
| 496 | + }, |
| 497 | + "LineItemRequestListDefinition":{ |
| 498 | + "type":"list", |
| 499 | + "member":{"shape":"LineItemRequest"}, |
| 500 | + "max":20, |
| 501 | + "min":1 |
| 502 | + }, |
388 | 503 | "ListOutpostsInput":{
|
389 | 504 | "type":"structure",
|
390 | 505 | "members":{
|
|
484 | 599 | "error":{"httpStatusCode":404},
|
485 | 600 | "exception":true
|
486 | 601 | },
|
| 602 | + "Order":{ |
| 603 | + "type":"structure", |
| 604 | + "members":{ |
| 605 | + "OutpostId":{ |
| 606 | + "shape":"OutpostIdOnly", |
| 607 | + "documentation":"<p> The ID of the Outpost. </p>" |
| 608 | + }, |
| 609 | + "OrderId":{ |
| 610 | + "shape":"OrderId", |
| 611 | + "documentation":"<p>The ID of the order.</p>" |
| 612 | + }, |
| 613 | + "Status":{ |
| 614 | + "shape":"OrderStatus", |
| 615 | + "documentation":"<p>The status of the order</p>" |
| 616 | + }, |
| 617 | + "LineItems":{ |
| 618 | + "shape":"LineItemListDefinition", |
| 619 | + "documentation":"<p>The line items for the order</p>" |
| 620 | + }, |
| 621 | + "PaymentOption":{ |
| 622 | + "shape":"PaymentOption", |
| 623 | + "documentation":"<p>The payment option for the order.</p>" |
| 624 | + }, |
| 625 | + "OrderSubmissionDate":{ |
| 626 | + "shape":"ISO8601Timestamp", |
| 627 | + "documentation":"<p>The submission date for the order.</p>" |
| 628 | + }, |
| 629 | + "OrderFulfilledDate":{ |
| 630 | + "shape":"ISO8601Timestamp", |
| 631 | + "documentation":"<p>The fulfillment date of the order.</p>" |
| 632 | + } |
| 633 | + }, |
| 634 | + "documentation":"<p>Information about an order.</p>" |
| 635 | + }, |
| 636 | + "OrderId":{ |
| 637 | + "type":"string", |
| 638 | + "max":20, |
| 639 | + "min":1, |
| 640 | + "pattern":"oo-[a-f0-9]{17}$" |
| 641 | + }, |
| 642 | + "OrderStatus":{ |
| 643 | + "type":"string", |
| 644 | + "enum":[ |
| 645 | + "RECEIVED", |
| 646 | + "PENDING", |
| 647 | + "PROCESSING", |
| 648 | + "INSTALLING", |
| 649 | + "FULFILLED", |
| 650 | + "CANCELLED" |
| 651 | + ] |
| 652 | + }, |
487 | 653 | "Outpost":{
|
488 | 654 | "type":"structure",
|
489 | 655 | "members":{
|
490 |
| - "OutpostId":{"shape":"OutpostId"}, |
| 656 | + "OutpostId":{ |
| 657 | + "shape":"OutpostId", |
| 658 | + "documentation":"<p> The ID of the Outpost. </p>" |
| 659 | + }, |
491 | 660 | "OwnerId":{"shape":"OwnerId"},
|
492 | 661 | "OutpostArn":{"shape":"OutpostArn"},
|
493 | 662 | "SiteId":{"shape":"SiteId"},
|
|
520 | 689 | },
|
521 | 690 | "OutpostId":{
|
522 | 691 | "type":"string",
|
523 |
| - "documentation":"<p>The ID of the Outpost.</p>", |
| 692 | + "max":180, |
| 693 | + "min":1, |
| 694 | + "pattern":"^(arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/)?op-[a-f0-9]{17}$" |
| 695 | + }, |
| 696 | + "OutpostIdOnly":{ |
| 697 | + "type":"string", |
| 698 | + "max":20, |
| 699 | + "min":1, |
| 700 | + "pattern":"^op-[a-f0-9]{17}$" |
| 701 | + }, |
| 702 | + "OutpostIdentifier":{ |
| 703 | + "type":"string", |
524 | 704 | "max":180,
|
525 | 705 | "min":1,
|
526 | 706 | "pattern":"^(arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/)?op-[a-f0-9]{17}$"
|
|
539 | 719 | "min":12,
|
540 | 720 | "pattern":"\\d{12}"
|
541 | 721 | },
|
| 722 | + "PaymentOption":{ |
| 723 | + "type":"string", |
| 724 | + "enum":[ |
| 725 | + "ALL_UPFRONT", |
| 726 | + "NO_UPFRONT", |
| 727 | + "PARTIAL_UPFRONT" |
| 728 | + ] |
| 729 | + }, |
| 730 | + "PaymentTerm":{ |
| 731 | + "type":"string", |
| 732 | + "enum":["THREE_YEARS"] |
| 733 | + }, |
542 | 734 | "ResourceType":{
|
543 | 735 | "type":"string",
|
544 | 736 | "enum":["OUTPOST"]
|
|
595 | 787 | "min":1,
|
596 | 788 | "pattern":"^[\\S ]+$"
|
597 | 789 | },
|
| 790 | + "SkuCode":{ |
| 791 | + "type":"string", |
| 792 | + "max":10, |
| 793 | + "min":1, |
| 794 | + "pattern":"OR-[A-Z0-9]{7}" |
| 795 | + }, |
| 796 | + "Status":{ |
| 797 | + "type":"string", |
| 798 | + "max":1000, |
| 799 | + "min":1, |
| 800 | + "pattern":"^[\\S ]+$" |
| 801 | + }, |
598 | 802 | "String":{
|
599 | 803 | "type":"string",
|
600 | 804 | "max":1000,
|
|
0 commit comments