aws-sdk-docdbelastic 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-docdbelastic/client.rb +1099 -0
- data/lib/aws-sdk-docdbelastic/client_api.rb +472 -0
- data/lib/aws-sdk-docdbelastic/customizations.rb +0 -0
- data/lib/aws-sdk-docdbelastic/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-docdbelastic/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-docdbelastic/endpoints.rb +197 -0
- data/lib/aws-sdk-docdbelastic/errors.rb +193 -0
- data/lib/aws-sdk-docdbelastic/plugins/endpoints.rb +94 -0
- data/lib/aws-sdk-docdbelastic/resource.rb +26 -0
- data/lib/aws-sdk-docdbelastic/types.rb +927 -0
- data/lib/aws-sdk-docdbelastic.rb +57 -0
- metadata +94 -0
@@ -0,0 +1,472 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DocDBElastic
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
|
+
Auth = Shapes::StringShape.new(name: 'Auth')
|
19
|
+
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
20
|
+
ClusterInList = Shapes::StructureShape.new(name: 'ClusterInList')
|
21
|
+
ClusterList = Shapes::ListShape.new(name: 'ClusterList')
|
22
|
+
ClusterSnapshot = Shapes::StructureShape.new(name: 'ClusterSnapshot')
|
23
|
+
ClusterSnapshotInList = Shapes::StructureShape.new(name: 'ClusterSnapshotInList')
|
24
|
+
ClusterSnapshotList = Shapes::ListShape.new(name: 'ClusterSnapshotList')
|
25
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
26
|
+
CreateClusterInput = Shapes::StructureShape.new(name: 'CreateClusterInput')
|
27
|
+
CreateClusterOutput = Shapes::StructureShape.new(name: 'CreateClusterOutput')
|
28
|
+
CreateClusterSnapshotInput = Shapes::StructureShape.new(name: 'CreateClusterSnapshotInput')
|
29
|
+
CreateClusterSnapshotInputSnapshotNameString = Shapes::StringShape.new(name: 'CreateClusterSnapshotInputSnapshotNameString')
|
30
|
+
CreateClusterSnapshotOutput = Shapes::StructureShape.new(name: 'CreateClusterSnapshotOutput')
|
31
|
+
DeleteClusterInput = Shapes::StructureShape.new(name: 'DeleteClusterInput')
|
32
|
+
DeleteClusterOutput = Shapes::StructureShape.new(name: 'DeleteClusterOutput')
|
33
|
+
DeleteClusterSnapshotInput = Shapes::StructureShape.new(name: 'DeleteClusterSnapshotInput')
|
34
|
+
DeleteClusterSnapshotOutput = Shapes::StructureShape.new(name: 'DeleteClusterSnapshotOutput')
|
35
|
+
GetClusterInput = Shapes::StructureShape.new(name: 'GetClusterInput')
|
36
|
+
GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
|
37
|
+
GetClusterSnapshotInput = Shapes::StructureShape.new(name: 'GetClusterSnapshotInput')
|
38
|
+
GetClusterSnapshotOutput = Shapes::StructureShape.new(name: 'GetClusterSnapshotOutput')
|
39
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
40
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
41
|
+
ListClusterSnapshotsInput = Shapes::StructureShape.new(name: 'ListClusterSnapshotsInput')
|
42
|
+
ListClusterSnapshotsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListClusterSnapshotsInputMaxResultsInteger')
|
43
|
+
ListClusterSnapshotsOutput = Shapes::StructureShape.new(name: 'ListClusterSnapshotsOutput')
|
44
|
+
ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
|
45
|
+
ListClustersInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListClustersInputMaxResultsInteger')
|
46
|
+
ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput')
|
47
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
48
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
49
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
50
|
+
Password = Shapes::StringShape.new(name: 'Password')
|
51
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
52
|
+
RestoreClusterFromSnapshotInput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotInput')
|
53
|
+
RestoreClusterFromSnapshotOutput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotOutput')
|
54
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
55
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
56
|
+
String = Shapes::StringShape.new(name: 'String')
|
57
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
58
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
59
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
60
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
61
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
62
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
63
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
64
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
65
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
66
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
67
|
+
UpdateClusterInput = Shapes::StructureShape.new(name: 'UpdateClusterInput')
|
68
|
+
UpdateClusterOutput = Shapes::StructureShape.new(name: 'UpdateClusterOutput')
|
69
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
70
|
+
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
71
|
+
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
72
|
+
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
73
|
+
|
74
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
75
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
76
|
+
|
77
|
+
Cluster.add_member(:admin_user_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminUserName"))
|
78
|
+
Cluster.add_member(:auth_type, Shapes::ShapeRef.new(shape: Auth, required: true, location_name: "authType"))
|
79
|
+
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterArn"))
|
80
|
+
Cluster.add_member(:cluster_endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterEndpoint"))
|
81
|
+
Cluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName"))
|
82
|
+
Cluster.add_member(:create_time, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createTime"))
|
83
|
+
Cluster.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kmsKeyId"))
|
84
|
+
Cluster.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, required: true, location_name: "preferredMaintenanceWindow"))
|
85
|
+
Cluster.add_member(:shard_capacity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "shardCapacity"))
|
86
|
+
Cluster.add_member(:shard_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "shardCount"))
|
87
|
+
Cluster.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
88
|
+
Cluster.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnetIds"))
|
89
|
+
Cluster.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "vpcSecurityGroupIds"))
|
90
|
+
Cluster.struct_class = Types::Cluster
|
91
|
+
|
92
|
+
ClusterInList.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterArn"))
|
93
|
+
ClusterInList.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName"))
|
94
|
+
ClusterInList.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
95
|
+
ClusterInList.struct_class = Types::ClusterInList
|
96
|
+
|
97
|
+
ClusterList.member = Shapes::ShapeRef.new(shape: ClusterInList)
|
98
|
+
|
99
|
+
ClusterSnapshot.add_member(:admin_user_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminUserName"))
|
100
|
+
ClusterSnapshot.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterArn"))
|
101
|
+
ClusterSnapshot.add_member(:cluster_creation_time, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterCreationTime"))
|
102
|
+
ClusterSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "kmsKeyId"))
|
103
|
+
ClusterSnapshot.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotArn"))
|
104
|
+
ClusterSnapshot.add_member(:snapshot_creation_time, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotCreationTime"))
|
105
|
+
ClusterSnapshot.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotName"))
|
106
|
+
ClusterSnapshot.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
107
|
+
ClusterSnapshot.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "subnetIds"))
|
108
|
+
ClusterSnapshot.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "vpcSecurityGroupIds"))
|
109
|
+
ClusterSnapshot.struct_class = Types::ClusterSnapshot
|
110
|
+
|
111
|
+
ClusterSnapshotInList.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterArn"))
|
112
|
+
ClusterSnapshotInList.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotArn"))
|
113
|
+
ClusterSnapshotInList.add_member(:snapshot_creation_time, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotCreationTime"))
|
114
|
+
ClusterSnapshotInList.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "snapshotName"))
|
115
|
+
ClusterSnapshotInList.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
116
|
+
ClusterSnapshotInList.struct_class = Types::ClusterSnapshotInList
|
117
|
+
|
118
|
+
ClusterSnapshotList.member = Shapes::ShapeRef.new(shape: ClusterSnapshotInList)
|
119
|
+
|
120
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
121
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
122
|
+
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
123
|
+
ConflictException.struct_class = Types::ConflictException
|
124
|
+
|
125
|
+
CreateClusterInput.add_member(:admin_user_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminUserName"))
|
126
|
+
CreateClusterInput.add_member(:admin_user_password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "adminUserPassword"))
|
127
|
+
CreateClusterInput.add_member(:auth_type, Shapes::ShapeRef.new(shape: Auth, required: true, location_name: "authType"))
|
128
|
+
CreateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
129
|
+
CreateClusterInput.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName"))
|
130
|
+
CreateClusterInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
131
|
+
CreateClusterInput.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "preferredMaintenanceWindow"))
|
132
|
+
CreateClusterInput.add_member(:shard_capacity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "shardCapacity"))
|
133
|
+
CreateClusterInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "shardCount"))
|
134
|
+
CreateClusterInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
135
|
+
CreateClusterInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
136
|
+
CreateClusterInput.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "vpcSecurityGroupIds"))
|
137
|
+
CreateClusterInput.struct_class = Types::CreateClusterInput
|
138
|
+
|
139
|
+
CreateClusterOutput.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, required: true, location_name: "cluster"))
|
140
|
+
CreateClusterOutput.struct_class = Types::CreateClusterOutput
|
141
|
+
|
142
|
+
CreateClusterSnapshotInput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterArn"))
|
143
|
+
CreateClusterSnapshotInput.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: CreateClusterSnapshotInputSnapshotNameString, required: true, location_name: "snapshotName"))
|
144
|
+
CreateClusterSnapshotInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
145
|
+
CreateClusterSnapshotInput.struct_class = Types::CreateClusterSnapshotInput
|
146
|
+
|
147
|
+
CreateClusterSnapshotOutput.add_member(:snapshot, Shapes::ShapeRef.new(shape: ClusterSnapshot, required: true, location_name: "snapshot"))
|
148
|
+
CreateClusterSnapshotOutput.struct_class = Types::CreateClusterSnapshotOutput
|
149
|
+
|
150
|
+
DeleteClusterInput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clusterArn"))
|
151
|
+
DeleteClusterInput.struct_class = Types::DeleteClusterInput
|
152
|
+
|
153
|
+
DeleteClusterOutput.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, required: true, location_name: "cluster"))
|
154
|
+
DeleteClusterOutput.struct_class = Types::DeleteClusterOutput
|
155
|
+
|
156
|
+
DeleteClusterSnapshotInput.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "snapshotArn"))
|
157
|
+
DeleteClusterSnapshotInput.struct_class = Types::DeleteClusterSnapshotInput
|
158
|
+
|
159
|
+
DeleteClusterSnapshotOutput.add_member(:snapshot, Shapes::ShapeRef.new(shape: ClusterSnapshot, required: true, location_name: "snapshot"))
|
160
|
+
DeleteClusterSnapshotOutput.struct_class = Types::DeleteClusterSnapshotOutput
|
161
|
+
|
162
|
+
GetClusterInput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clusterArn"))
|
163
|
+
GetClusterInput.struct_class = Types::GetClusterInput
|
164
|
+
|
165
|
+
GetClusterOutput.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, required: true, location_name: "cluster"))
|
166
|
+
GetClusterOutput.struct_class = Types::GetClusterOutput
|
167
|
+
|
168
|
+
GetClusterSnapshotInput.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "snapshotArn"))
|
169
|
+
GetClusterSnapshotInput.struct_class = Types::GetClusterSnapshotInput
|
170
|
+
|
171
|
+
GetClusterSnapshotOutput.add_member(:snapshot, Shapes::ShapeRef.new(shape: ClusterSnapshot, required: true, location_name: "snapshot"))
|
172
|
+
GetClusterSnapshotOutput.struct_class = Types::GetClusterSnapshotOutput
|
173
|
+
|
174
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
175
|
+
InternalServerException.struct_class = Types::InternalServerException
|
176
|
+
|
177
|
+
ListClusterSnapshotsInput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clusterArn"))
|
178
|
+
ListClusterSnapshotsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClusterSnapshotsInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
179
|
+
ListClusterSnapshotsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
180
|
+
ListClusterSnapshotsInput.struct_class = Types::ListClusterSnapshotsInput
|
181
|
+
|
182
|
+
ListClusterSnapshotsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
183
|
+
ListClusterSnapshotsOutput.add_member(:snapshots, Shapes::ShapeRef.new(shape: ClusterSnapshotList, location_name: "snapshots"))
|
184
|
+
ListClusterSnapshotsOutput.struct_class = Types::ListClusterSnapshotsOutput
|
185
|
+
|
186
|
+
ListClustersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListClustersInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
187
|
+
ListClustersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
188
|
+
ListClustersInput.struct_class = Types::ListClustersInput
|
189
|
+
|
190
|
+
ListClustersOutput.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterList, location_name: "clusters"))
|
191
|
+
ListClustersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
192
|
+
ListClustersOutput.struct_class = Types::ListClustersOutput
|
193
|
+
|
194
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
195
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
196
|
+
|
197
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
198
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
199
|
+
|
200
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
201
|
+
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
202
|
+
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
203
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
204
|
+
|
205
|
+
RestoreClusterFromSnapshotInput.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName"))
|
206
|
+
RestoreClusterFromSnapshotInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
207
|
+
RestoreClusterFromSnapshotInput.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "snapshotArn"))
|
208
|
+
RestoreClusterFromSnapshotInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
209
|
+
RestoreClusterFromSnapshotInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
210
|
+
RestoreClusterFromSnapshotInput.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "vpcSecurityGroupIds"))
|
211
|
+
RestoreClusterFromSnapshotInput.struct_class = Types::RestoreClusterFromSnapshotInput
|
212
|
+
|
213
|
+
RestoreClusterFromSnapshotOutput.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, required: true, location_name: "cluster"))
|
214
|
+
RestoreClusterFromSnapshotOutput.struct_class = Types::RestoreClusterFromSnapshotOutput
|
215
|
+
|
216
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
217
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
218
|
+
|
219
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
220
|
+
|
221
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
222
|
+
|
223
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
224
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
225
|
+
|
226
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
227
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
228
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
229
|
+
|
230
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
231
|
+
|
232
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
233
|
+
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
234
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
235
|
+
|
236
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
237
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
238
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
239
|
+
|
240
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
241
|
+
|
242
|
+
UpdateClusterInput.add_member(:admin_user_password, Shapes::ShapeRef.new(shape: Password, location_name: "adminUserPassword"))
|
243
|
+
UpdateClusterInput.add_member(:auth_type, Shapes::ShapeRef.new(shape: Auth, location_name: "authType"))
|
244
|
+
UpdateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
245
|
+
UpdateClusterInput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clusterArn"))
|
246
|
+
UpdateClusterInput.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "preferredMaintenanceWindow"))
|
247
|
+
UpdateClusterInput.add_member(:shard_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "shardCapacity"))
|
248
|
+
UpdateClusterInput.add_member(:shard_count, Shapes::ShapeRef.new(shape: Integer, location_name: "shardCount"))
|
249
|
+
UpdateClusterInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
250
|
+
UpdateClusterInput.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "vpcSecurityGroupIds"))
|
251
|
+
UpdateClusterInput.struct_class = Types::UpdateClusterInput
|
252
|
+
|
253
|
+
UpdateClusterOutput.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, required: true, location_name: "cluster"))
|
254
|
+
UpdateClusterOutput.struct_class = Types::UpdateClusterOutput
|
255
|
+
|
256
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
257
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
258
|
+
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
259
|
+
ValidationException.struct_class = Types::ValidationException
|
260
|
+
|
261
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
262
|
+
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
263
|
+
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
264
|
+
|
265
|
+
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
266
|
+
|
267
|
+
|
268
|
+
# @api private
|
269
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
270
|
+
|
271
|
+
api.version = "2022-11-28"
|
272
|
+
|
273
|
+
api.metadata = {
|
274
|
+
"apiVersion" => "2022-11-28",
|
275
|
+
"endpointPrefix" => "docdb-elastic",
|
276
|
+
"jsonVersion" => "1.1",
|
277
|
+
"protocol" => "rest-json",
|
278
|
+
"serviceAbbreviation" => "DocDB Elastic",
|
279
|
+
"serviceFullName" => "Amazon DocumentDB Elastic Clusters",
|
280
|
+
"serviceId" => "DocDB Elastic",
|
281
|
+
"signatureVersion" => "v4",
|
282
|
+
"signingName" => "docdb-elastic",
|
283
|
+
"uid" => "docdb-elastic-2022-11-28",
|
284
|
+
}
|
285
|
+
|
286
|
+
api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
|
287
|
+
o.name = "CreateCluster"
|
288
|
+
o.http_method = "POST"
|
289
|
+
o.http_request_uri = "/cluster"
|
290
|
+
o.input = Shapes::ShapeRef.new(shape: CreateClusterInput)
|
291
|
+
o.output = Shapes::ShapeRef.new(shape: CreateClusterOutput)
|
292
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
294
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
298
|
+
end)
|
299
|
+
|
300
|
+
api.add_operation(:create_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
301
|
+
o.name = "CreateClusterSnapshot"
|
302
|
+
o.http_method = "POST"
|
303
|
+
o.http_request_uri = "/cluster-snapshot"
|
304
|
+
o.input = Shapes::ShapeRef.new(shape: CreateClusterSnapshotInput)
|
305
|
+
o.output = Shapes::ShapeRef.new(shape: CreateClusterSnapshotOutput)
|
306
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
307
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
313
|
+
end)
|
314
|
+
|
315
|
+
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
316
|
+
o.name = "DeleteCluster"
|
317
|
+
o.http_method = "DELETE"
|
318
|
+
o.http_request_uri = "/cluster/{clusterArn}"
|
319
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteClusterInput)
|
320
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteClusterOutput)
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
327
|
+
end)
|
328
|
+
|
329
|
+
api.add_operation(:delete_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
330
|
+
o.name = "DeleteClusterSnapshot"
|
331
|
+
o.http_method = "DELETE"
|
332
|
+
o.http_request_uri = "/cluster-snapshot/{snapshotArn}"
|
333
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteClusterSnapshotInput)
|
334
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteClusterSnapshotOutput)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
341
|
+
end)
|
342
|
+
|
343
|
+
api.add_operation(:get_cluster, Seahorse::Model::Operation.new.tap do |o|
|
344
|
+
o.name = "GetCluster"
|
345
|
+
o.http_method = "GET"
|
346
|
+
o.http_request_uri = "/cluster/{clusterArn}"
|
347
|
+
o.input = Shapes::ShapeRef.new(shape: GetClusterInput)
|
348
|
+
o.output = Shapes::ShapeRef.new(shape: GetClusterOutput)
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
350
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
352
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
353
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
354
|
+
end)
|
355
|
+
|
356
|
+
api.add_operation(:get_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
357
|
+
o.name = "GetClusterSnapshot"
|
358
|
+
o.http_method = "GET"
|
359
|
+
o.http_request_uri = "/cluster-snapshot/{snapshotArn}"
|
360
|
+
o.input = Shapes::ShapeRef.new(shape: GetClusterSnapshotInput)
|
361
|
+
o.output = Shapes::ShapeRef.new(shape: GetClusterSnapshotOutput)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
363
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
367
|
+
end)
|
368
|
+
|
369
|
+
api.add_operation(:list_cluster_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
370
|
+
o.name = "ListClusterSnapshots"
|
371
|
+
o.http_method = "GET"
|
372
|
+
o.http_request_uri = "/cluster-snapshots"
|
373
|
+
o.input = Shapes::ShapeRef.new(shape: ListClusterSnapshotsInput)
|
374
|
+
o.output = Shapes::ShapeRef.new(shape: ListClusterSnapshotsOutput)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
376
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
379
|
+
o[:pager] = Aws::Pager.new(
|
380
|
+
limit_key: "max_results",
|
381
|
+
tokens: {
|
382
|
+
"next_token" => "next_token"
|
383
|
+
}
|
384
|
+
)
|
385
|
+
end)
|
386
|
+
|
387
|
+
api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
|
388
|
+
o.name = "ListClusters"
|
389
|
+
o.http_method = "GET"
|
390
|
+
o.http_request_uri = "/clusters"
|
391
|
+
o.input = Shapes::ShapeRef.new(shape: ListClustersInput)
|
392
|
+
o.output = Shapes::ShapeRef.new(shape: ListClustersOutput)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
397
|
+
o[:pager] = Aws::Pager.new(
|
398
|
+
limit_key: "max_results",
|
399
|
+
tokens: {
|
400
|
+
"next_token" => "next_token"
|
401
|
+
}
|
402
|
+
)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "ListTagsForResource"
|
407
|
+
o.http_method = "GET"
|
408
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
409
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
410
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
415
|
+
end)
|
416
|
+
|
417
|
+
api.add_operation(:restore_cluster_from_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
418
|
+
o.name = "RestoreClusterFromSnapshot"
|
419
|
+
o.http_method = "POST"
|
420
|
+
o.http_request_uri = "/cluster-snapshot/{snapshotArn}/restore"
|
421
|
+
o.input = Shapes::ShapeRef.new(shape: RestoreClusterFromSnapshotInput)
|
422
|
+
o.output = Shapes::ShapeRef.new(shape: RestoreClusterFromSnapshotOutput)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
|
+
end)
|
431
|
+
|
432
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
433
|
+
o.name = "TagResource"
|
434
|
+
o.http_method = "POST"
|
435
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
436
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
437
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "UntagResource"
|
446
|
+
o.http_method = "DELETE"
|
447
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
454
|
+
end)
|
455
|
+
|
456
|
+
api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
|
457
|
+
o.name = "UpdateCluster"
|
458
|
+
o.http_method = "PUT"
|
459
|
+
o.http_request_uri = "/cluster/{clusterArn}"
|
460
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateClusterInput)
|
461
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateClusterOutput)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
468
|
+
end)
|
469
|
+
end
|
470
|
+
|
471
|
+
end
|
472
|
+
end
|
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DocDBElastic
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
56
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
57
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
|
+
if self[:use_dual_stack].nil?
|
59
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
60
|
+
end
|
61
|
+
self[:use_fips] = options[:use_fips]
|
62
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
63
|
+
if self[:use_fips].nil?
|
64
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
65
|
+
end
|
66
|
+
self[:endpoint] = options[:endpoint]
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::DocDBElastic
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+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