aws-sdk-docdb 1.21.0 → 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2294ff131428a60a2a2fe34c66cb4e5917559fdabe882f166fd323b6ad386c4
4
- data.tar.gz: 7a1c7ed233ccb81887612f4c65446de3c12a94f4f47bc5f437de8e7ef882042e
3
+ metadata.gz: f5d719dc4f523dd9c3850caab8ed97b6e3de356ef465ce35612f726047acaa05
4
+ data.tar.gz: 6418facbb94cac8c92abe036eca0cde87c98ba4df87f21dc957a39f889f611f7
5
5
  SHA512:
6
- metadata.gz: ea938b4e43deab8e86bbc8440c31dbf2cf5e229f21612bb03e1de6fbd56f2f2872cbb436f3e702c5301c9383d03970a00be1c584c7d9b3e3e96a510dfc6a5e90
7
- data.tar.gz: 1f95556d7939e9f26b7c4efd1c59f8685f8766b30212b9a2fdbb04fd7deda052e3377998445bdb4c37e2b4363991a5648f4d1b8099a685578b03abe453f6f815
6
+ metadata.gz: 933da4fbd2af467fcbdef33f236019b1ec9f894f01cdc8155aa1342cb8560712fbbab51d7da9380f6890ed00a4ee1f39319f70e333db72c888d7d6ea7e064340
7
+ data.tar.gz: bdd324b733838060d9e48d8e6be006c7d48cc43f24296869eabe6d5920f26bd77c817662e0dadaf1dda3a0483b79a7e3069cc1612400abf79cf8049f25e09c8c
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-docdb/customizations'
48
49
  # @!group service
49
50
  module Aws::DocDB
50
51
 
51
- GEM_VERSION = '1.21.0'
52
+ GEM_VERSION = '1.23.0'
52
53
 
53
54
  end
@@ -334,7 +334,7 @@ module Aws::DocDB
334
334
  #
335
335
  # @option params [required, String] :resource_name
336
336
  # The Amazon DocumentDB resource that the tags are added to. This value
337
- # is an Amazon Resource Name (ARN).
337
+ # is an Amazon Resource Name .
338
338
  #
339
339
  # @option params [required, Array<Types::Tag>] :tags
340
340
  # The tags to be assigned to the Amazon DocumentDB resource.
@@ -362,8 +362,8 @@ module Aws::DocDB
362
362
  req.send_request(options)
363
363
  end
364
364
 
365
- # Applies a pending maintenance action to a resource (for example, to a
366
- # DB instance).
365
+ # Applies a pending maintenance action to a resource (for example, to an
366
+ # Amazon DocumentDB instance).
367
367
  #
368
368
  # @option params [required, String] :resource_identifier
369
369
  # The Amazon Resource Name (ARN) of the resource that the pending
@@ -436,7 +436,7 @@ module Aws::DocDB
436
436
  #
437
437
  # * If the source parameter group is in a different AWS Region than the
438
438
  # copy, specify a valid cluster parameter group ARN; for example,
439
- # `arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1`.
439
+ # `arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group`.
440
440
  #
441
441
  # @option params [required, String] :target_db_cluster_parameter_group_identifier
442
442
  # The identifier for the copied cluster parameter group.
@@ -497,23 +497,21 @@ module Aws::DocDB
497
497
  #
498
498
  # To copy a cluster snapshot from a shared manual cluster snapshot,
499
499
  # `SourceDBClusterSnapshotIdentifier` must be the Amazon Resource Name
500
- # (ARN) of the shared cluster snapshot.
500
+ # (ARN) of the shared cluster snapshot. You can only copy a shared DB
501
+ # cluster snapshot, whether encrypted or not, in the same AWS Region.
501
502
  #
502
503
  # To cancel the copy operation after it is in progress, delete the
503
504
  # target cluster snapshot identified by
