aws-sdk-redshiftserverless 1.46.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,8 @@ module Aws::RedshiftServerless
20
20
  Association = Shapes::StructureShape.new(name: 'Association')
21
21
  AssociationList = Shapes::ListShape.new(name: 'AssociationList')
22
22
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
+ Capacity = Shapes::IntegerShape.new(name: 'Capacity')
24
+ Charge = Shapes::FloatShape.new(name: 'Charge')
23
25
  ConfigParameter = Shapes::StructureShape.new(name: 'ConfigParameter')
24
26
  ConfigParameterList = Shapes::ListShape.new(name: 'ConfigParameterList')
25
27
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -31,6 +33,9 @@ module Aws::RedshiftServerless
31
33
  CreateEndpointAccessResponse = Shapes::StructureShape.new(name: 'CreateEndpointAccessResponse')
32
34
  CreateNamespaceRequest = Shapes::StructureShape.new(name: 'CreateNamespaceRequest')
33
35
  CreateNamespaceResponse = Shapes::StructureShape.new(name: 'CreateNamespaceResponse')
36
+ CreateReservationRequest = Shapes::StructureShape.new(name: 'CreateReservationRequest')
37
+ CreateReservationRequestOfferingIdString = Shapes::StringShape.new(name: 'CreateReservationRequestOfferingIdString')
38
+ CreateReservationResponse = Shapes::StructureShape.new(name: 'CreateReservationResponse')
34
39
  CreateScheduledActionRequest = Shapes::StructureShape.new(name: 'CreateScheduledActionRequest')
35
40
  CreateScheduledActionResponse = Shapes::StructureShape.new(name: 'CreateScheduledActionResponse')
36
41
  CreateSnapshotCopyConfigurationRequest = Shapes::StructureShape.new(name: 'CreateSnapshotCopyConfigurationRequest')
@@ -42,6 +47,7 @@ module Aws::RedshiftServerless
42
47
  CreateUsageLimitResponse = Shapes::StructureShape.new(name: 'CreateUsageLimitResponse')
43
48
  CreateWorkgroupRequest = Shapes::StructureShape.new(name: 'CreateWorkgroupRequest')
44
49
  CreateWorkgroupResponse = Shapes::StructureShape.new(name: 'CreateWorkgroupResponse')
50
+ CurrencyCode = Shapes::StringShape.new(name: 'CurrencyCode')
45
51
  CustomDomainCertificateArnString = Shapes::StringShape.new(name: 'CustomDomainCertificateArnString')
46
52
  CustomDomainName = Shapes::StringShape.new(name: 'CustomDomainName')
47
53
  DbName = Shapes::StringShape.new(name: 'DbName')
@@ -66,6 +72,7 @@ module Aws::RedshiftServerless
66
72
  DeleteWorkgroupRequest = Shapes::StructureShape.new(name: 'DeleteWorkgroupRequest')
67
73
  DeleteWorkgroupResponse = Shapes::StructureShape.new(name: 'DeleteWorkgroupResponse')
68
74
  Double = Shapes::FloatShape.new(name: 'Double')
75
+ Duration = Shapes::IntegerShape.new(name: 'Duration')
69
76
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
70
77
  EndpointAccess = Shapes::StructureShape.new(name: 'EndpointAccess')
71
78
  EndpointAccessList = Shapes::ListShape.new(name: 'EndpointAccessList')
@@ -79,6 +86,12 @@ module Aws::RedshiftServerless
79
86
  GetNamespaceResponse = Shapes::StructureShape.new(name: 'GetNamespaceResponse')
80
87
  GetRecoveryPointRequest = Shapes::StructureShape.new(name: 'GetRecoveryPointRequest')
81
88
  GetRecoveryPointResponse = Shapes::StructureShape.new(name: 'GetRecoveryPointResponse')
89
+ GetReservationOfferingRequest = Shapes::StructureShape.new(name: 'GetReservationOfferingRequest')
90
+ GetReservationOfferingRequestOfferingIdString = Shapes::StringShape.new(name: 'GetReservationOfferingRequestOfferingIdString')
91
+ GetReservationOfferingResponse = Shapes::StructureShape.new(name: 'GetReservationOfferingResponse')
92
+ GetReservationRequest = Shapes::StructureShape.new(name: 'GetReservationRequest')
93
+ GetReservationRequestReservationIdString = Shapes::StringShape.new(name: 'GetReservationRequestReservationIdString')
94
+ GetReservationResponse = Shapes::StructureShape.new(name: 'GetReservationResponse')
82
95
  GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
