aws-sdk-rds 1.111.0 → 1.116.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.
@@ -570,6 +570,12 @@ module Aws::RDS
570
570
  data[:customer_owned_ip_enabled]
571
571
  end
572
572
 
573
+ # The Amazon Resource Name (ARN) of the recovery point in AWS Backup.
574
+ # @return [String]
575
+ def aws_backup_recovery_point_arn
576
+ data[:aws_backup_recovery_point_arn]
577
+ end
578
+
573
579
  # @!endgroup
574
580
 
575
581
  # @return [Client]
@@ -2186,6 +2192,7 @@ module Aws::RDS
2186
2192
  # certificate_rotation_restart: false,
2187
2193
  # replica_mode: "open-read-only", # accepts open-read-only, mounted
2188
2194
  # enable_customer_owned_ip: false,
2195
+ # aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
2189
2196
  # })
2190
2197
  # @param [Hash] options ({})
2191
2198
  # @option options [Integer] :allocated_storage
@@ -2802,6 +2809,8 @@ module Aws::RDS
2802
2809
  #
2803
2810
  # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
2804
2811
  # [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
2812
+ # @option options [String] :aws_backup_recovery_point_arn
2813
+ # The Amazon Resource Name (ARN) of the recovery point in AWS Backup.
2805
2814
  # @return [DBInstance]
2806
2815
  def modify(options = {})
2807
2816
  options = options.merge(db_instance_identifier: @id)
@@ -60,6 +60,9 @@ module Aws::RDS
60
60
  # * {DBParameterGroupNotFoundFault}
61
61
  # * {DBParameterGroupQuotaExceededFault}
62
62
  # * {DBProxyAlreadyExistsFault}
63
+ # * {DBProxyEndpointAlreadyExistsFault}
64
+ # * {DBProxyEndpointNotFoundFault}
65
+ # * {DBProxyEndpointQuotaExceededFault}
63
66
  # * {DBProxyNotFoundFault}
64
67
  # * {DBProxyQuotaExceededFault}
65
68
  # * {DBProxyTargetAlreadyRegisteredFault}
@@ -101,6 +104,7 @@ module Aws::RDS
101
104
  # * {InvalidDBInstanceAutomatedBackupStateFault}
102
105
  # * {InvalidDBInstanceStateFault}
103
106
  # * {InvalidDBParameterGroupStateFault}
107
+ # * {InvalidDBProxyEndpointStateFault}
104
108
  # * {InvalidDBProxyStateFault}
105
109
  # * {InvalidDBSecurityGroupStateFault}
106
110
  # * {InvalidDBSnapshotStateFault}
@@ -477,6 +481,36 @@ module Aws::RDS
477
481
  end
478
482
  end
479
483
 
484
+ class DBProxyEndpointAlreadyExistsFault < ServiceError
485
+
486
+ # @param [Seahorse::Client::RequestContext] context
487
+ # @param [String] message
488
+ # @param [Aws::RDS::Types::DBProxyEndpointAlreadyExistsFault] data
489
+ def initialize(context, message, data = Aws::EmptyStructure.new)
490
+ super(context, message, data)
491
+ end
492
+ end
493
+
494
+ class DBProxyEndpointNotFoundFault < ServiceError
495
+
496
+ # @param [Seahorse::Client::RequestContext] context
497
+ # @param [String] message
498
+ # @param [Aws::RDS::Types::DBProxyEndpointNotFoundFault] data
499
+ def initialize(context, message, data = Aws::EmptyStructure.new)
500
+ super(context, message, data)
501
+ end
502
+ end
503
+
504
+ class DBProxyEndpointQuotaExceededFault < ServiceError
505
+
506
+ # @param [Seahorse::Client::RequestContext] context
507
+ # @param [String] message
508
+ # @param [Aws::RDS::Types::DBProxyEndpointQuotaExceededFault] data
509
+ def initialize(context, message, data = Aws::EmptyStructure.new)
510
+ super(context, message, data)
511
+ end
512
+ end
513
+
480
514
  class DBProxyNotFoundFault < ServiceError
481
515
 
482
516
  # @param [Seahorse::Client::RequestContext] context
@@ -887,6 +921,16 @@ module Aws::RDS
887
921
  end
888
922
  end
889
923
 
924
+ class InvalidDBProxyEndpointStateFault < ServiceError
925
+
926
+ # @param [Seahorse::Client::RequestContext] context
927
+ # @param [String] message
928
+ # @param [Aws::RDS::Types::InvalidDBProxyEndpointStateFault] data
929
+ def initialize(context, message, data = Aws::EmptyStructure.new)
930
+ super(context, message, data)
931
+ end
932
+ end
933
+
890
934
  class InvalidDBProxyStateFault < ServiceError
891
935
 
892
936
  # @param [Seahorse::Client::RequestContext] context
@@ -365,7 +365,7 @@ module Aws::RDS
365
365
  #
366
366
  # **Aurora PostgreSQL**
367
367
  #
368
- # Possible values are `postgresql` and `upgrade`.
368
+ # Possible value is `postgresql`.
369
369
  #
370
370
  #
371
371
  #
