aws-sdk-docdbelastic 1.11.0 → 1.13.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-docdbelastic/client.rb +455 -127
- data/lib/aws-sdk-docdbelastic/client_api.rb +95 -0
- data/lib/aws-sdk-docdbelastic/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-docdbelastic/endpoints.rb +42 -0
- data/lib/aws-sdk-docdbelastic/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-docdbelastic/types.rb +396 -118
- data/lib/aws-sdk-docdbelastic.rb +2 -2
- data/sig/client.rbs +44 -1
- data/sig/types.rbs +59 -4
- metadata +4 -4
data/lib/aws-sdk-docdbelastic.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-docdbelastic/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# doc_db_elastic = Aws::DocDBElastic::Client.new
|
35
|
-
# resp = doc_db_elastic.
|
35
|
+
# resp = doc_db_elastic.copy_cluster_snapshot(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-docdbelastic/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::DocDBElastic
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.13.0'
|
56
56
|
|
57
57
|
end
|
data/sig/client.rbs
CHANGED
@@ -72,6 +72,20 @@ module Aws
|
|
72
72
|
| (?Hash[Symbol, untyped]) -> instance
|
73
73
|
|
74
74
|
|
75
|
+
interface _CopyClusterSnapshotResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CopyClusterSnapshotOutput]
|
77
|
+
def snapshot: () -> Types::ClusterSnapshot
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#copy_cluster_snapshot-instance_method
|
80
|
+
def copy_cluster_snapshot: (
|
81
|
+
?copy_tags: bool,
|
82
|
+
?kms_key_id: ::String,
|
83
|
+
snapshot_arn: ::String,
|
84
|
+
?tags: Hash[::String, ::String],
|
85
|
+
target_snapshot_name: ::String
|
86
|
+
) -> _CopyClusterSnapshotResponseSuccess
|
87
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyClusterSnapshotResponseSuccess
|
88
|
+
|
75
89
|
interface _CreateClusterResponseSuccess
|
76
90
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterOutput]
|
77
91
|
def cluster: () -> Types::Cluster
|
@@ -81,12 +95,15 @@ module Aws
|
|
81
95
|
admin_user_name: ::String,
|
82
96
|
admin_user_password: ::String,
|
83
97
|
auth_type: ("PLAIN_TEXT" | "SECRET_ARN"),
|
98
|
+
?backup_retention_period: ::Integer,
|
84
99
|
?client_token: ::String,
|
85
100
|
cluster_name: ::String,
|
86
101
|
?kms_key_id: ::String,
|
102
|
+
?preferred_backup_window: ::String,
|
87
103
|
?preferred_maintenance_window: ::String,
|
88
104
|
shard_capacity: ::Integer,
|
89
105
|
shard_count: ::Integer,
|
106
|
+
?shard_instance_count: ::Integer,
|
90
107
|
?subnet_ids: Array[::String],
|
91
108
|
?tags: Hash[::String, ::String],
|
92
109
|
?vpc_security_group_ids: Array[::String]
|
@@ -154,7 +171,8 @@ module Aws
|
|
154
171
|
def list_cluster_snapshots: (
|
155
172
|
?cluster_arn: ::String,
|
156
173
|
?max_results: ::Integer,
|
157
|
-
?next_token: ::String
|
174
|
+
?next_token: ::String,
|
175
|
+
?snapshot_type: ::String
|
158
176
|
) -> _ListClusterSnapshotsResponseSuccess
|
159
177
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClusterSnapshotsResponseSuccess
|
160
178
|
|
@@ -188,6 +206,8 @@ module Aws
|
|
188
206
|
def restore_cluster_from_snapshot: (
|
189
207
|
cluster_name: ::String,
|
190
208
|
?kms_key_id: ::String,
|
209
|
+
?shard_capacity: ::Integer,
|
210
|
+
?shard_instance_count: ::Integer,
|
191
211
|
snapshot_arn: ::String,
|
192
212
|
?subnet_ids: Array[::String],
|
193
213
|
?tags: Hash[::String, ::String],
|
@@ -195,6 +215,26 @@ module Aws
|
|
195
215
|
) -> _RestoreClusterFromSnapshotResponseSuccess
|
196
216
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreClusterFromSnapshotResponseSuccess
|
197
217
|
|
218
|
+
interface _StartClusterResponseSuccess
|
219
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartClusterOutput]
|
220
|
+
def cluster: () -> Types::Cluster
|
221
|
+
end
|
222
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#start_cluster-instance_method
|
223
|
+
def start_cluster: (
|
224
|
+
cluster_arn: ::String
|
225
|
+
) -> _StartClusterResponseSuccess
|
226
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartClusterResponseSuccess
|
227
|
+
|
228
|
+
interface _StopClusterResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopClusterOutput]
|
230
|
+
def cluster: () -> Types::Cluster
|
231
|
+
end
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#stop_cluster-instance_method
|
233
|
+
def stop_cluster: (
|
234
|
+
cluster_arn: ::String
|
235
|
+
) -> _StopClusterResponseSuccess
|
236
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopClusterResponseSuccess
|
237
|
+
|
198
238
|
interface _TagResourceResponseSuccess
|
199
239
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
200
240
|
end
|
@@ -223,11 +263,14 @@ module Aws
|
|
223
263
|
def update_cluster: (
|
224
264
|
?admin_user_password: ::String,
|
225
265
|
?auth_type: ("PLAIN_TEXT" | "SECRET_ARN"),
|
266
|
+
?backup_retention_period: ::Integer,
|
226
267
|
?client_token: ::String,
|
227
268
|
cluster_arn: ::String,
|
269
|
+
?preferred_backup_window: ::String,
|
228
270
|
?preferred_maintenance_window: ::String,
|
229
271
|
?shard_capacity: ::Integer,
|
230
272
|
?shard_count: ::Integer,
|
273
|
+
?shard_instance_count: ::Integer,
|
231
274
|
?subnet_ids: Array[::String],
|
232
275
|
?vpc_security_group_ids: Array[::String]
|
233
276
|
) -> _UpdateClusterResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -16,15 +16,19 @@ module Aws::DocDBElastic
|
|
16
16
|
class Cluster
|
17
17
|
attr_accessor admin_user_name: ::String
|
18
18
|
attr_accessor auth_type: ("PLAIN_TEXT" | "SECRET_ARN")
|
19
|
+
attr_accessor backup_retention_period: ::Integer
|
19
20
|
attr_accessor cluster_arn: ::String
|
20
21
|
attr_accessor cluster_endpoint: ::String
|
21
22
|
attr_accessor cluster_name: ::String
|
22
23
|
attr_accessor create_time: ::String
|
23
24
|
attr_accessor kms_key_id: ::String
|
25
|
+
attr_accessor preferred_backup_window: ::String
|
24
26
|
attr_accessor preferred_maintenance_window: ::String
|
25
27
|
attr_accessor shard_capacity: ::Integer
|
26
28
|
attr_accessor shard_count: ::Integer
|
27
|
-
attr_accessor
|
29
|
+
attr_accessor shard_instance_count: ::Integer
|
30
|
+
attr_accessor shards: ::Array[Types::Shard]
|
31
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
|
28
32
|
attr_accessor subnet_ids: ::Array[::String]
|
29
33
|
attr_accessor vpc_security_group_ids: ::Array[::String]
|
30
34
|
SENSITIVE: []
|
@@ -33,7 +37,7 @@ module Aws::DocDBElastic
|
|
33
37
|
class ClusterInList
|
34
38
|
attr_accessor cluster_arn: ::String
|
35
39
|
attr_accessor cluster_name: ::String
|
36
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS")
|
40
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
|
37
41
|
SENSITIVE: []
|
38
42
|
end
|
39
43
|
|
@@ -45,7 +49,8 @@ module Aws::DocDBElastic
|
|
45
49
|
attr_accessor snapshot_arn: ::String
|
46
50
|
attr_accessor snapshot_creation_time: ::String
|
47
51
|
attr_accessor snapshot_name: ::String
|
48
|
-
attr_accessor
|
52
|
+
attr_accessor snapshot_type: ("MANUAL" | "AUTOMATED")
|
53
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
|
49
54
|
attr_accessor subnet_ids: ::Array[::String]
|
50
55
|
attr_accessor vpc_security_group_ids: ::Array[::String]
|
51
56
|
SENSITIVE: []
|
@@ -56,7 +61,7 @@ module Aws::DocDBElastic
|
|
56
61
|
attr_accessor snapshot_arn: ::String
|
57
62
|
attr_accessor snapshot_creation_time: ::String
|
58
63
|
attr_accessor snapshot_name: ::String
|
59
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS")
|
64
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
|
60
65
|
SENSITIVE: []
|
61
66
|
end
|
62
67
|
|
@@ -67,16 +72,33 @@ module Aws::DocDBElastic
|
|
67
72
|
SENSITIVE: []
|
68
73
|
end
|
69
74
|
|
75
|
+
class CopyClusterSnapshotInput
|
76
|
+
attr_accessor copy_tags: bool
|
77
|
+
attr_accessor kms_key_id: ::String
|
78
|
+
attr_accessor snapshot_arn: ::String
|
79
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
80
|
+
attr_accessor target_snapshot_name: ::String
|
81
|
+
SENSITIVE: []
|
82
|
+
end
|
83
|
+
|
84
|
+
class CopyClusterSnapshotOutput
|
85
|
+
attr_accessor snapshot: Types::ClusterSnapshot
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
70
89
|
class CreateClusterInput
|
71
90
|
attr_accessor admin_user_name: ::String
|
72
91
|
attr_accessor admin_user_password: ::String
|
73
92
|
attr_accessor auth_type: ("PLAIN_TEXT" | "SECRET_ARN")
|
93
|
+
attr_accessor backup_retention_period: ::Integer
|
74
94
|
attr_accessor client_token: ::String
|
75
95
|
attr_accessor cluster_name: ::String
|
76
96
|
attr_accessor kms_key_id: ::String
|
97
|
+
attr_accessor preferred_backup_window: ::String
|
77
98
|
attr_accessor preferred_maintenance_window: ::String
|
78
99
|
attr_accessor shard_capacity: ::Integer
|
79
100
|
attr_accessor shard_count: ::Integer
|
101
|
+
attr_accessor shard_instance_count: ::Integer
|
80
102
|
attr_accessor subnet_ids: ::Array[::String]
|
81
103
|
attr_accessor tags: ::Hash[::String, ::String]
|
82
104
|
attr_accessor vpc_security_group_ids: ::Array[::String]
|
@@ -149,6 +171,7 @@ module Aws::DocDBElastic
|
|
149
171
|
attr_accessor cluster_arn: ::String
|
150
172
|
attr_accessor max_results: ::Integer
|
151
173
|
attr_accessor next_token: ::String
|
174
|
+
attr_accessor snapshot_type: ::String
|
152
175
|
SENSITIVE: []
|
153
176
|
end
|
154
177
|
|
@@ -190,6 +213,8 @@ module Aws::DocDBElastic
|
|
190
213
|
class RestoreClusterFromSnapshotInput
|
191
214
|
attr_accessor cluster_name: ::String
|
192
215
|
attr_accessor kms_key_id: ::String
|
216
|
+
attr_accessor shard_capacity: ::Integer
|
217
|
+
attr_accessor shard_instance_count: ::Integer
|
193
218
|
attr_accessor snapshot_arn: ::String
|
194
219
|
attr_accessor subnet_ids: ::Array[::String]
|
195
220
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -207,6 +232,33 @@ module Aws::DocDBElastic
|
|
207
232
|
SENSITIVE: []
|
208
233
|
end
|
209
234
|
|
235
|
+
class Shard
|
236
|
+
attr_accessor create_time: ::String
|
237
|
+
attr_accessor shard_id: ::String
|
238
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
|
239
|
+
SENSITIVE: []
|
240
|
+
end
|
241
|
+
|
242
|
+
class StartClusterInput
|
243
|
+
attr_accessor cluster_arn: ::String
|
244
|
+
SENSITIVE: []
|
245
|
+
end
|
246
|
+
|
247
|
+
class StartClusterOutput
|
248
|
+
attr_accessor cluster: Types::Cluster
|
249
|
+
SENSITIVE: []
|
250
|
+
end
|
251
|
+
|
252
|
+
class StopClusterInput
|
253
|
+
attr_accessor cluster_arn: ::String
|
254
|
+
SENSITIVE: []
|
255
|
+
end
|
256
|
+
|
257
|
+
class StopClusterOutput
|
258
|
+
attr_accessor cluster: Types::Cluster
|
259
|
+
SENSITIVE: []
|
260
|
+
end
|
261
|
+
|
210
262
|
class TagResourceRequest
|
211
263
|
attr_accessor resource_arn: ::String
|
212
264
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -234,11 +286,14 @@ module Aws::DocDBElastic
|
|
234
286
|
class UpdateClusterInput
|
235
287
|
attr_accessor admin_user_password: ::String
|
236
288
|
attr_accessor auth_type: ("PLAIN_TEXT" | "SECRET_ARN")
|
289
|
+
attr_accessor backup_retention_period: ::Integer
|
237
290
|
attr_accessor client_token: ::String
|
238
291
|
attr_accessor cluster_arn: ::String
|
292
|
+
attr_accessor preferred_backup_window: ::String
|
239
293
|
attr_accessor preferred_maintenance_window: ::String
|
240
294
|
attr_accessor shard_capacity: ::Integer
|
241
295
|
attr_accessor shard_count: ::Integer
|
296
|
+
attr_accessor shard_instance_count: ::Integer
|
242
297
|
attr_accessor subnet_ids: ::Array[::String]
|
243
298
|
attr_accessor vpc_security_group_ids: ::Array[::String]
|
244
299
|
SENSITIVE: [:admin_user_password]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-docdbelastic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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: 2024-
|
11
|
+
date: 2024-04-25 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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|