83
96
  GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
84
97
  GetScheduledActionRequest = Shapes::StructureShape.new(name: 'GetScheduledActionRequest')
@@ -87,6 +100,8 @@ module Aws::RedshiftServerless
87
100
  GetSnapshotResponse = Shapes::StructureShape.new(name: 'GetSnapshotResponse')
88
101
  GetTableRestoreStatusRequest = Shapes::StructureShape.new(name: 'GetTableRestoreStatusRequest')
89
102
  GetTableRestoreStatusResponse = Shapes::StructureShape.new(name: 'GetTableRestoreStatusResponse')
103
+ GetTrackRequest = Shapes::StructureShape.new(name: 'GetTrackRequest')
104
+ GetTrackResponse = Shapes::StructureShape.new(name: 'GetTrackResponse')
90
105
  GetUsageLimitRequest = Shapes::StructureShape.new(name: 'GetUsageLimitRequest')
91
106
  GetUsageLimitResponse = Shapes::StructureShape.new(name: 'GetUsageLimitResponse')
92
107
  GetWorkgroupRequest = Shapes::StructureShape.new(name: 'GetWorkgroupRequest')
@@ -115,6 +130,12 @@ module Aws::RedshiftServerless
115
130
  ListRecoveryPointsRequest = Shapes::StructureShape.new(name: 'ListRecoveryPointsRequest')
116
131
  ListRecoveryPointsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRecoveryPointsRequestMaxResultsInteger')
117
132
  ListRecoveryPointsResponse = Shapes::StructureShape.new(name: 'ListRecoveryPointsResponse')
133
+ ListReservationOfferingsRequest = Shapes::StructureShape.new(name: 'ListReservationOfferingsRequest')
134
+ ListReservationOfferingsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListReservationOfferingsRequestMaxResultsInteger')
135
+ ListReservationOfferingsResponse = Shapes::StructureShape.new(name: 'ListReservationOfferingsResponse')
136
+ ListReservationsRequest = Shapes::StructureShape.new(name: 'ListReservationsRequest')
137
+ ListReservationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListReservationsRequestMaxResultsInteger')
138
+ ListReservationsResponse = Shapes::StructureShape.new(name: 'ListReservationsResponse')
118
139
  ListScheduledActionsRequest = Shapes::StructureShape.new(name: 'ListScheduledActionsRequest')
119
140
  ListScheduledActionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListScheduledActionsRequestMaxResultsInteger')
120
141
  ListScheduledActionsResponse = Shapes::StructureShape.new(name: 'ListScheduledActionsResponse')
@@ -129,6 +150,9 @@ module Aws::RedshiftServerless
129
150
  ListTableRestoreStatusResponse = Shapes::StructureShape.new(name: 'ListTableRestoreStatusResponse')
130
151
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
131
152
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
153
+ ListTracksRequest = Shapes::StructureShape.new(name: 'ListTracksRequest')
154
+ ListTracksRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListTracksRequestMaxResultsInteger')
155
+ ListTracksResponse = Shapes::StructureShape.new(name: 'ListTracksResponse')
132
156
  ListUsageLimitsRequest = Shapes::StructureShape.new(name: 'ListUsageLimitsRequest')
133
157
  ListUsageLimitsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListUsageLimitsRequestMaxResultsInteger')
134
158
  ListUsageLimitsResponse = Shapes::StructureShape.new(name: 'ListUsageLimitsResponse')
@@ -149,6 +173,8 @@ module Aws::RedshiftServerless
149
173
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
150
174
  NetworkInterfaceList = Shapes::ListShape.new(name: 'NetworkInterfaceList')
151
175
  NextInvocationsList = Shapes::ListShape.new(name: 'NextInvocationsList')
