@stacksjs/ts-cloud 0.2.3 → 0.2.6
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.
- package/dist/aws/acm.d.ts +215 -0
- package/dist/aws/application-autoscaling.d.ts +345 -0
- package/dist/aws/bedrock.d.ts +2672 -0
- package/dist/aws/client.d.ts +181 -0
- package/dist/aws/cloudformation.d.ts +187 -0
- package/dist/aws/cloudfront.d.ts +416 -0
- package/dist/aws/cloudwatch-logs.d.ts +70 -0
- package/dist/aws/comprehend.d.ts +616 -0
- package/dist/aws/connect.d.ts +533 -0
- package/dist/aws/deploy-imap.d.ts +26 -0
- package/dist/aws/dynamodb.d.ts +270 -0
- package/dist/aws/ec2.d.ts +545 -0
- package/dist/aws/ecr.d.ts +240 -0
- package/dist/aws/ecs.d.ts +267 -0
- package/dist/aws/efs.d.ts +36 -0
- package/dist/aws/elasticache.d.ts +112 -0
- package/dist/aws/elbv2.d.ts +389 -0
- package/dist/aws/email.d.ts +260 -0
- package/dist/aws/eventbridge.d.ts +197 -0
- package/dist/aws/iam.d.ts +1013 -0
- package/dist/aws/imap-server.d.ts +298 -0
- package/dist/aws/index.d.ts +53 -0
- package/dist/aws/kendra.d.ts +831 -0
- package/dist/aws/lambda.d.ts +319 -0
- package/dist/aws/opensearch.d.ts +121 -0
- package/dist/aws/personalize.d.ts +586 -0
- package/dist/aws/polly.d.ts +243 -0
- package/dist/aws/rds.d.ts +346 -0
- package/dist/aws/rekognition.d.ts +691 -0
- package/dist/aws/route53-domains.d.ts +161 -0
- package/dist/aws/route53.d.ts +330 -0
- package/dist/aws/s3.d.ts +535 -0
- package/dist/aws/scheduler.d.ts +224 -0
- package/dist/aws/secrets-manager.d.ts +267 -0
- package/dist/aws/ses.d.ts +441 -0
- package/dist/aws/setup-phone.d.ts +1 -0
- package/dist/aws/setup-sms.d.ts +116 -0
- package/dist/aws/sms.d.ts +477 -0
- package/dist/aws/smtp-server.d.ts +108 -0
- package/dist/aws/sns.d.ts +224 -0
- package/dist/aws/sqs.d.ts +107 -0
- package/dist/aws/ssm.d.ts +311 -0
- package/dist/aws/sts.d.ts +21 -0
- package/dist/aws/support.d.ts +139 -0
- package/dist/aws/test-imap.d.ts +15 -0
- package/dist/aws/textract.d.ts +477 -0
- package/dist/aws/transcribe.d.ts +79 -0
- package/dist/aws/translate.d.ts +424 -0
- package/dist/aws/voice.d.ts +361 -0
- package/dist/bin/cli.js +4480 -804
- package/dist/config.d.ts +5 -0
- package/dist/deploy/index.d.ts +6 -0
- package/dist/deploy/static-site-external-dns.d.ts +70 -0
- package/dist/deploy/static-site.d.ts +110 -0
- package/dist/dns/cloudflare.d.ts +74 -0
- package/dist/dns/godaddy.d.ts +63 -0
- package/dist/dns/index.d.ts +67 -0
- package/dist/dns/porkbun.d.ts +43 -0
- package/dist/dns/route53-adapter.d.ts +67 -0
- package/dist/dns/types.d.ts +100 -0
- package/dist/dns/validator.d.ts +105 -0
- package/dist/generators/index.d.ts +4 -0
- package/dist/generators/infrastructure.d.ts +115 -0
- package/dist/index.d.ts +9 -165
- package/dist/index.js +4971 -6013
- package/dist/push/apns.d.ts +140 -0
- package/dist/push/fcm.d.ts +205 -0
- package/dist/push/index.d.ts +44 -0
- package/dist/security/pre-deploy-scanner.d.ts +97 -0
- package/dist/ssl/acme-client.d.ts +133 -0
- package/dist/ssl/index.d.ts +6 -0
- package/dist/ssl/letsencrypt.d.ts +96 -0
- package/dist/utils/cli.d.ts +121 -0
- package/dist/validation/index.d.ts +4 -0
- package/dist/validation/template.d.ts +27 -0
- package/package.json +6 -6
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AWS Lambda Operations
|
|
3
|
+
* Direct API calls without AWS SDK dependency
|
|
4
|
+
*/
|
|
5
|
+
export interface LambdaFunctionConfiguration {
|
|
6
|
+
FunctionName?: string;
|
|
7
|
+
FunctionArn?: string;
|
|
8
|
+
Runtime?: string;
|
|
9
|
+
Role?: string;
|
|
10
|
+
Handler?: string;
|
|
11
|
+
CodeSize?: number;
|
|
12
|
+
Description?: string;
|
|
13
|
+
Timeout?: number;
|
|
14
|
+
MemorySize?: number;
|
|
15
|
+
LastModified?: string;
|
|
16
|
+
CodeSha256?: string;
|
|
17
|
+
Version?: string;
|
|
18
|
+
State?: 'Pending' | 'Active' | 'Inactive' | 'Failed';
|
|
19
|
+
StateReason?: string;
|
|
20
|
+
StateReasonCode?: string;
|
|
21
|
+
Environment?: {
|
|
22
|
+
Variables?: Record<string, string>;
|
|
23
|
+
};
|
|
24
|
+
Architectures?: ('x86_64' | 'arm64')[];
|
|
25
|
+
}
|
|
26
|
+
export interface InvokeResult {
|
|
27
|
+
StatusCode?: number;
|
|
28
|
+
FunctionError?: string;
|
|
29
|
+
LogResult?: string;
|
|
30
|
+
Payload?: string;
|
|
31
|
+
ExecutedVersion?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface CreateFunctionParams {
|
|
34
|
+
FunctionName: string;
|
|
35
|
+
Runtime: 'nodejs18.x' | 'nodejs20.x' | 'python3.11' | 'python3.12' | string;
|
|
36
|
+
Role: string;
|
|
37
|
+
Handler: string;
|
|
38
|
+
Code: {
|
|
39
|
+
ZipFile?: string;
|
|
40
|
+
S3Bucket?: string;
|
|
41
|
+
S3Key?: string;
|
|
42
|
+
S3ObjectVersion?: string;
|
|
43
|
+
};
|
|
44
|
+
Description?: string;
|
|
45
|
+
Timeout?: number;
|
|
46
|
+
MemorySize?: number;
|
|
47
|
+
Environment?: {
|
|
48
|
+
Variables: Record<string, string>;
|
|
49
|
+
};
|
|
50
|
+
Tags?: Record<string, string>;
|
|
51
|
+
Architectures?: ('x86_64' | 'arm64')[];
|
|
52
|
+
EphemeralStorage?: {
|
|
53
|
+
Size: number;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export interface UpdateFunctionCodeParams {
|
|
57
|
+
FunctionName: string;
|
|
58
|
+
ZipFile?: string;
|
|
59
|
+
S3Bucket?: string;
|
|
60
|
+
S3Key?: string;
|
|
61
|
+
S3ObjectVersion?: string;
|
|
62
|
+
Publish?: boolean;
|
|
63
|
+
Architectures?: ('x86_64' | 'arm64')[];
|
|
64
|
+
}
|
|
65
|
+
export interface AddPermissionParams {
|
|
66
|
+
FunctionName: string;
|
|
67
|
+
StatementId: string;
|
|
68
|
+
Action: string;
|
|
69
|
+
Principal: string;
|
|
70
|
+
SourceArn?: string;
|
|
71
|
+
SourceAccount?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Lambda service management using direct API calls
|
|
75
|
+
*/
|
|
76
|
+
export declare class LambdaClient {
|
|
77
|
+
private client;
|
|
78
|
+
private region;
|
|
79
|
+
constructor(region?: string);
|
|
80
|
+
/**
|
|
81
|
+
* Create a new Lambda function
|
|
82
|
+
*/
|
|
83
|
+
createFunction(params: CreateFunctionParams): Promise<LambdaFunctionConfiguration>;
|
|
84
|
+
/**
|
|
85
|
+
* Get function configuration
|
|
86
|
+
*/
|
|
87
|
+
getFunction(functionName: string): Promise<{
|
|
88
|
+
Configuration?: LambdaFunctionConfiguration;
|
|
89
|
+
Code?: {
|
|
90
|
+
RepositoryType?: string;
|
|
91
|
+
Location?: string;
|
|
92
|
+
};
|
|
93
|
+
Tags?: Record<string, string>;
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* Update function code
|
|
97
|
+
*/
|
|
98
|
+
updateFunctionCode(params: UpdateFunctionCodeParams): Promise<LambdaFunctionConfiguration>;
|
|
99
|
+
/**
|
|
100
|
+
* Update function code with inline JavaScript/TypeScript code
|
|
101
|
+
* Automatically creates a zip file with the code as index.js
|
|
102
|
+
*/
|
|
103
|
+
updateFunctionCodeInline(functionName: string, code: string, filename?: string): Promise<LambdaFunctionConfiguration>;
|
|
104
|
+
/**
|
|
105
|
+
* Update function configuration
|
|
106
|
+
*/
|
|
107
|
+
updateFunctionConfiguration(params: {
|
|
108
|
+
FunctionName: string;
|
|
109
|
+
Runtime?: string;
|
|
110
|
+
Role?: string;
|
|
111
|
+
Handler?: string;
|
|
112
|
+
Description?: string;
|
|
113
|
+
Timeout?: number;
|
|
114
|
+
MemorySize?: number;
|
|
115
|
+
Environment?: {
|
|
116
|
+
Variables: Record<string, string>;
|
|
117
|
+
};
|
|
118
|
+
}): Promise<LambdaFunctionConfiguration>;
|
|
119
|
+
/**
|
|
120
|
+
* Delete a Lambda function
|
|
121
|
+
*/
|
|
122
|
+
deleteFunction(functionName: string): Promise<void>;
|
|
123
|
+
/**
|
|
124
|
+
* Invoke a Lambda function
|
|
125
|
+
*/
|
|
126
|
+
invoke(params: {
|
|
127
|
+
FunctionName: string;
|
|
128
|
+
InvocationType?: 'RequestResponse' | 'Event' | 'DryRun';
|
|
129
|
+
Payload?: string | object;
|
|
130
|
+
LogType?: 'None' | 'Tail';
|
|
131
|
+
}): Promise<InvokeResult>;
|
|
132
|
+
/**
|
|
133
|
+
* List Lambda functions
|
|
134
|
+
*/
|
|
135
|
+
listFunctions(params?: {
|
|
136
|
+
MaxItems?: number;
|
|
137
|
+
Marker?: string;
|
|
138
|
+
FunctionVersion?: 'ALL';
|
|
139
|
+
}): Promise<{
|
|
140
|
+
Functions?: LambdaFunctionConfiguration[];
|
|
141
|
+
NextMarker?: string;
|
|
142
|
+
}>;
|
|
143
|
+
/**
|
|
144
|
+
* Add permission to Lambda function (resource-based policy)
|
|
145
|
+
*/
|
|
146
|
+
addPermission(params: AddPermissionParams): Promise<{
|
|
147
|
+
Statement?: string;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* Remove permission from Lambda function
|
|
151
|
+
*/
|
|
152
|
+
removePermission(functionName: string, statementId: string): Promise<void>;
|
|
153
|
+
/**
|
|
154
|
+
* Publish a version of the function
|
|
155
|
+
*/
|
|
156
|
+
publishVersion(params: {
|
|
157
|
+
FunctionName: string;
|
|
158
|
+
Description?: string;
|
|
159
|
+
CodeSha256?: string;
|
|
160
|
+
}): Promise<LambdaFunctionConfiguration>;
|
|
161
|
+
/**
|
|
162
|
+
* Create an alias for a function version
|
|
163
|
+
*/
|
|
164
|
+
createAlias(params: {
|
|
165
|
+
FunctionName: string;
|
|
166
|
+
Name: string;
|
|
167
|
+
FunctionVersion: string;
|
|
168
|
+
Description?: string;
|
|
169
|
+
}): Promise<{
|
|
170
|
+
AliasArn?: string;
|
|
171
|
+
Name?: string;
|
|
172
|
+
FunctionVersion?: string;
|
|
173
|
+
Description?: string;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* Wait for function to become active
|
|
177
|
+
*/
|
|
178
|
+
waitForFunctionActive(functionName: string, maxWaitSeconds?: number): Promise<LambdaFunctionConfiguration>;
|
|
179
|
+
/**
|
|
180
|
+
* Check if function exists
|
|
181
|
+
*/
|
|
182
|
+
functionExists(functionName: string): Promise<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* Create a function URL for the Lambda function
|
|
185
|
+
*/
|
|
186
|
+
createFunctionUrl(params: {
|
|
187
|
+
FunctionName: string;
|
|
188
|
+
AuthType: 'NONE' | 'AWS_IAM';
|
|
189
|
+
Cors?: {
|
|
190
|
+
AllowOrigins?: string[];
|
|
191
|
+
AllowMethods?: string[];
|
|
192
|
+
AllowHeaders?: string[];
|
|
193
|
+
ExposeHeaders?: string[];
|
|
194
|
+
MaxAge?: number;
|
|
195
|
+
AllowCredentials?: boolean;
|
|
196
|
+
};
|
|
197
|
+
InvokeMode?: 'BUFFERED' | 'RESPONSE_STREAM';
|
|
198
|
+
}): Promise<{
|
|
199
|
+
FunctionUrl?: string;
|
|
200
|
+
FunctionArn?: string;
|
|
201
|
+
AuthType?: string;
|
|
202
|
+
CreationTime?: string;
|
|
203
|
+
}>;
|
|
204
|
+
/**
|
|
205
|
+
* Get function URL configuration
|
|
206
|
+
*/
|
|
207
|
+
getFunctionUrl(functionName: string): Promise<{
|
|
208
|
+
FunctionUrl?: string;
|
|
209
|
+
FunctionArn?: string;
|
|
210
|
+
AuthType?: string;
|
|
211
|
+
Cors?: {
|
|
212
|
+
AllowOrigins?: string[];
|
|
213
|
+
AllowMethods?: string[];
|
|
214
|
+
AllowHeaders?: string[];
|
|
215
|
+
};
|
|
216
|
+
CreationTime?: string;
|
|
217
|
+
} | null>;
|
|
218
|
+
/**
|
|
219
|
+
* Delete function URL configuration
|
|
220
|
+
*/
|
|
221
|
+
deleteFunctionUrl(functionName: string): Promise<void>;
|
|
222
|
+
/**
|
|
223
|
+
* Create function with inline code (convenience method)
|
|
224
|
+
*/
|
|
225
|
+
createFunctionWithCode(params: {
|
|
226
|
+
FunctionName: string;
|
|
227
|
+
Runtime: 'nodejs18.x' | 'nodejs20.x' | 'python3.11' | 'python3.12' | string;
|
|
228
|
+
Role: string;
|
|
229
|
+
Handler: string;
|
|
230
|
+
Code: string;
|
|
231
|
+
Filename?: string;
|
|
232
|
+
Description?: string;
|
|
233
|
+
Timeout?: number;
|
|
234
|
+
MemorySize?: number;
|
|
235
|
+
Environment?: {
|
|
236
|
+
Variables: Record<string, string>;
|
|
237
|
+
};
|
|
238
|
+
}): Promise<LambdaFunctionConfiguration>;
|
|
239
|
+
/**
|
|
240
|
+
* Add permission for Function URL public access
|
|
241
|
+
*/
|
|
242
|
+
addFunctionUrlPermission(functionName: string): Promise<{
|
|
243
|
+
Statement?: string;
|
|
244
|
+
}>;
|
|
245
|
+
/**
|
|
246
|
+
* Publish a new Lambda layer version
|
|
247
|
+
*/
|
|
248
|
+
publishLayerVersion(params: {
|
|
249
|
+
LayerName: string;
|
|
250
|
+
Description?: string;
|
|
251
|
+
Content: {
|
|
252
|
+
S3Bucket?: string;
|
|
253
|
+
S3Key?: string;
|
|
254
|
+
ZipFile?: string;
|
|
255
|
+
};
|
|
256
|
+
CompatibleRuntimes?: string[];
|
|
257
|
+
CompatibleArchitectures?: ('x86_64' | 'arm64')[];
|
|
258
|
+
LicenseInfo?: string;
|
|
259
|
+
}): Promise<{
|
|
260
|
+
LayerArn?: string;
|
|
261
|
+
LayerVersionArn?: string;
|
|
262
|
+
Description?: string;
|
|
263
|
+
Version?: number;
|
|
264
|
+
CompatibleRuntimes?: string[];
|
|
265
|
+
CompatibleArchitectures?: string[];
|
|
266
|
+
}>;
|
|
267
|
+
/**
|
|
268
|
+
* List layer versions
|
|
269
|
+
*/
|
|
270
|
+
listLayerVersions(layerName: string, params?: {
|
|
271
|
+
CompatibleRuntime?: string;
|
|
272
|
+
CompatibleArchitecture?: 'x86_64' | 'arm64';
|
|
273
|
+
MaxItems?: number;
|
|
274
|
+
Marker?: string;
|
|
275
|
+
}): Promise<{
|
|
276
|
+
LayerVersions?: Array<{
|
|
277
|
+
LayerVersionArn?: string;
|
|
278
|
+
Version?: number;
|
|
279
|
+
Description?: string;
|
|
280
|
+
CompatibleRuntimes?: string[];
|
|
281
|
+
CompatibleArchitectures?: string[];
|
|
282
|
+
}>;
|
|
283
|
+
NextMarker?: string;
|
|
284
|
+
}>;
|
|
285
|
+
/**
|
|
286
|
+
* Get layer version details
|
|
287
|
+
*/
|
|
288
|
+
getLayerVersion(layerName: string, versionNumber: number): Promise<{
|
|
289
|
+
LayerArn?: string;
|
|
290
|
+
LayerVersionArn?: string;
|
|
291
|
+
Description?: string;
|
|
292
|
+
Version?: number;
|
|
293
|
+
CompatibleRuntimes?: string[];
|
|
294
|
+
CompatibleArchitectures?: string[];
|
|
295
|
+
Content?: {
|
|
296
|
+
Location?: string;
|
|
297
|
+
CodeSha256?: string;
|
|
298
|
+
CodeSize?: number;
|
|
299
|
+
};
|
|
300
|
+
}>;
|
|
301
|
+
/**
|
|
302
|
+
* Add permission to a layer version (e.g., make it public)
|
|
303
|
+
*/
|
|
304
|
+
addLayerVersionPermission(params: {
|
|
305
|
+
LayerName: string;
|
|
306
|
+
VersionNumber: number;
|
|
307
|
+
StatementId: string;
|
|
308
|
+
Action: string;
|
|
309
|
+
Principal: string;
|
|
310
|
+
OrganizationId?: string;
|
|
311
|
+
}): Promise<{
|
|
312
|
+
Statement?: string;
|
|
313
|
+
RevisionId?: string;
|
|
314
|
+
}>;
|
|
315
|
+
/**
|
|
316
|
+
* Delete a layer version
|
|
317
|
+
*/
|
|
318
|
+
deleteLayerVersion(layerName: string, versionNumber: number): Promise<void>;
|
|
319
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AWS OpenSearch Service Client
|
|
3
|
+
* Direct API calls for OpenSearch operations
|
|
4
|
+
*/
|
|
5
|
+
export interface DomainStatus {
|
|
6
|
+
DomainId: string;
|
|
7
|
+
DomainName: string;
|
|
8
|
+
ARN: string;
|
|
9
|
+
Created: boolean;
|
|
10
|
+
Deleted: boolean;
|
|
11
|
+
Endpoint?: string;
|
|
12
|
+
Endpoints?: Record<string, string>;
|
|
13
|
+
Processing: boolean;
|
|
14
|
+
EngineVersion: string;
|
|
15
|
+
ClusterConfig: {
|
|
16
|
+
InstanceType: string;
|
|
17
|
+
InstanceCount: number;
|
|
18
|
+
DedicatedMasterEnabled: boolean;
|
|
19
|
+
ZoneAwarenessEnabled: boolean;
|
|
20
|
+
DedicatedMasterType?: string;
|
|
21
|
+
DedicatedMasterCount?: number;
|
|
22
|
+
};
|
|
23
|
+
EBSOptions?: {
|
|
24
|
+
EBSEnabled: boolean;
|
|
25
|
+
VolumeType?: string;
|
|
26
|
+
VolumeSize?: number;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* OpenSearch client for direct API calls
|
|
31
|
+
*/
|
|
32
|
+
export declare class OpenSearchClient {
|
|
33
|
+
private client;
|
|
34
|
+
private region;
|
|
35
|
+
constructor(region?: string);
|
|
36
|
+
/**
|
|
37
|
+
* Create an OpenSearch domain
|
|
38
|
+
*/
|
|
39
|
+
createDomain(params: {
|
|
40
|
+
DomainName: string;
|
|
41
|
+
EngineVersion?: string;
|
|
42
|
+
ClusterConfig?: {
|
|
43
|
+
InstanceType?: string;
|
|
44
|
+
InstanceCount?: number;
|
|
45
|
+
DedicatedMasterEnabled?: boolean;
|
|
46
|
+
DedicatedMasterType?: string;
|
|
47
|
+
DedicatedMasterCount?: number;
|
|
48
|
+
ZoneAwarenessEnabled?: boolean;
|
|
49
|
+
};
|
|
50
|
+
EBSOptions?: {
|
|
51
|
+
EBSEnabled: boolean;
|
|
52
|
+
VolumeType?: string;
|
|
53
|
+
VolumeSize?: number;
|
|
54
|
+
};
|
|
55
|
+
AccessPolicies?: string;
|
|
56
|
+
EncryptionAtRestOptions?: {
|
|
57
|
+
Enabled: boolean;
|
|
58
|
+
KmsKeyId?: string;
|
|
59
|
+
};
|
|
60
|
+
NodeToNodeEncryptionOptions?: {
|
|
61
|
+
Enabled: boolean;
|
|
62
|
+
};
|
|
63
|
+
AdvancedSecurityOptions?: {
|
|
64
|
+
Enabled: boolean;
|
|
65
|
+
InternalUserDatabaseEnabled?: boolean;
|
|
66
|
+
MasterUserOptions?: {
|
|
67
|
+
MasterUserName?: string;
|
|
68
|
+
MasterUserPassword?: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
DomainEndpointOptions?: {
|
|
72
|
+
EnforceHTTPS?: boolean;
|
|
73
|
+
TLSSecurityPolicy?: string;
|
|
74
|
+
};
|
|
75
|
+
Tags?: Array<{
|
|
76
|
+
Key: string;
|
|
77
|
+
Value: string;
|
|
78
|
+
}>;
|
|
79
|
+
}): Promise<{
|
|
80
|
+
DomainStatus: DomainStatus;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* Delete an OpenSearch domain
|
|
84
|
+
*/
|
|
85
|
+
deleteDomain(domainName: string): Promise<{
|
|
86
|
+
DomainStatus: DomainStatus;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* Describe an OpenSearch domain
|
|
90
|
+
*/
|
|
91
|
+
describeDomain(domainName: string): Promise<{
|
|
92
|
+
DomainStatus: DomainStatus;
|
|
93
|
+
}>;
|
|
94
|
+
/**
|
|
95
|
+
* List all OpenSearch domains
|
|
96
|
+
*/
|
|
97
|
+
listDomainNames(): Promise<{
|
|
98
|
+
DomainNames: Array<{
|
|
99
|
+
DomainName: string;
|
|
100
|
+
EngineType: string;
|
|
101
|
+
}>;
|
|
102
|
+
}>;
|
|
103
|
+
/**
|
|
104
|
+
* Update domain config
|
|
105
|
+
*/
|
|
106
|
+
updateDomainConfig(params: {
|
|
107
|
+
DomainName: string;
|
|
108
|
+
ClusterConfig?: {
|
|
109
|
+
InstanceType?: string;
|
|
110
|
+
InstanceCount?: number;
|
|
111
|
+
};
|
|
112
|
+
EBSOptions?: {
|
|
113
|
+
EBSEnabled: boolean;
|
|
114
|
+
VolumeType?: string;
|
|
115
|
+
VolumeSize?: number;
|
|
116
|
+
};
|
|
117
|
+
AccessPolicies?: string;
|
|
118
|
+
}): Promise<{
|
|
119
|
+
DomainConfig: any;
|
|
120
|
+
}>;
|
|
121
|
+
}
|