aws-sdk-rds 1.40.0 → 1.41.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.
@@ -1263,6 +1263,7 @@ module Aws::RDS
1263
1263
  # seconds_until_auto_pause: 1,
1264
1264
  # },
1265
1265
  # deletion_protection: false,
1266
+ # global_cluster_identifier: "String",
1266
1267
  # source_region: "String",
1267
1268
  # }
1268
1269
  #
@@ -1566,7 +1567,7 @@ module Aws::RDS
1566
1567
  #
1567
1568
  # @!attribute [rw] engine_mode
1568
1569
  # The DB engine mode of the DB cluster, either `provisioned`,
1569
- # `serverless`, or `parallelquery`.
1570
+ # `serverless`, `parallelquery`, or `global`.
1570
1571
  # @return [String]
1571
1572
  #
1572
1573
  # @!attribute [rw] scaling_configuration
@@ -1580,6 +1581,11 @@ module Aws::RDS
1580
1581
  # default is false.
1581
1582
  # @return [Boolean]
1582
1583
  #
1584
+ # @!attribute [rw] global_cluster_identifier
1585
+ # The global cluster ID of an Aurora cluster that becomes the primary
1586
+ # cluster in the new global database cluster.
1587
+ # @return [String]
1588
+ #
1583
1589
  # @!attribute [rw] destination_region
1584
1590
  # @return [String]
1585
1591
  #
@@ -1618,6 +1624,7 @@ module Aws::RDS
1618
1624
  :engine_mode,
1619
1625
  :scaling_configuration,
1620
1626
  :deletion_protection,
1627
+ :global_cluster_identifier,
1621
1628
  :destination_region,
1622
1629
  :source_region)
1623
1630
  include Aws::Structure
@@ -2183,7 +2190,7 @@ module Aws::RDS
2183
2190
  # @return [Array<String>]
2184
2191
  #
2185
2192
  # @!attribute [rw] vpc_security_group_ids
2186
- # A list of EC2 VPC security groups to associate with this DB
2193
+ # A list of Amazon EC2 VPC security groups to associate with this DB
2187
2194
  # instance.
2188
2195
  #
2189
2196
  # **Amazon Aurora**
@@ -2358,9 +2365,9 @@ module Aws::RDS
2358
2365
  # @return [Integer]
2359
2366
  #
2360
2367
  # @!attribute [rw] multi_az
2361
- # Specifies if the DB instance is a Multi-AZ deployment. You can't
2362
- # set the AvailabilityZone parameter if the MultiAZ parameter is set
2363
- # to true.
2368
+ # A value that specifies whether the DB instance is a Multi-AZ
2369
+ # deployment. You can't set the AvailabilityZone parameter if the
2370
+ # MultiAZ parameter is set to true.
2364
2371
  # @return [Boolean]
2365
2372
  #
2366
2373
  # @!attribute [rw] engine_version
@@ -3608,6 +3615,76 @@ module Aws::RDS
3608
3615
  include Aws::Structure
3609
3616
  end
3610
3617
 