@@ -451,12 +451,19 @@ module Aws::RDS
451
451
  # Specify the name of the IAM role to be used when making API calls to
452
452
  # the Directory Service.
453
453
  # @option options [Boolean] :enable_global_write_forwarding
454
- # A value that indicates whether to enable write operations to be
455
- # forwarded from this cluster to the primary cluster in an Aurora global
456
- # database. The resulting changes are replicated back to this cluster.
457
- # This parameter only applies to DB clusters that are secondary clusters
458
- # in an Aurora global database. By default, Aurora disallows write
459
- # operations for secondary clusters.
454
+ # A value that indicates whether to enable this DB cluster to forward
455
+ # write operations to the primary cluster of an Aurora global database
456
+ # (GlobalCluster). By default, write operations are not allowed on
457
+ # Aurora DB clusters that are secondary clusters in an Aurora global
458
+ # database.
459
+ #
460
+ # You can set this value only on Aurora DB clusters that are members of
461
+ # an Aurora global database. With this parameter enabled, a secondary
462
+ # cluster can forward writes to the current primary cluster and the
463
+ # resulting changes are replicated back to this cluster. For the primary
464
+ # DB cluster of an Aurora global database, this value is used
465
+ # immediately if the primary is demoted by the FailoverGlobalCluster API
466
+ # operation, but it does nothing until then.
460
467
  # @option options [String] :source_region
461
468
  # The source region of the snapshot. This is only needed when the
462
469
  # shapshot is encrypted and in a different region.
@@ -2093,7 +2093,7 @@ module Aws::RDS
2093
2093
  #
2094
2094
  # **Aurora PostgreSQL**
2095
2095
  #
2096
- # Possible values are `postgresql` and `upgrade`.
2096
+ # Possible value is `postgresql`.
2097
2097
  #
2098
2098
  #
2099
2099
  #
@@ -2197,12 +2197,19 @@ module Aws::RDS
2197
2197
  # @return [String]
2198
2198
  #
2199
2199
  # @!attribute [rw] enable_global_write_forwarding
2200
- # A value that indicates whether to enable write operations to be
2201
- # forwarded from this cluster to the primary cluster in an Aurora
2202
- # global database. The resulting changes are replicated back to this
2203
- # cluster. This parameter only applies to DB clusters that are
2204
- # secondary clusters in an Aurora global database. By default, Aurora
2205
- # disallows write operations for secondary clusters.
2200
+ # A value that indicates whether to enable this DB cluster to forward
2201
+ # write operations to the primary cluster of an Aurora global database
2202
+ # (GlobalCluster). By default, write operations are not allowed on
2203
+ # Aurora DB clusters that are secondary clusters in an Aurora global
2204
+ # database.
2205
+ #
2206
+ # You can set this value only on Aurora DB clusters that are members
2207
+ # of an Aurora global database. With this parameter enabled, a
2208
+ # secondary cluster can forward writes to the current primary cluster
2209
+ # and the resulting changes are replicated back to this cluster. For
2210
+ # the primary DB cluster of an Aurora global database, this value is
2211
+ # used immediately if the primary is demoted by the
2212
+ # FailoverGlobalCluster API operation, but it does nothing until then.
2206
2213
  # @return [Boolean]
2207
2214
  #
2208
2215
  # @!attribute [rw] source_region
@@ -4156,6 +4163,87 @@ module Aws::RDS
4156
4163
  include Aws::Structure
4157
4164
  end
4158
4165
 
4166
+ # @note When making an API call, you may pass CreateDBProxyEndpointRequest
4167
+ # data as a hash:
4168
+ #
4169
+ # {
4170
+ # db_proxy_name: "DBProxyName", # required
4171
+ # db_proxy_endpoint_name: "DBProxyEndpointName", # required
4172
+ # vpc_subnet_ids: ["String"], # required
4173
+ # vpc_security_group_ids: ["String"],
4174
+ # target_role: "READ_WRITE", # accepts READ_WRITE, READ_ONLY
4175
+ # tags: [
4176
+ # {
4177
+ # key: "String",
4178
+ # value: "String",
4179
+ # },
4180
+ # ],
4181
+ # }
4182
+ #
4183
+ # @!attribute [rw] db_proxy_name
4184
+ # The name of the DB proxy associated with the DB proxy endpoint that
4185
+ # you create.
4186
+ # @return [String]
4187
+ #
4188
+ # @!attribute [rw] db_proxy_endpoint_name
4189
+ # The name of the DB proxy endpoint to create.
4190
+ # @return [String]
4191
+ #
4192
+ # @!attribute [rw] vpc_subnet_ids
4193
+ # The VPC subnet IDs for the DB proxy endpoint that you create. You
4194
+ # can specify a different set of subnet IDs than for the original DB
4195
+ # proxy.
4196
+ # @return [Array<String>]
4197
+ #
4198
+ # @!attribute [rw] vpc_security_group_ids
4199
+ # The VPC security group IDs for the DB proxy endpoint that you
4200
+ # create. You can specify a different set of security group IDs than
4201
+ # for the original DB proxy. The default is the default security group
4202
+ # for the VPC.
4203
+ # @return [Array<String>]
4204
+ #
4205
+ # @!attribute [rw] target_role
4206
+ # A value that indicates whether the DB proxy endpoint can be used for
4207
+ # read/write or read-only operations. The default is `READ_WRITE`.
4208
+ # @return [String]
4209
+ #
4210
+ # @!attribute [rw] tags
4211
+ # A list of tags. For more information, see [Tagging Amazon RDS
4212
+ # Resources][1] in the *Amazon RDS User Guide.*
4213
+ #
4214
+ #
4215
+ #
4216
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
4217
+ # @return [Array<Types::Tag>]
4218
+ #
4219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxyEndpointRequest AWS API Documentation
4220
+ #
4221
+ class CreateDBProxyEndpointRequest < Struct.new(
4222
+ :db_proxy_name,
4223
+ :db_proxy_endpoint_name,
4224
+ :vpc_subnet_ids,
4225
+ :vpc_security_group_ids,
4226
+ :target_role,
4227
+ :tags)
4228
+ SENSITIVE = []
4229
+ include Aws::Structure
4230
+ end
4231
+
4232
+ # @!attribute [rw] db_proxy_endpoint
4233
+ # The `DBProxyEndpoint` object that is created by the API operation.
4234
+ # The DB proxy endpoint that you create might provide capabilities
4235
+ # such as read/write or read-only operations, or using a different VPC
4236
+ # than the proxy's default VPC.
4237
+ # @return [Types::DBProxyEndpoint]
4238
+ #
4239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxyEndpointResponse AWS API Documentation
4240
+ #
4241
+ class CreateDBProxyEndpointResponse < Struct.new(
4242
+ :db_proxy_endpoint)
4243
+ SENSITIVE = []
4244
+ include Aws::Structure
4245
+ end
4246
+
4159
4247
  # @note When making an API call, you may pass CreateDBProxyRequest
4160
4248
  # data as a hash:
4161
4249
  #
@@ -5793,7 +5881,13 @@ module Aws::RDS
5793
5881
  # @return [Time]
5794
5882
  #
5795
5883
  # @!attribute [rw] engine
5796
- # Specifies the name of the database engine.
5884
+ # Specifies the name of the database engine for this DB cluster
5885
+ # snapshot.
5886
+ # @return [String]
5887
+ #
5888
+ # @!attribute [rw] engine_mode
5889
+ # Provides the engine mode of the database engine for this DB cluster
5890
+ # snapshot.
5797
5891
  # @return [String]
5798
5892
  #
5799
5893
  # @!attribute [rw] allocated_storage
@@ -5819,7 +5913,7 @@ module Aws::RDS
5819
5913
  # @return [Time]
5820
5914
  #
5821
5915
  # @!attribute [rw] master_username
5822
- # Provides the master username for the DB cluster snapshot.
5916
+ # Provides the master username for this DB cluster snapshot.
5823
5917
  # @return [String]
5824
5918
  #
5825
5919
  # @!attribute [rw] engine_version
@@ -5884,6 +5978,7 @@ module Aws::RDS
5884
5978
  :db_cluster_identifier,
5885
5979
  :snapshot_create_time,
5886
5980
  :engine,
5981
+ :engine_mode,
5887
5982
  :allocated_storage,
5888
5983
  :status,
5889
5984
  :port,
@@ -6566,6 +6661,10 @@ module Aws::RDS
6566
6661
  # [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
6567
6662
  # @return [Boolean]
6568
6663
  #
6664
+ # @!attribute [rw] aws_backup_recovery_point_arn
6665
+ # The Amazon Resource Name (ARN) of the recovery point in AWS Backup.
6666
+ # @return [String]
6667
+ #
6569
6668
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
6570
6669
  #
6571
6670
  class DBInstance < Struct.new(
@@ -6631,7 +6730,8 @@ module Aws::RDS
6631
6730
  :max_allocated_storage,
6632
6731
  :tag_list,
6633
6732
  :db_instance_automated_backups_replications,
6634
- :customer_owned_ip_enabled)
6733
+ :customer_owned_ip_enabled,
6734
+ :aws_backup_recovery_point_arn)
6635
6735
  SENSITIVE = []
6636
6736
  include Aws::Structure
6637
6737
  end
@@ -7162,6 +7262,10 @@ module Aws::RDS
7162
7262
  # Aurora.
7163
7263
  # @return [String]
7164
7264
  #
7265
+ # @!attribute [rw] vpc_id
7266
+ # Provides the VPC ID of the DB proxy.
7267
+ # @return [String]
7268
+ #
7165
7269
  # @!attribute [rw] vpc_security_group_ids
7166
7270
  # Provides a list of VPC security groups that the proxy belongs to.
7167
7271
  # @return [Array<String>]
@@ -7181,9 +7285,9 @@ module Aws::RDS
7181
7285
  # @return [String]
7182
7286
  #
7183
7287
  # @!attribute [rw] endpoint
7184
- # The endpoint that you can use to connect to the proxy. You include
7185
- # the endpoint value in the connection string for a database client
7186
- # application.
7288
+ # The endpoint that you can use to connect to the DB proxy. You
7289
+ # include the endpoint value in the connection string for a database
7290
+ # client application.
7187
7291
  # @return [String]
7188
7292
  #
7189
7293
  # @!attribute [rw] require_tls
@@ -7228,6 +7332,7 @@ module Aws::RDS
7228
7332
  :db_proxy_arn,
7229
7333
  :status,
7230
7334
  :engine_family,
7335
+ :vpc_id,
7231
7336
  :vpc_security_group_ids,
7232
7337
  :vpc_subnet_ids,
7233
7338
  :auth,
@@ -7249,6 +7354,109 @@ module Aws::RDS
7249
7354
  #
7250
7355
  class DBProxyAlreadyExistsFault < Aws::EmptyStructure; end
7251
7356
 
7357
+ # The data structure representing an endpoint associated with a DB
7358
+ # proxy. RDS automatically creates one endpoint for each DB proxy. For
7359
+ # Aurora DB clusters, you can associate additional endpoints with the
7360
+ # same DB proxy. These endpoints can be read/write or read-only. They
7361
+ # can also reside in different VPCs than the associated DB proxy.
7362
+ #
7363
+ # This data type is used as a response element in the
7364
+ # `DescribeDBProxyEndpoints` operation.
7365
+ #
7366
+ # @!attribute [rw] db_proxy_endpoint_name
7367
+ # The name for the DB proxy endpoint. An identifier must begin with a
7368
+ # letter and must contain only ASCII letters, digits, and hyphens; it
7369
+ # can't end with a hyphen or contain two consecutive hyphens.
7370
+ # @return [String]
7371
+ #
7372
+ # @!attribute [rw] db_proxy_endpoint_arn
7373
+ # The Amazon Resource Name (ARN) for the DB proxy endpoint.
7374
+ # @return [String]
7375
+ #
7376
+ # @!attribute [rw] db_proxy_name
7377
+ # The identifier for the DB proxy that is associated with this DB
7378
+ # proxy endpoint.
7379
+ # @return [String]
7380
+ #
7381
+ # @!attribute [rw] status
7382
+ # The current status of this DB proxy endpoint. A status of
7383
+ # `available` means the endpoint is ready to handle requests. Other
7384
+ # values indicate that you must wait for the endpoint to be ready, or
7385
+ # take some action to resolve an issue.
7386
+ # @return [String]
7387
+ #
7388
+ # @!attribute [rw] vpc_id
7389
+ # Provides the VPC ID of the DB proxy endpoint.
7390
+ # @return [String]
7391
+ #
7392
+ # @!attribute [rw] vpc_security_group_ids
7393
+ # Provides a list of VPC security groups that the DB proxy endpoint
7394
+ # belongs to.
7395
+ # @return [Array<String>]
7396
+ #
7397
+ # @!attribute [rw] vpc_subnet_ids
7398
+ # The EC2 subnet IDs for the DB proxy endpoint.
7399
+ # @return [Array<String>]
7400
+ #
7401
+ # @!attribute [rw] endpoint
7402
+ # The endpoint that you can use to connect to the DB proxy. You
7403
+ # include the endpoint value in the connection string for a database
7404
+ # client application.
7405
+ # @return [String]
7406
+ #
7407
+ # @!attribute [rw] created_date
7408
+ # The date and time when the DB proxy endpoint was first created.
7409
+ # @return [Time]
7410
+ #
7411
+ # @!attribute [rw] target_role
7412
+ # A value that indicates whether the DB proxy endpoint can be used for
7413
+ # read/write or read-only operations.
7414
+ # @return [String]
7415
+ #
7416
+ # @!attribute [rw] is_default
7417
+ # A value that indicates whether this endpoint is the default endpoint
7418
+ # for the associated DB proxy. Default DB proxy endpoints always have
7419
+ # read/write capability. Other endpoints that you associate with the
7420
+ # DB proxy can be either read/write or read-only.
7421
+ # @return [Boolean]
7422
+ #
7423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBProxyEndpoint AWS API Documentation
7424
+ #
7425
+ class DBProxyEndpoint < Struct.new(
7426
+ :db_proxy_endpoint_name,
7427
+ :db_proxy_endpoint_arn,
7428
+ :db_proxy_name,
7429
+ :status,
7430
+ :vpc_id,
7431
+ :vpc_security_group_ids,
7432
+ :vpc_subnet_ids,
7433
+ :endpoint,
7434
+ :created_date,
7435
+ :target_role,
7436
+ :is_default)
7437
+ SENSITIVE = []
7438
+ include Aws::Structure
7439
+ end
7440
+
7441
+ # The specified DB proxy endpoint name must be unique for all DB proxy
7442
+ # endpoints owned by your AWS account in the specified AWS Region.
7443
+ #
7444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBProxyEndpointAlreadyExistsFault AWS API Documentation
7445
+ #
7446
+ class DBProxyEndpointAlreadyExistsFault < Aws::EmptyStructure; end
7447
+
7448
+ # The DB proxy endpoint doesn't exist.
7449
+ #
7450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBProxyEndpointNotFoundFault AWS API Documentation
7451
+ #
7452
+ class DBProxyEndpointNotFoundFault < Aws::EmptyStructure; end
7453
+
7454
+ # The DB proxy already has the maximum number of endpoints.
7455
+ #
7456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBProxyEndpointQuotaExceededFault AWS API Documentation
7457
+ #
7458
+ class DBProxyEndpointQuotaExceededFault < Aws::EmptyStructure; end
7459
+
7252
7460
  # The specified proxy name doesn't correspond to a proxy owned by your
