File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (264 lines) | stat: -rw-r--r-- 6,497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

// Returns information about a specific elastic cluster.
type Cluster struct {

	// The name of the elastic cluster administrator.
	//
	// This member is required.
	AdminUserName *string

	// The authentication type for the elastic cluster.
	//
	// This member is required.
	AuthType Auth

	// The ARN identifier of the elastic cluster.
	//
	// This member is required.
	ClusterArn *string

	// The URL used to connect to the elastic cluster.
	//
	// This member is required.
	ClusterEndpoint *string

	// The name of the elastic cluster.
	//
	// This member is required.
	ClusterName *string

	// The time when the elastic cluster was created in Universal Coordinated Time
	// (UTC).
	//
	// This member is required.
	CreateTime *string

	// The KMS key identifier to use to encrypt the elastic cluster.
	//
	// This member is required.
	KmsKeyId *string

	// The weekly time range during which system maintenance can occur, in Universal
	// Coordinated Time (UTC).
	//
	// Format: ddd:hh24:mi-ddd:hh24:mi
	//
	// This member is required.
	PreferredMaintenanceWindow *string

	// The number of vCPUs assigned to each elastic cluster shard. Maximum is 64.
	// Allowed values are 2, 4, 8, 16, 32, 64.
	//
	// This member is required.
	ShardCapacity *int32

	// The number of shards assigned to the elastic cluster. Maximum is 32.
	//
	// This member is required.
	ShardCount *int32

	// The status of the elastic cluster.
	//
	// This member is required.
	Status Status

	// The Amazon EC2 subnet IDs for the elastic cluster.
	//
	// This member is required.
	SubnetIds []string

	// A list of EC2 VPC security groups associated with thie elastic cluster.
	//
	// This member is required.
	VpcSecurityGroupIds []string

	// The number of days for which automatic snapshots are retained.
	BackupRetentionPeriod *int32

	// The daily time range during which automated backups are created if automated
	// backups are enabled, as determined by backupRetentionPeriod .
	PreferredBackupWindow *string

	// The number of replica instances applying to all shards in the cluster. A
	// shardInstanceCount value of 1 means there is one writer instance, and any
	// additional instances are replicas that can be used for reads and to improve
	// availability.
	ShardInstanceCount *int32

	// The total number of shards in the cluster.
	Shards []Shard

	noSmithyDocumentSerde
}

// A list of Amazon DocumentDB elastic clusters.
type ClusterInList struct {

	// The ARN identifier of the elastic cluster.
	//
	// This member is required.
	ClusterArn *string

	// The name of the elastic cluster.
	//
	// This member is required.
	ClusterName *string

	// The status of the elastic cluster.
	//
	// This member is required.
	Status Status

	noSmithyDocumentSerde
}

// Returns information about a specific elastic cluster snapshot.
type ClusterSnapshot struct {

	// The name of the elastic cluster administrator.
	//
	// This member is required.
	AdminUserName *string

	// The ARN identifier of the elastic cluster.
	//
	// This member is required.
	ClusterArn *string

	// The time when the elastic cluster was created in Universal Coordinated Time
	// (UTC).
	//
	// This member is required.
	ClusterCreationTime *string

	// The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption
	// key. If you are creating a cluster using the same Amazon account that owns this
	// KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS
	// encryption key. If an encryption key is not specified here, Amazon DocumentDB
	// uses the default encryption key that KMS creates for your account. Your account
	// has a different default encryption key for each Amazon Region.
	//
	// This member is required.
	KmsKeyId *string

	// The ARN identifier of the elastic cluster snapshot.
	//
	// This member is required.
	SnapshotArn *string

	// The time when the elastic cluster snapshot was created in Universal Coordinated
	// Time (UTC).
	//
	// This member is required.
	SnapshotCreationTime *string

	// The name of the elastic cluster snapshot.
	//
	// This member is required.
	SnapshotName *string

	// The status of the elastic cluster snapshot.
	//
	// This member is required.
	Status Status

	// The Amazon EC2 subnet IDs for the elastic cluster.
	//
	// This member is required.
	SubnetIds []string

	// A list of EC2 VPC security groups to associate with the elastic cluster.
	//
	// This member is required.
	VpcSecurityGroupIds []string

	// The type of cluster snapshots to be returned. You can specify one of the
	// following values:
	//
	//   - automated - Return all cluster snapshots that Amazon DocumentDB has
	//   automatically created for your Amazon Web Services account.
	//
	//   - manual - Return all cluster snapshots that you have manually created for
	//   your Amazon Web Services account.
	SnapshotType SnapshotType

	noSmithyDocumentSerde
}

// A list of elastic cluster snapshots.
type ClusterSnapshotInList struct {

	// The ARN identifier of the elastic cluster.
	//
	// This member is required.
	ClusterArn *string

	// The ARN identifier of the elastic cluster snapshot.
	//
	// This member is required.
	SnapshotArn *string

	// The time when the elastic cluster snapshot was created in Universal Coordinated
	// Time (UTC).
	//
	// This member is required.
	SnapshotCreationTime *string

	// The name of the elastic cluster snapshot.
	//
	// This member is required.
	SnapshotName *string

	// The status of the elastic cluster snapshot.
	//
	// This member is required.
	Status Status

	noSmithyDocumentSerde
}

// The name of the shard.
type Shard struct {

	// The time when the shard was created in Universal Coordinated Time (UTC).
	//
	// This member is required.
	CreateTime *string

	// The ID of the shard.
	//
	// This member is required.
	ShardId *string

	// The current status of the shard.
	//
	// This member is required.
	Status Status

	noSmithyDocumentSerde
}

// A specific field in which a given validation exception occurred.
type ValidationExceptionField struct {

	// An error message describing the validation exception in this field.
	//
	// This member is required.
	Message *string

	// The name of the field where the validation exception occurred.
	//
	// This member is required.
	Name *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde