aws-sdk-redshiftserverless 1.21.0 → 1.22.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftserverless/client.rb +670 -3
- data/lib/aws-sdk-redshiftserverless/client_api.rb +318 -0
- data/lib/aws-sdk-redshiftserverless/endpoints.rb +140 -0
- data/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb +20 -0
- data/lib/aws-sdk-redshiftserverless/types.rb +822 -30
- data/lib/aws-sdk-redshiftserverless.rb +1 -1
- metadata +2 -2
@@ -68,6 +68,20 @@ module Aws::RedshiftServerless
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
class CreateScheduledAction
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
71
85
|
class CreateSnapshot
|
72
86
|
def self.build(context)
|
73
87
|
unless context.config.regional_endpoint
|
@@ -82,6 +96,20 @@ module Aws::RedshiftServerless
|
|
82
96
|
end
|
83
97
|
end
|
84
98
|
|
99
|
+
class CreateSnapshotCopyConfiguration
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
85
113
|
class CreateUsageLimit
|
86
114
|
def self.build(context)
|
87
115
|
unless context.config.regional_endpoint
|
@@ -166,6 +194,20 @@ module Aws::RedshiftServerless
|
|
166
194
|
end
|
167
195
|
end
|
168
196
|
|
197
|
+
class DeleteScheduledAction
|
198
|
+
def self.build(context)
|
199
|
+
unless context.config.regional_endpoint
|
200
|
+
endpoint = context.config.endpoint.to_s
|
201
|
+
end
|
202
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
203
|
+
region: context.config.region,
|
204
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
205
|
+
use_fips: context.config.use_fips_endpoint,
|
206
|
+
endpoint: endpoint,
|
207
|
+
)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
169
211
|
class DeleteSnapshot
|
170
212
|
def self.build(context)
|
171
213
|
unless context.config.regional_endpoint
|
@@ -180,6 +222,20 @@ module Aws::RedshiftServerless
|
|
180
222
|
end
|
181
223
|
end
|
182
224
|
|
225
|
+
class DeleteSnapshotCopyConfiguration
|
226
|
+
def self.build(context)
|
227
|
+
unless context.config.regional_endpoint
|
228
|
+
endpoint = context.config.endpoint.to_s
|
229
|
+
end
|
230
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
231
|
+
region: context.config.region,
|
232
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
233
|
+
use_fips: context.config.use_fips_endpoint,
|
234
|
+
endpoint: endpoint,
|
235
|
+
)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
183
239
|
class DeleteUsageLimit
|
184
240
|
def self.build(context)
|
185
241
|
unless context.config.regional_endpoint
|
@@ -292,6 +348,20 @@ module Aws::RedshiftServerless
|
|
292
348
|
end
|
293
349
|
end
|
294
350
|
|
351
|
+
class GetScheduledAction
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
295
365
|
class GetSnapshot
|
296
366
|
def self.build(context)
|
297
367
|
unless context.config.regional_endpoint
|
@@ -404,6 +474,34 @@ module Aws::RedshiftServerless
|
|
404
474
|
end
|
405
475
|
end
|
406
476
|
|
477
|
+
class ListScheduledActions
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
483
|
+
region: context.config.region,
|
484
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
485
|
+
use_fips: context.config.use_fips_endpoint,
|
486
|
+
endpoint: endpoint,
|
487
|
+
)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class ListSnapshotCopyConfigurations
|
492
|
+
def self.build(context)
|
493
|
+
unless context.config.regional_endpoint
|
494
|
+
endpoint = context.config.endpoint.to_s
|
495
|
+
end
|
496
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
497
|
+
region: context.config.region,
|
498
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
499
|
+
use_fips: context.config.use_fips_endpoint,
|
500
|
+
endpoint: endpoint,
|
501
|
+
)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
407
505
|
class ListSnapshots
|
408
506
|
def self.build(context)
|
409
507
|
unless context.config.regional_endpoint
|
@@ -516,6 +614,20 @@ module Aws::RedshiftServerless
|
|
516
614
|
end
|
517
615
|
end
|
518
616
|
|
617
|
+
class RestoreTableFromRecoveryPoint
|
618
|
+
def self.build(context)
|
619
|
+
unless context.config.regional_endpoint
|
620
|
+
endpoint = context.config.endpoint.to_s
|
621
|
+
end
|
622
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
623
|
+
region: context.config.region,
|
624
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
625
|
+
use_fips: context.config.use_fips_endpoint,
|
626
|
+
endpoint: endpoint,
|
627
|
+
)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
519
631
|
class RestoreTableFromSnapshot
|
520
632
|
def self.build(context)
|
521
633
|
unless context.config.regional_endpoint
|
@@ -600,6 +712,20 @@ module Aws::RedshiftServerless
|
|
600
712
|
end
|
601
713
|
end
|
602
714
|
|
715
|
+
class UpdateScheduledAction
|
716
|
+
def self.build(context)
|
717
|
+
unless context.config.regional_endpoint
|
718
|
+
endpoint = context.config.endpoint.to_s
|
719
|
+
end
|
720
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
721
|
+
region: context.config.region,
|
722
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
723
|
+
use_fips: context.config.use_fips_endpoint,
|
724
|
+
endpoint: endpoint,
|
725
|
+
)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
603
729
|
class UpdateSnapshot
|
604
730
|
def self.build(context)
|
605
731
|
unless context.config.regional_endpoint
|
@@ -614,6 +740,20 @@ module Aws::RedshiftServerless
|
|
614
740
|
end
|
615
741
|
end
|
616
742
|
|
743
|
+
class UpdateSnapshotCopyConfiguration
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
617
757
|
class UpdateUsageLimit
|
618
758
|
def self.build(context)
|
619
759
|
unless context.config.regional_endpoint
|
@@ -65,8 +65,12 @@ module Aws::RedshiftServerless
|
|
65
65
|
Aws::RedshiftServerless::Endpoints::CreateEndpointAccess.build(context)
|
66
66
|
when :create_namespace
|
67
67
|
Aws::RedshiftServerless::Endpoints::CreateNamespace.build(context)
|
68
|
+
when :create_scheduled_action
|
69
|
+
Aws::RedshiftServerless::Endpoints::CreateScheduledAction.build(context)
|
68
70
|
when :create_snapshot
|
69
71
|
Aws::RedshiftServerless::Endpoints::CreateSnapshot.build(context)
|
72
|
+
when :create_snapshot_copy_configuration
|
73
|
+
Aws::RedshiftServerless::Endpoints::CreateSnapshotCopyConfiguration.build(context)
|
70
74
|
when :create_usage_limit
|
71
75
|
Aws::RedshiftServerless::Endpoints::CreateUsageLimit.build(context)
|
72
76
|
when :create_workgroup
|
@@ -79,8 +83,12 @@ module Aws::RedshiftServerless
|
|
79
83
|
Aws::RedshiftServerless::Endpoints::DeleteNamespace.build(context)
|
80
84
|
when :delete_resource_policy
|
81
85
|
Aws::RedshiftServerless::Endpoints::DeleteResourcePolicy.build(context)
|
86
|
+
when :delete_scheduled_action
|
87
|
+
Aws::RedshiftServerless::Endpoints::DeleteScheduledAction.build(context)
|
82
88
|
when :delete_snapshot
|
83
89
|
Aws::RedshiftServerless::Endpoints::DeleteSnapshot.build(context)
|
90
|
+
when :delete_snapshot_copy_configuration
|
91
|
+
Aws::RedshiftServerless::Endpoints::DeleteSnapshotCopyConfiguration.build(context)
|
84
92
|
when :delete_usage_limit
|
85
93
|
Aws::RedshiftServerless::Endpoints::DeleteUsageLimit.build(context)
|
86
94
|
when :delete_workgroup
|
@@ -97,6 +105,8 @@ module Aws::RedshiftServerless
|
|
97
105
|
Aws::RedshiftServerless::Endpoints::GetRecoveryPoint.build(context)
|
98
106
|
when :get_resource_policy
|
99
107
|
Aws::RedshiftServerless::Endpoints::GetResourcePolicy.build(context)
|
108
|
+
when :get_scheduled_action
|
109
|
+
Aws::RedshiftServerless::Endpoints::GetScheduledAction.build(context)
|
100
110
|
when :get_snapshot
|
101
111
|
Aws::RedshiftServerless::Endpoints::GetSnapshot.build(context)
|
102
112
|
when :get_table_restore_status
|
@@ -113,6 +123,10 @@ module Aws::RedshiftServerless
|
|
113
123
|
Aws::RedshiftServerless::Endpoints::ListNamespaces.build(context)
|
114
124
|
when :list_recovery_points
|
115
125
|
Aws::RedshiftServerless::Endpoints::ListRecoveryPoints.build(context)
|
126
|
+
when :list_scheduled_actions
|
127
|
+
Aws::RedshiftServerless::Endpoints::ListScheduledActions.build(context)
|
128
|
+
when :list_snapshot_copy_configurations
|
129
|
+
Aws::RedshiftServerless::Endpoints::ListSnapshotCopyConfigurations.build(context)
|
116
130
|
when :list_snapshots
|
117
131
|
Aws::RedshiftServerless::Endpoints::ListSnapshots.build(context)
|
118
132
|
when :list_table_restore_status
|
@@ -129,6 +143,8 @@ module Aws::RedshiftServerless
|
|
129
143
|
Aws::RedshiftServerless::Endpoints::RestoreFromRecoveryPoint.build(context)
|
130
144
|
when :restore_from_snapshot
|
131
145
|
Aws::RedshiftServerless::Endpoints::RestoreFromSnapshot.build(context)
|
146
|
+
when :restore_table_from_recovery_point
|
147
|
+
Aws::RedshiftServerless::Endpoints::RestoreTableFromRecoveryPoint.build(context)
|
132
148
|
when :restore_table_from_snapshot
|
133
149
|
Aws::RedshiftServerless::Endpoints::RestoreTableFromSnapshot.build(context)
|
134
150
|
when :tag_resource
|
@@ -141,8 +157,12 @@ module Aws::RedshiftServerless
|
|
141
157
|
Aws::RedshiftServerless::Endpoints::UpdateEndpointAccess.build(context)
|
142
158
|
when :update_namespace
|
143
159
|
Aws::RedshiftServerless::Endpoints::UpdateNamespace.build(context)
|
160
|
+
when :update_scheduled_action
|
161
|
+
Aws::RedshiftServerless::Endpoints::UpdateScheduledAction.build(context)
|
144
162
|
when :update_snapshot
|
145
163
|
Aws::RedshiftServerless::Endpoints::UpdateSnapshot.build(context)
|
164
|
+
when :update_snapshot_copy_configuration
|
165
|
+
Aws::RedshiftServerless::Endpoints::UpdateSnapshotCopyConfiguration.build(context)
|
146
166
|
when :update_usage_limit
|
147
167
|
Aws::RedshiftServerless::Endpoints::UpdateUsageLimit.build(context)
|
148
168
|
when :update_workgroup
|