7253
7461
  # AWS account in the specified AWS Region.
7254
7462
  #
@@ -7301,6 +7509,11 @@ module Aws::RDS
7301
7509
  # Aurora DB cluster, that the target represents.
7302
7510
  # @return [String]
7303
7511
  #
7512
+ # @!attribute [rw] role
7513
+ # A value that indicates whether the target of the proxy can be used
7514
+ # for read/write or read-only operations.
7515
+ # @return [String]
7516
+ #
7304
7517
  # @!attribute [rw] target_health
7305
7518
  # Information about the connection health of the RDS Proxy target.
7306
7519
  # @return [Types::TargetHealth]
@@ -7314,6 +7527,7 @@ module Aws::RDS
7314
7527
  :rds_resource_id,
7315
7528
  :port,
7316
7529
  :type,
7530
+ :role,
7317
7531
  :target_health)
7318
7532
  SENSITIVE = []
7319
7533
  include Aws::Structure
@@ -8276,6 +8490,38 @@ module Aws::RDS
8276
8490
  include Aws::Structure
8277
8491
  end
8278
8492
 
8493
+ # @note When making an API call, you may pass DeleteDBProxyEndpointRequest
8494
+ # data as a hash:
8495
+ #
8496
+ # {
8497
+ # db_proxy_endpoint_name: "DBProxyEndpointName", # required
8498
+ # }
8499
+ #
8500
+ # @!attribute [rw] db_proxy_endpoint_name
8501
+ # The name of the DB proxy endpoint to delete.
8502
+ # @return [String]
8503
+ #
8504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxyEndpointRequest AWS API Documentation
8505
+ #
8506
+ class DeleteDBProxyEndpointRequest < Struct.new(
8507
+ :db_proxy_endpoint_name)
8508
+ SENSITIVE = []
8509
+ include Aws::Structure
8510
+ end
8511
+
8512
+ # @!attribute [rw] db_proxy_endpoint
8513
+ # The data structure representing the details of the DB proxy endpoint
8514
+ # that you delete.
8515
+ # @return [Types::DBProxyEndpoint]
8516
+ #
8517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxyEndpointResponse AWS API Documentation
8518
+ #
8519
+ class DeleteDBProxyEndpointResponse < Struct.new(
8520
+ :db_proxy_endpoint)
8521
+ SENSITIVE = []
8522
+ include Aws::Structure
8523
+ end
8524
+
8279
8525
  # @note When making an API call, you may pass DeleteDBProxyRequest
8280
8526
  # data as a hash:
8281
8527
  #
@@ -9811,7 +10057,9 @@ module Aws::RDS
9811
10057
  # }
9812
10058
  #
9813
10059
  # @!attribute [rw] db_proxy_name
9814
- # The name of the DB proxy.
10060
+ # The name of the DB proxy. If you omit this parameter, the output
10061
+ # includes information about all DB proxies owned by your AWS account
10062
+ # ID.
9815
10063
  # @return [String]
9816
10064
  #
9817
10065
  # @!attribute [rw] filters
@@ -9866,6 +10114,86 @@ module Aws::RDS
9866
10114
  include Aws::Structure
9867
10115
  end
9868
10116
 