3618
+ # @note When making an API call, you may pass CreateGlobalClusterMessage
3619
+ # data as a hash:
3620
+ #
3621
+ # {
3622
+ # global_cluster_identifier: "String",
3623
+ # source_db_cluster_identifier: "String",
3624
+ # engine: "String",
3625
+ # engine_version: "String",
3626
+ # deletion_protection: false,
3627
+ # database_name: "String",
3628
+ # storage_encrypted: false,
3629
+ # }
3630
+ #
3631
+ # @!attribute [rw] global_cluster_identifier
3632
+ # The cluster identifier of the new global database cluster.
3633
+ # @return [String]
3634
+ #
3635
+ # @!attribute [rw] source_db_cluster_identifier
3636
+ # The Amazon Resource Name (ARN) to use as the primary cluster of the
3637
+ # global database. This parameter is optional.
3638
+ # @return [String]
3639
+ #
3640
+ # @!attribute [rw] engine
3641
+ # Provides the name of the database engine to be used for this DB
3642
+ # cluster.
3643
+ # @return [String]
3644
+ #
3645
+ # @!attribute [rw] engine_version
3646
+ # The engine version of the Aurora global database.
3647
+ # @return [String]
3648
+ #
3649
+ # @!attribute [rw] deletion_protection
3650
+ # The deletion protection setting for the new global database. The
3651
+ # global database can't be deleted when this value is set to true.
3652
+ # @return [Boolean]
3653
+ #
3654
+ # @!attribute [rw] database_name
3655
+ # The name for your database of up to 64 alpha-numeric characters. If
3656
+ # you do not provide a name, Amazon Aurora will not create a database
3657
+ # in the global database cluster you are creating.
3658
+ # @return [String]
3659
+ #
3660
+ # @!attribute [rw] storage_encrypted
3661
+ # The storage encryption setting for the new global database cluster.
3662
+ # @return [Boolean]
3663
+ #
3664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalClusterMessage AWS API Documentation
3665
+ #
3666
+ class CreateGlobalClusterMessage < Struct.new(
3667
+ :global_cluster_identifier,
3668
+ :source_db_cluster_identifier,
3669
+ :engine,
3670
+ :engine_version,
3671
+ :deletion_protection,
3672
+ :database_name,
3673
+ :storage_encrypted)
3674
+ include Aws::Structure
3675
+ end
3676
+
3677
+ # @!attribute [rw] global_cluster
3678
+ # A data type representing an Aurora global database.
3679
+ # @return [Types::GlobalCluster]
3680
+ #
3681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalClusterResult AWS API Documentation
3682
+ #
3683
+ class CreateGlobalClusterResult < Struct.new(
3684
+ :global_cluster)
3685
+ include Aws::Structure
3686
+ end
3687
+
3611
3688
  # @note When making an API call, you may pass CreateOptionGroupMessage
3612
3689
  # data as a hash:
3613
3690
  #
@@ -3929,6 +4006,28 @@ module Aws::RDS
3929
4006
  # database can't be deleted when this value is set to true.
3930
4007
  # @return [Boolean]
3931
4008
  #
4009
+ # @!attribute [rw] http_endpoint_enabled
4010
+ # <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
4011
+ # subject to change.
4012
+ #
4013
+ # </note>
4014
+ #
4015
+ # Value that is `true` if the HTTP endpoint for an Aurora Serverless
4016
+ # DB cluster is enabled and `false` otherwise.
4017
+ #
4018
+ # When enabled, the HTTP endpoint provides a connectionless web
4019
+ # service API for running SQL queries on the Aurora Serverless DB
4020
+ # cluster. You can also query your database from inside the RDS
4021
+ # console with the query editor.
4022
+ #
4023
+ # For more information about Aurora Serverless, see [Using Amazon
4024
+ # Aurora Serverless][1] in the *Amazon Aurora User Guide*.
4025
+ #
4026
+ #
4027
+ #
4028
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
4029
+ # @return [Boolean]
4030
+ #
3932
4031
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster AWS API Documentation
3933
4032
  #
3934
4033
  class DBCluster < Struct.new(
@@ -3975,7 +4074,8 @@ module Aws::RDS
3975
4074
  :capacity,
3976
4075
  :engine_mode,
3977
4076
  :scaling_configuration_info,
3978
- :deletion_protection)
4077
+ :deletion_protection,
4078
+ :http_endpoint_enabled)
3979
4079
  include Aws::Structure
3980
4080
  end
3981
4081
 
@@ -6273,6 +6373,35 @@ module Aws::RDS
6273
6373
  include Aws::Structure
6274
6374
  end
6275
6375
 
6376
+ # @note When making an API call, you may pass DeleteGlobalClusterMessage
6377
+ # data as a hash:
6378
+ #
6379
+ # {
6380
+ # global_cluster_identifier: "String", # required
6381
+ # }
6382
+ #
6383
+ # @!attribute [rw] global_cluster_identifier
6384
+ # The cluster identifier of the global database cluster being deleted.
6385
+ # @return [String]
6386
+ #
6387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalClusterMessage AWS API Documentation
6388
+ #
6389
+ class DeleteGlobalClusterMessage < Struct.new(
6390
+ :global_cluster_identifier)
6391
+ include Aws::Structure
6392
+ end
6393
+
6394
+ # @!attribute [rw] global_cluster
6395
+ # A data type representing an Aurora global database.
6396
+ # @return [Types::GlobalCluster]
6397
+ #
6398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalClusterResult AWS API Documentation
6399
+ #
6400
+ class DeleteGlobalClusterResult < Struct.new(
6401
+ :global_cluster)
6402
+ include Aws::Structure
6403
+ end
6404
+
6276
6405
  # @note When making an API call, you may pass DeleteOptionGroupMessage
6277
6406
  # data as a hash:
6278
6407
  #
@@ -7983,6 +8112,73 @@ module Aws::RDS
7983
8112
  include Aws::Structure
7984
8113
  end
7985
8114
 
8115
+ # @note When making an API call, you may pass DescribeGlobalClustersMessage
8116
+ # data as a hash:
8117
+ #
8118
+ # {
8119
+ # global_cluster_identifier: "String",
8120
+ # filters: [
8121
+ # {
8122
+ # name: "String", # required
8123
+ # values: ["String"], # required
8124
+ # },
8125
+ # ],
8126
+ # max_records: 1,
8127
+ # marker: "String",
8128
+ # }
8129
+ #
8130
+ # @!attribute [rw] global_cluster_identifier
8131
+ # The user-supplied DB cluster identifier. If this parameter is
8132
+ # specified, information from only the specific DB cluster is
8133
+ # returned. This parameter isn't case-sensitive.
8134
+ #
8135
+ # Constraints:
8136
+ #
8137
+ # * If supplied, must match an existing DBClusterIdentifier.
8138
+ #
8139
+ # ^
8140
+ # @return [String]
8141
+ #
8142
+ # @!attribute [rw] filters
8143
+ # A filter that specifies one or more global DB clusters to describe.
8144
+ #
8145
+ # Supported filters:
8146
+ #
8147
+ # * `db-cluster-id` - Accepts DB cluster identifiers and DB cluster
8148
+ # Amazon Resource Names (ARNs). The results list will only include
8149
+ # information about the DB clusters identified by these ARNs.
8150
+ #
8151
+ # ^
8152
+ # @return [Array<Types::Filter>]
8153
+ #
8154
+ # @!attribute [rw] max_records
8155
+ # The maximum number of records to include in the response. If more
8156
+ # records exist than the specified `MaxRecords` value, a pagination
8157
+ # token called a marker is included in the response so that the
8158
+ # remaining results can be retrieved.
8159
+ #
8160
+ # Default: 100
8161
+ #
8162
+ # Constraints: Minimum 20, maximum 100.
8163
+ # @return [Integer]
8164
+ #
8165
+ # @!attribute [rw] marker
8166
+ # An optional pagination token provided by a previous
8167
+ # DescribeGlobalClusters request. If this parameter is specified, the
8168
+ # response includes only records beyond the marker, up to the value
8169
+ # specified by `MaxRecords`.
8170
+ # @return [String]
8171
+ #
8172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClustersMessage AWS API Documentation
8173
+ #
8174
+ class DescribeGlobalClustersMessage < Struct.new(
8175
+ :global_cluster_identifier,
8176
+ :filters,
8177
+ :max_records,
8178
+ :marker)
8179
+ include Aws::Structure
8180
+ end
8181
+
7986
8182
  # @note When making an API call, you may pass DescribeOptionGroupOptionsMessage
