aws-sdk-docdb 1.10.0 → 1.11.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 +4 -4
- data/lib/aws-sdk-docdb.rb +1 -1
- data/lib/aws-sdk-docdb/client.rb +93 -5
- data/lib/aws-sdk-docdb/client_api.rb +35 -0
- data/lib/aws-sdk-docdb/types.rb +153 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30808686e8ea137aee91e53201825a215aae1da6
|
4
|
+
data.tar.gz: da57228a60211ab0b609e89f60db976f41580710
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05044ba5b038bf151562299499a1febb7fde8a614492f671729a2eae63edaa5458e36fa6912d348dc4ef38dfc0b4c69e8e21812e3888fbd8db3d30164bf38c39
|
7
|
+
data.tar.gz: 95958addbfff65521060dc3a8ad65d33b41f0b903864cb0838dbc3cba5bfb1956cac1530e9bb513402687f930073f3457907a271f0f149a2e317bab143bb71a6
|
data/lib/aws-sdk-docdb.rb
CHANGED
data/lib/aws-sdk-docdb/client.rb
CHANGED
@@ -642,7 +642,7 @@ module Aws::DocDB
|
|
642
642
|
#
|
643
643
|
# Constraints:
|
644
644
|
#
|
645
|
-
# * Must be from 1 to
|
645
|
+
# * Must be from 1 to 63 letters or numbers.
|
646
646
|
#
|
647
647
|
# * The first character must be a letter.
|
648
648
|
#
|
@@ -653,7 +653,7 @@ module Aws::DocDB
|
|
653
653
|
# any printable ASCII character except forward slash (/), double quote
|
654
654
|
# ("), or the "at" symbol (@).
|
655
655
|
#
|
656
|
-
# Constraints: Must contain from 8 to
|
656
|
+
# Constraints: Must contain from 8 to 100 characters.
|
657
657
|
#
|
658
658
|
# @option params [String] :preferred_backup_window
|
659
659
|
# The daily time range during which automated backups are created if
|
@@ -1031,7 +1031,8 @@ module Aws::DocDB
|
|
1031
1031
|
# Default: `true`
|
1032
1032
|
#
|
1033
1033
|
# @option params [Array<Types::Tag>] :tags
|
1034
|
-
# The tags to be assigned to the DB instance.
|
1034
|
+
# The tags to be assigned to the DB instance. You can assign up to 10
|
1035
|
+
# tags to an instance.
|
1035
1036
|
#
|
1036
1037
|
# @option params [required, String] :db_cluster_identifier
|
1037
1038
|
# The identifier of the DB cluster that the instance will belong to.
|
@@ -1124,6 +1125,7 @@ module Aws::DocDB
|
|
1124
1125
|
# resp.db_instance.storage_encrypted #=> Boolean
|
1125
1126
|
# resp.db_instance.kms_key_id #=> String
|
1126
1127
|
# resp.db_instance.dbi_resource_id #=> String
|
1128
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
1127
1129
|
# resp.db_instance.promotion_tier #=> Integer
|
1128
1130
|
# resp.db_instance.db_instance_arn #=> String
|
1129
1131
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -1470,6 +1472,7 @@ module Aws::DocDB
|
|
1470
1472
|
# resp.db_instance.storage_encrypted #=> Boolean
|
1471
1473
|
# resp.db_instance.kms_key_id #=> String
|
1472
1474
|
# resp.db_instance.dbi_resource_id #=> String
|
1475
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
1473
1476
|
# resp.db_instance.promotion_tier #=> Integer
|
1474
1477
|
# resp.db_instance.db_instance_arn #=> String
|
1475
1478
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -1522,6 +1525,83 @@ module Aws::DocDB
|
|
1522
1525
|
req.send_request(options)
|
1523
1526
|
end
|
1524
1527
|
|
1528
|
+
# Returns a list of certificate authority (CA) certificates provided by
|
1529
|
+
# Amazon RDS for this AWS account.
|
1530
|
+
#
|
1531
|
+
# @option params [String] :certificate_identifier
|
1532
|
+
# The user-supplied certificate identifier. If this parameter is
|
1533
|
+
# specified, information for only the specified certificate is returned.
|
1534
|
+
# If this parameter is omitted, a list of up to `MaxRecords`
|
1535
|
+
# certificates is returned. This parameter is not case sensitive.
|
1536
|
+
#
|
1537
|
+
# Constraints
|
1538
|
+
#
|
1539
|
+
# * Must match an existing `CertificateIdentifier`.
|
1540
|
+
#
|
1541
|
+
# ^
|
1542
|
+
#
|
1543
|
+
# @option params [Array<Types::Filter>] :filters
|
1544
|
+
# This parameter is not currently supported.
|
1545
|
+
#
|
1546
|
+
# @option params [Integer] :max_records
|
1547
|
+
# The maximum number of records to include in the response. If more
|
1548
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
1549
|
+
# token called a marker is included in the response so that the
|
1550
|
+
# remaining results can be retrieved.
|
1551
|
+
#
|
1552
|
+
# Default: 100
|
1553
|
+
#
|
1554
|
+
# Constraints:
|
1555
|
+
#
|
1556
|
+
# * Minimum: 20
|
1557
|
+
#
|
1558
|
+
# * Maximum: 100
|
1559
|
+
#
|
1560
|
+
# @option params [String] :marker
|
1561
|
+
# An optional pagination token provided by a previous
|
1562
|
+
# `DescribeCertificates` request. If this parameter is specified, the
|
1563
|
+
# response includes only records beyond the marker, up to the value
|
1564
|
+
# specified by `MaxRecords`.
|
1565
|
+
#
|
1566
|
+
# @return [Types::CertificateMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1567
|
+
#
|
1568
|
+
# * {Types::CertificateMessage#certificates #certificates} => Array<Types::Certificate>
|
1569
|
+
# * {Types::CertificateMessage#marker #marker} => String
|
1570
|
+
#
|
1571
|
+
# @example Request syntax with placeholder values
|
1572
|
+
#
|
1573
|
+
# resp = client.describe_certificates({
|
1574
|
+
# certificate_identifier: "String",
|
1575
|
+
# filters: [
|
1576
|
+
# {
|
1577
|
+
# name: "String", # required
|
1578
|
+
# values: ["String"], # required
|
1579
|
+
# },
|
1580
|
+
# ],
|
1581
|
+
# max_records: 1,
|
1582
|
+
# marker: "String",
|
1583
|
+
# })
|
1584
|
+
#
|
1585
|
+
# @example Response structure
|
1586
|
+
#
|
1587
|
+
# resp.certificates #=> Array
|
1588
|
+
# resp.certificates[0].certificate_identifier #=> String
|
1589
|
+
# resp.certificates[0].certificate_type #=> String
|
1590
|
+
# resp.certificates[0].thumbprint #=> String
|
1591
|
+
# resp.certificates[0].valid_from #=> Time
|
1592
|
+
# resp.certificates[0].valid_till #=> Time
|
1593
|
+
# resp.certificates[0].certificate_arn #=> String
|
1594
|
+
# resp.marker #=> String
|
1595
|
+
#
|
1596
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeCertificates AWS API Documentation
|
1597
|
+
#
|
1598
|
+
# @overload describe_certificates(params = {})
|
1599
|
+
# @param [Hash] params ({})
|
1600
|
+
def describe_certificates(params = {}, options = {})
|
1601
|
+
req = build_request(:describe_certificates, params)
|
1602
|
+
req.send_request(options)
|
1603
|
+
end
|
1604
|
+
|
1525
1605
|
# Returns a list of `DBClusterParameterGroup` descriptions. If a
|
1526
1606
|
# `DBClusterParameterGroupName` parameter is specified, the list
|
1527
1607
|
# contains only the description of the specified DB cluster parameter
|
@@ -2189,6 +2269,7 @@ module Aws::DocDB
|
|
2189
2269
|
# resp.db_instances[0].storage_encrypted #=> Boolean
|
2190
2270
|
# resp.db_instances[0].kms_key_id #=> String
|
2191
2271
|
# resp.db_instances[0].dbi_resource_id #=> String
|
2272
|
+
# resp.db_instances[0].ca_certificate_identifier #=> String
|
2192
2273
|
# resp.db_instances[0].promotion_tier #=> Integer
|
2193
2274
|
# resp.db_instances[0].db_instance_arn #=> String
|
2194
2275
|
# resp.db_instances[0].enabled_cloudwatch_logs_exports #=> Array
|
@@ -2865,7 +2946,7 @@ module Aws::DocDB
|
|
2865
2946
|
# any printable ASCII character except forward slash (/), double quote
|
2866
2947
|
# ("), or the "at" symbol (@).
|
2867
2948
|
#
|
2868
|
-
# Constraints: Must contain from 8 to
|
2949
|
+
# Constraints: Must contain from 8 to 100 characters.
|
2869
2950
|
#
|
2870
2951
|
# @option params [String] :preferred_backup_window
|
2871
2952
|
# The daily time range during which automated backups are created if
|
@@ -3217,6 +3298,10 @@ module Aws::DocDB
|
|
3217
3298
|
#
|
3218
3299
|
# Example: `mydbinstance`
|
3219
3300
|
#
|
3301
|
+
# @option params [String] :ca_certificate_identifier
|
3302
|
+
# Indicates the certificate that needs to be associated with the
|
3303
|
+
# instance.
|
3304
|
+
#
|
3220
3305
|
# @option params [Integer] :promotion_tier
|
3221
3306
|
# A value that specifies the order in which an Amazon DocumentDB replica
|
3222
3307
|
# is promoted to the primary instance after a failure of the existing
|
@@ -3239,6 +3324,7 @@ module Aws::DocDB
|
|
3239
3324
|
# preferred_maintenance_window: "String",
|
3240
3325
|
# auto_minor_version_upgrade: false,
|
3241
3326
|
# new_db_instance_identifier: "String",
|
3327
|
+
# ca_certificate_identifier: "String",
|
3242
3328
|
# promotion_tier: 1,
|
3243
3329
|
# })
|
3244
3330
|
#
|
@@ -3298,6 +3384,7 @@ module Aws::DocDB
|
|
3298
3384
|
# resp.db_instance.storage_encrypted #=> Boolean
|
3299
3385
|
# resp.db_instance.kms_key_id #=> String
|
3300
3386
|
# resp.db_instance.dbi_resource_id #=> String
|
3387
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
3301
3388
|
# resp.db_instance.promotion_tier #=> Integer
|
3302
3389
|
# resp.db_instance.db_instance_arn #=> String
|
3303
3390
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -3455,6 +3542,7 @@ module Aws::DocDB
|
|
3455
3542
|
# resp.db_instance.storage_encrypted #=> Boolean
|
3456
3543
|
# resp.db_instance.kms_key_id #=> String
|
3457
3544
|
# resp.db_instance.dbi_resource_id #=> String
|
3545
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
3458
3546
|
# resp.db_instance.promotion_tier #=> Integer
|
3459
3547
|
# resp.db_instance.db_instance_arn #=> String
|
3460
3548
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -4092,7 +4180,7 @@ module Aws::DocDB
|
|
4092
4180
|
params: params,
|
4093
4181
|
config: config)
|
4094
4182
|
context[:gem_name] = 'aws-sdk-docdb'
|
4095
|
-
context[:gem_version] = '1.
|
4183
|
+
context[:gem_version] = '1.11.0'
|
4096
4184
|
Seahorse::Client::Request.new(handlers, context)
|
4097
4185
|
end
|
4098
4186
|
|
@@ -22,6 +22,9 @@ module Aws::DocDB
|
|
22
22
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
23
23
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
24
24
|
BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
|
25
|
+
Certificate = Shapes::StructureShape.new(name: 'Certificate')
|
26
|
+
CertificateList = Shapes::ListShape.new(name: 'CertificateList')
|
27
|
+
CertificateMessage = Shapes::StructureShape.new(name: 'CertificateMessage')
|
25
28
|
CertificateNotFoundFault = Shapes::StructureShape.new(name: 'CertificateNotFoundFault')
|
26
29
|
CloudwatchLogsExportConfiguration = Shapes::StructureShape.new(name: 'CloudwatchLogsExportConfiguration')
|
27
30
|
CopyDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'CopyDBClusterParameterGroupMessage')
|
@@ -95,6 +98,7 @@ module Aws::DocDB
|
|
95
98
|
DeleteDBInstanceMessage = Shapes::StructureShape.new(name: 'DeleteDBInstanceMessage')
|
96
99
|
DeleteDBInstanceResult = Shapes::StructureShape.new(name: 'DeleteDBInstanceResult')
|
97
100
|
DeleteDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBSubnetGroupMessage')
|
101
|
+
DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
|
98
102
|
DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
|
99
103
|
DescribeDBClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParametersMessage')
|
100
104
|
DescribeDBClusterSnapshotAttributesMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterSnapshotAttributesMessage')
|
@@ -220,6 +224,20 @@ module Aws::DocDB
|
|
220
224
|
|
221
225
|
AvailabilityZones.member = Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone")
|
222
226
|
|
227
|
+
Certificate.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
|
228
|
+
Certificate.add_member(:certificate_type, Shapes::ShapeRef.new(shape: String, location_name: "CertificateType"))
|
229
|
+
Certificate.add_member(:thumbprint, Shapes::ShapeRef.new(shape: String, location_name: "Thumbprint"))
|
230
|
+
Certificate.add_member(:valid_from, Shapes::ShapeRef.new(shape: TStamp, location_name: "ValidFrom"))
|
231
|
+
Certificate.add_member(:valid_till, Shapes::ShapeRef.new(shape: TStamp, location_name: "ValidTill"))
|
232
|
+
Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CertificateArn"))
|
233
|
+
Certificate.struct_class = Types::Certificate
|
234
|
+
|
235
|
+
CertificateList.member = Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate")
|
236
|
+
|
237
|
+
CertificateMessage.add_member(:certificates, Shapes::ShapeRef.new(shape: CertificateList, location_name: "Certificates"))
|
238
|
+
CertificateMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
239
|
+
CertificateMessage.struct_class = Types::CertificateMessage
|
240
|
+
|
223
241
|
CloudwatchLogsExportConfiguration.add_member(:enable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableLogTypes"))
|
224
242
|
CloudwatchLogsExportConfiguration.add_member(:disable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "DisableLogTypes"))
|
225
243
|
CloudwatchLogsExportConfiguration.struct_class = Types::CloudwatchLogsExportConfiguration
|
@@ -450,6 +468,7 @@ module Aws::DocDB
|
|
450
468
|
DBInstance.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "StorageEncrypted"))
|
451
469
|
DBInstance.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
452
470
|
DBInstance.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
|
471
|
+
DBInstance.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
453
472
|
DBInstance.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
454
473
|
DBInstance.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
|
455
474
|
DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
@@ -509,6 +528,12 @@ module Aws::DocDB
|
|
509
528
|
DeleteDBSubnetGroupMessage.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBSubnetGroupName"))
|
510
529
|
DeleteDBSubnetGroupMessage.struct_class = Types::DeleteDBSubnetGroupMessage
|
511
530
|
|
531
|
+
DescribeCertificatesMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
|
532
|
+
DescribeCertificatesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
533
|
+
DescribeCertificatesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
534
|
+
DescribeCertificatesMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
535
|
+
DescribeCertificatesMessage.struct_class = Types::DescribeCertificatesMessage
|
536
|
+
|
512
537
|
DescribeDBClusterParameterGroupsMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterParameterGroupName"))
|
513
538
|
DescribeDBClusterParameterGroupsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
514
539
|
DescribeDBClusterParameterGroupsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
@@ -702,6 +727,7 @@ module Aws::DocDB
|
|
702
727
|
ModifyDBInstanceMessage.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredMaintenanceWindow"))
|
703
728
|
ModifyDBInstanceMessage.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
704
729
|
ModifyDBInstanceMessage.add_member(:new_db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "NewDBInstanceIdentifier"))
|
730
|
+
ModifyDBInstanceMessage.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
705
731
|
ModifyDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
706
732
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
707
733
|
|
@@ -1085,6 +1111,15 @@ module Aws::DocDB
|
|
1085
1111
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupNotFoundFault)
|
1086
1112
|
end)
|
1087
1113
|
|
1114
|
+
api.add_operation(:describe_certificates, Seahorse::Model::Operation.new.tap do |o|
|
1115
|
+
o.name = "DescribeCertificates"
|
1116
|
+
o.http_method = "POST"
|
1117
|
+
o.http_request_uri = "/"
|
1118
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCertificatesMessage)
|
1119
|
+
o.output = Shapes::ShapeRef.new(shape: CertificateMessage)
|
1120
|
+
o.errors << Shapes::ShapeRef.new(shape: CertificateNotFoundFault)
|
1121
|
+
end)
|
1122
|
+
|
1088
1123
|
api.add_operation(:describe_db_cluster_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
|
1089
1124
|
o.name = "DescribeDBClusterParameterGroups"
|
1090
1125
|
o.http_method = "POST"
|
data/lib/aws-sdk-docdb/types.rb
CHANGED
@@ -111,6 +111,74 @@ module Aws::DocDB
|
|
111
111
|
include Aws::Structure
|
112
112
|
end
|
113
113
|
|
114
|
+
# A certificate authority (CA) certificate for an AWS account.
|
115
|
+
#
|
116
|
+
# @!attribute [rw] certificate_identifier
|
117
|
+
# The unique key that identifies a certificate.
|
118
|
+
#
|
119
|
+
# Example: `rds-ca-2019`
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @!attribute [rw] certificate_type
|
123
|
+
# The type of the certificate.
|
124
|
+
#
|
125
|
+
# Example: `CA`
|
126
|
+
# @return [String]
|
127
|
+
#
|
128
|
+
# @!attribute [rw] thumbprint
|
129
|
+
# The thumbprint of the certificate.
|
130
|
+
# @return [String]
|
131
|
+
#
|
132
|
+
# @!attribute [rw] valid_from
|
133
|
+
# The starting date-time from which the certificate is valid.
|
134
|
+
#
|
135
|
+
# Example: `2019-07-31T17:57:09Z`
|
136
|
+
# @return [Time]
|
137
|
+
#
|
138
|
+
# @!attribute [rw] valid_till
|
139
|
+
# The date-time after which the certificate is no longer valid.
|
140
|
+
#
|
141
|
+
# Example: `2024-07-31T17:57:09Z`
|
142
|
+
# @return [Time]
|
143
|
+
#
|
144
|
+
# @!attribute [rw] certificate_arn
|
145
|
+
# The Amazon Resource Name (ARN) for the certificate.
|
146
|
+
#
|
147
|
+
# Example: `arn:aws:rds:us-east-1::cert:rds-ca-2019`
|
148
|
+
# @return [String]
|
149
|
+
#
|
150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/Certificate AWS API Documentation
|
151
|
+
#
|
152
|
+
class Certificate < Struct.new(
|
153
|
+
:certificate_identifier,
|
154
|
+
:certificate_type,
|
155
|
+
:thumbprint,
|
156
|
+
:valid_from,
|
157
|
+
:valid_till,
|
158
|
+
:certificate_arn)
|
159
|
+
include Aws::Structure
|
160
|
+
end
|
161
|
+
|
162
|
+
# @!attribute [rw] certificates
|
163
|
+
# A list of certificates for this AWS account.
|
164
|
+
# @return [Array<Types::Certificate>]
|
165
|
+
#
|
166
|
+
# @!attribute [rw] marker
|
167
|
+
# An optional pagination token provided if the number of records
|
168
|
+
# retrieved is greater than `MaxRecords`. If this parameter is
|
169
|
+
# specified, the marker specifies the next record in the list.
|
170
|
+
# Including the value of `Marker` in the next call to
|
171
|
+
# `DescribeCertificates` results in the next page of certificates.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CertificateMessage AWS API Documentation
|
175
|
+
#
|
176
|
+
class CertificateMessage < Struct.new(
|
177
|
+
:certificates,
|
178
|
+
:marker)
|
179
|
+
include Aws::Structure
|
180
|
+
end
|
181
|
+
|
114
182
|
# The configuration setting for the log types to be enabled for export
|
115
183
|
# to Amazon CloudWatch Logs for a specific DB instance or DB cluster.
|
116
184
|
#
|
@@ -468,7 +536,7 @@ module Aws::DocDB
|
|
468
536
|
#
|
469
537
|
# Constraints:
|
470
538
|
#
|
471
|
-
# * Must be from 1 to
|
539
|
+
# * Must be from 1 to 63 letters or numbers.
|
472
540
|
#
|
473
541
|
# * The first character must be a letter.
|
474
542
|
#
|
@@ -480,7 +548,7 @@ module Aws::DocDB
|
|
480
548
|
# any printable ASCII character except forward slash (/), double quote
|
481
549
|
# ("), or the "at" symbol (@).
|
482
550
|
#
|
483
|
-
# Constraints: Must contain from 8 to
|
551
|
+
# Constraints: Must contain from 8 to 100 characters.
|
484
552
|
# @return [String]
|
485
553
|
#
|
486
554
|
# @!attribute [rw] preferred_backup_window
|
@@ -819,7 +887,8 @@ module Aws::DocDB
|
|
819
887
|
# @return [Boolean]
|
820
888
|
#
|
821
889
|
# @!attribute [rw] tags
|
822
|
-
# The tags to be assigned to the DB instance.
|
890
|
+
# The tags to be assigned to the DB instance. You can assign up to 10
|
891
|
+
# tags to an instance.
|
823
892
|
# @return [Array<Types::Tag>]
|
824
893
|
#
|
825
894
|
# @!attribute [rw] db_cluster_identifier
|
@@ -1620,11 +1689,8 @@ module Aws::DocDB
|
|
1620
1689
|
# @return [Boolean]
|
1621
1690
|
#
|
1622
1691
|
# @!attribute [rw] publicly_accessible
|
1623
|
-
#
|
1624
|
-
#
|
1625
|
-
# resolvable DNS name, which resolves to a public IP address. A value
|
1626
|
-
# of `false` specifies an internal instance with a DNS name that
|
1627
|
-
# resolves to a private IP address.
|
1692
|
+
# Not supported. Amazon DocumentDB does not currently support public
|
1693
|
+
# endpoints. The value of `PubliclyAccessible` is always `false`.
|
1628
1694
|
# @return [Boolean]
|
1629
1695
|
#
|
1630
1696
|
# @!attribute [rw] status_infos
|
@@ -1638,7 +1704,7 @@ module Aws::DocDB
|
|
1638
1704
|
# @return [String]
|
1639
1705
|
#
|
1640
1706
|
# @!attribute [rw] storage_encrypted
|
1641
|
-
# Specifies whether the DB instance is encrypted.
|
1707
|
+
# Specifies whether or not the DB instance is encrypted.
|
1642
1708
|
# @return [Boolean]
|
1643
1709
|
#
|
1644
1710
|
# @!attribute [rw] kms_key_id
|
@@ -1652,6 +1718,10 @@ module Aws::DocDB
|
|
1652
1718
|
# AWS KMS key for the DB instance is accessed.
|
1653
1719
|
# @return [String]
|
1654
1720
|
#
|
1721
|
+
# @!attribute [rw] ca_certificate_identifier
|
1722
|
+
# The identifier of the CA certificate for this DB instance.
|
1723
|
+
# @return [String]
|
1724
|
+
#
|
1655
1725
|
# @!attribute [rw] promotion_tier
|
1656
1726
|
# A value that specifies the order in which an Amazon DocumentDB
|
1657
1727
|
# replica is promoted to the primary instance after a failure of the
|
@@ -1692,6 +1762,7 @@ module Aws::DocDB
|
|
1692
1762
|
:storage_encrypted,
|
1693
1763
|
:kms_key_id,
|
1694
1764
|
:dbi_resource_id,
|
1765
|
+
:ca_certificate_identifier,
|
1695
1766
|
:promotion_tier,
|
1696
1767
|
:db_instance_arn,
|
1697
1768
|
:enabled_cloudwatch_logs_exports)
|
@@ -1773,7 +1844,7 @@ module Aws::DocDB
|
|
1773
1844
|
# @return [Array<Types::Subnet>]
|
1774
1845
|
#
|
1775
1846
|
# @!attribute [rw] db_subnet_group_arn
|
1776
|
-
# The Amazon Resource
|
1847
|
+
# The Amazon Resource Name (ARN) for the DB subnet group.
|
1777
1848
|
# @return [String]
|
1778
1849
|
#
|
1779
1850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DBSubnetGroup AWS API Documentation
|
@@ -2013,6 +2084,70 @@ module Aws::DocDB
|
|
2013
2084
|
include Aws::Structure
|
2014
2085
|
end
|
2015
2086
|
|
2087
|
+
# @note When making an API call, you may pass DescribeCertificatesMessage
|
2088
|
+
# data as a hash:
|
2089
|
+
#
|
2090
|
+
# {
|
2091
|
+
# certificate_identifier: "String",
|
2092
|
+
# filters: [
|
2093
|
+
# {
|
2094
|
+
# name: "String", # required
|
2095
|
+
# values: ["String"], # required
|
2096
|
+
# },
|
2097
|
+
# ],
|
2098
|
+
# max_records: 1,
|
2099
|
+
# marker: "String",
|
2100
|
+
# }
|
2101
|
+
#
|
2102
|
+
# @!attribute [rw] certificate_identifier
|
2103
|
+
# The user-supplied certificate identifier. If this parameter is
|
2104
|
+
# specified, information for only the specified certificate is
|
2105
|
+
# returned. If this parameter is omitted, a list of up to `MaxRecords`
|
2106
|
+
# certificates is returned. This parameter is not case sensitive.
|
2107
|
+
#
|
2108
|
+
# Constraints
|
2109
|
+
#
|
2110
|
+
# * Must match an existing `CertificateIdentifier`.
|
2111
|
+
#
|
2112
|
+
# ^
|
2113
|
+
# @return [String]
|
2114
|
+
#
|
2115
|
+
# @!attribute [rw] filters
|
2116
|
+
# This parameter is not currently supported.
|
2117
|
+
# @return [Array<Types::Filter>]
|
2118
|
+
#
|
2119
|
+
# @!attribute [rw] max_records
|
2120
|
+
# The maximum number of records to include in the response. If more
|
2121
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
2122
|
+
# token called a marker is included in the response so that the
|
2123
|
+
# remaining results can be retrieved.
|
2124
|
+
#
|
2125
|
+
# Default: 100
|
2126
|
+
#
|
2127
|
+
# Constraints:
|
2128
|
+
#
|
2129
|
+
# * Minimum: 20
|
2130
|
+
#
|
2131
|
+
# * Maximum: 100
|
2132
|
+
# @return [Integer]
|
2133
|
+
#
|
2134
|
+
# @!attribute [rw] marker
|
2135
|
+
# An optional pagination token provided by a previous
|
2136
|
+
# `DescribeCertificates` request. If this parameter is specified, the
|
2137
|
+
# response includes only records beyond the marker, up to the value
|
2138
|
+
# specified by `MaxRecords`.
|
2139
|
+
# @return [String]
|
2140
|
+
#
|
2141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeCertificatesMessage AWS API Documentation
|
2142
|
+
#
|
2143
|
+
class DescribeCertificatesMessage < Struct.new(
|
2144
|
+
:certificate_identifier,
|
2145
|
+
:filters,
|
2146
|
+
:max_records,
|
2147
|
+
:marker)
|
2148
|
+
include Aws::Structure
|
2149
|
+
end
|
2150
|
+
|
2016
2151
|
# Represents the input to DescribeDBClusterParameterGroups.
|
2017
2152
|
#
|
2018
2153
|
# @note When making an API call, you may pass DescribeDBClusterParameterGroupsMessage
|
@@ -3297,7 +3432,7 @@ module Aws::DocDB
|
|
3297
3432
|
# any printable ASCII character except forward slash (/), double quote
|
3298
3433
|
# ("), or the "at" symbol (@).
|
3299
3434
|
#
|
3300
|
-
# Constraints: Must contain from 8 to
|
3435
|
+
# Constraints: Must contain from 8 to 100 characters.
|
3301
3436
|
# @return [String]
|
3302
3437
|
#
|
3303
3438
|
# @!attribute [rw] preferred_backup_window
|
@@ -3508,6 +3643,7 @@ module Aws::DocDB
|
|
3508
3643
|
# preferred_maintenance_window: "String",
|
3509
3644
|
# auto_minor_version_upgrade: false,
|
3510
3645
|
# new_db_instance_identifier: "String",
|
3646
|
+
# ca_certificate_identifier: "String",
|
3511
3647
|
# promotion_tier: 1,
|
3512
3648
|
# }
|
3513
3649
|
#
|
@@ -3597,6 +3733,11 @@ module Aws::DocDB
|
|
3597
3733
|
# Example: `mydbinstance`
|
3598
3734
|
# @return [String]
|
3599
3735
|
#
|
3736
|
+
# @!attribute [rw] ca_certificate_identifier
|
3737
|
+
# Indicates the certificate that needs to be associated with the
|
3738
|
+
# instance.
|
3739
|
+
# @return [String]
|
3740
|
+
#
|
3600
3741
|
# @!attribute [rw] promotion_tier
|
3601
3742
|
# A value that specifies the order in which an Amazon DocumentDB
|
3602
3743
|
# replica is promoted to the primary instance after a failure of the
|
@@ -3616,6 +3757,7 @@ module Aws::DocDB
|
|
3616
3757
|
:preferred_maintenance_window,
|
3617
3758
|
:auto_minor_version_upgrade,
|
3618
3759
|
:new_db_instance_identifier,
|
3760
|
+
:ca_certificate_identifier,
|
3619
3761
|
:promotion_tier)
|
3620
3762
|
include Aws::Structure
|
3621
3763
|
end
|
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.11.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: 2019-
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|