504
- # `TargetDBClusterSnapshotIdentifier` while that DB cluster snapshot is
505
- # in the *copying* status.
505
+ # `TargetDBClusterSnapshotIdentifier` while that cluster snapshot is in
506
+ # the *copying* status.
506
507
  #
507
508
  # @option params [required, String] :source_db_cluster_snapshot_identifier
508
509
  # The identifier of the cluster snapshot to copy. This parameter is not
509
510
  # case sensitive.
510
511
  #
511
- # You can't copy an encrypted, shared cluster snapshot from one AWS
512
- # Region to another.
513
- #
514
512
  # Constraints:
515
513
  #
516
- # * Must specify a valid system snapshot in the "available" state.
514
+ # * Must specify a valid system snapshot in the *available* state.
517
515
  #
518
516
  # * If the source snapshot is in the same AWS Region as the copy,
519
517
  # specify a valid snapshot identifier.
@@ -555,8 +553,8 @@ module Aws::DocDB
555
553
  # `KmsKeyId` to the AWS KMS key ID that you want to use to encrypt the
556
554
  # copy of the cluster snapshot in the destination Region. AWS KMS
557
555
  # encryption keys are specific to the AWS Region that they are created
558
- # in, and you can't use encryption keys from one Region in another
559
- # Region.
556
+ # in, and you can't use encryption keys from one AWS Region in another
557
+ # AWS Region.
560
558
  #
561
559
  # If you copy an unencrypted cluster snapshot and specify a value for
562
560
  # the `KmsKeyId` parameter, an error is returned.
@@ -565,32 +563,33 @@ module Aws::DocDB
565
563
  # The URL that contains a Signature Version 4 signed request for the
566
564
  # `CopyDBClusterSnapshot` API action in the AWS Region that contains the
567
565
  # source cluster snapshot to copy. You must use the `PreSignedUrl`
568
- # parameter when copying an encrypted cluster snapshot from another AWS
569
- # Region.
566
+ # parameter when copying a cluster snapshot from another AWS Region.
567
+ #
568
+ # If you are using an AWS SDK tool or the AWS CLI, you can specify
569
+ # `SourceRegion` (or `--source-region` for the AWS CLI) instead of
570
+ # specifying `PreSignedUrl` manually. Specifying `SourceRegion`
571
+ # autogenerates a pre-signed URL that is a valid request for the
572
+ # operation that can be executed in the source AWS Region.
570
573
  #
571
574
  # The presigned URL must be a valid request for the
572
- # `CopyDBSClusterSnapshot` API action that can be executed in the source
573
- # AWS Region that contains the encrypted DB cluster snapshot to be
574
- # copied. The presigned URL request must contain the following parameter
575
- # values:
576
- #
577
- # * `KmsKeyId` - The AWS KMS key identifier for the key to use to
578
- # encrypt the copy of the cluster snapshot in the destination AWS
579
- # Region. This is the same identifier for both the
580
- # `CopyDBClusterSnapshot` action that is called in the destination AWS
581
- # Region, and the action contained in the presigned URL.
582
- #
583
- # * `DestinationRegion` - The name of the AWS Region that the DB cluster
584
- # snapshot will be created in.
585
- #
586
- # * `SourceDBClusterSnapshotIdentifier` - The cluster snapshot
587
- # identifier for the encrypted cluster snapshot to be copied. This
588
- # identifier must be in the Amazon Resource Name (ARN) format for the
589
- # source AWS Region. For example, if you are copying an encrypted
590
- # cluster snapshot from the us-west-2 AWS Region, then your
591
- # `SourceDBClusterSnapshotIdentifier` looks like the following
592
- # example:
593
- # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:my-cluster-snapshot-20161115`.
575
+ # `CopyDBClusterSnapshot` API action that can be executed in the source
576
+ # AWS Region that contains the cluster snapshot to be copied. The
577
+ # presigned URL request must contain the following parameter values:
578
+ #
579
+ # * `SourceRegion` - The ID of the region that contains the snapshot to
580
+ # be copied.
581
+ #
582
+ # * `SourceDBClusterSnapshotIdentifier` - The identifier for the the
583
+ # encrypted cluster snapshot to be copied. This identifier must be in
584
+ # the Amazon Resource Name (ARN) format for the source AWS Region. For
585
+ # example, if you are copying an encrypted cluster snapshot from the
586
+ # us-east-1 AWS Region, then your `SourceDBClusterSnapshotIdentifier`
587
+ # looks something like the following:
588
+ # `arn:aws:rds:us-east-1:12345678012:sample-cluster:sample-cluster-snapshot`.
589
+ #
590
+ # * `TargetDBClusterSnapshotIdentifier` - The identifier for the new
591
+ # cluster snapshot to be created. This parameter isn't case
592
+ # sensitive.
594
593
  #
