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
@@ -61,12 +61,11 @@ module Aws::RedshiftServerless
|
|
61
61
|
#
|
62
62
|
# @!attribute [rw] parameter_key
|
63
63
|
# The key of the parameter. The options are `auto_mv`, `datestyle`,
|
64
|
-
# `
|
65
|
-
# `
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# metrics
|
69
|
-
# Serverless][1].
|
64
|
+
# `enable_case_sensitive_identifier`, `enable_user_activity_logging`,
|
65
|
+
# `query_group`, `search_path`, and query monitoring metrics that let
|
66
|
+
# you define performance boundaries. For more information about query
|
67
|
+
# monitoring rules and available metrics, see [Query monitoring
|
68
|
+
# metrics for Amazon Redshift Serverless][1].
|
70
69
|
#
|
71
70
|
#
|
72
71
|
#
|
@@ -198,6 +197,11 @@ module Aws::RedshiftServerless
|
|
198
197
|
# consecutive hyphens or end with a hyphen.
|
199
198
|
# @return [String]
|
200
199
|
#
|
200
|
+
# @!attribute [rw] owner_account
|
201
|
+
# The owner Amazon Web Services account for the Amazon Redshift
|
202
|
+
# Serverless workgroup.
|
203
|
+
# @return [String]
|
204
|
+
#
|
201
205
|
# @!attribute [rw] subnet_ids
|
202
206
|
# The unique identifers of subnets from which Amazon Redshift
|
203
207
|
# Serverless chooses one to deploy a VPC endpoint.
|
@@ -217,6 +221,7 @@ module Aws::RedshiftServerless
|
|
217
221
|
#
|
218
222
|
class CreateEndpointAccessRequest < Struct.new(
|
219
223
|
:endpoint_name,
|
224
|
+
:owner_account,
|
220
225
|
:subnet_ids,
|
221
226
|
:vpc_security_group_ids,
|
222
227
|
:workgroup_name)
|
@@ -329,6 +334,152 @@ module Aws::RedshiftServerless
|
|
329
334
|
include Aws::Structure
|
330
335
|
end
|
331
336
|
|
337
|
+
# @!attribute [rw] enabled
|
338
|
+
# Indicates whether the schedule is enabled. If false, the scheduled
|
339
|
+
# action does not trigger. For more information about `state` of the
|
340
|
+
# scheduled action, see [ScheduledAction][1].
|
341
|
+
#
|
342
|
+
#
|
343
|
+
#
|
344
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_ScheduledAction.html
|
345
|
+
# @return [Boolean]
|
346
|
+
#
|
347
|
+
# @!attribute [rw] end_time
|
348
|
+
# The end time in UTC when the schedule is no longer active. After
|
349
|
+
# this time, the scheduled action does not trigger.
|
350
|
+
# @return [Time]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] namespace_name
|
353
|
+
# The name of the namespace for which to create a scheduled action.
|
354
|
+
# @return [String]
|
355
|
+
#
|
356
|
+
# @!attribute [rw] role_arn
|
357
|
+
# The ARN of the IAM role to assume to run the scheduled action. This
|
358
|
+
# IAM role must have permission to run the Amazon Redshift Serverless
|
359
|
+
# API operation in the scheduled action. This IAM role must allow the
|
360
|
+
# Amazon Redshift scheduler to schedule creating snapshots. (Principal
|
361
|
+
# scheduler.redshift.amazonaws.com) to assume permissions on your
|
362
|
+
# behalf. For more information about the IAM role to use with the
|
363
|
+
# Amazon Redshift scheduler, see [Using Identity-Based Policies for
|
364
|
+
# Amazon Redshift][1] in the Amazon Redshift Cluster Management Guide
|
365
|
+
#
|
366
|
+
#
|
367
|
+
#
|
368
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html
|
369
|
+
# @return [String]
|
370
|
+
#
|
371
|
+
# @!attribute [rw] schedule
|
372
|
+
# The schedule for a one-time (at format) or recurring (cron format)
|
373
|
+
# scheduled action. Schedule invocations must be separated by at least
|
374
|
+
# one hour.
|
375
|
+
#
|
376
|
+
# Format of at expressions is "`at(yyyy-mm-ddThh:mm:ss)`". For
|
377
|
+
# example, "`at(2016-03-04T17:27:00)`".
|
378
|
+
#
|
379
|
+
# Format of cron expressions is "`cron(Minutes Hours Day-of-month
|
380
|
+
# Month Day-of-week Year)`". For example, "`cron(0 10 ? * MON *)`".
|
381
|
+
# For more information, see [Cron Expressions][1] in the *Amazon
|
382
|
+
# CloudWatch Events User Guide*.
|
383
|
+
#
|
384
|
+
#
|
385
|
+
#
|
386
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
|
387
|
+
# @return [Types::Schedule]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] scheduled_action_description
|
390
|
+
# The description of the scheduled action.
|
391
|
+
# @return [String]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] scheduled_action_name
|
394
|
+
# The name of the scheduled action.
|
395
|
+
# @return [String]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] start_time
|
398
|
+
# The start time in UTC when the schedule is active. Before this time,
|
399
|
+
# the scheduled action does not trigger.
|
400
|
+
# @return [Time]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] target_action
|
403
|
+
# A JSON format string of the Amazon Redshift Serverless API operation
|
404
|
+
# with input parameters. The following is an example of a target
|
405
|
+
# action.
|
406
|
+
#
|
407
|
+
# `"\{"CreateSnapshot": \{"NamespaceName":
|
408
|
+
# "sampleNamespace","SnapshotName": "sampleSnapshot",
|
409
|
+
# "retentionPeriod": "1"\}\}"`
|
410
|
+
# @return [Types::TargetAction]
|
411
|
+
#
|
412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateScheduledActionRequest AWS API Documentation
|
413
|
+
#
|
414
|
+
class CreateScheduledActionRequest < Struct.new(
|
415
|
+
:enabled,
|
416
|
+
:end_time,
|
417
|
+
:namespace_name,
|
418
|
+
:role_arn,
|
419
|
+
:schedule,
|
420
|
+
:scheduled_action_description,
|
421
|
+
:scheduled_action_name,
|
422
|
+
:start_time,
|
423
|
+
:target_action)
|
424
|
+
SENSITIVE = []
|
425
|
+
include Aws::Structure
|
426
|
+
end
|
427
|
+
|
428
|
+
# @!attribute [rw] scheduled_action
|
429
|
+
# The returned `ScheduledAction` object that describes the properties
|
430
|
+
# of a scheduled action.
|
431
|
+
# @return [Types::ScheduledActionResponse]
|
432
|
+
#
|
433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateScheduledActionResponse AWS API Documentation
|
434
|
+
#
|
435
|
+
class CreateScheduledActionResponse < Struct.new(
|
436
|
+
:scheduled_action)
|
437
|
+
SENSITIVE = []
|
438
|
+
include Aws::Structure
|
439
|
+
end
|
440
|
+
|
441
|
+
# @!attribute [rw] destination_kms_key_id
|
442
|
+
# The KMS key to use to encrypt your snapshots in the destination
|
443
|
+
# Amazon Web Services Region.
|
444
|
+
# @return [String]
|
445
|
+
#
|
446
|
+
# @!attribute [rw] destination_region
|
447
|
+
# The destination Amazon Web Services Region that you want to copy
|
448
|
+
# snapshots to.
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] namespace_name
|
452
|
+
# The name of the namespace to copy snapshots from.
|
453
|
+
# @return [String]
|
454
|
+
#
|
455
|
+
# @!attribute [rw] snapshot_retention_period
|
456
|
+
# The retention period of the snapshots that you copy to the
|
457
|
+
# destination Amazon Web Services Region.
|
458
|
+
# @return [Integer]
|
459
|
+
#
|
460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshotCopyConfigurationRequest AWS API Documentation
|
461
|
+
#
|
462
|
+
class CreateSnapshotCopyConfigurationRequest < Struct.new(
|
463
|
+
:destination_kms_key_id,
|
464
|
+
:destination_region,
|
465
|
+
:namespace_name,
|
466
|
+
:snapshot_retention_period)
|
467
|
+
SENSITIVE = []
|
468
|
+
include Aws::Structure
|
469
|
+
end
|
470
|
+
|
471
|
+
# @!attribute [rw] snapshot_copy_configuration
|
472
|
+
# The snapshot copy configuration object that is returned.
|
473
|
+
# @return [Types::SnapshotCopyConfiguration]
|
474
|
+
#
|
475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshotCopyConfigurationResponse AWS API Documentation
|
476
|
+
#
|
477
|
+
class CreateSnapshotCopyConfigurationResponse < Struct.new(
|
478
|
+
:snapshot_copy_configuration)
|
479
|
+
SENSITIVE = []
|
480
|
+
include Aws::Structure
|
481
|
+
end
|
482
|
+
|
332
483
|
# @!attribute [rw] namespace_name
|
333
484
|
# The namespace to create a snapshot for.
|
334
485
|
# @return [String]
|
@@ -372,6 +523,50 @@ module Aws::RedshiftServerless
|
|
372
523
|
include Aws::Structure
|
373
524
|
end
|
374
525
|
|
526
|
+
# The parameters that you can use to configure a [scheduled action][1]
|
527
|
+
# to create a snapshot. For more information about creating a scheduled
|
528
|
+
# action, see [CreateScheduledAction][1].
|
529
|
+
#
|
530
|
+
#
|
531
|
+
#
|
532
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html
|
533
|
+
#
|
534
|
+
# @!attribute [rw] namespace_name
|
535
|
+
# The name of the namespace for which you want to configure a
|
536
|
+
# scheduled action to create a snapshot.
|
537
|
+
# @return [String]
|
538
|
+
#
|
539
|
+
# @!attribute [rw] retention_period
|
540
|
+
# The retention period of the snapshot created by the scheduled
|
541
|
+
# action.
|
542
|
+
# @return [Integer]
|
543
|
+
#
|
544
|
+
# @!attribute [rw] snapshot_name_prefix
|
545
|
+
# A string prefix that is attached to the name of the snapshot created
|
546
|
+
# by the scheduled action. The final name of the snapshot is the
|
547
|
+
# string prefix appended by the date and time of when the snapshot was
|
548
|
+
# created.
|
549
|
+
# @return [String]
|
550
|
+
#
|
551
|
+
# @!attribute [rw] tags
|
552
|
+
# An array of [Tag objects][1] to associate with the snapshot.
|
553
|
+
#
|
554
|
+
#
|
555
|
+
#
|
556
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_Tag.html
|
557
|
+
# @return [Array<Types::Tag>]
|
558
|
+
#
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshotScheduleActionParameters AWS API Documentation
|
560
|
+
#
|
561
|
+
class CreateSnapshotScheduleActionParameters < Struct.new(
|
562
|
+
:namespace_name,
|
563
|
+
:retention_period,
|
564
|
+
:snapshot_name_prefix,
|
565
|
+
:tags)
|
566
|
+
SENSITIVE = []
|
567
|
+
include Aws::Structure
|
568
|
+
end
|
569
|
+
|
375
570
|
# @!attribute [rw] amount
|
376
571
|
# The limit amount. If time-based, this amount is in Redshift
|
377
572
|
# Processing Units (RPU) consumed per hour. If data-based, this amount
|
@@ -431,12 +626,11 @@ module Aws::RedshiftServerless
|
|
431
626
|
# @!attribute [rw] config_parameters
|
432
627
|
# An array of parameters to set for advanced control over a database.
|
433
628
|
# The options are `auto_mv`, `datestyle`,
|
434
|
-
# `
|
435
|
-
# `
|
436
|
-
#
|
437
|
-
#
|
438
|
-
# metrics
|
439
|
-
# Serverless][1].
|
629
|
+
# `enable_case_sensitive_identifier`, `enable_user_activity_logging`,
|
630
|
+
# `query_group`, `search_path`, and query monitoring metrics that let
|
631
|
+
# you define performance boundaries. For more information about query
|
632
|
+
# monitoring rules and available metrics, see [ Query monitoring
|
633
|
+
# metrics for Amazon Redshift Serverless][1].
|
440
634
|
#
|
441
635
|
#
|
442
636
|
#
|
@@ -610,6 +804,54 @@ module Aws::RedshiftServerless
|
|
610
804
|
#
|
611
805
|
class DeleteResourcePolicyResponse < Aws::EmptyStructure; end
|
612
806
|
|
807
|
+
# @!attribute [rw] scheduled_action_name
|
808
|
+
# The name of the scheduled action to delete.
|
809
|
+
# @return [String]
|
810
|
+
#
|
811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteScheduledActionRequest AWS API Documentation
|
812
|
+
#
|
813
|
+
class DeleteScheduledActionRequest < Struct.new(
|
814
|
+
:scheduled_action_name)
|
815
|
+
SENSITIVE = []
|
816
|
+
include Aws::Structure
|
817
|
+
end
|
818
|
+
|
819
|
+
# @!attribute [rw] scheduled_action
|
820
|
+
# The deleted scheduled action object.
|
821
|
+
# @return [Types::ScheduledActionResponse]
|
822
|
+
#
|
823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteScheduledActionResponse AWS API Documentation
|
824
|
+
#
|
825
|
+
class DeleteScheduledActionResponse < Struct.new(
|
826
|
+
:scheduled_action)
|
827
|
+
SENSITIVE = []
|
828
|
+
include Aws::Structure
|
829
|
+
end
|
830
|
+
|
831
|
+
# @!attribute [rw] snapshot_copy_configuration_id
|
832
|
+
# The ID of the snapshot copy configuration to delete.
|
833
|
+
# @return [String]
|
834
|
+
#
|
835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteSnapshotCopyConfigurationRequest AWS API Documentation
|
836
|
+
#
|
837
|
+
class DeleteSnapshotCopyConfigurationRequest < Struct.new(
|
838
|
+
:snapshot_copy_configuration_id)
|
839
|
+
SENSITIVE = []
|
840
|
+
include Aws::Structure
|
841
|
+
end
|
842
|
+
|
843
|
+
# @!attribute [rw] snapshot_copy_configuration
|
844
|
+
# The deleted snapshot copy configuration object.
|
845
|
+
# @return [Types::SnapshotCopyConfiguration]
|
846
|
+
#
|
847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteSnapshotCopyConfigurationResponse AWS API Documentation
|
848
|
+
#
|
849
|
+
class DeleteSnapshotCopyConfigurationResponse < Struct.new(
|
850
|
+
:snapshot_copy_configuration)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
613
855
|
# @!attribute [rw] snapshot_name
|
614
856
|
# The name of the snapshot to be deleted.
|
615
857
|
# @return [String]
|
@@ -991,6 +1233,30 @@ module Aws::RedshiftServerless
|
|
991
1233
|
include Aws::Structure
|
992
1234
|
end
|
993
1235
|
|
1236
|
+
# @!attribute [rw] scheduled_action_name
|
1237
|
+
# The name of the scheduled action.
|
1238
|
+
# @return [String]
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetScheduledActionRequest AWS API Documentation
|
1241
|
+
#
|
1242
|
+
class GetScheduledActionRequest < Struct.new(
|
1243
|
+
:scheduled_action_name)
|
1244
|
+
SENSITIVE = []
|
1245
|
+
include Aws::Structure
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# @!attribute [rw] scheduled_action
|
1249
|
+
# The returned scheduled action object.
|
1250
|
+
# @return [Types::ScheduledActionResponse]
|
1251
|
+
#
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetScheduledActionResponse AWS API Documentation
|
1253
|
+
#
|
1254
|
+
class GetScheduledActionResponse < Struct.new(
|
1255
|
+
:scheduled_action)
|
1256
|
+
SENSITIVE = []
|
1257
|
+
include Aws::Structure
|
1258
|
+
end
|
1259
|
+
|
994
1260
|
# @!attribute [rw] owner_account
|
995
1261
|
# The owner Amazon Web Services account of a snapshot shared with
|
996
1262
|
# another user.
|
@@ -1205,6 +1471,11 @@ module Aws::RedshiftServerless
|
|
1205
1471
|
# page.
|
1206
1472
|
# @return [String]
|
1207
1473
|
#
|
1474
|
+
# @!attribute [rw] owner_account
|
1475
|
+
# The owner Amazon Web Services account for the Amazon Redshift
|
1476
|
+
# Serverless workgroup.
|
1477
|
+
# @return [String]
|
1478
|
+
#
|
1208
1479
|
# @!attribute [rw] vpc_id
|
1209
1480
|
# The unique identifier of the virtual private cloud with access to
|
1210
1481
|
# Amazon Redshift Serverless.
|
@@ -1220,6 +1491,7 @@ module Aws::RedshiftServerless
|
|
1220
1491
|
class ListEndpointAccessRequest < Struct.new(
|
1221
1492
|
:max_results,
|
1222
1493
|
:next_token,
|
1494
|
+
:owner_account,
|
1223
1495
|
:vpc_id,
|
1224
1496
|
:workgroup_name)
|
1225
1497
|
SENSITIVE = []
|
@@ -1350,6 +1622,99 @@ module Aws::RedshiftServerless
|
|
1350
1622
|
include Aws::Structure
|
1351
1623
|
end
|
1352
1624
|
|
1625
|
+
# @!attribute [rw] max_results
|
1626
|
+
# An optional parameter that specifies the maximum number of results
|
1627
|
+
# to return. Use `nextToken` to display the next page of results.
|
1628
|
+
# @return [Integer]
|
1629
|
+
#
|
1630
|
+
# @!attribute [rw] namespace_name
|
1631
|
+
# The name of namespace associated with the scheduled action to
|
1632
|
+
# retrieve.
|
1633
|
+
# @return [String]
|
1634
|
+
#
|
1635
|
+
# @!attribute [rw] next_token
|
1636
|
+
# If `nextToken` is returned, there are more results available. The
|
1637
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1638
|
+
# Make the call again using the returned token to retrieve the next
|
1639
|
+
# page.
|
1640
|
+
# @return [String]
|
1641
|
+
#
|
1642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListScheduledActionsRequest AWS API Documentation
|
1643
|
+
#
|
1644
|
+
class ListScheduledActionsRequest < Struct.new(
|
1645
|
+
:max_results,
|
1646
|
+
:namespace_name,
|
1647
|
+
:next_token)
|
1648
|
+
SENSITIVE = []
|
1649
|
+
include Aws::Structure
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
# @!attribute [rw] next_token
|
1653
|
+
# If nextToken is returned, there are more results available. The
|
1654
|
+
# value of nextToken is a unique pagination token for each page. Make
|
1655
|
+
# the call again using the returned token to retrieve the next page.
|
1656
|
+
# @return [String]
|
1657
|
+
#
|
1658
|
+
# @!attribute [rw] scheduled_actions
|
1659
|
+
# All of the returned scheduled action objects.
|
1660
|
+
# @return [Array<String>]
|
1661
|
+
#
|
1662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListScheduledActionsResponse AWS API Documentation
|
1663
|
+
#
|
1664
|
+
class ListScheduledActionsResponse < Struct.new(
|
1665
|
+
:next_token,
|
1666
|
+
:scheduled_actions)
|
1667
|
+
SENSITIVE = []
|
1668
|
+
include Aws::Structure
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
# @!attribute [rw] max_results
|
1672
|
+
# An optional parameter that specifies the maximum number of results
|
1673
|
+
# to return. You can use `nextToken` to display the next page of
|
1674
|
+
# results.
|
1675
|
+
# @return [Integer]
|
1676
|
+
#
|
1677
|
+
# @!attribute [rw] namespace_name
|
1678
|
+
# The namespace from which to list all snapshot copy configurations.
|
1679
|
+
# @return [String]
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] next_token
|
1682
|
+
# If `nextToken` is returned, there are more results available. The
|
1683
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1684
|
+
# Make the call again using the returned token to retrieve the next
|
1685
|
+
# page.
|
1686
|
+
# @return [String]
|
1687
|
+
#
|
1688
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListSnapshotCopyConfigurationsRequest AWS API Documentation
|
1689
|
+
#
|
1690
|
+
class ListSnapshotCopyConfigurationsRequest < Struct.new(
|
1691
|
+
:max_results,
|
1692
|
+
:namespace_name,
|
1693
|
+
:next_token)
|
1694
|
+
SENSITIVE = []
|
1695
|
+
include Aws::Structure
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
# @!attribute [rw] next_token
|
1699
|
+
# If `nextToken` is returned, there are more results available. The
|
1700
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1701
|
+
# Make the call again using the returned token to retrieve the next
|
1702
|
+
# page.
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] snapshot_copy_configurations
|
1706
|
+
# All of the returned snapshot copy configurations.
|
1707
|
+
# @return [Array<Types::SnapshotCopyConfiguration>]
|
1708
|
+
#
|
1709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListSnapshotCopyConfigurationsResponse AWS API Documentation
|
1710
|
+
#
|
1711
|
+
class ListSnapshotCopyConfigurationsResponse < Struct.new(
|
1712
|
+
:next_token,
|
1713
|
+
:snapshot_copy_configurations)
|
1714
|
+
SENSITIVE = []
|
1715
|
+
include Aws::Structure
|
1716
|
+
end
|
1717
|
+
|
1353
1718
|
# @!attribute [rw] end_time
|
1354
1719
|
# The timestamp showing when the snapshot creation finished.
|
1355
1720
|
# @return [Time]
|
@@ -1561,11 +1926,17 @@ module Aws::RedshiftServerless
|
|
1561
1926
|
# operations, which returns results in the next page.
|
1562
1927
|
# @return [String]
|
1563
1928
|
#
|
1929
|
+
# @!attribute [rw] owner_account
|
1930
|
+
# The owner Amazon Web Services account for the Amazon Redshift
|
1931
|
+
# Serverless workgroup.
|
1932
|
+
# @return [String]
|
1933
|
+
#
|
1564
1934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListWorkgroupsRequest AWS API Documentation
|
1565
1935
|
#
|
1566
1936
|
class ListWorkgroupsRequest < Struct.new(
|
1567
1937
|
:max_results,
|
1568
|
-
:next_token
|
1938
|
+
:next_token,
|
1939
|
+
:owner_account)
|
1569
1940
|
SENSITIVE = []
|
1570
1941
|
include Aws::Structure
|
1571
1942
|
end
|
@@ -1938,6 +2309,79 @@ module Aws::RedshiftServerless
|
|
1938
2309
|
include Aws::Structure
|
1939
2310
|
end
|
1940
2311
|
|
2312
|
+
# @!attribute [rw] activate_case_sensitive_identifier
|
2313
|
+
# Indicates whether name identifiers for database, schema, and table
|
2314
|
+
# are case sensitive. If true, the names are case sensitive. If false,
|
2315
|
+
# the names are not case sensitive. The default is false.
|
2316
|
+
# @return [Boolean]
|
2317
|
+
#
|
2318
|
+
# @!attribute [rw] namespace_name
|
2319
|
+
# Namespace of the recovery point to restore from.
|
2320
|
+
# @return [String]
|
2321
|
+
#
|
2322
|
+
# @!attribute [rw] new_table_name
|
2323
|
+
# The name of the table to create from the restore operation.
|
2324
|
+
# @return [String]
|
2325
|
+
#
|
2326
|
+
# @!attribute [rw] recovery_point_id
|
2327
|
+
# The ID of the recovery point to restore the table from.
|
2328
|
+
# @return [String]
|
2329
|
+
#
|
2330
|
+
# @!attribute [rw] source_database_name
|
2331
|
+
# The name of the source database that contains the table being
|
2332
|
+
# restored.
|
2333
|
+
# @return [String]
|
2334
|
+
#
|
2335
|
+
# @!attribute [rw] source_schema_name
|
2336
|
+
# The name of the source schema that contains the table being
|
2337
|
+
# restored.
|
2338
|
+
# @return [String]
|
2339
|
+
#
|
2340
|
+
# @!attribute [rw] source_table_name
|
2341
|
+
# The name of the source table being restored.
|
2342
|
+
# @return [String]
|
2343
|
+
#
|
2344
|
+
# @!attribute [rw] target_database_name
|
2345
|
+
# The name of the database to restore the table to.
|
2346
|
+
# @return [String]
|
2347
|
+
#
|
2348
|
+
# @!attribute [rw] target_schema_name
|
2349
|
+
# The name of the schema to restore the table to.
|
2350
|
+
# @return [String]
|
2351
|
+
#
|
2352
|
+
# @!attribute [rw] workgroup_name
|
2353
|
+
# The workgroup to restore the table to.
|
2354
|
+
# @return [String]
|
2355
|
+
#
|
2356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreTableFromRecoveryPointRequest AWS API Documentation
|
2357
|
+
#
|
2358
|
+
class RestoreTableFromRecoveryPointRequest < Struct.new(
|
2359
|
+
:activate_case_sensitive_identifier,
|
2360
|
+
:namespace_name,
|
2361
|
+
:new_table_name,
|
2362
|
+
:recovery_point_id,
|
2363
|
+
:source_database_name,
|
2364
|
+
:source_schema_name,
|
2365
|
+
:source_table_name,
|
2366
|
+
:target_database_name,
|
2367
|
+
:target_schema_name,
|
2368
|
+
:workgroup_name)
|
2369
|
+
SENSITIVE = []
|
2370
|
+
include Aws::Structure
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
# @!attribute [rw] table_restore_status
|
2374
|
+
# Contains information about a table restore request.
|
2375
|
+
# @return [Types::TableRestoreStatus]
|
2376
|
+
#
|
2377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/RestoreTableFromRecoveryPointResponse AWS API Documentation
|
2378
|
+
#
|
2379
|
+
class RestoreTableFromRecoveryPointResponse < Struct.new(
|
2380
|
+
:table_restore_status)
|
2381
|
+
SENSITIVE = []
|
2382
|
+
include Aws::Structure
|
2383
|
+
end
|
2384
|
+
|
1941
2385
|
# @!attribute [rw] activate_case_sensitive_identifier
|
1942
2386
|
# Indicates whether name identifiers for database, schema, and table
|
1943
2387
|
# are case sensitive. If true, the names are case sensitive. If false,
|
@@ -2012,6 +2456,147 @@ module Aws::RedshiftServerless
|
|
2012
2456
|
include Aws::Structure
|
2013
2457
|
end
|
2014
2458
|
|
2459
|
+
# The schedule of when Amazon Redshift Serverless should run the
|
2460
|
+
# scheduled action.
|
2461
|
+
#
|
2462
|
+
# @note Schedule is a union - when making an API calls you must set exactly one of the members.
|
2463
|
+
#
|
2464
|
+
# @note Schedule is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Schedule corresponding to the set member.
|
2465
|
+
#
|
2466
|
+
# @!attribute [rw] at
|
2467
|
+
# The timestamp of when Amazon Redshift Serverless should run the
|
2468
|
+
# scheduled action. Format of at expressions is
|
2469
|
+
# "`at(yyyy-mm-ddThh:mm:ss)`". For example,
|
2470
|
+
# "`at(2016-03-04T17:27:00)`".
|
2471
|
+
# @return [Time]
|
2472
|
+
#
|
2473
|
+
# @!attribute [rw] cron
|
2474
|
+
# The cron expression to use to schedule a recurring scheduled action.
|
2475
|
+
# Schedule invocations must be separated by at least one hour.
|
2476
|
+
#
|
2477
|
+
# Format of cron expressions is "`cron(Minutes Hours Day-of-month
|
2478
|
+
# Month Day-of-week Year)`". For example, "`cron(0 10 ? * MON *)`".
|
2479
|
+
# For more information, see [Cron Expressions][1] in the *Amazon
|
2480
|
+
# CloudWatch Events User Guide*.
|
2481
|
+
#
|
2482
|
+
#
|
2483
|
+
#
|
2484
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
|
2485
|
+
# @return [String]
|
2486
|
+
#
|
2487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/Schedule AWS API Documentation
|
2488
|
+
#
|
2489
|
+
class Schedule < Struct.new(
|
2490
|
+
:at,
|
2491
|
+
:cron,
|
2492
|
+
:unknown)
|
2493
|
+
SENSITIVE = []
|
2494
|
+
include Aws::Structure
|
2495
|
+
include Aws::Structure::Union
|
2496
|
+
|
2497
|
+
class At < Schedule; end
|
2498
|
+
class Cron < Schedule; end
|
2499
|
+
class Unknown < Schedule; end
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
# The returned scheduled action object.
|
2503
|
+
#
|
2504
|
+
# @!attribute [rw] end_time
|
2505
|
+
# The end time of
|
2506
|
+
# @return [Time]
|
2507
|
+
#
|
2508
|
+
# @!attribute [rw] namespace_name
|
2509
|
+
# The end time in UTC when the schedule is no longer active. After
|
2510
|
+
# this time, the scheduled action does not trigger.
|
2511
|
+
# @return [String]
|
2512
|
+
#
|
2513
|
+
# @!attribute [rw] next_invocations
|
2514
|
+
# An array of timestamps of when the next scheduled actions will
|
2515
|
+
# trigger.
|
2516
|
+
# @return [Array<Time>]
|
2517
|
+
#
|
2518
|
+
# @!attribute [rw] role_arn
|
2519
|
+
# The ARN of the IAM role to assume to run the scheduled action. This
|
2520
|
+
# IAM role must have permission to run the Amazon Redshift Serverless
|
2521
|
+
# API operation in the scheduled action. This IAM role must allow the
|
2522
|
+
# Amazon Redshift scheduler to schedule creating snapshots. (Principal
|
2523
|
+
# scheduler.redshift.amazonaws.com) to assume permissions on your
|
2524
|
+
# behalf. For more information about the IAM role to use with the
|
2525
|
+
# Amazon Redshift scheduler, see [Using Identity-Based Policies for
|
2526
|
+
# Amazon Redshift][1] in the Amazon Redshift Cluster Management Guide
|
2527
|
+
#
|
2528
|
+
#
|
2529
|
+
#
|
2530
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html
|
2531
|
+
# @return [String]
|
2532
|
+
#
|
2533
|
+
# @!attribute [rw] schedule
|
2534
|
+
# The schedule for a one-time (at format) or recurring (cron format)
|
2535
|
+
# scheduled action. Schedule invocations must be separated by at least
|
2536
|
+
# one hour.
|
2537
|
+
#
|
2538
|
+
# Format of at expressions is "`at(yyyy-mm-ddThh:mm:ss)`". For
|
2539
|
+
# example, "`at(2016-03-04T17:27:00)`".
|
2540
|
+
#
|
2541
|
+
# Format of cron expressions is "`cron(Minutes Hours Day-of-month
|
2542
|
+
# Month Day-of-week Year)`". For example, "`cron(0 10 ? * MON *)`".
|
2543
|
+
# For more information, see [Cron Expressions][1] in the *Amazon
|
2544
|
+
# CloudWatch Events User Guide*.
|
2545
|
+
#
|
2546
|
+
#
|
2547
|
+
#
|
2548
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
|
2549
|
+
# @return [Types::Schedule]
|
2550
|
+
#
|
2551
|
+
# @!attribute [rw] scheduled_action_description
|
2552
|
+
# The description of the scheduled action.
|
2553
|
+
# @return [String]
|
2554
|
+
#
|
2555
|
+
# @!attribute [rw] scheduled_action_name
|
2556
|
+
# The name of the scheduled action.
|
2557
|
+
# @return [String]
|
2558
|
+
#
|
2559
|
+
# @!attribute [rw] scheduled_action_uuid
|
2560
|
+
# The uuid of the scheduled action.
|
2561
|
+
# @return [String]
|
2562
|
+
#
|
2563
|
+
# @!attribute [rw] start_time
|
2564
|
+
# The start time in UTC when the schedule is active. Before this time,
|
2565
|
+
# the scheduled action does not trigger.
|
2566
|
+
# @return [Time]
|
2567
|
+
#
|
2568
|
+
# @!attribute [rw] state
|
2569
|
+
# The state of the scheduled action.
|
2570
|
+
# @return [String]
|
2571
|
+
#
|
2572
|
+
# @!attribute [rw] target_action
|
2573
|
+
# A JSON format string of the Amazon Redshift Serverless API operation
|
2574
|
+
# with input parameters. The following is an example of a target
|
2575
|
+
# action.
|
2576
|
+
#
|
2577
|
+
# `"\{"CreateSnapshot": \{"NamespaceName":
|
2578
|
+
# "sampleNamespace","SnapshotName": "sampleSnapshot",
|
2579
|
+
# "retentionPeriod": "1"\}\}"`
|
2580
|
+
# @return [Types::TargetAction]
|
2581
|
+
#
|
2582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ScheduledActionResponse AWS API Documentation
|
2583
|
+
#
|
2584
|
+
class ScheduledActionResponse < Struct.new(
|
2585
|
+
:end_time,
|
2586
|
+
:namespace_name,
|
2587
|
+
:next_invocations,
|
2588
|
+
:role_arn,
|
2589
|
+
:schedule,
|
2590
|
+
:scheduled_action_description,
|
2591
|
+
:scheduled_action_name,
|
2592
|
+
:scheduled_action_uuid,
|
2593
|
+
:start_time,
|
2594
|
+
:state,
|
2595
|
+
:target_action)
|
2596
|
+
SENSITIVE = []
|
2597
|
+
include Aws::Structure
|
2598
|
+
end
|
2599
|
+
|
2015
2600
|
# The service limit was exceeded.
|
2016
2601
|
#
|
2017
2602
|
# @!attribute [rw] message
|
@@ -2152,12 +2737,55 @@ module Aws::RedshiftServerless
|
|
2152
2737
|
include Aws::Structure
|
2153
2738
|
end
|
2154
2739
|
|
2740
|
+
# The object that you configure to copy snapshots from one namespace to
|
2741
|
+
# a namespace in another Amazon Web Services Region.
|
2742
|
+
#
|
2743
|
+
# @!attribute [rw] destination_kms_key_id
|
2744
|
+
# The ID of the KMS key to use to encrypt your snapshots in the
|
2745
|
+
# destination Amazon Web Services Region.
|
2746
|
+
# @return [String]
|
2747
|
+
#
|
2748
|
+
# @!attribute [rw] destination_region
|
2749
|
+
# The destination Amazon Web Services Region to copy snapshots to.
|
2750
|
+
# @return [String]
|
2751
|
+
#
|
2752
|
+
# @!attribute [rw] namespace_name
|
2753
|
+
# The name of the namespace to copy snapshots from in the source
|
2754
|
+
# Amazon Web Services Region.
|
2755
|
+
# @return [String]
|
2756
|
+
#
|
2757
|
+
# @!attribute [rw] snapshot_copy_configuration_arn
|
2758
|
+
# The ARN of the snapshot copy configuration object.
|
2759
|
+
# @return [String]
|
2760
|
+
#
|
2761
|
+
# @!attribute [rw] snapshot_copy_configuration_id
|
2762
|
+
# The ID of the snapshot copy configuration object.
|
2763
|
+
# @return [String]
|
2764
|
+
#
|
2765
|
+
# @!attribute [rw] snapshot_retention_period
|
2766
|
+
# The retention period of snapshots that are copied to the destination
|
2767
|
+
# Amazon Web Services Region.
|
2768
|
+
# @return [Integer]
|
2769
|
+
#
|
2770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/SnapshotCopyConfiguration AWS API Documentation
|
2771
|
+
#
|
2772
|
+
class SnapshotCopyConfiguration < Struct.new(
|
2773
|
+
:destination_kms_key_id,
|
2774
|
+
:destination_region,
|
2775
|
+
:namespace_name,
|
2776
|
+
:snapshot_copy_configuration_arn,
|
2777
|
+
:snapshot_copy_configuration_id,
|
2778
|
+
:snapshot_retention_period)
|
2779
|
+
SENSITIVE = []
|
2780
|
+
include Aws::Structure
|
2781
|
+
end
|
2782
|
+
|
2155
2783
|
# Contains information about a table restore request.
|
2156
2784
|
#
|
2157
2785
|
# @!attribute [rw] message
|
2158
|
-
# A
|
2159
|
-
#
|
2160
|
-
#
|
2786
|
+
# A message that explains the returned status. For example, if the
|
2787
|
+
# status of the operation is `FAILED`, the message explains why the
|
2788
|
+
# operation failed.
|
2161
2789
|
# @return [String]
|
2162
2790
|
#
|
2163
2791
|
# @!attribute [rw] namespace_name
|
@@ -2173,6 +2801,10 @@ module Aws::RedshiftServerless
|
|
2173
2801
|
# (MB).
|
2174
2802
|
# @return [Integer]
|
2175
2803
|
#
|
2804
|
+
# @!attribute [rw] recovery_point_id
|
2805
|
+
# The ID of the recovery point being restored from.
|
2806
|
+
# @return [String]
|
2807
|
+
#
|
2176
2808
|
# @!attribute [rw] request_time
|
2177
2809
|
# The time that the table restore request was made, in Universal
|
2178
2810
|
# Coordinated Time (UTC).
|
@@ -2196,8 +2828,8 @@ module Aws::RedshiftServerless
|
|
2196
2828
|
#
|
2197
2829
|
# @!attribute [rw] status
|
2198
2830
|
# A value that describes the current state of the table restore
|
2199
|
-
# request. Possible values
|
2200
|
-
# `PENDING`, `IN_PROGRESS`.
|
2831
|
+
# request. Possible values are `SUCCEEDED`, `FAILED`, `CANCELED`,
|
2832
|
+
# `PENDING`, and `IN_PROGRESS`.
|
2201
2833
|
# @return [String]
|
2202
2834
|
#
|
2203
2835
|
# @!attribute [rw] table_restore_request_id
|
@@ -2228,6 +2860,7 @@ module Aws::RedshiftServerless
|
|
2228
2860
|
:namespace_name,
|
2229
2861
|
:new_table_name,
|
2230
2862
|
:progress_in_mega_bytes,
|
2863
|
+
:recovery_point_id,
|
2231
2864
|
:request_time,
|
2232
2865
|
:snapshot_name,
|
2233
2866
|
:source_database_name,
|
@@ -2283,6 +2916,40 @@ module Aws::RedshiftServerless
|
|
2283
2916
|
#
|
2284
2917
|
class TagResourceResponse < Aws::EmptyStructure; end
|
2285
2918
|
|
2919
|
+
# A JSON format string of the Amazon Redshift Serverless API operation
|
2920
|
+
# with input parameters. The following is an example of a target action.
|
2921
|
+
#
|
2922
|
+
# `"\{"CreateSnapshot": \{"NamespaceName":
|
2923
|
+
# "sampleNamespace","SnapshotName": "sampleSnapshot", "retentionPeriod":
|
2924
|
+
# "1"\}\}"`
|
2925
|
+
#
|
2926
|
+
# @note TargetAction is a union - when making an API calls you must set exactly one of the members.
|
2927
|
+
#
|
2928
|
+
# @note TargetAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetAction corresponding to the set member.
|
2929
|
+
#
|
2930
|
+
# @!attribute [rw] create_snapshot
|
2931
|
+
# The parameters that you can use to configure a [scheduled action][1]
|
2932
|
+
# to create a snapshot. For more information about creating a
|
2933
|
+
# scheduled action, see [CreateScheduledAction][1].
|
2934
|
+
#
|
2935
|
+
#
|
2936
|
+
#
|
2937
|
+
# [1]: https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_CreateScheduledAction.html
|
2938
|
+
# @return [Types::CreateSnapshotScheduleActionParameters]
|
2939
|
+
#
|
2940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/TargetAction AWS API Documentation
|
2941
|
+
#
|
2942
|
+
class TargetAction < Struct.new(
|
2943
|
+
:create_snapshot,
|
2944
|
+
:unknown)
|
2945
|
+
SENSITIVE = []
|
2946
|
+
include Aws::Structure
|
2947
|
+
include Aws::Structure::Union
|
2948
|
+
|
2949
|
+
class CreateSnapshot < TargetAction; end
|
2950
|
+
class Unknown < TargetAction; end
|
2951
|
+
end
|
2952
|
+
|
2286
2953
|
# The request was denied due to request throttling.
|
2287
2954
|
#
|
2288
2955
|
# @!attribute [rw] code
|
@@ -2502,6 +3169,126 @@ module Aws::RedshiftServerless
|
|
2502
3169
|
include Aws::Structure
|
2503
3170
|
end
|
2504
3171
|
|
3172
|
+
# @!attribute [rw] enabled
|
3173
|
+
# Specifies whether to enable the scheduled action.
|
3174
|
+
# @return [Boolean]
|
3175
|
+
#
|
3176
|
+
# @!attribute [rw] end_time
|
3177
|
+
# The end time in UTC of the scheduled action to update.
|
3178
|
+
# @return [Time]
|
3179
|
+
#
|
3180
|
+
# @!attribute [rw] role_arn
|
3181
|
+
# The ARN of the IAM role to assume to run the scheduled action. This
|
3182
|
+
# IAM role must have permission to run the Amazon Redshift Serverless
|
3183
|
+
# API operation in the scheduled action. This IAM role must allow the
|
3184
|
+
# Amazon Redshift scheduler to schedule creating snapshots (Principal
|
3185
|
+
# scheduler.redshift.amazonaws.com) to assume permissions on your
|
3186
|
+
# behalf. For more information about the IAM role to use with the
|
3187
|
+
# Amazon Redshift scheduler, see [Using Identity-Based Policies for
|
3188
|
+
# Amazon Redshift][1] in the Amazon Redshift Cluster Management Guide
|
3189
|
+
#
|
3190
|
+
#
|
3191
|
+
#
|
3192
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/redshift-iam-access-control-identity-based.html
|
3193
|
+
# @return [String]
|
3194
|
+
#
|
3195
|
+
# @!attribute [rw] schedule
|
3196
|
+
# The schedule for a one-time (at format) or recurring (cron format)
|
3197
|
+
# scheduled action. Schedule invocations must be separated by at least
|
3198
|
+
# one hour.
|
3199
|
+
#
|
3200
|
+
# Format of at expressions is "`at(yyyy-mm-ddThh:mm:ss)`". For
|
3201
|
+
# example, "`at(2016-03-04T17:27:00)`".
|
3202
|
+
#
|
3203
|
+
# Format of cron expressions is "`cron(Minutes Hours Day-of-month
|
3204
|
+
# Month Day-of-week Year)`". For example, "`cron(0 10 ? * MON *)`".
|
3205
|
+
# For more information, see [Cron Expressions][1] in the *Amazon
|
3206
|
+
# CloudWatch Events User Guide*.
|
3207
|
+
#
|
3208
|
+
#
|
3209
|
+
#
|
3210
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
|
3211
|
+
# @return [Types::Schedule]
|
3212
|
+
#
|
3213
|
+
# @!attribute [rw] scheduled_action_description
|
3214
|
+
# The descripion of the scheduled action to update to.
|
3215
|
+
# @return [String]
|
3216
|
+
#
|
3217
|
+
# @!attribute [rw] scheduled_action_name
|
3218
|
+
# The name of the scheduled action to update to.
|
3219
|
+
# @return [String]
|
3220
|
+
#
|
3221
|
+
# @!attribute [rw] start_time
|
3222
|
+
# The start time in UTC of the scheduled action to update to.
|
3223
|
+
# @return [Time]
|
3224
|
+
#
|
3225
|
+
# @!attribute [rw] target_action
|
3226
|
+
# A JSON format string of the Amazon Redshift Serverless API operation
|
3227
|
+
# with input parameters. The following is an example of a target
|
3228
|
+
# action.
|
3229
|
+
#
|
3230
|
+
# `"\{"CreateSnapshot": \{"NamespaceName":
|
3231
|
+
# "sampleNamespace","SnapshotName": "sampleSnapshot",
|
3232
|
+
# "retentionPeriod": "1"\}\}"`
|
3233
|
+
# @return [Types::TargetAction]
|
3234
|
+
#
|
3235
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateScheduledActionRequest AWS API Documentation
|
3236
|
+
#
|
3237
|
+
class UpdateScheduledActionRequest < Struct.new(
|
3238
|
+
:enabled,
|
3239
|
+
:end_time,
|
3240
|
+
:role_arn,
|
3241
|
+
:schedule,
|
3242
|
+
:scheduled_action_description,
|
3243
|
+
:scheduled_action_name,
|
3244
|
+
:start_time,
|
3245
|
+
:target_action)
|
3246
|
+
SENSITIVE = []
|
3247
|
+
include Aws::Structure
|
3248
|
+
end
|
3249
|
+
|
3250
|
+
# @!attribute [rw] scheduled_action
|
3251
|
+
# The ScheduledAction object that was updated.
|
3252
|
+
# @return [Types::ScheduledActionResponse]
|
3253
|
+
#
|
3254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateScheduledActionResponse AWS API Documentation
|
3255
|
+
#
|
3256
|
+
class UpdateScheduledActionResponse < Struct.new(
|
3257
|
+
:scheduled_action)
|
3258
|
+
SENSITIVE = []
|
3259
|
+
include Aws::Structure
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
# @!attribute [rw] snapshot_copy_configuration_id
|
3263
|
+
# The ID of the snapshot copy configuration to update.
|
3264
|
+
# @return [String]
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] snapshot_retention_period
|
3267
|
+
# The new retention period of how long to keep a snapshot in the
|
3268
|
+
# destination Amazon Web Services Region.
|
3269
|
+
# @return [Integer]
|
3270
|
+
#
|
3271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateSnapshotCopyConfigurationRequest AWS API Documentation
|
3272
|
+
#
|
3273
|
+
class UpdateSnapshotCopyConfigurationRequest < Struct.new(
|
3274
|
+
:snapshot_copy_configuration_id,
|
3275
|
+
:snapshot_retention_period)
|
3276
|
+
SENSITIVE = []
|
3277
|
+
include Aws::Structure
|
3278
|
+
end
|
3279
|
+
|
3280
|
+
# @!attribute [rw] snapshot_copy_configuration
|
3281
|
+
# The updated snapshot copy configuration object.
|
3282
|
+
# @return [Types::SnapshotCopyConfiguration]
|
3283
|
+
#
|
3284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateSnapshotCopyConfigurationResponse AWS API Documentation
|
3285
|
+
#
|
3286
|
+
class UpdateSnapshotCopyConfigurationResponse < Struct.new(
|
3287
|
+
:snapshot_copy_configuration)
|
3288
|
+
SENSITIVE = []
|
3289
|
+
include Aws::Structure
|
3290
|
+
end
|
3291
|
+
|
2505
3292
|
# @!attribute [rw] retention_period
|
2506
3293
|
# The new retention period of the snapshot.
|
2507
3294
|
# @return [Integer]
|
@@ -2577,12 +3364,11 @@ module Aws::RedshiftServerless
|
|
2577
3364
|
# @!attribute [rw] config_parameters
|
2578
3365
|
# An array of parameters to set for advanced control over a database.
|
2579
3366
|
# The options are `auto_mv`, `datestyle`,
|
2580
|
-
# `
|
2581
|
-
# `
|
2582
|
-
#
|
2583
|
-
#
|
2584
|
-
# metrics
|
2585
|
-
# Serverless][1].
|
3367
|
+
# `enable_case_sensitive_identifier`, `enable_user_activity_logging`,
|
3368
|
+
# `query_group`, `search_path`, and query monitoring metrics that let
|
3369
|
+
# you define performance boundaries. For more information about query
|
3370
|
+
# monitoring rules and available metrics, see [ Query monitoring
|
3371
|
+
# metrics for Amazon Redshift Serverless][1].
|
2586
3372
|
#
|
2587
3373
|
#
|
2588
3374
|
#
|
@@ -2772,12 +3558,11 @@ module Aws::RedshiftServerless
|
|
2772
3558
|
# @!attribute [rw] config_parameters
|
2773
3559
|
# An array of parameters to set for advanced control over a database.
|
2774
3560
|
# The options are `auto_mv`, `datestyle`,
|
2775
|
-
# `
|
2776
|
-
# `
|
2777
|
-
#
|
2778
|
-
#
|
2779
|
-
# metrics
|
2780
|
-
# Serverless][1].
|
3561
|
+
# `enable_case_sensitive_identifier`, `enable_user_activity_logging`,
|
3562
|
+
# `query_group`, `search_path`, and query monitoring metrics that let
|
3563
|
+
# you define performance boundaries. For more information about query
|
3564
|
+
# monitoring rules and available metrics, see [ Query monitoring
|
3565
|
+
# metrics for Amazon Redshift Serverless][1].
|
2781
3566
|
#
|
2782
3567
|
#
|
2783
3568
|
#
|
@@ -2788,6 +3573,12 @@ module Aws::RedshiftServerless
|
|
2788
3573
|
# The creation date of the workgroup.
|
2789
3574
|
# @return [Time]
|
2790
3575
|
#
|
3576
|
+
# @!attribute [rw] cross_account_vpcs
|
3577
|
+
# A list of VPCs. Each entry is the unique identifier of a virtual
|
3578
|
+
# private cloud with access to Amazon Redshift Serverless. If all of
|
3579
|
+
# the VPCs for the grantee are allowed, it shows an asterisk.
|
3580
|
+
# @return [Array<String>]
|
3581
|
+
#
|
2791
3582
|
# @!attribute [rw] custom_domain_certificate_arn
|
2792
3583
|
# The custom domain name’s certificate Amazon resource name (ARN).
|
2793
3584
|
# @return [String]
|
@@ -2879,6 +3670,7 @@ module Aws::RedshiftServerless
|
|
2879
3670
|
:base_capacity,
|
2880
3671
|
:config_parameters,
|
2881
3672
|
:creation_date,
|
3673
|
+
:cross_account_vpcs,
|
2882
3674
|
:custom_domain_certificate_arn,
|
2883
3675
|
:custom_domain_certificate_expiry_time,
|
2884
3676
|
:custom_domain_name,
|