@stacksjs/ts-cloud 0.1.11 → 0.1.14
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/README.md +41 -379
- package/dist/bin/cli.js +1039 -416
- package/dist/index.d.ts +34 -1
- package/dist/index.js +76467 -7133
- package/package.json +6 -6
- package/dist/aws/acm.d.ts +0 -129
- package/dist/aws/application-autoscaling.d.ts +0 -282
- package/dist/aws/bedrock.d.ts +0 -2292
- package/dist/aws/client.d.ts +0 -79
- package/dist/aws/cloudformation.d.ts +0 -105
- package/dist/aws/cloudfront.d.ts +0 -265
- package/dist/aws/cloudwatch-logs.d.ts +0 -48
- package/dist/aws/comprehend.d.ts +0 -505
- package/dist/aws/connect.d.ts +0 -377
- package/dist/aws/deploy-imap.d.ts +0 -14
- package/dist/aws/dynamodb.d.ts +0 -176
- package/dist/aws/ec2.d.ts +0 -272
- package/dist/aws/ecr.d.ts +0 -149
- package/dist/aws/ecs.d.ts +0 -162
- package/dist/aws/elasticache.d.ts +0 -71
- package/dist/aws/elbv2.d.ts +0 -248
- package/dist/aws/email.d.ts +0 -175
- package/dist/aws/eventbridge.d.ts +0 -142
- package/dist/aws/iam.d.ts +0 -638
- package/dist/aws/imap-server.d.ts +0 -119
- package/dist/aws/index.d.ts +0 -192
- package/dist/aws/kendra.d.ts +0 -782
- package/dist/aws/lambda.d.ts +0 -232
- package/dist/aws/opensearch.d.ts +0 -87
- package/dist/aws/personalize.d.ts +0 -516
- package/dist/aws/polly.d.ts +0 -214
- package/dist/aws/rds.d.ts +0 -240
- package/dist/aws/rekognition.d.ts +0 -543
- package/dist/aws/route53-domains.d.ts +0 -113
- package/dist/aws/route53.d.ts +0 -215
- package/dist/aws/s3.d.ts +0 -212
- package/dist/aws/scheduler.d.ts +0 -140
- package/dist/aws/secrets-manager.d.ts +0 -170
- package/dist/aws/ses.d.ts +0 -288
- package/dist/aws/setup-phone.d.ts +0 -0
- package/dist/aws/setup-sms.d.ts +0 -116
- package/dist/aws/sms.d.ts +0 -304
- package/dist/aws/smtp-server.d.ts +0 -61
- package/dist/aws/sns.d.ts +0 -117
- package/dist/aws/sqs.d.ts +0 -65
- package/dist/aws/ssm.d.ts +0 -179
- package/dist/aws/sts.d.ts +0 -15
- package/dist/aws/support.d.ts +0 -104
- package/dist/aws/test-imap.d.ts +0 -0
- package/dist/aws/textract.d.ts +0 -403
- package/dist/aws/transcribe.d.ts +0 -60
- package/dist/aws/translate.d.ts +0 -358
- package/dist/aws/voice.d.ts +0 -219
- package/dist/config.d.ts +0 -7
- package/dist/deploy/index.d.ts +0 -2
- package/dist/deploy/static-site-external-dns.d.ts +0 -51
- package/dist/deploy/static-site.d.ts +0 -71
- package/dist/dns/cloudflare.d.ts +0 -52
- package/dist/dns/godaddy.d.ts +0 -38
- package/dist/dns/index.d.ts +0 -45
- package/dist/dns/porkbun.d.ts +0 -18
- package/dist/dns/route53-adapter.d.ts +0 -38
- package/dist/dns/types.d.ts +0 -77
- package/dist/dns/validator.d.ts +0 -78
- package/dist/generators/index.d.ts +0 -1
- package/dist/generators/infrastructure.d.ts +0 -30
- package/dist/push/apns.d.ts +0 -60
- package/dist/push/fcm.d.ts +0 -117
- package/dist/push/index.d.ts +0 -14
- package/dist/security/pre-deploy-scanner.d.ts +0 -69
- package/dist/ssl/acme-client.d.ts +0 -67
- package/dist/ssl/index.d.ts +0 -2
- package/dist/ssl/letsencrypt.d.ts +0 -48
- package/dist/types.d.ts +0 -1
- package/dist/utils/cli.d.ts +0 -123
- package/dist/validation/index.d.ts +0 -1
- package/dist/validation/template.d.ts +0 -23
package/dist/aws/polly.d.ts
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { AWSClient } from './client';
|
|
2
|
-
/**
|
|
3
|
-
* Quick text to speech
|
|
4
|
-
*/
|
|
5
|
-
export declare function textToSpeech(text: string, options?: {
|
|
6
|
-
voiceId?: VoiceId
|
|
7
|
-
engine?: Engine
|
|
8
|
-
region?: string
|
|
9
|
-
}): Promise<Uint8Array>;
|
|
10
|
-
/**
|
|
11
|
-
* List available voices
|
|
12
|
-
*/
|
|
13
|
-
export declare function listVoices(options?: {
|
|
14
|
-
languageCode?: LanguageCode
|
|
15
|
-
engine?: Engine
|
|
16
|
-
region?: string
|
|
17
|
-
}): Promise<Voice[]>;
|
|
18
|
-
/**
|
|
19
|
-
* Create SSML with speech marks (pauses, emphasis, etc.)
|
|
20
|
-
*/
|
|
21
|
-
export declare function createSSML(text: string, options?: {
|
|
22
|
-
rate?: 'x-slow' | 'slow' | 'medium' | 'fast' | 'x-fast'
|
|
23
|
-
pitch?: 'x-low' | 'low' | 'medium' | 'high' | 'x-high'
|
|
24
|
-
volume?: 'silent' | 'x-soft' | 'soft' | 'medium' | 'loud' | 'x-loud'
|
|
25
|
-
}): string;
|
|
26
|
-
export declare interface Voice {
|
|
27
|
-
Gender?: 'Female' | 'Male'
|
|
28
|
-
Id?: VoiceId
|
|
29
|
-
LanguageCode?: LanguageCode
|
|
30
|
-
LanguageName?: string
|
|
31
|
-
Name?: string
|
|
32
|
-
AdditionalLanguageCodes?: LanguageCode[]
|
|
33
|
-
SupportedEngines?: Engine[]
|
|
34
|
-
}
|
|
35
|
-
export declare interface SynthesizeSpeechCommandInput {
|
|
36
|
-
Engine?: Engine
|
|
37
|
-
LanguageCode?: LanguageCode
|
|
38
|
-
LexiconNames?: string[]
|
|
39
|
-
OutputFormat: OutputFormat
|
|
40
|
-
SampleRate?: string
|
|
41
|
-
SpeechMarkTypes?: SpeechMarkType[]
|
|
42
|
-
Text: string
|
|
43
|
-
TextType?: TextType
|
|
44
|
-
VoiceId: VoiceId
|
|
45
|
-
}
|
|
46
|
-
export declare interface SynthesizeSpeechCommandOutput {
|
|
47
|
-
AudioStream?: Uint8Array
|
|
48
|
-
ContentType?: string
|
|
49
|
-
RequestCharacters?: number
|
|
50
|
-
}
|
|
51
|
-
export declare interface DescribeVoicesCommandInput {
|
|
52
|
-
Engine?: Engine
|
|
53
|
-
LanguageCode?: LanguageCode
|
|
54
|
-
IncludeAdditionalLanguageCodes?: boolean
|
|
55
|
-
NextToken?: string
|
|
56
|
-
}
|
|
57
|
-
export declare interface DescribeVoicesCommandOutput {
|
|
58
|
-
Voices?: Voice[]
|
|
59
|
-
NextToken?: string
|
|
60
|
-
}
|
|
61
|
-
export declare interface StartSpeechSynthesisTaskCommandInput {
|
|
62
|
-
Engine?: Engine
|
|
63
|
-
LanguageCode?: LanguageCode
|
|
64
|
-
LexiconNames?: string[]
|
|
65
|
-
OutputFormat: OutputFormat
|
|
66
|
-
OutputS3BucketName: string
|
|
67
|
-
OutputS3KeyPrefix?: string
|
|
68
|
-
SampleRate?: string
|
|
69
|
-
SnsTopicArn?: string
|
|
70
|
-
SpeechMarkTypes?: SpeechMarkType[]
|
|
71
|
-
Text: string
|
|
72
|
-
TextType?: TextType
|
|
73
|
-
VoiceId: VoiceId
|
|
74
|
-
}
|
|
75
|
-
export declare interface SynthesisTask {
|
|
76
|
-
Engine?: Engine
|
|
77
|
-
TaskId?: string
|
|
78
|
-
TaskStatus?: 'scheduled' | 'inProgress' | 'completed' | 'failed'
|
|
79
|
-
TaskStatusReason?: string
|
|
80
|
-
OutputUri?: string
|
|
81
|
-
CreationTime?: string
|
|
82
|
-
RequestCharacters?: number
|
|
83
|
-
SnsTopicArn?: string
|
|
84
|
-
LexiconNames?: string[]
|
|
85
|
-
OutputFormat?: OutputFormat
|
|
86
|
-
SampleRate?: string
|
|
87
|
-
SpeechMarkTypes?: SpeechMarkType[]
|
|
88
|
-
TextType?: TextType
|
|
89
|
-
VoiceId?: VoiceId
|
|
90
|
-
LanguageCode?: LanguageCode
|
|
91
|
-
}
|
|
92
|
-
export declare interface StartSpeechSynthesisTaskCommandOutput {
|
|
93
|
-
SynthesisTask?: SynthesisTask
|
|
94
|
-
}
|
|
95
|
-
export declare interface GetSpeechSynthesisTaskCommandInput {
|
|
96
|
-
TaskId: string
|
|
97
|
-
}
|
|
98
|
-
export declare interface GetSpeechSynthesisTaskCommandOutput {
|
|
99
|
-
SynthesisTask?: SynthesisTask
|
|
100
|
-
}
|
|
101
|
-
export declare interface ListSpeechSynthesisTasksCommandInput {
|
|
102
|
-
MaxResults?: number
|
|
103
|
-
NextToken?: string
|
|
104
|
-
Status?: 'scheduled' | 'inProgress' | 'completed' | 'failed'
|
|
105
|
-
}
|
|
106
|
-
export declare interface ListSpeechSynthesisTasksCommandOutput {
|
|
107
|
-
NextToken?: string
|
|
108
|
-
SynthesisTasks?: SynthesisTask[]
|
|
109
|
-
}
|
|
110
|
-
export declare interface PutLexiconCommandInput {
|
|
111
|
-
Name: string
|
|
112
|
-
Content: string
|
|
113
|
-
}
|
|
114
|
-
export declare interface PutLexiconCommandOutput {
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
export declare interface GetLexiconCommandInput {
|
|
118
|
-
Name: string
|
|
119
|
-
}
|
|
120
|
-
export declare interface Lexicon {
|
|
121
|
-
Content?: string
|
|
122
|
-
Name?: string
|
|
123
|
-
}
|
|
124
|
-
export declare interface LexiconAttributes {
|
|
125
|
-
Alphabet?: string
|
|
126
|
-
LanguageCode?: LanguageCode
|
|
127
|
-
LastModified?: string
|
|
128
|
-
LexemesCount?: number
|
|
129
|
-
LexiconArn?: string
|
|
130
|
-
Size?: number
|
|
131
|
-
}
|
|
132
|
-
export declare interface GetLexiconCommandOutput {
|
|
133
|
-
Lexicon?: Lexicon
|
|
134
|
-
LexiconAttributes?: LexiconAttributes
|
|
135
|
-
}
|
|
136
|
-
export declare interface DeleteLexiconCommandInput {
|
|
137
|
-
Name: string
|
|
138
|
-
}
|
|
139
|
-
export declare interface DeleteLexiconCommandOutput {
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
export declare interface ListLexiconsCommandInput {
|
|
143
|
-
NextToken?: string
|
|
144
|
-
}
|
|
145
|
-
export declare interface ListLexiconsCommandOutput {
|
|
146
|
-
Lexicons?: Array<{
|
|
147
|
-
Name?: string
|
|
148
|
-
Attributes?: LexiconAttributes
|
|
149
|
-
}>
|
|
150
|
-
NextToken?: string
|
|
151
|
-
}
|
|
152
|
-
// ============================================================================
|
|
153
|
-
// Types
|
|
154
|
-
// ============================================================================
|
|
155
|
-
export type VoiceId = | 'Aditi' | 'Amy' | 'Aria' | 'Arlet' | 'Arthur' | 'Astrid'
|
|
156
|
-
| 'Ayanda' | 'Bianca' | 'Brian' | 'Camila' | 'Carla' | 'Carmen'
|
|
157
|
-
| 'Celine' | 'Chantal' | 'Conchita' | 'Cristiano' | 'Daniel' | 'Dora'
|
|
158
|
-
| 'Elin' | 'Emma' | 'Enrique' | 'Ewa' | 'Filiz' | 'Gabrielle'
|
|
159
|
-
| 'Geraint' | 'Giorgio' | 'Gwyneth' | 'Hala' | 'Hannah' | 'Hans'
|
|
160
|
-
| 'Hiujin' | 'Ida' | 'Ines' | 'Ivy' | 'Jacek' | 'Jan'
|
|
161
|
-
| 'Joanna' | 'Joey' | 'Justin' | 'Kajal' | 'Karl' | 'Kazuha'
|
|
162
|
-
| 'Kendra' | 'Kevin' | 'Kimberly' | 'Laura' | 'Lea' | 'Liam'
|
|
163
|
-
| 'Lisa' | 'Liv' | 'Lotte' | 'Lucia' | 'Lupe' | 'Mads'
|
|
164
|
-
| 'Maja' | 'Marlene' | 'Mathieu' | 'Matthew' | 'Maxim' | 'Mia'
|
|
165
|
-
| 'Miguel' | 'Mizuki' | 'Naja' | 'Niamh' | 'Nicole' | 'Ola'
|
|
166
|
-
| 'Olivia' | 'Pedro' | 'Penelope' | 'Raveena' | 'Remi' | 'Ricardo'
|
|
167
|
-
| 'Ruben' | 'Russell' | 'Ruth' | 'Salli' | 'Seoyeon' | 'Sergio'
|
|
168
|
-
| 'Sofie' | 'Stephen' | 'Suvi' | 'Takumi' | 'Tatyana' | 'Thiago'
|
|
169
|
-
| 'Tomoko' | 'Vicki' | 'Vitoria' | 'Zayd' | 'Zeina' | 'Zhiyu'
|
|
170
|
-
export type LanguageCode = | 'arb' | 'ca-ES' | 'cmn-CN' | 'cy-GB' | 'da-DK' | 'de-AT' | 'de-DE'
|
|
171
|
-
| 'en-AU' | 'en-GB' | 'en-GB-WLS' | 'en-IE' | 'en-IN' | 'en-NZ' | 'en-US' | 'en-ZA'
|
|
172
|
-
| 'es-ES' | 'es-MX' | 'es-US' | 'fi-FI' | 'fr-BE' | 'fr-CA' | 'fr-FR'
|
|
173
|
-
| 'hi-IN' | 'is-IS' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'nb-NO' | 'nl-BE' | 'nl-NL'
|
|
174
|
-
| 'pl-PL' | 'pt-BR' | 'pt-PT' | 'ro-RO' | 'ru-RU' | 'sv-SE' | 'tr-TR' | 'yue-CN'
|
|
175
|
-
export type Engine = 'standard' | 'neural' | 'long-form' | 'generative'
|
|
176
|
-
export type OutputFormat = 'json' | 'mp3' | 'ogg_vorbis' | 'pcm'
|
|
177
|
-
export type TextType = 'ssml' | 'text'
|
|
178
|
-
export type SpeechMarkType = 'sentence' | 'ssml' | 'viseme' | 'word'
|
|
179
|
-
// ============================================================================
|
|
180
|
-
// Polly Client
|
|
181
|
-
// ============================================================================
|
|
182
|
-
export declare class PollyClient {
|
|
183
|
-
private client: AWSClient;
|
|
184
|
-
private region: string;
|
|
185
|
-
constructor(region?: string);
|
|
186
|
-
synthesizeSpeech(params: SynthesizeSpeechCommandInput): Promise<SynthesizeSpeechCommandOutput>;
|
|
187
|
-
startSpeechSynthesisTask(params: StartSpeechSynthesisTaskCommandInput): Promise<StartSpeechSynthesisTaskCommandOutput>;
|
|
188
|
-
getSpeechSynthesisTask(params: GetSpeechSynthesisTaskCommandInput): Promise<GetSpeechSynthesisTaskCommandOutput>;
|
|
189
|
-
listSpeechSynthesisTasks(params?: ListSpeechSynthesisTasksCommandInput): Promise<ListSpeechSynthesisTasksCommandOutput>;
|
|
190
|
-
describeVoices(params?: DescribeVoicesCommandInput): Promise<DescribeVoicesCommandOutput>;
|
|
191
|
-
putLexicon(params: PutLexiconCommandInput): Promise<PutLexiconCommandOutput>;
|
|
192
|
-
getLexicon(params: GetLexiconCommandInput): Promise<GetLexiconCommandOutput>;
|
|
193
|
-
deleteLexicon(params: DeleteLexiconCommandInput): Promise<DeleteLexiconCommandOutput>;
|
|
194
|
-
listLexicons(params?: ListLexiconsCommandInput): Promise<ListLexiconsCommandOutput>;
|
|
195
|
-
textToSpeech(text: string, options?: {
|
|
196
|
-
voiceId?: VoiceId
|
|
197
|
-
engine?: Engine
|
|
198
|
-
languageCode?: LanguageCode
|
|
199
|
-
}): Promise<Uint8Array>;
|
|
200
|
-
ssmlToSpeech(ssml: string, options?: {
|
|
201
|
-
voiceId?: VoiceId
|
|
202
|
-
engine?: Engine
|
|
203
|
-
languageCode?: LanguageCode
|
|
204
|
-
}): Promise<Uint8Array>;
|
|
205
|
-
saveToS3(text: string, bucket: string, keyPrefix: string, options?: {
|
|
206
|
-
voiceId?: VoiceId
|
|
207
|
-
engine?: Engine
|
|
208
|
-
languageCode?: LanguageCode
|
|
209
|
-
textType?: TextType
|
|
210
|
-
}): Promise<{ taskId: string; outputUri: string }>;
|
|
211
|
-
listVoicesForLanguage(languageCode: LanguageCode): Promise<Voice[]>;
|
|
212
|
-
listNeuralVoices(): Promise<Voice[]>;
|
|
213
|
-
waitForTask(taskId: string, options?: { maxWaitMs?: number; pollIntervalMs?: number }): Promise<SynthesisTask>;
|
|
214
|
-
}
|
package/dist/aws/rds.d.ts
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
import { AWSClient } from './client';
|
|
2
|
-
export declare interface DBInstance {
|
|
3
|
-
DBInstanceIdentifier?: string
|
|
4
|
-
DBInstanceClass?: string
|
|
5
|
-
Engine?: string
|
|
6
|
-
EngineVersion?: string
|
|
7
|
-
DBInstanceStatus?: string
|
|
8
|
-
MasterUsername?: string
|
|
9
|
-
DBName?: string
|
|
10
|
-
Endpoint?: {
|
|
11
|
-
Address?: string
|
|
12
|
-
Port?: number
|
|
13
|
-
HostedZoneId?: string
|
|
14
|
-
}
|
|
15
|
-
AllocatedStorage?: number
|
|
16
|
-
InstanceCreateTime?: string
|
|
17
|
-
PreferredBackupWindow?: string
|
|
18
|
-
BackupRetentionPeriod?: number
|
|
19
|
-
DBSecurityGroups?: Array<{
|
|
20
|
-
DBSecurityGroupName?: string
|
|
21
|
-
Status?: string
|
|
22
|
-
}>
|
|
23
|
-
VpcSecurityGroups?: Array<{
|
|
24
|
-
VpcSecurityGroupId?: string
|
|
25
|
-
Status?: string
|
|
26
|
-
}>
|
|
27
|
-
DBParameterGroups?: Array<{
|
|
28
|
-
DBParameterGroupName?: string
|
|
29
|
-
ParameterApplyStatus?: string
|
|
30
|
-
}>
|
|
31
|
-
AvailabilityZone?: string
|
|
32
|
-
DBSubnetGroup?: {
|
|
33
|
-
DBSubnetGroupName?: string
|
|
34
|
-
DBSubnetGroupDescription?: string
|
|
35
|
-
VpcId?: string
|
|
36
|
-
SubnetGroupStatus?: string
|
|
37
|
-
Subnets?: Array<{
|
|
38
|
-
SubnetIdentifier?: string
|
|
39
|
-
SubnetAvailabilityZone?: { Name?: string }
|
|
40
|
-
SubnetStatus?: string
|
|
41
|
-
}>
|
|
42
|
-
}
|
|
43
|
-
PreferredMaintenanceWindow?: string
|
|
44
|
-
PendingModifiedValues?: Record<string, any>
|
|
45
|
-
MultiAZ?: boolean
|
|
46
|
-
AutoMinorVersionUpgrade?: boolean
|
|
47
|
-
ReadReplicaSourceDBInstanceIdentifier?: string
|
|
48
|
-
ReadReplicaDBInstanceIdentifiers?: string[]
|
|
49
|
-
LicenseModel?: string
|
|
50
|
-
OptionGroupMemberships?: Array<{
|
|
51
|
-
OptionGroupName?: string
|
|
52
|
-
Status?: string
|
|
53
|
-
}>
|
|
54
|
-
PubliclyAccessible?: boolean
|
|
55
|
-
StorageType?: string
|
|
56
|
-
StorageEncrypted?: boolean
|
|
57
|
-
KmsKeyId?: string
|
|
58
|
-
DbiResourceId?: string
|
|
59
|
-
CACertificateIdentifier?: string
|
|
60
|
-
DeletionProtection?: boolean
|
|
61
|
-
TagList?: Array<{ Key?: string; Value?: string }>
|
|
62
|
-
}
|
|
63
|
-
export declare interface DBCluster {
|
|
64
|
-
DBClusterIdentifier?: string
|
|
65
|
-
DBClusterArn?: string
|
|
66
|
-
Status?: string
|
|
67
|
-
Engine?: string
|
|
68
|
-
EngineVersion?: string
|
|
69
|
-
Endpoint?: string
|
|
70
|
-
ReaderEndpoint?: string
|
|
71
|
-
Port?: number
|
|
72
|
-
MasterUsername?: string
|
|
73
|
-
DatabaseName?: string
|
|
74
|
-
PreferredBackupWindow?: string
|
|
75
|
-
PreferredMaintenanceWindow?: string
|
|
76
|
-
MultiAZ?: boolean
|
|
77
|
-
EngineMode?: string
|
|
78
|
-
DBClusterMembers?: Array<{
|
|
79
|
-
DBInstanceIdentifier?: string
|
|
80
|
-
IsClusterWriter?: boolean
|
|
81
|
-
DBClusterParameterGroupStatus?: string
|
|
82
|
-
}>
|
|
83
|
-
VpcSecurityGroups?: Array<{
|
|
84
|
-
VpcSecurityGroupId?: string
|
|
85
|
-
Status?: string
|
|
86
|
-
}>
|
|
87
|
-
HostedZoneId?: string
|
|
88
|
-
StorageEncrypted?: boolean
|
|
89
|
-
KmsKeyId?: string
|
|
90
|
-
DeletionProtection?: boolean
|
|
91
|
-
TagList?: Array<{ Key?: string; Value?: string }>
|
|
92
|
-
}
|
|
93
|
-
export declare interface DBSnapshot {
|
|
94
|
-
DBSnapshotIdentifier?: string
|
|
95
|
-
DBInstanceIdentifier?: string
|
|
96
|
-
SnapshotCreateTime?: string
|
|
97
|
-
Engine?: string
|
|
98
|
-
AllocatedStorage?: number
|
|
99
|
-
Status?: string
|
|
100
|
-
Port?: number
|
|
101
|
-
AvailabilityZone?: string
|
|
102
|
-
VpcId?: string
|
|
103
|
-
InstanceCreateTime?: string
|
|
104
|
-
MasterUsername?: string
|
|
105
|
-
EngineVersion?: string
|
|
106
|
-
LicenseModel?: string
|
|
107
|
-
SnapshotType?: string
|
|
108
|
-
OptionGroupName?: string
|
|
109
|
-
PercentProgress?: number
|
|
110
|
-
SourceRegion?: string
|
|
111
|
-
StorageType?: string
|
|
112
|
-
Encrypted?: boolean
|
|
113
|
-
KmsKeyId?: string
|
|
114
|
-
DBSnapshotArn?: string
|
|
115
|
-
}
|
|
116
|
-
export declare interface DBSubnetGroup {
|
|
117
|
-
DBSubnetGroupName?: string
|
|
118
|
-
DBSubnetGroupDescription?: string
|
|
119
|
-
VpcId?: string
|
|
120
|
-
SubnetGroupStatus?: string
|
|
121
|
-
Subnets?: Array<{
|
|
122
|
-
SubnetIdentifier?: string
|
|
123
|
-
SubnetAvailabilityZone?: { Name?: string }
|
|
124
|
-
SubnetStatus?: string
|
|
125
|
-
}>
|
|
126
|
-
DBSubnetGroupArn?: string
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* RDS service management using direct API calls
|
|
130
|
-
*/
|
|
131
|
-
export declare class RDSClient {
|
|
132
|
-
private client: AWSClient;
|
|
133
|
-
private region: string;
|
|
134
|
-
constructor(region?: string);
|
|
135
|
-
describeDBInstances(options?: {
|
|
136
|
-
DBInstanceIdentifier?: string
|
|
137
|
-
Filters?: Array<{ Name: string; Values: string[] }>
|
|
138
|
-
MaxRecords?: number
|
|
139
|
-
Marker?: string
|
|
140
|
-
}): Promise<{ DBInstances?: DBInstance[]; Marker?: string }>;
|
|
141
|
-
describeDBInstance(dbInstanceIdentifier: string): Promise<DBInstance | undefined>;
|
|
142
|
-
describeDBClusters(options?: {
|
|
143
|
-
DBClusterIdentifier?: string
|
|
144
|
-
Filters?: Array<{ Name: string; Values: string[] }>
|
|
145
|
-
MaxRecords?: number
|
|
146
|
-
Marker?: string
|
|
147
|
-
}): Promise<{ DBClusters?: DBCluster[]; Marker?: string }>;
|
|
148
|
-
describeDBSnapshots(options?: {
|
|
149
|
-
DBInstanceIdentifier?: string
|
|
150
|
-
DBSnapshotIdentifier?: string
|
|
151
|
-
SnapshotType?: 'automated' | 'manual' | 'shared' | 'public' | 'awsbackup'
|
|
152
|
-
MaxRecords?: number
|
|
153
|
-
Marker?: string
|
|
154
|
-
}): Promise<{ DBSnapshots?: DBSnapshot[]; Marker?: string }>;
|
|
155
|
-
describeDBSubnetGroups(options?: {
|
|
156
|
-
DBSubnetGroupName?: string
|
|
157
|
-
MaxRecords?: number
|
|
158
|
-
Marker?: string
|
|
159
|
-
}): Promise<{ DBSubnetGroups?: DBSubnetGroup[]; Marker?: string }>;
|
|
160
|
-
createDBInstance(options: {
|
|
161
|
-
DBInstanceIdentifier: string
|
|
162
|
-
DBInstanceClass: string
|
|
163
|
-
Engine: string
|
|
164
|
-
MasterUsername?: string
|
|
165
|
-
MasterUserPassword?: string
|
|
166
|
-
DBName?: string
|
|
167
|
-
AllocatedStorage?: number
|
|
168
|
-
VpcSecurityGroupIds?: string[]
|
|
169
|
-
DBSubnetGroupName?: string
|
|
170
|
-
AvailabilityZone?: string
|
|
171
|
-
PreferredMaintenanceWindow?: string
|
|
172
|
-
PreferredBackupWindow?: string
|
|
173
|
-
BackupRetentionPeriod?: number
|
|
174
|
-
MultiAZ?: boolean
|
|
175
|
-
EngineVersion?: string
|
|
176
|
-
AutoMinorVersionUpgrade?: boolean
|
|
177
|
-
LicenseModel?: string
|
|
178
|
-
PubliclyAccessible?: boolean
|
|
179
|
-
StorageType?: 'gp2' | 'gp3' | 'io1' | 'standard'
|
|
180
|
-
StorageEncrypted?: boolean
|
|
181
|
-
KmsKeyId?: string
|
|
182
|
-
DeletionProtection?: boolean
|
|
183
|
-
Tags?: Array<{ Key: string; Value: string }>
|
|
184
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
185
|
-
deleteDBInstance(options: {
|
|
186
|
-
DBInstanceIdentifier: string
|
|
187
|
-
SkipFinalSnapshot?: boolean
|
|
188
|
-
FinalDBSnapshotIdentifier?: string
|
|
189
|
-
DeleteAutomatedBackups?: boolean
|
|
190
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
191
|
-
modifyDBInstance(options: {
|
|
192
|
-
DBInstanceIdentifier: string
|
|
193
|
-
DBInstanceClass?: string
|
|
194
|
-
AllocatedStorage?: number
|
|
195
|
-
MasterUserPassword?: string
|
|
196
|
-
BackupRetentionPeriod?: number
|
|
197
|
-
PreferredBackupWindow?: string
|
|
198
|
-
PreferredMaintenanceWindow?: string
|
|
199
|
-
MultiAZ?: boolean
|
|
200
|
-
EngineVersion?: string
|
|
201
|
-
AutoMinorVersionUpgrade?: boolean
|
|
202
|
-
PubliclyAccessible?: boolean
|
|
203
|
-
VpcSecurityGroupIds?: string[]
|
|
204
|
-
ApplyImmediately?: boolean
|
|
205
|
-
StorageType?: 'gp2' | 'gp3' | 'io1' | 'standard'
|
|
206
|
-
DeletionProtection?: boolean
|
|
207
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
208
|
-
startDBInstance(dbInstanceIdentifier: string): Promise<{ DBInstance?: DBInstance }>;
|
|
209
|
-
stopDBInstance(options: {
|
|
210
|
-
DBInstanceIdentifier: string
|
|
211
|
-
DBSnapshotIdentifier?: string
|
|
212
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
213
|
-
rebootDBInstance(options: {
|
|
214
|
-
DBInstanceIdentifier: string
|
|
215
|
-
ForceFailover?: boolean
|
|
216
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
217
|
-
createDBSnapshot(options: {
|
|
218
|
-
DBInstanceIdentifier: string
|
|
219
|
-
DBSnapshotIdentifier: string
|
|
220
|
-
Tags?: Array<{ Key: string; Value: string }>
|
|
221
|
-
}): Promise<{ DBSnapshot?: DBSnapshot }>;
|
|
222
|
-
deleteDBSnapshot(dbSnapshotIdentifier: string): Promise<{ DBSnapshot?: DBSnapshot }>;
|
|
223
|
-
restoreDBInstanceFromDBSnapshot(options: {
|
|
224
|
-
DBInstanceIdentifier: string
|
|
225
|
-
DBSnapshotIdentifier: string
|
|
226
|
-
DBInstanceClass?: string
|
|
227
|
-
Port?: number
|
|
228
|
-
AvailabilityZone?: string
|
|
229
|
-
DBSubnetGroupName?: string
|
|
230
|
-
MultiAZ?: boolean
|
|
231
|
-
PubliclyAccessible?: boolean
|
|
232
|
-
AutoMinorVersionUpgrade?: boolean
|
|
233
|
-
StorageType?: 'gp2' | 'gp3' | 'io1' | 'standard'
|
|
234
|
-
VpcSecurityGroupIds?: string[]
|
|
235
|
-
DeletionProtection?: boolean
|
|
236
|
-
Tags?: Array<{ Key: string; Value: string }>
|
|
237
|
-
}): Promise<{ DBInstance?: DBInstance }>;
|
|
238
|
-
waitForDBInstanceAvailable(dbInstanceIdentifier: string, maxAttempts?: any, delayMs?: any): Promise<DBInstance | undefined>;
|
|
239
|
-
waitForDBInstanceDeleted(dbInstanceIdentifier: string, maxAttempts?: any, delayMs?: any): Promise<void>;
|
|
240
|
-
}
|