aws-sdk-docdb 1.19.0 → 1.25.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 +102 -66
- data/lib/aws-sdk-docdb/client_api.rb +31 -0
- data/lib/aws-sdk-docdb/types.rb +51 -39
- 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: 6bc34c81869621e6e31fd78aba6504c6db838cda12d3de6c998054170646ffcb
|
4
|
+
data.tar.gz: 2dd9eaf9c00f938389de17b0d3af5ed6c900e402170f4cb50c5c17f2c1b663fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d30efd0f14f8639806953fbdd26687666880553d3c8e8674d8209c7e9a50bd931f6cbba4bb4a4a029909b0957f9142d1a12c1e2f65a262b6e8a4211d3a4aa1c
|
7
|
+
data.tar.gz: 918a98ad341c5e322a3cd351620efb4f0566f5449ea40573ffffb17b0bfc2382fc29d8d2d67c0687755a607456388cfc2c8698f7ad8eb45f0ab6a953aea51434
|
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.25.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
|
@@ -779,9 +796,19 @@ module Aws::DocDB
|
|
779
796
|
# destination AWS Region. This key is used to encrypt the replica in
|
780
797
|
# that AWS Region.
|
781
798
|
#
|
799
|
+
# @option params [String] :pre_signed_url
|
800
|
+
# Not currently supported.
|
801
|
+
#
|
782
802
|
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
783
803
|
# A list of log types that need to be enabled for exporting to Amazon
|
784
|
-
# CloudWatch Logs.
|
804
|
+
# CloudWatch Logs. You can enable audit logs or profiler logs. For more
|
805
|
+
# information, see [ Auditing Amazon DocumentDB Events][1] and [
|
806
|
+
# Profiling Amazon DocumentDB Operations][2].
|
807
|
+
#
|
808
|
+
#
|
809
|
+
#
|
810
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
|
811
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
|
785
812
|
#
|
786
813
|
# @option params [Boolean] :deletion_protection
|
787
814
|
# Specifies whether this cluster can be deleted. If `DeletionProtection`
|
@@ -817,6 +844,7 @@ module Aws::DocDB
|
|
817
844
|
# ],
|
818
845
|
# storage_encrypted: false,
|
819
846
|
# kms_key_id: "String",
|
847
|
+
# pre_signed_url: "String",
|
820
848
|
# enable_cloudwatch_logs_exports: ["String"],
|
821
849
|
# deletion_protection: false,
|
822
850
|
# })
|
@@ -875,24 +903,26 @@ module Aws::DocDB
|
|
875
903
|
# Creates a new cluster parameter group.
|
876
904
|
#
|
877
905
|
# Parameters in a cluster parameter group apply to all of the instances
|
878
|
-
# in a
|
906
|
+
# in a cluster.
|
879
907
|
#
|
880
908
|
# A cluster parameter group is initially created with the default
|
881
909
|
# parameters for the database engine used by instances in the cluster.
|
882
|
-
#
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
910
|
+
# In Amazon DocumentDB, you cannot make modifications directly to the
|
911
|
+
# `default.docdb3.6` cluster parameter group. If your Amazon DocumentDB
|
912
|
+
# cluster is using the default cluster parameter group and you want to
|
913
|
+
# modify a value in it, you must first [ create a new parameter
|
914
|
+
# group][1] or [ copy an existing parameter group][2], modify it, and
|
915
|
+
# then apply the modified parameter group to your cluster. For the new
|
916
|
+
# cluster parameter group and associated settings to take effect, you
|
917
|
+
# must then reboot the instances in the cluster without failover. For
|
918
|
+
# more information, see [ Modifying Amazon DocumentDB Cluster Parameter
|
919
|
+
# Groups][3].
|
920
|
+
#
|
887
921
|
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
# parameter group is used as the default for a new cluster. This step is
|
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.
|
922
|
+
#
|
923
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html
|
924
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html
|
925
|
+
# [3]: https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html
|
896
926
|
#
|
897
927
|
# @option params [required, String] :db_cluster_parameter_group_name
|
898
928
|
# The name of the cluster parameter group.
|
@@ -1061,10 +1091,6 @@ module Aws::DocDB
|
|
1061
1091
|
#
|
1062
1092
|
# Example: `us-east-1d`
|
1063
1093
|
#
|
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
1094
|
# @option params [String] :preferred_maintenance_window
|
1069
1095
|
# The time range each week during which system maintenance can occur, in
|
1070
1096
|
# Universal Coordinated Time (UTC).
|
@@ -1621,6 +1647,8 @@ module Aws::DocDB
|
|
1621
1647
|
# * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
|
1622
1648
|
# * {Types::CertificateMessage#marker #marker} => String
|
1623
1649
|
#
|
1650
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1651
|
+
#
|
1624
1652
|
# @example Request syntax with placeholder values
|
1625
1653
|
#
|
1626
1654
|
# resp = client.describe_certificates({
|
@@ -1693,6 +1721,8 @@ module Aws::DocDB
|
|
1693
1721
|
# * {Types::DBClusterParameterGroupsMessage#marker #marker} => String
|
1694
1722
|
# * {Types::DBClusterParameterGroupsMessage#db_cluster_parameter_groups #db_cluster_parameter_groups} => Array<Types::DBClusterParameterGroup>
|
1695
1723
|
#
|
1724
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1725
|
+
#
|
1696
1726
|
# @example Request syntax with placeholder values
|
1697
1727
|
#
|
1698
1728
|
# resp = client.describe_db_cluster_parameter_groups({
|
@@ -1766,6 +1796,8 @@ module Aws::DocDB
|
|
1766
1796
|
# * {Types::DBClusterParameterGroupDetails#parameters #parameters} => Array<Types::Parameter>
|
1767
1797
|
# * {Types::DBClusterParameterGroupDetails#marker #marker} => String
|
1768
1798
|
#
|
1799
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1800
|
+
#
|
1769
1801
|
# @example Request syntax with placeholder values
|
1770
1802
|
#
|
1771
1803
|
# resp = client.describe_db_cluster_parameters({
|
@@ -1934,6 +1966,8 @@ module Aws::DocDB
|
|
1934
1966
|
# * {Types::DBClusterSnapshotMessage#marker #marker} => String
|
1935
1967
|
# * {Types::DBClusterSnapshotMessage#db_cluster_snapshots #db_cluster_snapshots} => Array<Types::DBClusterSnapshot>
|
1936
1968
|
#
|
1969
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1970
|
+
#
|
1937
1971
|
# @example Request syntax with placeholder values
|
1938
1972
|
#
|
1939
1973
|
# resp = client.describe_db_cluster_snapshots({
|
@@ -2110,7 +2144,7 @@ module Aws::DocDB
|
|
2110
2144
|
# @option params [String] :engine_version
|
2111
2145
|
# The database engine version to return.
|
2112
2146
|
#
|
2113
|
-
# Example: `
|
2147
|
+
# Example: `3.6.0`
|
2114
2148
|
#
|
2115
2149
|
# @option params [String] :db_parameter_group_family
|
2116
2150
|
# The name of a specific parameter group family to return details for.
|
@@ -2775,6 +2809,8 @@ module Aws::DocDB
|
|
2775
2809
|
# * {Types::PendingMaintenanceActionsMessage#pending_maintenance_actions #pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceActions>
|
2776
2810
|
# * {Types::PendingMaintenanceActionsMessage#marker #marker} => String
|
2777
2811
|
#
|
2812
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2813
|
+
#
|
2778
2814
|
# @example Request syntax with placeholder values
|
2779
2815
|
#
|
2780
2816
|
# resp = client.describe_pending_maintenance_actions({
|
@@ -4243,7 +4279,7 @@ module Aws::DocDB
|
|
4243
4279
|
params: params,
|
4244
4280
|
config: config)
|
4245
4281
|
context[:gem_name] = 'aws-sdk-docdb'
|
4246
|
-
context[:gem_version] = '1.
|
4282
|
+
context[:gem_version] = '1.25.0'
|
4247
4283
|
Seahorse::Client::Request.new(handlers, context)
|
4248
4284
|
end
|
4249
4285
|
|
@@ -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
|
@@ -652,9 +656,20 @@ module Aws::DocDB
|
|
652
656
|
# that AWS Region.
|
653
657
|
# @return [String]
|
654
658
|
#
|
659
|
+
# @!attribute [rw] pre_signed_url
|
660
|
+
# Not currently supported.
|
661
|
+
# @return [String]
|
662
|
+
#
|
655
663
|
# @!attribute [rw] enable_cloudwatch_logs_exports
|
656
664
|
# A list of log types that need to be enabled for exporting to Amazon
|
657
|
-
# CloudWatch Logs.
|
665
|
+
# CloudWatch Logs. You can enable audit logs or profiler logs. For
|
666
|
+
# more information, see [ Auditing Amazon DocumentDB Events][1] and [
|
667
|
+
# Profiling Amazon DocumentDB Operations][2].
|
668
|
+
#
|
669
|
+
#
|
670
|
+
#
|
671
|
+
# [1]: https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html
|
672
|
+
# [2]: https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html
|
658
673
|
# @return [Array<String>]
|
659
674
|
#
|
660
675
|
# @!attribute [rw] deletion_protection
|
@@ -684,6 +699,7 @@ module Aws::DocDB
|
|
684
699
|
:tags,
|
685
700
|
:storage_encrypted,
|
686
701
|
:kms_key_id,
|
702
|
+
:pre_signed_url,
|
687
703
|
:enable_cloudwatch_logs_exports,
|
688
704
|
:deletion_protection)
|
689
705
|
SENSITIVE = []
|
@@ -893,10 +909,6 @@ module Aws::DocDB
|
|
893
909
|
# endpoint's AWS Region.
|
894
910
|
#
|
895
911
|
# 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
912
|
# @return [String]
|
901
913
|
#
|
902
914
|
# @!attribute [rw] preferred_maintenance_window
|
@@ -2724,7 +2736,7 @@ module Aws::DocDB
|
|
2724
2736
|
# @!attribute [rw] engine_version
|
2725
2737
|
# The database engine version to return.
|
2726
2738
|
#
|
2727
|
-
# Example: `
|
2739
|
+
# Example: `3.6.0`
|
2728
2740
|
# @return [String]
|
2729
2741
|
#
|
2730
2742
|
# @!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.25.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-09-30 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
|