@aws-cdk/aws-redshift-alpha 2.12.0-alpha.0 → 2.13.0-alpha.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.
@@ -2,73 +2,51 @@ import * as ec2 from 'aws-cdk-lib/aws-ec2';
2
2
  import { IResource, RemovalPolicy, Resource } from 'aws-cdk-lib';
3
3
  import { Construct } from 'constructs';
4
4
  /**
5
- * (experimental) Interface for a cluster subnet group.
6
- *
7
- * @experimental
5
+ * Interface for a cluster subnet group.
8
6
  */
9
7
  export interface IClusterSubnetGroup extends IResource {
10
8
  /**
11
- * (experimental) The name of the cluster subnet group.
12
- *
13
- * @experimental
14
- * @attribute true
9
+ * The name of the cluster subnet group.
10
+ * @attribute
15
11
  */
16
12
  readonly clusterSubnetGroupName: string;
17
13
  }
18
14
  /**
19
- * (experimental) Properties for creating a ClusterSubnetGroup.
20
- *
21
- * @experimental
15
+ * Properties for creating a ClusterSubnetGroup.
22
16
  */
23
17
  export interface ClusterSubnetGroupProps {
24
18
  /**
25
- * (experimental) Description of the subnet group.
26
- *
27
- * @experimental
19
+ * Description of the subnet group.
28
20
  */
29
21
  readonly description: string;
30
22
  /**
31
- * (experimental) The VPC to place the subnet group in.
32
- *
33
- * @experimental
23
+ * The VPC to place the subnet group in.
34
24
  */
35
25
  readonly vpc: ec2.IVpc;
36
26
  /**
37
- * (experimental) Which subnets within the VPC to associate with this group.
27
+ * Which subnets within the VPC to associate with this group.
38
28
  *
39
29
  * @default - private subnets
40
- * @experimental
41
30
  */
42
31
  readonly vpcSubnets?: ec2.SubnetSelection;
43
32
  /**
44
- * (experimental) The removal policy to apply when the subnet group are removed from the stack or replaced during an update.
33
+ * The removal policy to apply when the subnet group are removed
34
+ * from the stack or replaced during an update.
45
35
  *
46
36
  * @default RemovalPolicy.RETAIN
47
- * @experimental
48
37
  */
49
38
  readonly removalPolicy?: RemovalPolicy;
50
39
  }
51
40
  /**
52
- * (experimental) Class for creating a Redshift cluster subnet group.
41
+ * Class for creating a Redshift cluster subnet group
53
42
  *
54
- * @experimental
55
43
  * @resource AWS::Redshift::ClusterSubnetGroup
56
44
  */
57
45
  export declare class ClusterSubnetGroup extends Resource implements IClusterSubnetGroup {
58
46
  /**
59
- * (experimental) Imports an existing subnet group by name.
60
- *
61
- * @experimental
47
+ * Imports an existing subnet group by name.
62
48
  */
63
49
  static fromClusterSubnetGroupName(scope: Construct, id: string, clusterSubnetGroupName: string): IClusterSubnetGroup;
64
- /**
65
- * (experimental) The name of the cluster subnet group.
66
- *
67
- * @experimental
68
- */
69
50
  readonly clusterSubnetGroupName: string;
70
- /**
71
- * @experimental
72
- */
73
51
  constructor(scope: Construct, id: string, props: ClusterSubnetGroupProps);
74
52
  }
@@ -8,15 +8,11 @@ const ec2 = require("aws-cdk-lib/aws-ec2");
8
8
  const aws_cdk_lib_1 = require("aws-cdk-lib");
9
9
  const aws_redshift_1 = require("aws-cdk-lib/aws-redshift");
10
10
  /**
11
- * (experimental) Class for creating a Redshift cluster subnet group.
11
+ * Class for creating a Redshift cluster subnet group
12
12
  *
13
- * @experimental
14
13
  * @resource AWS::Redshift::ClusterSubnetGroup
15
14
  */