595
594
  # @option params [Boolean] :copy_tags
596
595
  # Set to `true` to copy all tags from the source cluster snapshot to the
@@ -794,9 +793,19 @@ module Aws::DocDB
794
793
  # destination AWS Region. This key is used to encrypt the replica in
795
794
  # that AWS Region.
796
795
  #
796
+ # @option params [String] :pre_signed_url
797
+ # Not currently supported.
798
+ #
797
799
  # @option params [Array<String>] :enable_cloudwatch_logs_exports
798
800
  # A list of log types that need to be enabled for exporting to Amazon
799
- # CloudWatch Logs.
801
+ # CloudWatch Logs. You can enable audit logs or profiler logs. For more
802
+ # information, see [ Auditing Amazon DocumentDB Events][1] and [
803
+ # Profiling Amazon DocumentDB Operations][2].
804
+ #
805
+ #
806
+ #
807
+ # [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
808
+ # [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
800
809
  #
801
810
  # @option params [Boolean] :deletion_protection
802
811
  # Specifies whether this cluster can be deleted. If `DeletionProtection`
@@ -832,6 +841,7 @@ module Aws::DocDB
832
841
  # ],
833
842
  # storage_encrypted: false,
834
843
  # kms_key_id: "String",
844
+ # pre_signed_url: "String",
835
845
  # enable_cloudwatch_logs_exports: ["String"],
836
846
  # deletion_protection: false,
837
847
  # })
@@ -890,24 +900,26 @@ module Aws::DocDB
890
900
  # Creates a new cluster parameter group.
891
901
  #
892
902
  # Parameters in a cluster parameter group apply to all of the instances
893
- # in a DB cluster.
903
+ # in a cluster.
894
904
  #
895
905
  # A cluster parameter group is initially created with the default
896
906
  # parameters for the database engine used by instances in the cluster.
897
- # To provide custom values for any of the parameters, you must modify
898
- # the group after you create it. After you create a DB cluster parameter
899
- # group, you must associate it with your cluster. For the new DB cluster
900
- # parameter group and associated settings to take effect, you must then
901
- # reboot the instances in the cluster without failover.
907
+ # In Amazon DocumentDB, you cannot make modifications directly to the
908
+ # `default.docdb3.6` cluster parameter group. If your Amazon DocumentDB
909
+ # cluster is using the default cluster parameter group and you want to
910
+ # modify a value in it, you must first [ create a new parameter
911
+ # group][1] or [ copy an existing parameter group][2], modify it, and
912
+ # then apply the modified parameter group to your cluster. For the new
913
+ # cluster parameter group and associated settings to take effect, you
914
+ # must then reboot the instances in the cluster without failover. For
915
+ # more information, see [ Modifying Amazon DocumentDB Cluster Parameter
916
+ # Groups][3].
917
+ #
902
918
  #