7987
8183
  # data as a hash:
7988
8184
  #
@@ -8969,7 +9165,7 @@ module Aws::RDS
8969
9165
  # data as a hash:
8970
9166
  #
8971
9167
  # {
8972
- # db_cluster_identifier: "String",
9168
+ # db_cluster_identifier: "String", # required
8973
9169
  # target_db_instance_identifier: "String",
8974
9170
  # }
8975
9171
  #
@@ -9059,6 +9255,115 @@ module Aws::RDS
9059
9255
  include Aws::Structure
9060
9256
  end
9061
9257
 
9258
+ # A data type representing an Aurora global database.
9259
+ #
9260
+ # @!attribute [rw] global_cluster_identifier
9261
+ # Contains a user-supplied global database cluster identifier. This
9262
+ # identifier is the unique key that identifies a global database
9263
+ # cluster.
9264
+ # @return [String]
9265
+ #
9266
+ # @!attribute [rw] global_cluster_resource_id
9267
+ # The AWS Region-unique, immutable identifier for the global database
9268
+ # cluster. This identifier is found in AWS CloudTrail log entries
9269
+ # whenever the AWS KMS key for the DB cluster is accessed.
9270
+ # @return [String]
9271
+ #
9272
+ # @!attribute [rw] global_cluster_arn
9273
+ # The Amazon Resource Name (ARN) for the global database cluster.
9274
+ # @return [String]
9275
+ #
9276
+ # @!attribute [rw] status
9277
+ # Specifies the current state of this global database cluster.
9278
+ # @return [String]
9279
+ #
9280
+ # @!attribute [rw] engine
9281
+ # The Aurora database engine used by the global database cluster.
9282
+ # @return [String]
9283
+ #
9284
+ # @!attribute [rw] engine_version
9285
+ # Indicates the database engine version.
9286
+ # @return [String]
9287
+ #
9288
+ # @!attribute [rw] database_name
9289
+ # The default database name within the new global database cluster.
9290
+ # @return [String]
9291
+ #
9292
+ # @!attribute [rw] storage_encrypted
9293
+ # The storage encryption setting for the global database cluster.
9294
+ # @return [Boolean]
9295
+ #
9296
+ # @!attribute [rw] deletion_protection
9297
+ # The deletion protection setting for the new global database cluster.
9298
+ # @return [Boolean]
9299
+ #
9300
+ # @!attribute [rw] global_cluster_members
9301
+ # The list of cluster IDs for secondary clusters within the global
9302
+ # database cluster. Currently limited to 1 item.
9303
+ # @return [Array<Types::GlobalClusterMember>]
9304
+ #
9305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalCluster AWS API Documentation
9306
+ #
9307
+ class GlobalCluster < Struct.new(
9308
+ :global_cluster_identifier,
9309
+ :global_cluster_resource_id,
9310
+ :global_cluster_arn,
9311
+ :status,
9312
+ :engine,
9313
+ :engine_version,
9314
+ :database_name,
9315
+ :storage_encrypted,
9316
+ :deletion_protection,
9317
+ :global_cluster_members)
9318
+ include Aws::Structure
9319
+ end
9320
+
9321
+ # A data structure with information about any primary and secondary
9322
+ # clusters associated with an Aurora global database.
9323
+ #
9324
+ # @!attribute [rw] db_cluster_arn
9325
+ # The Amazon Resource Name (ARN) for each Aurora cluster.
9326
+ # @return [String]
9327
+ #
9328
+ # @!attribute [rw] readers
9329
+ # The Amazon Resource Name (ARN) for each read-only secondary cluster
9330
+ # associated with the Aurora global database.
9331
+ # @return [Array<String>]
9332
+ #
9333
+ # @!attribute [rw] is_writer
9334
+ # Specifies whether the Aurora cluster is the primary cluster (that
9335
+ # is, has read-write capability) for the Aurora global database with
9336
+ # which it is associated.
9337
+ # @return [Boolean]
9338
+ #
9339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalClusterMember AWS API Documentation
9340
+ #
9341
+ class GlobalClusterMember < Struct.new(
9342
+ :db_cluster_arn,
9343
+ :readers,
9344
+ :is_writer)
9345
+ include Aws::Structure
9346
+ end
9347
+
9348
+ # @!attribute [rw] marker
9349
+ # An optional pagination token provided by a previous
9350
+ # `DescribeGlobalClusters` request. If this parameter is specified,
9351
+ # the response includes only records beyond the marker, up to the
9352
+ # value specified by `MaxRecords`.
9353
+ # @return [String]
9354
+ #
9355
+ # @!attribute [rw] global_clusters
9356
+ # The list of global clusters returned by this request.
9357
+ # @return [Array<Types::GlobalCluster>]
9358
+ #
9359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalClustersMessage AWS API Documentation
9360
+ #
9361
+ class GlobalClustersMessage < Struct.new(
9362
+ :marker,
9363
+ :global_clusters)
9364
+ include Aws::Structure
9365
+ end
9366
+
9062
9367
  # This data type is used as a response element in the
