@stacksjs/ts-cloud 0.1.3 → 0.1.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.
Files changed (187) hide show
  1. package/README.md +98 -13
  2. package/dist/aws/acm.d.ts +129 -0
  3. package/dist/aws/application-autoscaling.d.ts +282 -0
  4. package/dist/aws/bedrock.d.ts +2292 -0
  5. package/dist/aws/client.d.ts +79 -0
  6. package/dist/aws/cloudformation.d.ts +105 -0
  7. package/dist/aws/cloudfront.d.ts +265 -0
  8. package/dist/aws/cloudwatch-logs.d.ts +48 -0
  9. package/dist/aws/comprehend.d.ts +505 -0
  10. package/dist/aws/connect.d.ts +377 -0
  11. package/dist/aws/deploy-imap.d.ts +14 -0
  12. package/dist/aws/dynamodb.d.ts +176 -0
  13. package/dist/aws/ec2.d.ts +272 -0
  14. package/dist/aws/ecr.d.ts +149 -0
  15. package/dist/aws/ecs.d.ts +162 -0
  16. package/dist/aws/elasticache.d.ts +71 -0
  17. package/dist/aws/elbv2.d.ts +248 -0
  18. package/dist/aws/email.d.ts +175 -0
  19. package/dist/aws/eventbridge.d.ts +142 -0
  20. package/dist/aws/iam.d.ts +638 -0
  21. package/dist/aws/imap-server.d.ts +119 -0
  22. package/{src/aws/index.ts → dist/aws/index.d.ts} +62 -83
  23. package/{src/aws/kendra.ts → dist/aws/kendra.d.ts} +71 -386
  24. package/dist/aws/lambda.d.ts +232 -0
  25. package/dist/aws/opensearch.d.ts +87 -0
  26. package/dist/aws/personalize.d.ts +516 -0
  27. package/dist/aws/polly.d.ts +214 -0
  28. package/dist/aws/rds.d.ts +240 -0
  29. package/dist/aws/rekognition.d.ts +543 -0
  30. package/dist/aws/route53-domains.d.ts +113 -0
  31. package/dist/aws/route53.d.ts +215 -0
  32. package/dist/aws/s3.d.ts +212 -0
  33. package/dist/aws/scheduler.d.ts +140 -0
  34. package/dist/aws/secrets-manager.d.ts +170 -0
  35. package/dist/aws/ses.d.ts +288 -0
  36. package/dist/aws/setup-phone.d.ts +0 -0
  37. package/dist/aws/setup-sms.d.ts +115 -0
  38. package/dist/aws/sms.d.ts +304 -0
  39. package/dist/aws/smtp-server.d.ts +61 -0
  40. package/dist/aws/sns.d.ts +117 -0
  41. package/dist/aws/sqs.d.ts +65 -0
  42. package/dist/aws/ssm.d.ts +179 -0
  43. package/dist/aws/sts.d.ts +15 -0
  44. package/dist/aws/support.d.ts +104 -0
  45. package/dist/aws/test-imap.d.ts +0 -0
  46. package/dist/aws/textract.d.ts +403 -0
  47. package/dist/aws/transcribe.d.ts +60 -0
  48. package/dist/aws/translate.d.ts +358 -0
  49. package/dist/aws/voice.d.ts +219 -0
  50. package/dist/bin/cli.js +1724 -0
  51. package/dist/config.d.ts +7 -0
  52. package/dist/deploy/index.d.ts +2 -0
  53. package/dist/deploy/static-site-external-dns.d.ts +51 -0
  54. package/dist/deploy/static-site.d.ts +71 -0
  55. package/dist/dns/cloudflare.d.ts +52 -0
  56. package/dist/dns/godaddy.d.ts +38 -0
  57. package/dist/dns/index.d.ts +45 -0
  58. package/dist/dns/porkbun.d.ts +18 -0
  59. package/dist/dns/route53-adapter.d.ts +38 -0
  60. package/{src/dns/types.ts → dist/dns/types.d.ts} +26 -63
  61. package/dist/dns/validator.d.ts +78 -0
  62. package/dist/generators/index.d.ts +1 -0
  63. package/dist/generators/infrastructure.d.ts +30 -0
  64. package/{src/index.ts → dist/index.d.ts} +70 -93
  65. package/dist/index.js +7881 -0
  66. package/dist/push/apns.d.ts +60 -0
  67. package/dist/push/fcm.d.ts +117 -0
  68. package/dist/push/index.d.ts +14 -0
  69. package/dist/security/pre-deploy-scanner.d.ts +69 -0
  70. package/dist/ssl/acme-client.d.ts +67 -0
  71. package/dist/ssl/index.d.ts +2 -0
  72. package/dist/ssl/letsencrypt.d.ts +48 -0
  73. package/dist/types.d.ts +1 -0
  74. package/dist/utils/cli.d.ts +123 -0
  75. package/dist/validation/index.d.ts +1 -0
  76. package/dist/validation/template.d.ts +23 -0
  77. package/package.json +8 -8
  78. package/bin/cli.ts +0 -133
  79. package/bin/commands/analytics.ts +0 -328
  80. package/bin/commands/api.ts +0 -379
  81. package/bin/commands/assets.ts +0 -221
  82. package/bin/commands/audit.ts +0 -501
  83. package/bin/commands/backup.ts +0 -682
  84. package/bin/commands/cache.ts +0 -294
  85. package/bin/commands/cdn.ts +0 -281
  86. package/bin/commands/config.ts +0 -202
  87. package/bin/commands/container.ts +0 -105
  88. package/bin/commands/cost.ts +0 -208
  89. package/bin/commands/database.ts +0 -401
  90. package/bin/commands/deploy.ts +0 -674
  91. package/bin/commands/domain.ts +0 -397
  92. package/bin/commands/email.ts +0 -423
  93. package/bin/commands/environment.ts +0 -285
  94. package/bin/commands/events.ts +0 -424
  95. package/bin/commands/firewall.ts +0 -145
  96. package/bin/commands/function.ts +0 -116
  97. package/bin/commands/generate.ts +0 -280
  98. package/bin/commands/git.ts +0 -139
  99. package/bin/commands/iam.ts +0 -464
  100. package/bin/commands/index.ts +0 -48
  101. package/bin/commands/init.ts +0 -120
  102. package/bin/commands/logs.ts +0 -148
  103. package/bin/commands/network.ts +0 -579
  104. package/bin/commands/notify.ts +0 -489
  105. package/bin/commands/queue.ts +0 -407
  106. package/bin/commands/scheduler.ts +0 -370
  107. package/bin/commands/secrets.ts +0 -54
  108. package/bin/commands/server.ts +0 -629
  109. package/bin/commands/shared.ts +0 -97
  110. package/bin/commands/ssl.ts +0 -138
  111. package/bin/commands/stack.ts +0 -325
  112. package/bin/commands/status.ts +0 -385
  113. package/bin/commands/storage.ts +0 -450
  114. package/bin/commands/team.ts +0 -96
  115. package/bin/commands/tunnel.ts +0 -489
  116. package/bin/commands/utils.ts +0 -202
  117. package/build.ts +0 -15
  118. package/cloud +0 -2
  119. package/src/aws/acm.ts +0 -768
  120. package/src/aws/application-autoscaling.ts +0 -845
  121. package/src/aws/bedrock.ts +0 -4074
  122. package/src/aws/client.ts +0 -878
  123. package/src/aws/cloudformation.ts +0 -896
  124. package/src/aws/cloudfront.ts +0 -1531
  125. package/src/aws/cloudwatch-logs.ts +0 -154
  126. package/src/aws/comprehend.ts +0 -839
  127. package/src/aws/connect.ts +0 -1056
  128. package/src/aws/deploy-imap.ts +0 -384
  129. package/src/aws/dynamodb.ts +0 -340
  130. package/src/aws/ec2.ts +0 -1385
  131. package/src/aws/ecr.ts +0 -621
  132. package/src/aws/ecs.ts +0 -615
  133. package/src/aws/elasticache.ts +0 -301
  134. package/src/aws/elbv2.ts +0 -942
  135. package/src/aws/email.ts +0 -928
  136. package/src/aws/eventbridge.ts +0 -248
  137. package/src/aws/iam.ts +0 -1689
  138. package/src/aws/imap-server.ts +0 -2100
  139. package/src/aws/lambda.ts +0 -786
  140. package/src/aws/opensearch.ts +0 -158
  141. package/src/aws/personalize.ts +0 -977
  142. package/src/aws/polly.ts +0 -559
  143. package/src/aws/rds.ts +0 -888
  144. package/src/aws/rekognition.ts +0 -846
  145. package/src/aws/route53-domains.ts +0 -359
  146. package/src/aws/route53.ts +0 -1046
  147. package/src/aws/s3.ts +0 -2318
  148. package/src/aws/scheduler.ts +0 -571
  149. package/src/aws/secrets-manager.ts +0 -769
  150. package/src/aws/ses.ts +0 -1081
  151. package/src/aws/setup-phone.ts +0 -104
  152. package/src/aws/setup-sms.ts +0 -580
  153. package/src/aws/sms.ts +0 -1735
  154. package/src/aws/smtp-server.ts +0 -531
  155. package/src/aws/sns.ts +0 -758
  156. package/src/aws/sqs.ts +0 -382
  157. package/src/aws/ssm.ts +0 -807
  158. package/src/aws/sts.ts +0 -92
  159. package/src/aws/support.ts +0 -391
  160. package/src/aws/test-imap.ts +0 -86
  161. package/src/aws/textract.ts +0 -780
  162. package/src/aws/transcribe.ts +0 -108
  163. package/src/aws/translate.ts +0 -641
  164. package/src/aws/voice.ts +0 -1379
  165. package/src/config.ts +0 -35
  166. package/src/deploy/index.ts +0 -7
  167. package/src/deploy/static-site-external-dns.ts +0 -906
  168. package/src/deploy/static-site.ts +0 -1125
  169. package/src/dns/godaddy.ts +0 -412
  170. package/src/dns/index.ts +0 -183
  171. package/src/dns/porkbun.ts +0 -362
  172. package/src/dns/route53-adapter.ts +0 -414
  173. package/src/dns/validator.ts +0 -369
  174. package/src/generators/index.ts +0 -5
  175. package/src/generators/infrastructure.ts +0 -1660
  176. package/src/push/apns.ts +0 -452
  177. package/src/push/fcm.ts +0 -506
  178. package/src/push/index.ts +0 -58
  179. package/src/ssl/acme-client.ts +0 -478
  180. package/src/ssl/index.ts +0 -7
  181. package/src/ssl/letsencrypt.ts +0 -747
  182. package/src/types.ts +0 -2
  183. package/src/utils/cli.ts +0 -398
  184. package/src/validation/index.ts +0 -5
  185. package/src/validation/template.ts +0 -405
  186. package/test/index.test.ts +0 -128
  187. package/tsconfig.json +0 -18
@@ -0,0 +1,214 @@
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
+ }
@@ -0,0 +1,240 @@
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
+ }