903
- # After you create a cluster parameter group, you should wait at least 5
904
- # minutes before creating your first cluster that uses that cluster
905
- # parameter group as the default parameter group. This allows Amazon
906
- # DocumentDB to fully complete the create action before the cluster
907
- # parameter group is used as the default for a new cluster. This step is
908
- # especially important for parameters that are critical when creating
909
- # the default database for a cluster, such as the character set for the
910
- # default database defined by the `character_set_database` parameter.
919
+ #
920
+ # [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html
921
+ # [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html
922
+ # [3]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html
911
923
  #
912
924
  # @option params [required, String] :db_cluster_parameter_group_name
913
925
  # The name of the cluster parameter group.
@@ -1076,10 +1088,6 @@ module Aws::DocDB
1076
1088
  #
1077
1089
  # Example: `us-east-1d`
1078
1090
  #
1079
- # Constraint: The `AvailabilityZone` parameter can't be specified if
1080
- # the `MultiAZ` parameter is set to `true`. The specified Availability
1081
- # Zone must be in the same AWS Region as the current endpoint.
1082
- #
1083
1091
  # @option params [String] :preferred_maintenance_window
1084
1092
  # The time range each week during which system maintenance can occur, in
1085
1093
  # Universal Coordinated Time (UTC).
@@ -1636,6 +1644,8 @@ module Aws::DocDB
1636
1644
  # * {Types::CertificateMessage#certificates #certificates} => Array&lt;Types::Certificate&gt;
1637
1645
  # * {Types::CertificateMessage#marker #marker} => String
1638
1646
  #
1647
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1648
+ #
1639
1649
  # @example Request syntax with placeholder values
1640
1650
  #
1641
1651
  # resp = client.describe_certificates({
@@ -1708,6 +1718,8 @@ module Aws::DocDB
1708
1718
  # * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
1709
1719
  # * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array&lt;Types::DBClusterParameterGroup&gt;
1710
1720
  #
1721
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1722
+ #
1711
1723
  # @example Request syntax with placeholder values
1712
1724
  #
1713
1725
  # resp = client.describe_db_cluster_parameter_groups({
@@ -1781,6 +1793,8 @@ module Aws::DocDB
1781
1793
  # * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array&lt;Types::Parameter&gt;
1782
1794
  # * {Types::DBClusterParameterGroupDetails#marker #marker} => String
1783
1795
  #
1796
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1797
+ #
1784
1798
  # @example Request syntax with placeholder values
1785
1799
  #
1786
1800
  # resp = client.describe_db_cluster_parameters({
@@ -1949,6 +1963,8 @@ module Aws::DocDB
1949
1963
  # * {Types::DBClusterSnapshotMessage#marker #marker} => String
1950
1964
  # * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array&lt;Types::DBClusterSnapshot&gt;
1951
1965
  #
1966
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1967
+ #
1952
1968
  # @example Request syntax with placeholder values
1953
1969
  #
1954
1970
  # resp = client.describe_db_cluster_snapshots({
@@ -2125,7 +2141,7 @@ module Aws::DocDB
2125
2141
  # @option params [String] :engine_version
2126
2142
  # The database engine version to return.
2127
2143
  #
2128
- # Example: `5.1.49`
2144
+ # Example: `3.6.0`
2129
2145
  #
2130
2146
  # @option params [String] :db_parameter_group_family
2131
2147
  # The name of a specific parameter group family to return details for.
@@ -2790,6 +2806,8 @@ module Aws::DocDB
2790
2806
  # * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array&lt;Types::ResourcePendingMaintenanceActions&gt;
2791
2807
  # * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
2792
2808
  #
2809
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2810
+ #
2793
2811
  # @example Request syntax with placeholder values
2794
2812
  #
2795
2813
  # resp = client.describe_pending_maintenance_actions({
@@ -4258,7 +4276,7 @@ module Aws::DocDB
4258
4276
  params: params,
4259
4277
  config: config)
4260
4278
  context[:gem_name] = 'aws-sdk-docdb'
4261
- context[:gem_version] = '1.21.0'
4279
+ context[:gem_version] = '1.23.0'
4262
4280
  Seahorse::Client::Request.new(handlers, context)