176
+ OfferingId = Shapes::StringShape.new(name: 'OfferingId')
177
+ OfferingType = Shapes::StringShape.new(name: 'OfferingType')
152
178
  OwnerAccount = Shapes::StringShape.new(name: 'OwnerAccount')
153
179
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
154
180
  ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
@@ -161,6 +187,12 @@ module Aws::RedshiftServerless
161
187
  RecoveryPoint = Shapes::StructureShape.new(name: 'RecoveryPoint')
162
188
  RecoveryPointList = Shapes::ListShape.new(name: 'RecoveryPointList')
163
189
  RedshiftIdcApplicationArn = Shapes::StringShape.new(name: 'RedshiftIdcApplicationArn')
190
+ Reservation = Shapes::StructureShape.new(name: 'Reservation')
191
+ ReservationArn = Shapes::StringShape.new(name: 'ReservationArn')
192
+ ReservationId = Shapes::StringShape.new(name: 'ReservationId')
193
+ ReservationOffering = Shapes::StructureShape.new(name: 'ReservationOffering')
194
+ ReservationOfferingsList = Shapes::ListShape.new(name: 'ReservationOfferingsList')
195
+ ReservationsList = Shapes::ListShape.new(name: 'ReservationsList')
164
196
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
165
197
  ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
166
198
  RestoreFromRecoveryPointRequest = Shapes::StructureShape.new(name: 'RestoreFromRecoveryPointRequest')
@@ -178,6 +210,7 @@ module Aws::RedshiftServerless
178
210
  ScheduledActionsList = Shapes::ListShape.new(name: 'ScheduledActionsList')
179
211
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
180
212
  SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
213
+ ServerlessTrack = Shapes::StructureShape.new(name: 'ServerlessTrack')
181
214
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
182
215
  Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
183
216
  SnapshotCopyConfiguration = Shapes::StructureShape.new(name: 'SnapshotCopyConfiguration')
@@ -187,6 +220,7 @@ module Aws::RedshiftServerless
187
220
  SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
188
221
  SourceArn = Shapes::StringShape.new(name: 'SourceArn')
189
222
  State = Shapes::StringShape.new(name: 'State')
223
+ Status = Shapes::StringShape.new(name: 'Status')
190
224
  String = Shapes::StringShape.new(name: 'String')
191
225
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
192
226
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
@@ -204,6 +238,8 @@ module Aws::RedshiftServerless
204
238
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
205
239
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
206
240
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
241
+ TrackList = Shapes::ListShape.new(name: 'TrackList')
242
+ TrackName = Shapes::StringShape.new(name: 'TrackName')
207
243
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
208
244
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
209
245
  UpdateCustomDomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateCustomDomainAssociationRequest')
@@ -218,6 +254,8 @@ module Aws::RedshiftServerless
218
254
  UpdateSnapshotCopyConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateSnapshotCopyConfigurationResponse')
219
255
  UpdateSnapshotRequest = Shapes::StructureShape.new(name: 'UpdateSnapshotRequest')
220
256
  UpdateSnapshotResponse = Shapes::StructureShape.new(name: 'UpdateSnapshotResponse')
257
+ UpdateTarget = Shapes::StructureShape.new(name: 'UpdateTarget')
258
+ UpdateTargetsList = Shapes::ListShape.new(name: 'UpdateTargetsList')
221
259
  UpdateUsageLimitRequest = Shapes::StructureShape.new(name: 'UpdateUsageLimitRequest')
222
260
  UpdateUsageLimitResponse = Shapes::StructureShape.new(name: 'UpdateUsageLimitResponse')
223
261
  UpdateWorkgroupRequest = Shapes::StructureShape.new(name: 'UpdateWorkgroupRequest')
@@ -310,6 +348,14 @@ module Aws::RedshiftServerless
310
348
  CreateNamespaceResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "namespace"))
311
349
  CreateNamespaceResponse.struct_class = Types::CreateNamespaceResponse
312
350
 
351
+ CreateReservationRequest.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, required: true, location_name: "capacity"))
352
+ CreateReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
353
+ CreateReservationRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: CreateReservationRequestOfferingIdString, required: true, location_name: "offeringId"))
354
+ CreateReservationRequest.struct_class = Types::CreateReservationRequest
355
+
356
+ CreateReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, location_name: "reservation"))
357
+ CreateReservationResponse.struct_class = Types::CreateReservationResponse
358
+
313
359
  CreateScheduledActionRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