9063
9368
  # DescribeDBSecurityGroups action.
9064
9369
  #
@@ -9266,6 +9571,7 @@ module Aws::RDS
9266
9571
  # seconds_until_auto_pause: 1,
9267
9572
  # },
9268
9573
  # deletion_protection: false,
9574
+ # enable_http_endpoint: false,
9269
9575
  # }
9270
9576
  #
9271
9577
  # @!attribute [rw] db_cluster_identifier
@@ -9458,6 +9764,29 @@ module Aws::RDS
9458
9764
  # database can't be deleted when this value is set to true.
9459
9765
  # @return [Boolean]
9460
9766
  #
9767
+ # @!attribute [rw] enable_http_endpoint
9768
+ # <note markdown="1"> HTTP endpoint functionality is in beta for Aurora Serverless and is
9769
+ # subject to change.
9770
+ #
9771
+ # </note>
9772
+ #
9773
+ # A value that indicates whether to enable the HTTP endpoint for an
9774
+ # Aurora Serverless DB cluster. By default, the HTTP endpoint is
9775
+ # disabled.
9776
+ #
9777
+ # When enabled, the HTTP endpoint provides a connectionless web
9778
+ # service API for running SQL queries on the Aurora Serverless DB
9779
+ # cluster. You can also query your database from inside the RDS
9780
+ # console with the query editor.
9781
+ #
9782
+ # For more information about Aurora Serverless, see [Using Amazon
9783
+ # Aurora Serverless][1] in the *Amazon Aurora User Guide*.
9784
+ #
9785
+ #
9786
+ #
9787
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
9788
+ # @return [Boolean]
9789
+ #
9461
9790
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
9462
9791
  #
9463
9792
  class ModifyDBClusterMessage < Struct.new(
@@ -9477,7 +9806,8 @@ module Aws::RDS
9477
9806
  :cloudwatch_logs_export_configuration,
9478
9807
  :engine_version,
9479
9808
  :scaling_configuration,
9480
- :deletion_protection)
9809
+ :deletion_protection,
9810
+ :enable_http_endpoint)
9481
9811
  include Aws::Structure
9482
9812
  end
9483
9813
 
@@ -10648,6 +10978,68 @@ module Aws::RDS
10648
10978
  include Aws::Structure
10649
10979
  end
10650
10980
 