4263
4281
  end
4264
4282
 
@@ -284,6 +284,7 @@ module Aws::DocDB
284
284
  CreateDBClusterMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
285
285
  CreateDBClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
286
286
  CreateDBClusterMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
287
+ CreateDBClusterMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
287
288
  CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
288
289
  CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
289
290
  CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
@@ -1208,6 +1209,12 @@ module Aws::DocDB
1208
1209
  o.input = Shapes::ShapeRef.new(shape: DescribeCertificatesMessage)
1209
1210
  o.output = Shapes::ShapeRef.new(shape: CertificateMessage)
1210
1211
  o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundFault)
1212
+ o[:pager] = Aws::Pager.new(
1213
+ limit_key: "max_records",
1214
+ tokens: {
1215
+ "marker" => "marker"
1216
+ }
1217
+ )
1211
1218
  end)
1212
1219
 
1213
1220
  api.add_operation(:describe_db_cluster_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -1217,6 +1224,12 @@ module Aws::DocDB
1217
1224
  o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterParameterGroupsMessage)
1218
1225
  o.output = Shapes::ShapeRef.new(shape: DBClusterParameterGroupsMessage)
1219
1226
  o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
1227
+ o[:pager] = Aws::Pager.new(
1228
+ limit_key: "max_records",
1229
+ tokens: {
1230
+ "marker" => "marker"
1231
+ }
1232
+ )
1220
1233
  end)
1221
1234
 
1222
1235
  api.add_operation(:describe_db_cluster_parameters, Seahorse::Model::Operation.new.tap do |o|
@@ -1226,6 +1239,12 @@ module Aws::DocDB
1226
1239
  o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterParametersMessage)
1227
1240
  o.output = Shapes::ShapeRef.new(shape: DBClusterParameterGroupDetails)
1228
1241
  o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
1242
+ o[:pager] = Aws::Pager.new(
1243
+ limit_key: "max_records",
1244
+ tokens: {
1245
+ "marker" => "marker"
1246
+ }
1247
+ )
1229
1248
  end)
1230
1249
 
1231
1250
  api.add_operation(:describe_db_cluster_snapshot_attributes, Seahorse::Model::Operation.new.tap do |o|
@@ -1244,6 +1263,12 @@ module Aws::DocDB
1244
1263
  o.input = Shapes::ShapeRef.new(shape: DescribeDBClusterSnapshotsMessage)
1245
1264
  o.output = Shapes::ShapeRef.new(shape: DBClusterSnapshotMessage)
1246
1265
  o.errors << Shapes::ShapeRef.new(shape: DBClusterSnapshotNotFoundFault)
1266
+ o[:pager] = Aws::Pager.new(
1267
+ limit_key: "max_records",
1268
+ tokens: {
1269
+ "marker" => "marker"
1270
+ }
1271
+ )
1247
1272
  end)
1248
1273
 
1249
1274
  api.add_operation(:describe_db_clusters, Seahorse::Model::Operation.new.tap do |o|
@@ -1356,6 +1381,12 @@ module Aws::DocDB
1356
1381
  o.input = Shapes::ShapeRef.new(shape: DescribePendingMaintenanceActionsMessage)
1357
1382
  o.output = Shapes::ShapeRef.new(shape: PendingMaintenanceActionsMessage)
1358
1383
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
1384
+ o[:pager] = Aws::Pager.new(
1385
+ limit_key: "max_records",
1386
+ tokens: {
1387
+ "marker" => "marker"
1388
+ }
1389
+ )
1359
1390
  end)
1360
1391
 