314
360
  CreateScheduledActionRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
315
361
  CreateScheduledActionRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
@@ -370,6 +416,7 @@ module Aws::RedshiftServerless
370
416
  CreateWorkgroupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
371
417
  CreateWorkgroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
372
418
  CreateWorkgroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
419
+ CreateWorkgroupRequest.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "trackName"))
373
420
  CreateWorkgroupRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
374
421
  CreateWorkgroupRequest.struct_class = Types::CreateWorkgroupRequest
375
422
 
@@ -490,6 +537,18 @@ module Aws::RedshiftServerless
490
537
  GetRecoveryPointResponse.add_member(:recovery_point, Shapes::ShapeRef.new(shape: RecoveryPoint, location_name: "recoveryPoint"))
491
538
  GetRecoveryPointResponse.struct_class = Types::GetRecoveryPointResponse
492
539
 
540
+ GetReservationOfferingRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: GetReservationOfferingRequestOfferingIdString, required: true, location_name: "offeringId"))
541
+ GetReservationOfferingRequest.struct_class = Types::GetReservationOfferingRequest
542
+
543
+ GetReservationOfferingResponse.add_member(:reservation_offering, Shapes::ShapeRef.new(shape: ReservationOffering, required: true, location_name: "reservationOffering"))
544
+ GetReservationOfferingResponse.struct_class = Types::GetReservationOfferingResponse
545
+
546
+ GetReservationRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: GetReservationRequestReservationIdString, required: true, location_name: "reservationId"))
547
+ GetReservationRequest.struct_class = Types::GetReservationRequest
548
+
549
+ GetReservationResponse.add_member(:reservation, Shapes::ShapeRef.new(shape: Reservation, required: true, location_name: "reservation"))
550
+ GetReservationResponse.struct_class = Types::GetReservationResponse
551
+
493
552
  GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceArn"))
494
553
  GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
495
554
 
@@ -516,6 +575,12 @@ module Aws::RedshiftServerless
516
575
  GetTableRestoreStatusResponse.add_member(:table_restore_status, Shapes::ShapeRef.new(shape: TableRestoreStatus, location_name: "tableRestoreStatus"))
517
576
  GetTableRestoreStatusResponse.struct_class = Types::GetTableRestoreStatusResponse
518
577
 
578
+ GetTrackRequest.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, required: true, location_name: "trackName"))
579
+ GetTrackRequest.struct_class = Types::GetTrackRequest
580
+
581
+ GetTrackResponse.add_member(:track, Shapes::ShapeRef.new(shape: ServerlessTrack, location_name: "track"))
582
+ GetTrackResponse.struct_class = Types::GetTrackResponse
583
+
519
584
  GetUsageLimitRequest.add_member(:usage_limit_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "usageLimitId"))
520
585
  GetUsageLimitRequest.struct_class = Types::GetUsageLimitRequest
521
586
 
@@ -592,6 +657,22 @@ module Aws::RedshiftServerless
592
657
  ListRecoveryPointsResponse.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointList, location_name: "recoveryPoints"))
593
658
  ListRecoveryPointsResponse.struct_class = Types::ListRecoveryPointsResponse
594
659
 
660
+ ListReservationOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListReservationOfferingsRequestMaxResultsInteger, location_name: "maxResults"))
661
+ ListReservationOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
662
+ ListReservationOfferingsRequest.struct_class = Types::ListReservationOfferingsRequest
663
+
664
+ ListReservationOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
665
+ ListReservationOfferingsResponse.add_member(:reservation_offerings_list, Shapes::ShapeRef.new(shape: ReservationOfferingsList, required: true, location_name: "reservationOfferingsList"))
666
+ ListReservationOfferingsResponse.struct_class = Types::ListReservationOfferingsResponse
667
+
668
+ ListReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListReservationsRequestMaxResultsInteger, location_name: "maxResults"))
669
+ ListReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
670
+ ListReservationsRequest.struct_class = Types::ListReservationsRequest
671
+
672
+ ListReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
673
+ ListReservationsResponse.add_member(:reservations_list, Shapes::ShapeRef.new(shape: ReservationsList, required: true, location_name: "reservationsList"))
674
+ ListReservationsResponse.struct_class = Types::ListReservationsResponse
675
+
595
676
  ListScheduledActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScheduledActionsRequestMaxResultsInteger, location_name: "maxResults"))
596
677
  ListScheduledActionsRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, location_name: "namespaceName"))
597
678
  ListScheduledActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -639,6 +720,14 @@ module Aws::RedshiftServerless
639
720
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
640
721
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
641
722
 
723
+ ListTracksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTracksRequestMaxResultsInteger, location_name: "maxResults"))
724
+ ListTracksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
725
+ ListTracksRequest.struct_class = Types::ListTracksRequest
726
+
727
+ ListTracksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
728
+ ListTracksResponse.add_member(:tracks, Shapes::ShapeRef.new(shape: TrackList, location_name: "tracks"))
729
+ ListTracksResponse.struct_class = Types::ListTracksResponse
730
+
642
731
  ListUsageLimitsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListUsageLimitsRequestMaxResultsInteger, location_name: "maxResults"))
643
732
  ListUsageLimitsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
644
733
  ListUsageLimitsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
@@ -718,6 +807,27 @@ module Aws::RedshiftServerless
718
807
 
719
808
  RecoveryPointList.member = Shapes::ShapeRef.new(shape: RecoveryPoint)
720
809
 
810
+ Reservation.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
811
+ Reservation.add_member(:end_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endDate"))
812
+ Reservation.add_member(:offering, Shapes::ShapeRef.new(shape: ReservationOffering, location_name: "offering"))
813
+ Reservation.add_member(:reservation_arn, Shapes::ShapeRef.new(shape: ReservationArn, location_name: "reservationArn"))
814
+ Reservation.add_member(:reservation_id, Shapes::ShapeRef.new(shape: ReservationId, location_name: "reservationId"))
815
+ Reservation.add_member(:start_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startDate"))
816
+ Reservation.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
817
+ Reservation.struct_class = Types::Reservation
818
+
819
+ ReservationOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: CurrencyCode, location_name: "currencyCode"))
820
+ ReservationOffering.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "duration"))
821
+ ReservationOffering.add_member(:hourly_charge, Shapes::ShapeRef.new(shape: Charge, location_name: "hourlyCharge"))
822
+ ReservationOffering.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "offeringId"))
823
+ ReservationOffering.add_member(:offering_type, Shapes::ShapeRef.new(shape: OfferingType, location_name: "offeringType"))
824
+ ReservationOffering.add_member(:upfront_charge, Shapes::ShapeRef.new(shape: Charge, location_name: "upfrontCharge"))
825
+ ReservationOffering.struct_class = Types::ReservationOffering
826
+
827
+ ReservationOfferingsList.member = Shapes::ShapeRef.new(shape: ReservationOffering)
828
+
829
+ ReservationsList.member = Shapes::ShapeRef.new(shape: Reservation)
830
+
721
831
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
722
832
  ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
723
833
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -808,6 +918,11 @@ module Aws::RedshiftServerless
808
918
 
809
919
  SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
810
920
 
921
+ ServerlessTrack.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "trackName"))
922
+ ServerlessTrack.add_member(:update_targets, Shapes::ShapeRef.new(shape: UpdateTargetsList, location_name: "updateTargets"))
923
+ ServerlessTrack.add_member(:workgroup_version, Shapes::ShapeRef.new(shape: String, location_name: "workgroupVersion"))
924
+ ServerlessTrack.struct_class = Types::ServerlessTrack
925
+
811
926
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
812
927
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
813
928
 
@@ -897,6 +1012,8 @@ module Aws::RedshiftServerless
897
1012
  TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
898
1013
  TooManyTagsException.struct_class = Types::TooManyTagsException
899
1014
 
1015
+ TrackList.member = Shapes::ShapeRef.new(shape: ServerlessTrack)
1016
+
900
1017
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
901
1018
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
902
1019
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -962,6 +1079,12 @@ module Aws::RedshiftServerless
962
1079
  UpdateSnapshotResponse.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "snapshot"))
963
1080
  UpdateSnapshotResponse.struct_class = Types::UpdateSnapshotResponse
964
1081
 
1082
+ UpdateTarget.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "trackName"))
1083
+ UpdateTarget.add_member(:workgroup_version, Shapes::ShapeRef.new(shape: String, location_name: "workgroupVersion"))
1084
+ UpdateTarget.struct_class = Types::UpdateTarget
1085
+
1086
+ UpdateTargetsList.member = Shapes::ShapeRef.new(shape: UpdateTarget)
1087
+
965
1088
  UpdateUsageLimitRequest.add_member(:amount, Shapes::ShapeRef.new(shape: Long, location_name: "amount"))
966
1089
  UpdateUsageLimitRequest.add_member(:breach_action, Shapes::ShapeRef.new(shape: UsageLimitBreachAction, location_name: "breachAction"))
967
1090
  UpdateUsageLimitRequest.add_member(:usage_limit_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "usageLimitId"))
@@ -980,6 +1103,7 @@ module Aws::RedshiftServerless
980
1103
  UpdateWorkgroupRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
981
1104
  UpdateWorkgroupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
982
1105
  UpdateWorkgroupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
1106
+ UpdateWorkgroupRequest.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "trackName"))
983
1107
  UpdateWorkgroupRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
984
1108
  UpdateWorkgroupRequest.struct_class = Types::UpdateWorkgroupRequest
985
1109
 
@@ -1030,12 +1154,14 @@ module Aws::RedshiftServerless
1030
1154
  Workgroup.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
1031
1155
  Workgroup.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
1032
1156
  Workgroup.add_member(:patch_version, Shapes::ShapeRef.new(shape: String, location_name: "patchVersion"))
1157
+ Workgroup.add_member(:pending_track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "pendingTrackName"))
1033
1158
  Workgroup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
1034
1159
  Workgroup.add_member(:price_performance_target, Shapes::ShapeRef.new(shape: PerformanceTarget, location_name: "pricePerformanceTarget"))
1035
1160
  Workgroup.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
1036
1161
  Workgroup.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
1037
1162
  Workgroup.add_member(:status, Shapes::ShapeRef.new(shape: WorkgroupStatus, location_name: "status"))
1038
1163
  Workgroup.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
1164
+ Workgroup.add_member(:track_name, Shapes::ShapeRef.new(shape: TrackName, location_name: "trackName"))
1039
1165
  Workgroup.add_member(:workgroup_arn, Shapes::ShapeRef.new(shape: String, location_name: "workgroupArn"))
1040
1166
  Workgroup.add_member(:workgroup_id, Shapes::ShapeRef.new(shape: String, location_name: "workgroupId"))
1041
1167
  Workgroup.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
@@ -1119,6 +1245,21 @@ module Aws::RedshiftServerless
1119
1245
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1120
1246
  end)
1121
1247
 
1248
+ api.add_operation(:create_reservation, Seahorse::Model::Operation.new.tap do |o|
1249
+ o.name = "CreateReservation"
1250
+ o.http_method = "POST"
1251
+ o.http_request_uri = "/"
1252
+ o.input = Shapes::ShapeRef.new(shape: CreateReservationRequest)
1253
+ o.output = Shapes::ShapeRef.new(shape: CreateReservationResponse)
1254
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1257
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1261
+ end)
1262
+
1122
1263
  api.add_operation(:create_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
1123
1264
  o.name = "CreateScheduledAction"
1124
1265
  o.http_method = "POST"
@@ -1356,6 +1497,30 @@ module Aws::RedshiftServerless
1356
1497
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1357
1498
  end)
1358
1499
 
1500
+ api.add_operation(:get_reservation, Seahorse::Model::Operation.new.tap do |o|
1501
+ o.name = "GetReservation"
1502
+ o.http_method = "POST"
1503
+ o.http_request_uri = "/"
1504
+ o.input = Shapes::ShapeRef.new(shape: GetReservationRequest)
1505
+ o.output = Shapes::ShapeRef.new(shape: GetReservationResponse)
1506
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1507
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1508
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1509
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1510
+ end)
1511
+
1512
+ api.add_operation(:get_reservation_offering, Seahorse::Model::Operation.new.tap do |o|
1513
+ o.name = "GetReservationOffering"
1514
+ o.http_method = "POST"
1515
+ o.http_request_uri = "/"
1516
+ o.input = Shapes::ShapeRef.new(shape: GetReservationOfferingRequest)
1517
+ o.output = Shapes::ShapeRef.new(shape: GetReservationOfferingResponse)
1518
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1519
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1520
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1521
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1522
+ end)
1523
+
1359
1524
  api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1360