16
15
  class ClusterSubnetGroup extends aws_cdk_lib_1.Resource {
17
- /**
18
- * @experimental
19
- */
20
16
  constructor(scope, id, props) {
21
17
  var _b, _c;
22
18
  super(scope, id);
@@ -32,9 +28,7 @@ class ClusterSubnetGroup extends aws_cdk_lib_1.Resource {
32
28
  this.clusterSubnetGroupName = subnetGroup.ref;
33
29
  }
34
30
  /**
35
- * (experimental) Imports an existing subnet group by name.
36
- *
37
- * @experimental
31
+ * Imports an existing subnet group by name.
38
32
  */
39
33
  static fromClusterSubnetGroupName(scope, id, clusterSubnetGroupName) {
40
34
  return new class extends aws_cdk_lib_1.Resource {
@@ -47,5 +41,5 @@ class ClusterSubnetGroup extends aws_cdk_lib_1.Resource {
47
41
  }
48
42
  exports.ClusterSubnetGroup = ClusterSubnetGroup;
49
43
  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CTSxNQUFNLENBQUMsMEJBQTBCLENBQUMsS0FBZ0IsRUFBRSxFQUFVLEVBQUUsc0JBQThCO1FBQ25HLE9BQU8sSUFBSSxLQUFNLFNBQVEsc0JBQVE7WUFBdEI7O2dCQUNPLDJCQUFzQixHQUFHLHNCQUFzQixDQUFDO1lBQ2xFLENBQUM7U0FBQSxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsQ0FBQztLQUNkOztBQVBILGdEQTBCQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGVjMiBmcm9tICdhd3MtY2RrLWxpYi9hd3MtZWMyJztcbmltcG9ydCB7IElSZXNvdXJjZSwgUmVtb3ZhbFBvbGljeSwgUmVzb3VyY2UgfSBmcm9tICdhd3MtY2RrLWxpYic7XG5pbXBvcnQgeyBDb25zdHJ1Y3QgfSBmcm9tICdjb25zdHJ1Y3RzJztcbmltcG9ydCB7IENmbkNsdXN0ZXJTdWJuZXRHcm91cCB9IGZyb20gJ2F3cy1jZGstbGliL2F3cy1yZWRzaGlmdCc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBJQ2x1c3RlclN1Ym5ldEdyb3VwIGV4dGVuZHMgSVJlc291cmNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgY2x1c3RlclN1Ym5ldEdyb3VwTmFtZTogc3RyaW5nO1xufVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBDbHVzdGVyU3VibmV0R3JvdXBQcm9wcyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGRlc2NyaXB0aW9uOiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSB2cGM6IGVjMi5JVnBjO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHZwY1N1Ym5ldHM/OiBlYzIuU3VibmV0U2VsZWN0aW9uO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgcmVtb3ZhbFBvbGljeT86IFJlbW92YWxQb2xpY3lcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgQ2x1c3RlclN1Ym5ldEdyb3VwIGV4dGVuZHMgUmVzb3VyY2UgaW1wbGVtZW50cyBJQ2x1c3RlclN1Ym5ldEdyb3VwIHtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgc3RhdGljIGZyb21DbHVzdGVyU3VibmV0R3JvdXBOYW1lKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIGNsdXN0ZXJTdWJuZXRHcm91cE5hbWU6IHN0cmluZyk6IElDbHVzdGVyU3VibmV0R3JvdXAge1xuICAgIHJldHVybiBuZXcgY2xhc3MgZXh0ZW5kcyBSZXNvdXJjZSBpbXBsZW1lbnRzIElDbHVzdGVyU3VibmV0R3JvdXAge1xuICAgICAgcHVibGljIHJlYWRvbmx5IGNsdXN0ZXJTdWJuZXRHcm91cE5hbWUgPSBjbHVzdGVyU3VibmV0R3JvdXBOYW1lO1xuICAgIH0oc2NvcGUsIGlkKTtcbiAgfVxuXG4gIHB1YmxpYyByZWFkb25seSBjbHVzdGVyU3VibmV0R3JvdXBOYW1lOiBzdHJpbmc7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM6IENsdXN0ZXJTdWJuZXRHcm91cFByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkKTtcblxuICAgIGNvbnN0IHsgc3VibmV0SWRzIH0gPSBwcm9wcy52cGMuc2VsZWN0U3VibmV0cyhwcm9wcy52cGNTdWJuZXRzID8/IHsgc3VibmV0VHlwZTogZWMyLlN1Ym5ldFR5cGUuUFJJVkFURSB9KTtcblxuICAgIGNvbnN0IHN1Ym5ldEdyb3VwID0gbmV3IENmbkNsdXN0ZXJTdWJuZXRHcm91cCh0aGlzLCAnRGVmYXVsdCcsIHtcbiAgICAgIGRlc2NyaXB0aW9uOiBwcm9wcy5kZXNjcmlwdGlvbixcbiAgICAgIHN1Ym5ldElkcyxcbiAgICB9KTtcbiAgICBzdWJuZXRHcm91cC5hcHBseVJlbW92YWxQb2xpY3kocHJvcHMucmVtb3ZhbFBvbGljeSA/PyBSZW1vdmFsUG9saWN5LlJFVEFJTiwge1xuICAgICAgYXBwbHlUb1VwZGF0ZVJlcGxhY2VQb2xpY3k6IHRydWUsXG4gICAgfSk7XG5cbiAgICB0aGlzLmNsdXN0ZXJTdWJuZXRHcm91cE5hbWUgPSBzdWJuZXRHcm91cC5yZWY7XG4gIH1cbn1cbiJdfQ==
44
+ ClusterSubnetGroup[_a] = { fqn: "@aws-cdk/aws-redshift-alpha.ClusterSubnetGroup", version: "2.13.0-alpha.0" };
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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ib/table.d.ts CHANGED
@@ -4,195 +4,141 @@ import { DatabaseOptions } from './database-options';
4
4
  import { IUser } from './user';
5
5
  import { Construct, IConstruct } from 'constructs';
6
6
  /**
7
- * (experimental) An action that a Redshift user can be granted privilege to perform on a table.
8
- *
9
- * @experimental
7
+ * An action that a Redshift user can be granted privilege to perform on a table.
10
8
  */
11
9
  export declare enum TableAction {
12
10
  /**
13
- * (experimental) Grants privilege to select data from a table or view using a SELECT statement.
14
- *
15
- * @experimental
11
+ * Grants privilege to select data from a table or view using a SELECT statement.
16
12
  */
17
13
  SELECT = 0,
18
14
  /**
19
- * (experimental) Grants privilege to load data into a table using an INSERT statement or a COPY statement.
20
- *
21
- * @experimental
15
+ * Grants privilege to load data into a table using an INSERT statement or a COPY statement.
22
16
  */
23
17
  INSERT = 1,
24
18
  /**
25
- * (experimental) Grants privilege to update a table column using an UPDATE statement.
26
- *
27
- * @experimental
19
+ * Grants privilege to update a table column using an UPDATE statement.
28
20
  */
29
21
  UPDATE = 2,
30
22
  /**
31
- * (experimental) Grants privilege to delete a data row from a table.
32
- *
33
- * @experimental
23
+ * Grants privilege to delete a data row from a table.
34
24
  */
35
25
  DELETE = 3,
36
26
  /**
37
- * (experimental) Grants privilege to drop a table.
38
- *
39
- * @experimental
27
+ * Grants privilege to drop a table.
40
28
  */
41
29
  DROP = 4,
42
30
  /**
43
- * (experimental) Grants privilege to create a foreign key constraint.
31
+ * Grants privilege to create a foreign key constraint.
44
32
  *
45
33
  * You need to grant this privilege on both the referenced table and the referencing table; otherwise, the user can't create the constraint.
46
- *
47
- * @experimental
48
34
  */
49
35
  REFERENCES = 5,
50
36
  /**
51
- * (experimental) Grants all available privileges at once to the specified user or user group.
52
- *
53
- * @experimental
37
+ * Grants all available privileges at once to the specified user or user group.
54
38
  */
55
39
  ALL = 6
56
40
  }
57
41
  /**
58
- * (experimental) A column in a Redshift table.
59
- *
60
- * @experimental
42
+ * A column in a Redshift table.
61
43
  */
62
44
  export interface Column {
63
45
  /**
64
- * (experimental) The name of the column.
65
- *
66
- * @experimental
46
+ * The name of the column.
67
47
  */
68
48
  readonly name: string;
69
49
  /**
70
- * (experimental) The data type of the column.
71
- *
72
- * @experimental
50
+ * The data type of the column.
73
51
  */
74
52
  readonly dataType: string;
75
53
  /**
76
- * (experimental) Boolean value that indicates whether the column is to be configured as DISTKEY.
54
+ * Boolean value that indicates whether the column is to be configured as DISTKEY.
77
55
  *
78
56
  * @default - column is not DISTKEY
79
- * @experimental
80
57
  */
81
58
  readonly distKey?: boolean;
82
59
  /**
83
- * (experimental) Boolean value that indicates whether the column is to be configured as SORTKEY.
60
+ * Boolean value that indicates whether the column is to be configured as SORTKEY.
84
61
  *
85
62
  * @default - column is not a SORTKEY
86
- * @experimental
87
63
  */
88
64
  readonly sortKey?: boolean;
89
65
  }
90
66
  /**
91
- * (experimental) Properties for configuring a Redshift table.
92
- *
93
- * @experimental
67
+ * Properties for configuring a Redshift table.
94
68
  */
95
69
  export interface TableProps extends DatabaseOptions {
96
70
  /**
97
- * (experimental) The name of the table.
71
+ * The name of the table.
98
72
  *
99
73
  * @default - a name is generated
100
- * @experimental
101
74
  */
102
75
  readonly tableName?: string;
103
76
  /**
104
- * (experimental) The columns of the table.
105
- *
106
- * @experimental
77
+ * The columns of the table.
107
78
  */
108
79
  readonly tableColumns: Column[];
109
80
  /**
110
- * (experimental) The distribution style of the table.
81
+ * The distribution style of the table.
111
82
  *
112
83
  * @default TableDistStyle.AUTO
113
- * @experimental
114
84
  */
115
85
  readonly distStyle?: TableDistStyle;
116
86
  /**
117
- * (experimental) The sort style of the table.
87
+ * The sort style of the table.
118
88
  *
119
89
  * @default TableSortStyle.AUTO if no sort key is specified, TableSortStyle.COMPOUND if a sort key is specified
120
- * @experimental
121
90
  */
122
91
  readonly sortStyle?: TableSortStyle;
123
92
  /**
124
- * (experimental) The policy to apply when this resource is removed from the application.
93
+ * The policy to apply when this resource is removed from the application.
125
94
  *
126
95
  * @default cdk.RemovalPolicy.Retain
127
- * @experimental
128
96
  */
129
97
  readonly removalPolicy?: cdk.RemovalPolicy;
130
98
  }
131
99
  /**
132
- * (experimental) Represents a table in a Redshift database.
133
- *
134
- * @experimental
100
+ * Represents a table in a Redshift database.
135
101
  */
136
102
  export interface ITable extends IConstruct {
137
103
  /**
138
- * (experimental) Name of the table.
139
- *
140
- * @experimental
104
+ * Name of the table.
141
105
  */
142
106
  readonly tableName: string;
143
107
  /**
144
- * (experimental) The columns of the table.
145
- *
146
- * @experimental
108
+ * The columns of the table.
147
109
  */
148
110
  readonly tableColumns: Column[];
149
111
  /**
150
- * (experimental) The cluster where the table is located.
151
- *
152
- * @experimental
112
+ * The cluster where the table is located.
153
113
  */
154
114
  readonly cluster: ICluster;
155
115
  /**
156
- * (experimental) The name of the database where the table is located.
157
- *
158
- * @experimental
116
+ * The name of the database where the table is located.
159
117
  */
160
118
  readonly databaseName: string;
161
119
  /**
162
- * (experimental) Grant a user privilege to access this table.
163
- *
164
- * @experimental
120
+ * Grant a user privilege to access this table.
165
121
  */
166
122
  grant(user: IUser, ...actions: TableAction[]): void;
167
123
  }
168
124
  /**
169
- * (experimental) A full specification of a Redshift table that can be used to import it fluently into the CDK application.
170
- *
171
- * @experimental
125
+ * A full specification of a Redshift table that can be used to import it fluently into the CDK application.
172
126
  */
173
127
  export interface TableAttributes {
174
128
  /**
175
- * (experimental) Name of the table.
176
- *
177
- * @experimental
129
+ * Name of the table.
178
130
  */
179
131
  readonly tableName: string;
180
132
  /**
181
- * (experimental) The columns of the table.
182
- *
183
- * @experimental
133
+ * The columns of the table.
184
134
  */
185
135
  readonly tableColumns: Column[];
186
136
  /**
187
- * (experimental) The cluster where the table is located.
188
- *
189
- * @experimental
137
+ * The cluster where the table is located.
190
138
  */
191
139
  readonly cluster: ICluster;
192
140
  /**
193
- * (experimental) The name of the database where the table is located.
194
- *
195
- * @experimental
141
+ * The name of the database where the table is located.
196
142
  */
197
143
  readonly databaseName: string;
198
144
  }
@@ -201,56 +147,24 @@ declare abstract class TableBase extends Construct implements ITable {
201
147
  abstract readonly tableColumns: Column[];
202
148
  abstract readonly cluster: ICluster;
203
149
  abstract readonly databaseName: string;
204
- /**
205
- * (experimental) Grant a user privilege to access this table.
206
- *
207
- * @experimental
208
- */
209
150
  grant(user: IUser, ...actions: TableAction[]): void;
210
151
  }
211
152
  /**
212
- * (experimental) A table in a Redshift cluster.
213
- *
214
- * @experimental
153
+ * A table in a Redshift cluster.
215
154
  */
216
155
  export declare class Table extends TableBase {
217
156
  /**
218
- * (experimental) Specify a Redshift table using a table name and schema that already exists.
219
- *
220
- * @experimental
157
+ * Specify a Redshift table using a table name and schema that already exists.
221
158
  */
222
159
  static fromTableAttributes(scope: Construct, id: string, attrs: TableAttributes): ITable;
223
- /**
224
- * (experimental) Name of the table.
225
- *
226
- * @experimental
227
- */
228
160
  readonly tableName: string;
229
- /**
230
- * (experimental) The columns of the table.
231
- *
232
- * @experimental
233
- */
234
161
  readonly tableColumns: Column[];
235
- /**
236
- * (experimental) The cluster where the table is located.
237
- *
238
- * @experimental
239
- */
240
162
  readonly cluster: ICluster;
241
- /**
242
- * (experimental) The name of the database where the table is located.
243
- *
244
- * @experimental
245
- */
246
163
  readonly databaseName: string;
247
164
  private resource;
248
- /**
249
- * @experimental
250
- */
251
165
  constructor(scope: Construct, id: string, props: TableProps);
252
166
  /**
253
- * (experimental) Apply the given removal policy to this resource.
167
+ * Apply the given removal policy to this resource
254
168
  *
255
169
  * The Removal Policy controls what happens to this resource when it stops
256
170
  * being managed by CloudFormation, either because you've removed it from the
@@ -261,8 +175,6 @@ export declare class Table extends TableBase {
261
175
  * account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
262
176
  *
263
177
  * This resource is retained by default.
264
- *
265
- * @experimental
266
178
  */
267
179
  applyRemovalPolicy(policy: cdk.RemovalPolicy): void;
268
180
  private validateDistKeyColumns;
@@ -271,58 +183,41 @@ export declare class Table extends TableBase {
271
183
  private getDefaultSortStyle;
272
184
  }
273
185
  /**
274
- * (experimental) The data distribution style of a table.
275
- *
276
- * @experimental
186
+ * The data distribution style of a table.
277
187
  */
278
188
  export declare enum TableDistStyle {
279
189
  /**
280
- * (experimental) Amazon Redshift assigns an optimal distribution style based on the table data.
281
- *
282
- * @experimental
190
+ * Amazon Redshift assigns an optimal distribution style based on the table data
283
191
  */
284
192
  AUTO = "AUTO",
285
193
  /**
286
- * (experimental) The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution.
287
- *
288
- * @experimental
194
+ * The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution.
289
195
  */
290
196
  EVEN = "EVEN",
291
197
  /**
292
- * (experimental) The data is distributed by the values in the DISTKEY column.
293
- *
294
- * @experimental
198
+ * The data is distributed by the values in the DISTKEY column.
295
199
  */
296
200
  KEY = "KEY",
297
201
  /**
298
- * (experimental) A copy of the entire table is distributed to every node.
299
- *
300
- * @experimental
202
+ * A copy of the entire table is distributed to every node.
301
203
  */
302
204
  ALL = "ALL"
303
205
  }
304
206
  /**
305
- * (experimental) The sort style of a table.
306
- *
307
- * @experimental
207
+ * The sort style of a table.
308
208
  */
309
209
  export declare enum TableSortStyle {
310
210
  /**
311
- * (experimental) Amazon Redshift assigns an optimal sort key based on the table data.
312
- *
313
- * @experimental
211
+ * Amazon Redshift assigns an optimal sort key based on the table data.
314
212
  */
315
213
  AUTO = "AUTO",
316
214
  /**
317
- * (experimental) Specifies that the data is sorted using a compound key made up of all of the listed columns, in the order they are listed.
318
- *
319
- * @experimental
215
+ * Specifies that the data is sorted using a compound key made up of all of the listed columns,
216
+ * in the order they are listed.
320
217
  */
321
218
  COMPOUND = "COMPOUND",
322
219
  /**
323
- * (experimental) Specifies that the data is sorted using an interleaved sort key.
324
- *
325
- * @experimental
220
+ * Specifies that the data is sorted using an interleaved sort key.
326
221
  */
327
222
  INTERLEAVED = "INTERLEAVED"
328
223
  }