10117
+ # @note When making an API call, you may pass DescribeDBProxyEndpointsRequest
10118
+ # data as a hash:
10119
+ #
10120
+ # {
10121
+ # db_proxy_name: "DBProxyName",
10122
+ # db_proxy_endpoint_name: "DBProxyEndpointName",
10123
+ # filters: [
10124
+ # {
10125
+ # name: "String", # required
10126
+ # values: ["String"], # required
10127
+ # },
10128
+ # ],
10129
+ # marker: "String",
10130
+ # max_records: 1,
10131
+ # }
10132
+ #
10133
+ # @!attribute [rw] db_proxy_name
10134
+ # The name of the DB proxy whose endpoints you want to describe. If
10135
+ # you omit this parameter, the output includes information about all
10136
+ # DB proxy endpoints associated with all your DB proxies.
10137
+ # @return [String]
10138
+ #
10139
+ # @!attribute [rw] db_proxy_endpoint_name
10140
+ # The name of a DB proxy endpoint to describe. If you omit this
10141
+ # parameter, the output includes information about all DB proxy
10142
+ # endpoints associated with the specified proxy.
10143
+ # @return [String]
10144
+ #
10145
+ # @!attribute [rw] filters
10146
+ # This parameter is not currently supported.
10147
+ # @return [Array<Types::Filter>]
10148
+ #
10149
+ # @!attribute [rw] marker
10150
+ # An optional pagination token provided by a previous request. If this
10151
+ # parameter is specified, the response includes only records beyond
10152
+ # the marker, up to the value specified by `MaxRecords`.
10153
+ # @return [String]
10154
+ #
10155
+ # @!attribute [rw] max_records
10156
+ # The maximum number of records to include in the response. If more
10157
+ # records exist than the specified `MaxRecords` value, a pagination
10158
+ # token called a marker is included in the response so that the
10159
+ # remaining results can be retrieved.
10160
+ #
10161
+ # Default: 100
10162
+ #
10163
+ # Constraints: Minimum 20, maximum 100.
10164
+ # @return [Integer]
10165
+ #
10166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyEndpointsRequest AWS API Documentation
10167
+ #
10168
+ class DescribeDBProxyEndpointsRequest < Struct.new(
10169
+ :db_proxy_name,
10170
+ :db_proxy_endpoint_name,
10171
+ :filters,
10172
+ :marker,
10173
+ :max_records)
10174
+ SENSITIVE = []
10175
+ include Aws::Structure
10176
+ end
10177
+
10178
+ # @!attribute [rw] db_proxy_endpoints
10179
+ # The list of `ProxyEndpoint` objects returned by the API operation.
10180
+ # @return [Array<Types::DBProxyEndpoint>]
10181
+ #
10182
+ # @!attribute [rw] marker
10183
+ # An optional pagination token provided by a previous request. If this
10184
+ # parameter is specified, the response includes only records beyond
10185
+ # the marker, up to the value specified by `MaxRecords`.
10186
+ # @return [String]
10187
+ #
10188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyEndpointsResponse AWS API Documentation
10189
+ #
10190
+ class DescribeDBProxyEndpointsResponse < Struct.new(
10191
+ :db_proxy_endpoints,
10192
+ :marker)
10193
+ SENSITIVE = []
10194
+ include Aws::Structure
10195
+ end
10196
+
9869
10197
  # @note When making an API call, you may pass DescribeDBProxyTargetGroupsRequest
9870
10198
  # data as a hash:
9871
10199
  #
@@ -12178,6 +12506,103 @@ module Aws::RDS
12178
12506
  include Aws::Structure
12179
12507
  end
12180
12508
 
12509
+ # @note When making an API call, you may pass FailoverGlobalClusterMessage
12510
+ # data as a hash:
12511
+ #
12512
+ # {
12513
+ # global_cluster_identifier: "GlobalClusterIdentifier", # required
12514
+ # target_db_cluster_identifier: "DBClusterIdentifier", # required
12515
+ # }
12516
+ #
12517
+ # @!attribute [rw] global_cluster_identifier
12518
+ # Identifier of the Aurora global database (GlobalCluster) that should
12519
+ # be failed over. The identifier is the unique key assigned by the
12520
+ # user when the Aurora global database was created. In other words,
12521
+ # it's the name of the Aurora global database that you want to fail
12522
+ # over.
12523
+ #
12524
+ # Constraints:
12525
+ #
12526
+ # * Must match the identifier of an existing GlobalCluster (Aurora
12527
+ # global database).
12528
+ #
12529
+ # ^
12530
+ # @return [String]
12531
+ #
12532
+ # @!attribute [rw] target_db_cluster_identifier
12533
+ # Identifier of the secondary Aurora DB cluster that you want to
12534
+ # promote to primary for the Aurora global database (GlobalCluster.)
12535
+ # Use the Amazon Resource Name (ARN) for the identifier so that Aurora
12536
+ # can locate the cluster in its AWS Region.
12537
+ # @return [String]
12538
+ #
12539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalClusterMessage AWS API Documentation
12540
+ #
12541
+ class FailoverGlobalClusterMessage < Struct.new(
12542
+ :global_cluster_identifier,
12543
+ :target_db_cluster_identifier)
12544
+ SENSITIVE = []
12545
+ include Aws::Structure
12546
+ end
12547
+
12548
+ # @!attribute [rw] global_cluster
12549
+ # A data type representing an Aurora global database.
12550
+ # @return [Types::GlobalCluster]
12551
+ #
12552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalClusterResult AWS API Documentation
12553
+ #
12554
+ class FailoverGlobalClusterResult < Struct.new(
12555
+ :global_cluster)
12556
+ SENSITIVE = []
12557
+ include Aws::Structure
12558
+ end
12559
+
12560
+ # Contains the state of scheduled or in-process failover operations on
12561
+ # an Aurora global database (GlobalCluster). This Data type is empty
12562
+ # unless a failover operation is scheduled or is currently underway on
12563
+ # the Aurora global database.
12564
+ #
12565
+ # @!attribute [rw] status
12566
+ # The current status of the Aurora global database (GlobalCluster).
12567
+ # Possible values are as follows:
12568
+ #
12569
+ # * pending – A request to fail over the Aurora global database
12570
+ # (GlobalCluster) has been received by the service. The
12571
+ # `GlobalCluster`'s primary DB cluster and the specified secondary
12572
+ # DB cluster are being verified before the failover process can
12573
+ # start.
12574
+ #
12575
+ # * failing-over – This status covers the range of Aurora internal
12576
+ # operations that take place during the failover process, such as
12577
+ # demoting the primary Aurora DB cluster, promoting the secondary
12578
+ # Aurora DB, and synchronizing replicas.
12579
+ #
12580
+ # * cancelling – The request to fail over the Aurora global database
12581
+ # (GlobalCluster) was cancelled and the primary Aurora DB cluster
12582
+ # and the selected secondary Aurora DB cluster are returning to
12583
+ # their previous states.
12584
+ # @return [String]
12585
+ #
12586
+ # @!attribute [rw] from_db_cluster_arn
12587
+ # The Amazon Resource Name (ARN) of the Aurora DB cluster that is
12588
+ # currently being demoted, and which is associated with this state.
12589
+ # @return [String]
12590
+ #
12591
+ # @!attribute [rw] to_db_cluster_arn
12592
+ # The Amazon Resource Name (ARN) of the Aurora DB cluster that is
12593
+ # currently being promoted, and which is associated with this state.
12594
+ # @return [String]
12595
+ #
12596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverState AWS API Documentation
12597
+ #
12598
+ class FailoverState < Struct.new(
12599
+ :status,
12600
+ :from_db_cluster_arn,
12601
+ :to_db_cluster_arn)
12602
+ SENSITIVE = []
12603
+ include Aws::Structure
12604
+ end
12605
+
12181
12606
  # A filter name and value pair that is used to return a more specific