1525
  o.name = "GetResourcePolicy"
1361
1526
  o.http_method = "POST"
@@ -1399,6 +1564,20 @@ module Aws::RedshiftServerless
1399
1564
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1400
1565
  end)
1401
1566
 
1567
+ api.add_operation(:get_track, Seahorse::Model::Operation.new.tap do |o|
1568
+ o.name = "GetTrack"
1569
+ o.http_method = "POST"
1570
+ o.http_request_uri = "/"
1571
+ o.input = Shapes::ShapeRef.new(shape: GetTrackRequest)
1572
+ o.output = Shapes::ShapeRef.new(shape: GetTrackResponse)
1573
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1574
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1575
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1576
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1577
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1579
+ end)
1580
+
1402
1581
  api.add_operation(:get_usage_limit, Seahorse::Model::Operation.new.tap do |o|
1403
1582
  o.name = "GetUsageLimit"
1404
1583
  o.http_method = "POST"
@@ -1507,6 +1686,40 @@ module Aws::RedshiftServerless
1507
1686
  )
1508
1687
  end)
1509
1688
 
1689
+ api.add_operation(:list_reservation_offerings, Seahorse::Model::Operation.new.tap do |o|
1690
+ o.name = "ListReservationOfferings"
1691
+ o.http_method = "POST"
1692
+ o.http_request_uri = "/"
1693
+ o.input = Shapes::ShapeRef.new(shape: ListReservationOfferingsRequest)
1694
+ o.output = Shapes::ShapeRef.new(shape: ListReservationOfferingsResponse)
1695
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1696
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1697
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1698
+ o[:pager] = Aws::Pager.new(
1699
+ limit_key: "max_results",
1700
+ tokens: {
1701
+ "next_token" => "next_token"
1702
+ }
1703
+ )
1704
+ end)
1705
+
1706
+ api.add_operation(:list_reservations, Seahorse::Model::Operation.new.tap do |o|
1707
+ o.name = "ListReservations"
1708
+ o.http_method = "POST"
1709
+ o.http_request_uri = "/"
1710
+ o.input = Shapes::ShapeRef.new(shape: ListReservationsRequest)
1711
+ o.output = Shapes::ShapeRef.new(shape: ListReservationsResponse)
1712
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1713
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1714
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1715
+ o[:pager] = Aws::Pager.new(
1716
+ limit_key: "max_results",
1717
+ tokens: {
1718
+ "next_token" => "next_token"
1719
+ }
1720
+ )
1721
+ end)
1722
+
1510
1723
  api.add_operation(:list_scheduled_actions, Seahorse::Model::Operation.new.tap do |o|
1511
1724
  o.name = "ListScheduledActions"
1512
1725
  o.http_method = "POST"
@@ -1590,6 +1803,25 @@ module Aws::RedshiftServerless
1590
1803
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1591
1804
  end)
1592
1805
 
1806
+ api.add_operation(:list_tracks, Seahorse::Model::Operation.new.tap do |o|
1807
+ o.name = "ListTracks"
1808
+ o.http_method = "POST"
1809
+ o.http_request_uri = "/"
1810
+ o.input = Shapes::ShapeRef.new(shape: ListTracksRequest)
1811
+ o.output = Shapes::ShapeRef.new(shape: ListTracksResponse)
1812
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1817
+ o[:pager] = Aws::Pager.new(
1818
+ limit_key: "max_results",
1819
+ tokens: {
1820
+ "next_token" => "next_token"
1821
+ }
1822
+ )
1823
+ end)
1824
+
1593
1825
  api.add_operation(:list_usage_limits, Seahorse::Model::Operation.new.tap do |o|
1594
1826
  o.name = "ListUsageLimits"
1595
1827
  o.http_method = "POST"