10981
+ # @note When making an API call, you may pass ModifyGlobalClusterMessage
10982
+ # data as a hash:
10983
+ #
10984
+ # {
10985
+ # global_cluster_identifier: "String",
10986
+ # new_global_cluster_identifier: "String",
10987
+ # deletion_protection: false,
10988
+ # }
10989
+ #
10990
+ # @!attribute [rw] global_cluster_identifier
10991
+ # The DB cluster identifier for the global cluster being modified.
10992
+ # This parameter is not case-sensitive.
10993
+ #
10994
+ # Constraints:
10995
+ #
10996
+ # * Must match the identifier of an existing global database cluster.
10997
+ #
10998
+ # ^
10999
+ # @return [String]
11000
+ #
11001
+ # @!attribute [rw] new_global_cluster_identifier
11002
+ # The new cluster identifier for the global database cluster when
11003
+ # modifying a global database cluster. This value is stored as a
11004
+ # lowercase string.
11005
+ #
11006
+ # Constraints:
11007
+ #
11008
+ # * Must contain from 1 to 63 letters, numbers, or hyphens
11009
+ #
11010
+ # * The first character must be a letter
11011
+ #
11012
+ # * Can't end with a hyphen or contain two consecutive hyphens
11013
+ #
11014
+ # Example: `my-cluster2`
11015
+ # @return [String]
11016
+ #
11017
+ # @!attribute [rw] deletion_protection
11018
+ # Indicates if the global database cluster has deletion protection
11019
+ # enabled. The global database cluster can't be deleted when this
11020
+ # value is set to true.
11021
+ # @return [Boolean]
11022
+ #
11023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalClusterMessage AWS API Documentation
11024
+ #
11025
+ class ModifyGlobalClusterMessage < Struct.new(
11026
+ :global_cluster_identifier,
11027
+ :new_global_cluster_identifier,
11028
+ :deletion_protection)
11029
+ include Aws::Structure
11030
+ end
11031
+
11032
+ # @!attribute [rw] global_cluster
11033
+ # A data type representing an Aurora global database.
11034
+ # @return [Types::GlobalCluster]
11035
+ #
11036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalClusterResult AWS API Documentation
11037
+ #
11038
+ class ModifyGlobalClusterResult < Struct.new(
11039
+ :global_cluster)
11040
+ include Aws::Structure
11041
+ end
11042
+
10651
11043
  # @note When making an API call, you may pass ModifyOptionGroupMessage
10652
11044
  # data as a hash:
10653
11045
  #
@@ -11981,6 +12373,43 @@ module Aws::RDS
11981
12373
  include Aws::Structure
11982
12374
  end
11983
12375
 
12376
+ # @note When making an API call, you may pass RemoveFromGlobalClusterMessage
12377
+ # data as a hash:
12378
+ #
12379
+ # {
12380
+ # global_cluster_identifier: "String",
12381
+ # db_cluster_identifier: "String",
12382
+ # }
12383
+ #
12384
+ # @!attribute [rw] global_cluster_identifier
12385
+ # The cluster identifier to detach from the Aurora global database
12386
+ # cluster.
12387
+ # @return [String]
12388
+ #
12389
+ # @!attribute [rw] db_cluster_identifier
12390
+ # The Amazon Resource Name (ARN) identifying the cluster that was
12391
+ # detached from the Aurora global database cluster.
12392
+ # @return [String]
12393
+ #
12394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalClusterMessage AWS API Documentation
12395
+ #
12396
+ class RemoveFromGlobalClusterMessage < Struct.new(
12397
+ :global_cluster_identifier,
12398
+ :db_cluster_identifier)
12399
+ include Aws::Structure
12400
+ end
12401
+
12402
+ # @!attribute [rw] global_cluster
12403
+ # A data type representing an Aurora global database.
12404
+ # @return [Types::GlobalCluster]
12405
+ #
12406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalClusterResult AWS API Documentation
12407
+ #
12408
+ class RemoveFromGlobalClusterResult < Struct.new(
12409
+ :global_cluster)
12410
+ include Aws::Structure
12411
+ end
12412
+
11984
12413
  # @note When making an API call, you may pass RemoveRoleFromDBClusterMessage
11985
12414
  # data as a hash:
11986
12415
  #