12182
12607
  # list of results from a describe operation. Filters can be used to
12183
12608
  # match a set of resources by specific criteria, such as IDs. The
@@ -12273,6 +12698,14 @@ module Aws::RDS
12273
12698
  # database cluster. Currently limited to 1 item.
12274
12699
  # @return [Array<Types::GlobalClusterMember>]
12275
12700
  #
12701
+ # @!attribute [rw] failover_state
12702
+ # A data object containing all properties for the current state of an
12703
+ # in-process or pending failover process for this Aurora global
12704
+ # database. This object is empty unless the FailoverGlobalCluster API
12705
+ # operation has been called on this Aurora global database
12706
+ # (GlobalCluster).
12707
+ # @return [Types::FailoverState]
12708
+ #
12276
12709
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalCluster AWS API Documentation
12277
12710
  #
12278
12711
  class GlobalCluster < Struct.new(
@@ -12285,7 +12718,8 @@ module Aws::RDS
12285
12718
  :database_name,
12286
12719
  :storage_encrypted,
12287
12720
  :deletion_protection,
12288
- :global_cluster_members)
12721
+ :global_cluster_members,
12722
+ :failover_state)
12289
12723
  SENSITIVE = []
12290
12724
  include Aws::Structure
12291
12725
  end
@@ -12666,6 +13100,13 @@ module Aws::RDS
12666
13100
  #
12667
13101
  class InvalidDBParameterGroupStateFault < Aws::EmptyStructure; end
12668
13102
 
13103
+ # You can't perform this operation while the DB proxy endpoint is in a
13104
+ # particular state.
13105
+ #
13106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidDBProxyEndpointStateFault AWS API Documentation
13107
+ #
13108
+ class InvalidDBProxyEndpointStateFault < Aws::EmptyStructure; end
13109
+
12669
13110
  # The requested operation can't be performed while the proxy is in this
12670
13111
  # state.
12671
13112
  #
@@ -13313,12 +13754,19 @@ module Aws::RDS
13313
13754
  # @return [Boolean]
13314
13755
  #
13315
13756
  # @!attribute [rw] enable_global_write_forwarding
13316
- # A value that indicates whether to enable write operations to be
13317
- # forwarded from this cluster to the primary cluster in an Aurora
13318
- # global database. The resulting changes are replicated back to this
13319
- # cluster. This parameter only applies to DB clusters that are
13320
- # secondary clusters in an Aurora global database. By default, Aurora
13321
- # disallows write operations for secondary clusters.
13757
+ # A value that indicates whether to enable this DB cluster to forward
13758
+ # write operations to the primary cluster of an Aurora global database
13759
+ # (GlobalCluster). By default, write operations are not allowed on
13760
+ # Aurora DB clusters that are secondary clusters in an Aurora global
13761
+ # database.
13762
+ #
13763
+ # You can set this value only on Aurora DB clusters that are members
13764
+ # of an Aurora global database. With this parameter enabled, a
13765
+ # secondary cluster can forward writes to the current primary cluster
13766
+ # and the resulting changes are replicated back to this cluster. For
13767
+ # the primary DB cluster of an Aurora global database, this value is
13768
+ # used immediately if the primary is demoted by the
13769
+ # FailoverGlobalCluster API operation, but it does nothing until then.
13322
13770
  # @return [Boolean]
13323
13771
  #
13324
13772
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
@@ -13543,6 +13991,7 @@ module Aws::RDS
13543
13991
  # certificate_rotation_restart: false,
13544
13992
  # replica_mode: "open-read-only", # accepts open-read-only, mounted
13545
13993
  # enable_customer_owned_ip: false,
13994
+ # aws_backup_recovery_point_arn: "AwsBackupRecoveryPointArn",
13546
13995
  # }
13547
13996
  #
13548
13997
  # @!attribute [rw] db_instance_identifier
@@ -14265,6 +14714,10 @@ module Aws::RDS
14265
14714
  # [2]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing
14266
14715
  # @return [Boolean]
14267
14716
  #
14717
+ # @!attribute [rw] aws_backup_recovery_point_arn
14718
+ # The Amazon Resource Name (ARN) of the recovery point in AWS Backup.
14719
+ # @return [String]
14720
+ #
14268
14721
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
14269
14722
  #
14270
14723
  class ModifyDBInstanceMessage < Struct.new(
@@ -14311,7 +14764,8 @@ module Aws::RDS
14311
14764
  :max_allocated_storage,
14312
14765
  :certificate_rotation_restart,
14313
14766
  :replica_mode,
14314
- :enable_customer_owned_ip)
14767
+ :enable_customer_owned_ip,
14768
+ :aws_backup_recovery_point_arn)
14315
14769
  SENSITIVE = []
14316
14770
  include Aws::Structure
14317
14771
  end
@@ -14390,6 +14844,57 @@ module Aws::RDS
14390
14844
  include Aws::Structure
14391
14845
  end
14392
14846
 
14847
+ # @note When making an API call, you may pass ModifyDBProxyEndpointRequest
14848
+ # data as a hash:
14849
+ #
14850
+ # {
14851
+ # db_proxy_endpoint_name: "DBProxyEndpointName", # required
14852
+ # new_db_proxy_endpoint_name: "DBProxyEndpointName",
14853
+ # vpc_security_group_ids: ["String"],
14854
+ # }
14855
+ #
14856
+ # @!attribute [rw] db_proxy_endpoint_name
14857
+ # The name of the DB proxy sociated with the DB proxy endpoint that
14858
+ # you want to modify.
14859
+ # @return [String]
14860
+ #
14861
+ # @!attribute [rw] new_db_proxy_endpoint_name
14862
+ # The new identifier for the `DBProxyEndpoint`. An identifier must
14863
+ # begin with a letter and must contain only ASCII letters, digits, and
14864
+ # hyphens; it can't end with a hyphen or contain two consecutive
14865
+ # hyphens.
14866
+ # @return [String]
14867
+ #
14868
+ # @!attribute [rw] vpc_security_group_ids
14869
+ # The VPC security group IDs for the DB proxy endpoint. When the DB
14870
+ # proxy endpoint uses a different VPC than the original proxy, you
14871
+ # also specify a different set of security group IDs than for the
14872
+ # original proxy.
14873
+ # @return [Array<String>]
14874
+ #
14875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyEndpointRequest AWS API Documentation
14876
+ #
14877
+ class ModifyDBProxyEndpointRequest < Struct.new(
14878
+ :db_proxy_endpoint_name,
14879
+ :new_db_proxy_endpoint_name,
14880
+ :vpc_security_group_ids)
14881
+ SENSITIVE = []
14882
+ include Aws::Structure
14883
+ end
14884
+
14885
+ # @!attribute [rw] db_proxy_endpoint
14886
+ # The `DBProxyEndpoint` object representing the new settings for the
14887
+ # DB proxy endpoint.
14888
+ # @return [Types::DBProxyEndpoint]
14889
+ #
14890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyEndpointResponse AWS API Documentation
14891
+ #
14892
+ class ModifyDBProxyEndpointResponse < Struct.new(
14893
+ :db_proxy_endpoint)
14894
+ SENSITIVE = []
14895
+ include Aws::Structure
14896
+ end
14897
+
14393
14898
  # @note When making an API call, you may pass ModifyDBProxyRequest
14394
14899
  # data as a hash:
14395
14900
  #
@@ -20494,8 +20999,23 @@ module Aws::RDS
20494
20999
  # @return [Boolean]
20495
21000
  #
20496
21001
  # @!attribute [rw] is_major_version_upgrade
20497
- # A value that indicates whether a database engine is upgraded to a
20498
- # major version.
21002
+ # A value that indicates whether upgrading to the target version
21003
+ # requires upgrading the major version of the database engine.
21004
+ # @return [Boolean]
21005
+ #
21006
+ # @!attribute [rw] supported_engine_modes
21007
+ # A list of the supported DB engine modes for the target engine
21008
+ # version.
21009
+ # @return [Array<String>]
21010
+ #
21011
+ # @!attribute [rw] supports_parallel_query
21012
+ # A value that indicates whether you can use Aurora parallel query
21013
+ # with the target engine version.
21014
+ # @return [Boolean]
21015
+ #
21016
+ # @!attribute [rw] supports_global_databases
21017
+ # A value that indicates whether you can use Aurora global databases
21018
+ # with the target engine version.
20499
21019
  # @return [Boolean]
20500
21020
  #
20501
21021
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/UpgradeTarget AWS API Documentation
@@ -20505,7 +21025,10 @@ module Aws::RDS
20505
21025
  :engine_version,
20506
21026
  :description,
20507
21027
  :auto_upgrade,
20508
- :is_major_version_upgrade)
21028
+ :is_major_version_upgrade,
21029
+ :supported_engine_modes,
21030
+ :supports_parallel_query,
21031
+ :supports_global_databases)
20509
21032
  SENSITIVE = []
20510
21033
  include Aws::Structure
20511
21034
  end