aws-sdk-docdb 1.20.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-docdb.rb +3 -2
- data/lib/aws-sdk-docdb/client.rb +104 -77
- data/lib/aws-sdk-docdb/client_api.rb +31 -0
- data/lib/aws-sdk-docdb/types.rb +53 -50
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9f3c2a08f1c743f21dcdd57daa895e245b59e501b9f58d1ea4d8fb432ef6a87
|
4
|
+
data.tar.gz: 929a2b88c64bb10db486c5708c6e57356cdd8201ef17d1e98b12f6f21a5c1a40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c3768d9a04aa43e5bb81db2442cc6ea96434b98a52fa5471cd2f74f9c39d618c9eb298c94405f8497e133e778ab2c93b74766e0c9fa574b5ff55472b000c2d1
|
7
|
+
data.tar.gz: cd92d30f51a2d6b3a96af8b595bd8c1978435b5a3a285e489a117c097c775416e694d457b1f753229a4bf994337774af3b4d8a93000a84351a2683e92f23de0c
|
data/lib/aws-sdk-docdb.rb
CHANGED
@@ -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
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-docdb/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::DocDB
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.26.0'
|
52
53
|
|
53
54
|
end
|
data/lib/aws-sdk-docdb/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::DocDB
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::DocDB
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -319,7 +334,7 @@ module Aws::DocDB
|
|
319
334
|
#
|
320
335
|
# @option params [required, String] :resource_name
|
321
336
|
# The Amazon DocumentDB resource that the tags are added to. This value
|
322
|
-
# is an Amazon Resource Name
|
337
|
+
# is an Amazon Resource Name .
|
323
338
|
#
|
324
339
|
# @option params [required, Array<Types::Tag>] :tags
|
325
340
|
# The tags to be assigned to the Amazon DocumentDB resource.
|
@@ -347,8 +362,8 @@ module Aws::DocDB
|
|
347
362
|
req.send_request(options)
|
348
363
|
end
|
349
364
|
|
350
|
-
# Applies a pending maintenance action to a resource (for example, to
|
351
|
-
#
|
365
|
+
# Applies a pending maintenance action to a resource (for example, to an
|
366
|
+
# Amazon DocumentDB instance).
|
352
367
|
#
|
353
368
|
# @option params [required, String] :resource_identifier
|
354
369
|
# The Amazon Resource Name (ARN) of the resource that the pending
|
@@ -421,7 +436,7 @@ module Aws::DocDB
|
|
421
436
|
#
|
422
437
|
# * If the source parameter group is in a different AWS Region than the
|
423
438
|
# copy, specify a valid cluster parameter group ARN; for example,
|
424
|
-
# `arn:aws:rds:us-east-1:123456789012:cluster
|
439
|
+
# `arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group`.
|
425
440
|
#
|
426
441
|
# @option params [required, String] :target_db_cluster_parameter_group_identifier
|
427
442
|
# The identifier for the copied cluster parameter group.
|
@@ -482,23 +497,21 @@ module Aws::DocDB
|
|
482
497
|
#
|
483
498
|
# To copy a cluster snapshot from a shared manual cluster snapshot,
|
484
499
|
# `SourceDBClusterSnapshotIdentifier` must be the Amazon Resource Name
|
485
|
-
# (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.
|
486
502
|
#
|
487
503
|
# To cancel the copy operation after it is in progress, delete the
|
488
504
|
# target cluster snapshot identified by
|
489
|
-
# `TargetDBClusterSnapshotIdentifier` while that
|
490
|
-
#
|
505
|
+
# `TargetDBClusterSnapshotIdentifier` while that cluster snapshot is in
|
506
|
+
# the *copying* status.
|
491
507
|
#
|
492
508
|
# @option params [required, String] :source_db_cluster_snapshot_identifier
|
493
509
|
# The identifier of the cluster snapshot to copy. This parameter is not
|
494
510
|
# case sensitive.
|
495
511
|
#
|
496
|
-
# You can't copy an encrypted, shared cluster snapshot from one AWS
|
497
|
-
# Region to another.
|
498
|
-
#
|
499
512
|
# Constraints:
|
500
513
|
#
|
501
|
-
# * Must specify a valid system snapshot in the
|
514
|
+
# * Must specify a valid system snapshot in the *available* state.
|
502
515
|
#
|
503
516
|
# * If the source snapshot is in the same AWS Region as the copy,
|
504
517
|
# specify a valid snapshot identifier.
|
@@ -540,8 +553,8 @@ module Aws::DocDB
|
|
540
553
|
# `KmsKeyId` to the AWS KMS key ID that you want to use to encrypt the
|
541
554
|
# copy of the cluster snapshot in the destination Region. AWS KMS
|
542
555
|
# encryption keys are specific to the AWS Region that they are created
|
543
|
-
# in, and you can't use encryption keys from one Region in another
|
544
|
-
# Region.
|
556
|
+
# in, and you can't use encryption keys from one AWS Region in another
|
557
|
+
# AWS Region.
|
545
558
|
#
|
546
559
|
# If you copy an unencrypted cluster snapshot and specify a value for
|
547
560
|
# the `KmsKeyId` parameter, an error is returned.
|
@@ -550,32 +563,33 @@ module Aws::DocDB
|
|
550
563
|
# The URL that contains a Signature Version 4 signed request for the
|
551
564
|
# `CopyDBClusterSnapshot` API action in the AWS Region that contains the
|
552
565
|
# source cluster snapshot to copy. You must use the `PreSignedUrl`
|
553
|
-
# parameter when copying
|
554
|
-
#
|
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.
|
555
573
|
#
|
556
574
|
# The presigned URL must be a valid request for the
|
557
|
-
# `
|
558
|
-
# AWS Region that contains the
|
559
|
-
#
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# cluster snapshot from the us-west-2 AWS Region, then your
|
576
|
-
# `SourceDBClusterSnapshotIdentifier` looks like the following
|
577
|
-
# example:
|
578
|
-
# `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.
|
579
593
|
#
|
580
594
|
# @option params [Boolean] :copy_tags
|
581
595
|
# Set to `true` to copy all tags from the source cluster snapshot to the
|
@@ -688,7 +702,10 @@ module Aws::DocDB
|
|
688
702
|
# Valid values: `docdb`
|
689
703
|
#
|
690
704
|
# @option params [String] :engine_version
|
691
|
-
# The version number of the database engine to use.
|
705
|
+
# The version number of the database engine to use. The --engine-version
|
706
|
+
# will default to the latest major engine version. For production
|
707
|
+
# workloads, we recommend explicitly declaring this parameter with the
|
708
|
+
# intended major engine version.
|
692
709
|
#
|
693
710
|
# @option params [Integer] :port
|
694
711
|
# The port number on which the instances in the cluster accept
|
@@ -761,27 +778,28 @@ module Aws::DocDB
|
|
761
778
|
#
|
762
779
|
# If an encryption key is not specified in `KmsKeyId`\:
|
763
780
|
#
|
764
|
-
# * If `
|
765
|
-
# then Amazon DocumentDB uses the encryption key that is used to
|
766
|
-
# encrypt the source. Otherwise, Amazon DocumentDB uses your default
|
767
|
-
# encryption key.
|
768
|
-
#
|
769
|
-
# * If the `StorageEncrypted` parameter is `true` and
|
770
|
-
# `ReplicationSourceIdentifier` is not specified, Amazon DocumentDB
|
781
|
+
# * If the `StorageEncrypted` parameter is `true`, Amazon DocumentDB
|
771
782
|
# uses your default encryption key.
|
772
783
|
#
|
784
|
+
# ^
|
785
|
+
#
|
773
786
|
# AWS KMS creates the default encryption key for your AWS account. Your
|
774
787
|
# AWS account has a different default encryption key for each AWS
|
775
788
|
# Region.
|
776
789
|
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
# destination AWS Region. This key is used to encrypt the replica in
|
780
|
-
# that AWS Region.
|
790
|
+
# @option params [String] :pre_signed_url
|
791
|
+
# Not currently supported.
|
781
792
|
#
|
782
793
|
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
783
794
|
# A list of log types that need to be enabled for exporting to Amazon
|
784
|
-
# CloudWatch Logs.
|
795
|
+
# CloudWatch Logs. You can enable audit logs or profiler logs. For more
|
796
|
+
# information, see [ Auditing Amazon DocumentDB Events][1] and [
|
797
|
+
# Profiling Amazon DocumentDB Operations][2].
|
798
|
+
#
|
799
|
+
#
|
800
|
+
#
|
801
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
|
802
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
|
785
803
|
#
|
786
804
|
# @option params [Boolean] :deletion_protection
|
787
805
|
# Specifies whether this cluster can be deleted. If `DeletionProtection`
|
@@ -817,6 +835,7 @@ module Aws::DocDB
|
|
817
835
|
# ],
|
818
836
|
# storage_encrypted: false,
|
819
837
|
# kms_key_id: "String",
|
838
|
+
# pre_signed_url: "String",
|
820
839
|
# enable_cloudwatch_logs_exports: ["String"],
|
821
840
|
# deletion_protection: false,
|
822
841
|
# })
|
@@ -875,24 +894,26 @@ module Aws::DocDB
|
|
875
894
|
# Creates a new cluster parameter group.
|
876
895
|
#
|
877
896
|
# Parameters in a cluster parameter group apply to all of the instances
|
878
|
-
# in a
|
897
|
+
# in a cluster.
|
879
898
|
#
|
880
899
|
# A cluster parameter group is initially created with the default
|
881
900
|
# parameters for the database engine used by instances in the cluster.
|
882
|
-
#
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
901
|
+
# In Amazon DocumentDB, you cannot make modifications directly to the
|
902
|
+
# `default.docdb3.6` cluster parameter group. If your Amazon DocumentDB
|
903
|
+
# cluster is using the default cluster parameter group and you want to
|
904
|
+
# modify a value in it, you must first [ create a new parameter
|
905
|
+
# group][1] or [ copy an existing parameter group][2], modify it, and
|
906
|
+
# then apply the modified parameter group to your cluster. For the new
|
907
|
+
# cluster parameter group and associated settings to take effect, you
|
908
|
+
# must then reboot the instances in the cluster without failover. For
|
909
|
+
# more information, see [ Modifying Amazon DocumentDB Cluster Parameter
|
910
|
+
# Groups][3].
|
887
911
|
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
# especially important for parameters that are critical when creating
|
894
|
-
# the default database for a cluster, such as the character set for the
|
895
|
-
# default database defined by the `character_set_database` parameter.
|
912
|
+
#
|
913
|
+
#
|
914
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html
|
915
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html
|
916
|
+
# [3]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html
|
896
917
|
#
|
897
918
|
# @option params [required, String] :db_cluster_parameter_group_name
|
898
919
|
# The name of the cluster parameter group.
|
@@ -1061,10 +1082,6 @@ module Aws::DocDB
|
|
1061
1082
|
#
|
1062
1083
|
# Example: `us-east-1d`
|
1063
1084
|
#
|
1064
|
-
# Constraint: The `AvailabilityZone` parameter can't be specified if
|
1065
|
-
# the `MultiAZ` parameter is set to `true`. The specified Availability
|
1066
|
-
# Zone must be in the same AWS Region as the current endpoint.
|
1067
|
-
#
|
1068
1085
|
# @option params [String] :preferred_maintenance_window
|
1069
1086
|
# The time range each week during which system maintenance can occur, in
|
1070
1087
|
# Universal Coordinated Time (UTC).
|
@@ -1621,6 +1638,8 @@ module Aws::DocDB
|
|
1621
1638
|
# * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
|
1622
1639
|
# * {Types::CertificateMessage#marker #marker} => String
|
1623
1640
|
#
|
1641
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1642
|
+
#
|
1624
1643
|
# @example Request syntax with placeholder values
|
1625
1644
|
#
|
1626
1645
|
# resp = client.describe_certificates({
|
@@ -1693,6 +1712,8 @@ module Aws::DocDB
|
|
1693
1712
|
# * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
|
1694
1713
|
# * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array<Types::DBClusterParameterGroup>
|
1695
1714
|
#
|
1715
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1716
|
+
#
|
1696
1717
|
# @example Request syntax with placeholder values
|
1697
1718
|
#
|
1698
1719
|
# resp = client.describe_db_cluster_parameter_groups({
|
@@ -1766,6 +1787,8 @@ module Aws::DocDB
|
|
1766
1787
|
# * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
1767
1788
|
# * {Types::DBClusterParameterGroupDetails#marker #marker} => String
|
1768
1789
|
#
|
1790
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1791
|
+
#
|
1769
1792
|
# @example Request syntax with placeholder values
|
1770
1793
|
#
|
1771
1794
|
# resp = client.describe_db_cluster_parameters({
|
@@ -1934,6 +1957,8 @@ module Aws::DocDB
|
|
1934
1957
|
# * {Types::DBClusterSnapshotMessage#marker #marker} => String
|
1935
1958
|
# * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array<Types::DBClusterSnapshot>
|
1936
1959
|
#
|
1960
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1961
|
+
#
|
1937
1962
|
# @example Request syntax with placeholder values
|
1938
1963
|
#
|
1939
1964
|
# resp = client.describe_db_cluster_snapshots({
|
@@ -2110,7 +2135,7 @@ module Aws::DocDB
|
|
2110
2135
|
# @option params [String] :engine_version
|
2111
2136
|
# The database engine version to return.
|
2112
2137
|
#
|
2113
|
-
# Example: `
|
2138
|
+
# Example: `3.6.0`
|
2114
2139
|
#
|
2115
2140
|
# @option params [String] :db_parameter_group_family
|
2116
2141
|
# The name of a specific parameter group family to return details for.
|
@@ -2775,6 +2800,8 @@ module Aws::DocDB
|
|
2775
2800
|
# * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceActions>
|
2776
2801
|
# * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
|
2777
2802
|
#
|
2803
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2804
|
+
#
|
2778
2805
|
# @example Request syntax with placeholder values
|
2779
2806
|
#
|
2780
2807
|
# resp = client.describe_pending_maintenance_actions({
|
@@ -4243,7 +4270,7 @@ module Aws::DocDB
|
|
4243
4270
|
params: params,
|
4244
4271
|
config: config)
|
4245
4272
|
context[:gem_name] = 'aws-sdk-docdb'
|
4246
|
-
context[:gem_version] = '1.
|
4273
|
+
context[:gem_version] = '1.26.0'
|
4247
4274
|
Seahorse::Client::Request.new(handlers, context)
|
4248
4275
|
end
|
4249
4276
|
|
@@ -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|
|
data/lib/aws-sdk-docdb/types.rb
CHANGED
@@ -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
|
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
|
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
|
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
|
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
|
404
|
-
#
|
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
|
-
# `
|
408
|
-
# source AWS Region that contains the
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
# * `
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
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
|
# }
|
@@ -552,7 +553,10 @@ module Aws::DocDB
|
|
552
553
|
# @return [String]
|
553
554
|
#
|
554
555
|
# @!attribute [rw] engine_version
|
555
|
-
# The version number of the database engine to use.
|
556
|
+
# The version number of the database engine to use. The
|
557
|
+
# --engine-version will default to the latest major engine version.
|
558
|
+
# For production workloads, we recommend explicitly declaring this
|
559
|
+
# parameter with the intended major engine version.
|
556
560
|
# @return [String]
|
557
561
|
#
|
558
562
|
# @!attribute [rw] port
|
@@ -633,28 +637,30 @@ module Aws::DocDB
|
|
633
637
|
#
|
634
638
|
# If an encryption key is not specified in `KmsKeyId`\:
|
635
639
|
#
|
636
|
-
# * If `
|
637
|
-
# then Amazon DocumentDB uses the encryption key that is used to
|
638
|
-
# encrypt the source. Otherwise, Amazon DocumentDB uses your default
|
639
|
-
# encryption key.
|
640
|
-
#
|
641
|
-
# * If the `StorageEncrypted` parameter is `true` and
|
642
|
-
# `ReplicationSourceIdentifier` is not specified, Amazon DocumentDB
|
640
|
+
# * If the `StorageEncrypted` parameter is `true`, Amazon DocumentDB
|
643
641
|
# uses your default encryption key.
|
644
642
|
#
|
643
|
+
# ^
|
644
|
+
#
|
645
645
|
# AWS KMS creates the default encryption key for your AWS account.
|
646
646
|
# Your AWS account has a different default encryption key for each AWS
|
647
647
|
# Region.
|
648
|
+
# @return [String]
|
648
649
|
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
# destination AWS Region. This key is used to encrypt the replica in
|
652
|
-
# that AWS Region.
|
650
|
+
# @!attribute [rw] pre_signed_url
|
651
|
+
# Not currently supported.
|
653
652
|
# @return [String]
|
654
653
|
#
|
655
654
|
# @!attribute [rw] enable_cloudwatch_logs_exports
|
656
655
|
# A list of log types that need to be enabled for exporting to Amazon
|
657
|
-
# CloudWatch Logs.
|
656
|
+
# CloudWatch Logs. You can enable audit logs or profiler logs. For
|
657
|
+
# more information, see [ Auditing Amazon DocumentDB Events][1] and [
|
658
|
+
# Profiling Amazon DocumentDB Operations][2].
|
659
|
+
#
|
660
|
+
#
|
661
|
+
#
|
662
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
|
663
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
|
658
664
|
# @return [Array<String>]
|
659
665
|
#
|
660
666
|
# @!attribute [rw] deletion_protection
|
@@ -684,6 +690,7 @@ module Aws::DocDB
|
|
684
690
|
:tags,
|
685
691
|
:storage_encrypted,
|
686
692
|
:kms_key_id,
|
693
|
+
:pre_signed_url,
|
687
694
|
:enable_cloudwatch_logs_exports,
|
688
695
|
:deletion_protection)
|
689
696
|
SENSITIVE = []
|
@@ -893,10 +900,6 @@ module Aws::DocDB
|
|
893
900
|
# endpoint's AWS Region.
|
894
901
|
#
|
895
902
|
# 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
903
|
# @return [String]
|
901
904
|
#
|
902
905
|
# @!attribute [rw] preferred_maintenance_window
|
@@ -2724,7 +2727,7 @@ module Aws::DocDB
|
|
2724
2727
|
# @!attribute [rw] engine_version
|
2725
2728
|
# The database engine version to return.
|
2726
2729
|
#
|
2727
|
-
# Example: `
|
2730
|
+
# Example: `3.6.0`
|
2728
2731
|
# @return [String]
|
2729
2732
|
#
|
2730
2733
|
# @!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.
|
4
|
+
version: 1.26.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-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|