Skip to content

Commit 6a3737d

Browse files
Provides new and updated API members to support the Redshift Serverless reservations feature.
1 parent 2b13bb0 commit 6a3737d

File tree

45 files changed

+5356
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5356
-25
lines changed

generator/ServiceModels/redshift-serverless/redshift-serverless-2021-04-21.api.json

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,25 @@
8383
],
8484
"idempotent":true
8585
},
86+
"CreateReservation":{
87+
"name":"CreateReservation",
88+
"http":{
89+
"method":"POST",
90+
"requestUri":"/"
91+
},
92+
"input":{"shape":"CreateReservationRequest"},
93+
"output":{"shape":"CreateReservationResponse"},
94+
"errors":[
95+
{"shape":"InternalServerException"},
96+
{"shape":"ResourceNotFoundException"},
97+
{"shape":"ConflictException"},
98+
{"shape":"ValidationException"},
99+
{"shape":"TooManyTagsException"},
100+
{"shape":"ServiceQuotaExceededException"},
101+
{"shape":"ThrottlingException"}
102+
],
103+
"idempotent":true
104+
},
86105
"CreateScheduledAction":{
87106
"name":"CreateScheduledAction",
88107
"http":{
@@ -389,6 +408,36 @@
389408
{"shape":"ValidationException"}
390409
]
391410
},
411+
"GetReservation":{
412+
"name":"GetReservation",
413+
"http":{
414+
"method":"POST",
415+
"requestUri":"/"
416+
},
417+
"input":{"shape":"GetReservationRequest"},
418+
"output":{"shape":"GetReservationResponse"},
419+
"errors":[
420+
{"shape":"InternalServerException"},
421+
{"shape":"ResourceNotFoundException"},
422+
{"shape":"ValidationException"},
423+
{"shape":"ThrottlingException"}
424+
]
425+
},
426+
"GetReservationOffering":{
427+
"name":"GetReservationOffering",
428+
"http":{
429+
"method":"POST",
430+
"requestUri":"/"
431+
},
432+
"input":{"shape":"GetReservationOfferingRequest"},
433+
"output":{"shape":"GetReservationOfferingResponse"},
434+
"errors":[
435+
{"shape":"InternalServerException"},
436+
{"shape":"ResourceNotFoundException"},
437+
{"shape":"ValidationException"},
438+
{"shape":"ThrottlingException"}
439+
]
440+
},
392441
"GetResourcePolicy":{
393442
"name":"GetResourcePolicy",
394443
"http":{
@@ -560,6 +609,34 @@
560609
{"shape":"ValidationException"}
561610
]
562611
},
612+
"ListReservationOfferings":{
613+
"name":"ListReservationOfferings",
614+
"http":{
615+
"method":"POST",
616+
"requestUri":"/"
617+
},
618+
"input":{"shape":"ListReservationOfferingsRequest"},
619+
"output":{"shape":"ListReservationOfferingsResponse"},
620+
"errors":[
621+
{"shape":"InternalServerException"},
622+
{"shape":"ValidationException"},
623+
{"shape":"ThrottlingException"}
624+
]
625+
},
626+
"ListReservations":{
627+
"name":"ListReservations",
628+
"http":{
629+
"method":"POST",
630+
"requestUri":"/"
631+
},
632+
"input":{"shape":"ListReservationsRequest"},
633+
"output":{"shape":"ListReservationsResponse"},
634+
"errors":[
635+
{"shape":"InternalServerException"},
636+
{"shape":"ValidationException"},
637+
{"shape":"ThrottlingException"}
638+
]
639+
},
563640
"ListScheduledActions":{
564641
"name":"ListScheduledActions",
565642
"http":{
@@ -951,6 +1028,8 @@
9511028
"type":"boolean",
9521029
"box":true
9531030
},
1031+
"Capacity":{"type":"integer"},
1032+
"Charge":{"type":"double"},
9541033
"ConfigParameter":{
9551034
"type":"structure",
9561035
"members":{
@@ -1056,6 +1135,32 @@
10561135
"namespace":{"shape":"Namespace"}
10571136
}
10581137
},
1138+
"CreateReservationRequest":{
1139+
"type":"structure",
1140+
"required":[
1141+
"capacity",
1142+
"offeringId"
1143+
],
1144+
"members":{
1145+
"capacity":{"shape":"Capacity"},
1146+
"clientToken":{
1147+
"shape":"String",
1148+
"idempotencyToken":true
1149+
},
1150+
"offeringId":{"shape":"CreateReservationRequestOfferingIdString"}
1151+
}
1152+
},
1153+
"CreateReservationRequestOfferingIdString":{
1154+
"type":"string",
1155+
"max":64,
1156+
"min":1
1157+
},
1158+
"CreateReservationResponse":{
1159+
"type":"structure",
1160+
"members":{
1161+
"reservation":{"shape":"Reservation"}
1162+
}
1163+
},
10591164
"CreateScheduledActionRequest":{
10601165
"type":"structure",
10611166
"required":[
@@ -1185,6 +1290,7 @@
11851290
"workgroup":{"shape":"Workgroup"}
11861291
}
11871292
},
1293+
"CurrencyCode":{"type":"string"},
11881294
"CustomDomainCertificateArnString":{
11891295
"type":"string",
11901296
"max":2048,
@@ -1334,6 +1440,7 @@
13341440
"type":"double",
13351441
"box":true
13361442
},
1443+
"Duration":{"type":"integer"},
13371444
"Endpoint":{
13381445
"type":"structure",
13391446
"members":{
@@ -1439,6 +1546,44 @@
14391546
"recoveryPoint":{"shape":"RecoveryPoint"}
14401547
}
14411548
},
1549+
"GetReservationOfferingRequest":{
1550+
"type":"structure",
1551+
"required":["offeringId"],
1552+
"members":{
1553+
"offeringId":{"shape":"GetReservationOfferingRequestOfferingIdString"}
1554+
}
1555+
},
1556+
"GetReservationOfferingRequestOfferingIdString":{
1557+
"type":"string",
1558+
"max":64,
1559+
"min":1
1560+
},
1561+
"GetReservationOfferingResponse":{
1562+
"type":"structure",
1563+
"required":["reservationOffering"],
1564+
"members":{
1565+
"reservationOffering":{"shape":"ReservationOffering"}
1566+
}
1567+
},
1568+
"GetReservationRequest":{
1569+
"type":"structure",
1570+
"required":["reservationId"],
1571+
"members":{
1572+
"reservationId":{"shape":"GetReservationRequestReservationIdString"}
1573+
}
1574+
},
1575+
"GetReservationRequestReservationIdString":{
1576+
"type":"string",
1577+
"max":64,
1578+
"min":1
1579+
},
1580+
"GetReservationResponse":{
1581+
"type":"structure",
1582+
"required":["reservation"],
1583+
"members":{
1584+
"reservation":{"shape":"Reservation"}
1585+
}
1586+
},
14421587
"GetResourcePolicyRequest":{
14431588
"type":"structure",
14441589
"required":["resourceArn"],
@@ -1693,6 +1838,48 @@
16931838
"recoveryPoints":{"shape":"RecoveryPointList"}
16941839
}
16951840
},
1841+
"ListReservationOfferingsRequest":{
1842+
"type":"structure",
1843+
"members":{
1844+
"maxResults":{"shape":"ListReservationOfferingsRequestMaxResultsInteger"},
1845+
"nextToken":{"shape":"PaginationToken"}
1846+
}
1847+
},
1848+
"ListReservationOfferingsRequestMaxResultsInteger":{
1849+
"type":"integer",
1850+
"box":true,
1851+
"max":100,
1852+
"min":1
1853+
},
1854+
"ListReservationOfferingsResponse":{
1855+
"type":"structure",
1856+
"required":["reservationOfferingsList"],
1857+
"members":{
1858+
"nextToken":{"shape":"PaginationToken"},
1859+
"reservationOfferingsList":{"shape":"ReservationOfferingsList"}
1860+
}
1861+
},
1862+
"ListReservationsRequest":{
1863+
"type":"structure",
1864+
"members":{
1865+
"maxResults":{"shape":"ListReservationsRequestMaxResultsInteger"},
1866+
"nextToken":{"shape":"PaginationToken"}
1867+
}
1868+
},
1869+
"ListReservationsRequestMaxResultsInteger":{
1870+
"type":"integer",
1871+
"box":true,
1872+
"max":100,
1873+
"min":1
1874+
},
1875+
"ListReservationsResponse":{
1876+
"type":"structure",
1877+
"required":["reservationsList"],
1878+
"members":{
1879+
"nextToken":{"shape":"PaginationToken"},
1880+
"reservationsList":{"shape":"ReservationsList"}
1881+
}
1882+
},
16961883
"ListScheduledActionsRequest":{
16971884
"type":"structure",
16981885
"members":{
@@ -1962,6 +2149,18 @@
19622149
"type":"list",
19632150
"member":{"shape":"Timestamp"}
19642151
},
2152+
"OfferingId":{
2153+
"type":"string",
2154+
"max":64,
2155+
"min":1
2156+
},
2157+
"OfferingType":{
2158+
"type":"string",
2159+
"enum":[
2160+
"ALL_UPFRONT",
2161+
"NO_UPFRONT"
2162+
]
2163+
},
19652164
"OwnerAccount":{
19662165
"type":"string",
19672166
"max":12,
@@ -2032,6 +2231,47 @@
20322231
"max":1024,
20332232
"min":1
20342233
},
2234+
"Reservation":{
2235+
"type":"structure",
2236+
"members":{
2237+
"capacity":{"shape":"Capacity"},
2238+
"endDate":{"shape":"SyntheticTimestamp_date_time"},
2239+
"offering":{"shape":"ReservationOffering"},
2240+
"reservationArn":{"shape":"ReservationArn"},
2241+
"reservationId":{"shape":"ReservationId"},
2242+
"startDate":{"shape":"SyntheticTimestamp_date_time"},
2243+
"status":{"shape":"Status"}
2244+
}
2245+
},
2246+
"ReservationArn":{
2247+
"type":"string",
2248+
"max":128,
2249+
"min":1
2250+
},
2251+
"ReservationId":{
2252+
"type":"string",
2253+
"max":64,
2254+
"min":1
2255+
},
2256+
"ReservationOffering":{
2257+
"type":"structure",
2258+
"members":{
2259+
"currencyCode":{"shape":"CurrencyCode"},
2260+
"duration":{"shape":"Duration"},
2261+
"hourlyCharge":{"shape":"Charge"},
2262+
"offeringId":{"shape":"OfferingId"},
2263+
"offeringType":{"shape":"OfferingType"},
2264+
"upfrontCharge":{"shape":"Charge"}
2265+
}
2266+
},
2267+
"ReservationOfferingsList":{
2268+
"type":"list",
2269+
"member":{"shape":"ReservationOffering"}
2270+
},
2271+
"ReservationsList":{
2272+
"type":"list",
2273+
"member":{"shape":"Reservation"}
2274+
},
20352275
"ResourceNotFoundException":{
20362276
"type":"structure",
20372277
"required":["message"],
@@ -2287,6 +2527,11 @@
22872527
"DISABLED"
22882528
]
22892529
},
2530+
"Status":{
2531+
"type":"string",
2532+
"max":16,
2533+
"min":1
2534+
},
22902535
"String":{"type":"string"},
22912536
"SubnetId":{"type":"string"},
22922537
"SubnetIdList":{

0 commit comments

Comments
 (0)