1361
1392
  api.add_operation(:failover_db_cluster, Seahorse::Model::Operation.new.tap do |o|
@@ -27,7 +27,7 @@ module Aws::DocDB
27
27
  #
28
28
  # @!attribute [rw] resource_name
29
29
  # The Amazon DocumentDB resource that the tags are added to. This
30
- # value is an Amazon Resource Name (ARN).
30
+ # value is an Amazon Resource Name .
31
31
  # @return [String]
32
32
  #
33
33
  # @!attribute [rw] tags
@@ -267,7 +267,7 @@ module Aws::DocDB
267
267
  # * If the source parameter group is in a different AWS Region than
268
268
  # the copy, specify a valid cluster parameter group ARN; for
269
269
  # example,
270
- # `arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1`.
270
+ # `arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group`.
271
271
  # @return [String]
272
272
  #
273
273
  # @!attribute [rw] target_db_cluster_parameter_group_identifier
@@ -340,12 +340,9 @@ module Aws::DocDB
340
340
  # The identifier of the cluster snapshot to copy. This parameter is
341
341
  # not case sensitive.
342
342
  #
343
- # You can't copy an encrypted, shared cluster snapshot from one AWS
344
- # Region to another.
345
- #
346
343
  # Constraints:
347
344
  #
348
- # * Must specify a valid system snapshot in the "available" state.
345
+ # * Must specify a valid system snapshot in the *available* state.
349
346
  #
350
347
  # * If the source snapshot is in the same AWS Region as the copy,
351
348
  # specify a valid snapshot identifier.
@@ -389,8 +386,8 @@ module Aws::DocDB
389
386
  # `KmsKeyId` to the AWS KMS key ID that you want to use to encrypt the
390
387
  # copy of the cluster snapshot in the destination Region. AWS KMS
391
388
  # encryption keys are specific to the AWS Region that they are created
392
- # in, and you can't use encryption keys from one Region in another
393
- # Region.
389
+ # in, and you can't use encryption keys from one AWS Region in
390
+ # another AWS Region.
394
391
  #
395
392
  # If you copy an unencrypted cluster snapshot and specify a value for
396
393
  # the `KmsKeyId` parameter, an error is returned.
@@ -400,32 +397,35 @@ module Aws::DocDB
400
397
  # The URL that contains a Signature Version 4 signed request for the
401
398
  # `CopyDBClusterSnapshot` API action in the AWS Region that contains
402
399
  # the source cluster snapshot to copy. You must use the `PreSignedUrl`
403
- # parameter when copying an encrypted cluster snapshot from another
404
- # AWS Region.
400
+ # parameter when copying a cluster snapshot from another AWS Region.
401
+ #
402
+ # If you are using an AWS SDK tool or the AWS CLI, you can specify
403
+ # `SourceRegion` (or `--source-region` for the AWS CLI) instead of
404
+ # specifying `PreSignedUrl` manually. Specifying `SourceRegion`
405
+ # autogenerates a pre-signed URL that is a valid request for the
406
+ # operation that can be executed in the source AWS Region.
405
407
  #
406
408
  # The presigned URL must be a valid request for the
407
- # `CopyDBSClusterSnapshot` API action that can be executed in the
408
- # source AWS Region that contains the encrypted DB cluster snapshot to
409
- # be copied. The presigned URL request must contain the following
410
- # parameter values:
411
- #
412
- # * `KmsKeyId` - The AWS KMS key identifier for the key to use to
413
- # encrypt the copy of the cluster snapshot in the destination AWS
414
- # Region. This is the same identifier for both the
415
- # `CopyDBClusterSnapshot` action that is called in the destination
416
- # AWS Region, and the action contained in the presigned URL.
417
- #
418
- # * `DestinationRegion` - The name of the AWS Region that the DB
419
- # cluster snapshot will be created in.
420
- #
421
- # * `SourceDBClusterSnapshotIdentifier` - The cluster snapshot
422
- # identifier for the encrypted cluster snapshot to be copied. This
423
- # identifier must be in the Amazon Resource Name (ARN) format for
424
- # the source AWS Region. For example, if you are copying an
425
- # encrypted cluster snapshot from the us-west-2 AWS Region, then
426
- # your `SourceDBClusterSnapshotIdentifier` looks like the following
427
- # example:
428
- # `arn:aws:rds:us-west-2:123456789012:cluster-snapshot:my-cluster-snapshot-20161115`.
409
+ # `CopyDBClusterSnapshot` API action that can be executed in the
410
+ # source AWS Region that contains the cluster snapshot to be copied.
411
+ # The presigned URL request must contain the following parameter
412
+ # values:
413
+ #
414
+ # * `SourceRegion` - The ID of the region that contains the snapshot
415
+ # to be copied.
416
+ #
417
+ # * `SourceDBClusterSnapshotIdentifier` - The identifier for the the
418
+ # encrypted cluster snapshot to be copied. This identifier must be
419
+ # in the Amazon Resource Name (ARN) format for the source AWS
420
+ # Region. For example, if you are copying an encrypted cluster
421
+ # snapshot from the us-east-1 AWS Region, then your
422
+ # `SourceDBClusterSnapshotIdentifier` looks something like the
423
+ # following:
424
+ # `arn:aws:rds:us-east-1:12345678012:sample-cluster:sample-cluster-snapshot`.
425
+ #
426
+ # * `TargetDBClusterSnapshotIdentifier` - The identifier for the new
427
+ # cluster snapshot to be created. This parameter isn't case
428
+ # sensitive.
429
429
  # @return [String]
430
430
  #
431
431
  # @!attribute [rw] copy_tags
@@ -490,6 +490,7 @@ module Aws::DocDB
490
490
  # ],
491
491
  # storage_encrypted: false,
492
492
  # kms_key_id: "String",
493
+ # pre_signed_url: "String",
493
494
  # enable_cloudwatch_logs_exports: ["String"],
494
495
  # deletion_protection: false,
495
496
  # }
@@ -652,9 +653,20 @@ module Aws::DocDB
652
653
  # that AWS Region.
653
654
  # @return [String]
654
655
  #
656
+ # @!attribute [rw] pre_signed_url
657
+ # Not currently supported.
658
+ # @return [String]
659
+ #
655
660
  # @!attribute [rw] enable_cloudwatch_logs_exports
656
661
  # A list of log types that need to be enabled for exporting to Amazon
657
- # CloudWatch Logs.
662
+ # CloudWatch Logs. You can enable audit logs or profiler logs. For
663
+ # more information, see [ Auditing Amazon DocumentDB Events][1] and [
664
+ # Profiling Amazon DocumentDB Operations][2].
665
+ #
666
+ #
667
+ #
668
+ # [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
669
+ # [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
658
670
  # @return [Array<String>]
659
671
  #
660
672
  # @!attribute [rw] deletion_protection
@@ -684,6 +696,7 @@ module Aws::DocDB
684
696
  :tags,
685
697
  :storage_encrypted,
686
698
  :kms_key_id,
699
+ :pre_signed_url,
687
700
  :enable_cloudwatch_logs_exports,
688
701
  :deletion_protection)
689
702
  SENSITIVE = []
@@ -893,10 +906,6 @@ module Aws::DocDB
893
906
  # endpoint's AWS Region.
894
907
  #
895
908
  # Example: `us-east-1d`
896
- #
897
- # Constraint: The `AvailabilityZone` parameter can't be specified if
898
- # the `MultiAZ` parameter is set to `true`. The specified Availability
899
- # Zone must be in the same AWS Region as the current endpoint.
900
909
  # @return [String]
901
910
  #
902
911
  # @!attribute [rw] preferred_maintenance_window
@@ -2724,7 +2733,7 @@ module Aws::DocDB
2724
2733
  # @!attribute [rw] engine_version
2725
2734
  # The database engine version to return.
2726
2735
  #
2727
- # Example: `5.1.49`
2736
+ # Example: `3.6.0`
2728
2737
  # @return [String]
2729
2738
  #
2730
2739
  # @!attribute [rw] db_parameter_group_family
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-docdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core