@stacksjs/ts-cloud 0.1.1
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/LICENSE.md +21 -0
- package/README.md +321 -0
- package/bin/cli.ts +133 -0
- package/bin/commands/analytics.ts +328 -0
- package/bin/commands/api.ts +379 -0
- package/bin/commands/assets.ts +221 -0
- package/bin/commands/audit.ts +501 -0
- package/bin/commands/backup.ts +682 -0
- package/bin/commands/cache.ts +294 -0
- package/bin/commands/cdn.ts +281 -0
- package/bin/commands/config.ts +202 -0
- package/bin/commands/container.ts +105 -0
- package/bin/commands/cost.ts +208 -0
- package/bin/commands/database.ts +401 -0
- package/bin/commands/deploy.ts +674 -0
- package/bin/commands/domain.ts +397 -0
- package/bin/commands/email.ts +423 -0
- package/bin/commands/environment.ts +285 -0
- package/bin/commands/events.ts +424 -0
- package/bin/commands/firewall.ts +145 -0
- package/bin/commands/function.ts +116 -0
- package/bin/commands/generate.ts +280 -0
- package/bin/commands/git.ts +139 -0
- package/bin/commands/iam.ts +464 -0
- package/bin/commands/index.ts +48 -0
- package/bin/commands/init.ts +120 -0
- package/bin/commands/logs.ts +148 -0
- package/bin/commands/network.ts +579 -0
- package/bin/commands/notify.ts +489 -0
- package/bin/commands/queue.ts +407 -0
- package/bin/commands/scheduler.ts +370 -0
- package/bin/commands/secrets.ts +54 -0
- package/bin/commands/server.ts +629 -0
- package/bin/commands/shared.ts +97 -0
- package/bin/commands/ssl.ts +138 -0
- package/bin/commands/stack.ts +325 -0
- package/bin/commands/status.ts +385 -0
- package/bin/commands/storage.ts +450 -0
- package/bin/commands/team.ts +96 -0
- package/bin/commands/tunnel.ts +489 -0
- package/bin/commands/utils.ts +202 -0
- package/build.ts +15 -0
- package/cloud +2 -0
- package/package.json +99 -0
- package/src/aws/acm.ts +768 -0
- package/src/aws/application-autoscaling.ts +845 -0
- package/src/aws/bedrock.ts +4074 -0
- package/src/aws/client.ts +878 -0
- package/src/aws/cloudformation.ts +896 -0
- package/src/aws/cloudfront.ts +1531 -0
- package/src/aws/cloudwatch-logs.ts +154 -0
- package/src/aws/comprehend.ts +839 -0
- package/src/aws/connect.ts +1056 -0
- package/src/aws/deploy-imap.ts +384 -0
- package/src/aws/dynamodb.ts +340 -0
- package/src/aws/ec2.ts +1385 -0
- package/src/aws/ecr.ts +621 -0
- package/src/aws/ecs.ts +615 -0
- package/src/aws/elasticache.ts +301 -0
- package/src/aws/elbv2.ts +942 -0
- package/src/aws/email.ts +928 -0
- package/src/aws/eventbridge.ts +248 -0
- package/src/aws/iam.ts +1689 -0
- package/src/aws/imap-server.ts +2100 -0
- package/src/aws/index.ts +213 -0
- package/src/aws/kendra.ts +1097 -0
- package/src/aws/lambda.ts +786 -0
- package/src/aws/opensearch.ts +158 -0
- package/src/aws/personalize.ts +977 -0
- package/src/aws/polly.ts +559 -0
- package/src/aws/rds.ts +888 -0
- package/src/aws/rekognition.ts +846 -0
- package/src/aws/route53-domains.ts +359 -0
- package/src/aws/route53.ts +1046 -0
- package/src/aws/s3.ts +2318 -0
- package/src/aws/scheduler.ts +571 -0
- package/src/aws/secrets-manager.ts +769 -0
- package/src/aws/ses.ts +1081 -0
- package/src/aws/setup-phone.ts +104 -0
- package/src/aws/setup-sms.ts +580 -0
- package/src/aws/sms.ts +1735 -0
- package/src/aws/smtp-server.ts +531 -0
- package/src/aws/sns.ts +758 -0
- package/src/aws/sqs.ts +382 -0
- package/src/aws/ssm.ts +807 -0
- package/src/aws/sts.ts +92 -0
- package/src/aws/support.ts +391 -0
- package/src/aws/test-imap.ts +86 -0
- package/src/aws/textract.ts +780 -0
- package/src/aws/transcribe.ts +108 -0
- package/src/aws/translate.ts +641 -0
- package/src/aws/voice.ts +1379 -0
- package/src/config.ts +35 -0
- package/src/deploy/index.ts +7 -0
- package/src/deploy/static-site-external-dns.ts +906 -0
- package/src/deploy/static-site.ts +1125 -0
- package/src/dns/godaddy.ts +412 -0
- package/src/dns/index.ts +183 -0
- package/src/dns/porkbun.ts +362 -0
- package/src/dns/route53-adapter.ts +414 -0
- package/src/dns/types.ts +114 -0
- package/src/dns/validator.ts +369 -0
- package/src/generators/index.ts +5 -0
- package/src/generators/infrastructure.ts +1660 -0
- package/src/index.ts +163 -0
- package/src/push/apns.ts +452 -0
- package/src/push/fcm.ts +506 -0
- package/src/push/index.ts +58 -0
- package/src/ssl/acme-client.ts +478 -0
- package/src/ssl/index.ts +7 -0
- package/src/ssl/letsencrypt.ts +747 -0
- package/src/types.ts +2 -0
- package/src/utils/cli.ts +398 -0
- package/src/validation/index.ts +5 -0
- package/src/validation/template.ts +405 -0
- package/test/index.test.ts +128 -0
- package/tsconfig.json +18 -0
package/src/aws/index.ts
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AWS Integration Layer
|
|
3
|
+
* Direct API calls for AWS services (no SDK dependencies)
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export * from './client'
|
|
7
|
+
export * from './cloudformation'
|
|
8
|
+
export * from './ec2'
|
|
9
|
+
export * from './s3'
|
|
10
|
+
export * from './cloudfront'
|
|
11
|
+
export * from './route53'
|
|
12
|
+
export * from './route53-domains'
|
|
13
|
+
export * from './acm'
|
|
14
|
+
export * from './ecr'
|
|
15
|
+
export * from './ecs'
|
|
16
|
+
export * from './sts'
|
|
17
|
+
export * from './ssm'
|
|
18
|
+
export * from './secrets-manager'
|
|
19
|
+
export * from './ses'
|
|
20
|
+
export * from './email'
|
|
21
|
+
export * from './sns'
|
|
22
|
+
export * from './sqs'
|
|
23
|
+
export * from './lambda'
|
|
24
|
+
export * from './cloudwatch-logs'
|
|
25
|
+
export * from './connect'
|
|
26
|
+
export * from './elbv2'
|
|
27
|
+
export * from './rds'
|
|
28
|
+
export * from './dynamodb'
|
|
29
|
+
export * from './opensearch'
|
|
30
|
+
export * from './transcribe'
|
|
31
|
+
export * from './bedrock'
|
|
32
|
+
export * from './comprehend'
|
|
33
|
+
|
|
34
|
+
// Rekognition - export class and functions
|
|
35
|
+
export {
|
|
36
|
+
RekognitionClient,
|
|
37
|
+
detectLabelsFromS3,
|
|
38
|
+
countFacesInS3Image,
|
|
39
|
+
isContentSafe,
|
|
40
|
+
} from './rekognition'
|
|
41
|
+
|
|
42
|
+
// Rekognition - export types with prefixed names to avoid conflicts
|
|
43
|
+
export type {
|
|
44
|
+
S3Object as RekognitionS3Object,
|
|
45
|
+
BoundingBox as RekognitionBoundingBox,
|
|
46
|
+
Image,
|
|
47
|
+
Video,
|
|
48
|
+
Landmark,
|
|
49
|
+
Pose,
|
|
50
|
+
ImageQuality,
|
|
51
|
+
Emotion,
|
|
52
|
+
FaceDetail,
|
|
53
|
+
DetectFacesCommandInput,
|
|
54
|
+
DetectFacesCommandOutput,
|
|
55
|
+
Label,
|
|
56
|
+
DetectLabelsCommandInput,
|
|
57
|
+
DetectLabelsCommandOutput,
|
|
58
|
+
DetectTextCommandInput,
|
|
59
|
+
TextDetection,
|
|
60
|
+
DetectTextCommandOutput,
|
|
61
|
+
DetectModerationLabelsCommandInput,
|
|
62
|
+
ModerationLabel,
|
|
63
|
+
DetectModerationLabelsCommandOutput,
|
|
64
|
+
Celebrity,
|
|
65
|
+
RecognizeCelebritiesCommandInput,
|
|
66
|
+
RecognizeCelebritiesCommandOutput,
|
|
67
|
+
CompareFacesCommandInput,
|
|
68
|
+
CompareFacesMatch,
|
|
69
|
+
CompareFacesCommandOutput,
|
|
70
|
+
CreateCollectionCommandInput,
|
|
71
|
+
CreateCollectionCommandOutput,
|
|
72
|
+
DeleteCollectionCommandInput,
|
|
73
|
+
DeleteCollectionCommandOutput,
|
|
74
|
+
ListCollectionsCommandInput,
|
|
75
|
+
ListCollectionsCommandOutput,
|
|
76
|
+
IndexFacesCommandInput,
|
|
77
|
+
FaceRecord,
|
|
78
|
+
IndexFacesCommandOutput,
|
|
79
|
+
SearchFacesByImageCommandInput,
|
|
80
|
+
FaceMatch,
|
|
81
|
+
SearchFacesByImageCommandOutput,
|
|
82
|
+
SearchFacesCommandInput,
|
|
83
|
+
SearchFacesCommandOutput,
|
|
84
|
+
StartLabelDetectionCommandInput,
|
|
85
|
+
StartLabelDetectionCommandOutput,
|
|
86
|
+
GetLabelDetectionCommandInput,
|
|
87
|
+
LabelDetection,
|
|
88
|
+
GetLabelDetectionCommandOutput,
|
|
89
|
+
StartFaceDetectionCommandInput,
|
|
90
|
+
StartFaceDetectionCommandOutput,
|
|
91
|
+
GetFaceDetectionCommandInput,
|
|
92
|
+
FaceDetection,
|
|
93
|
+
GetFaceDetectionCommandOutput,
|
|
94
|
+
StartContentModerationCommandInput,
|
|
95
|
+
StartContentModerationCommandOutput,
|
|
96
|
+
GetContentModerationCommandInput,
|
|
97
|
+
ContentModerationDetection,
|
|
98
|
+
GetContentModerationCommandOutput,
|
|
99
|
+
} from './rekognition'
|
|
100
|
+
|
|
101
|
+
// Textract - export class and functions
|
|
102
|
+
export {
|
|
103
|
+
TextractClient,
|
|
104
|
+
extractTextFromS3,
|
|
105
|
+
extractFormsFromS3,
|
|
106
|
+
extractTablesFromS3,
|
|
107
|
+
} from './textract'
|
|
108
|
+
|
|
109
|
+
// Textract - export types with prefixed names to avoid conflicts
|
|
110
|
+
export type {
|
|
111
|
+
S3Object as TextractS3Object,
|
|
112
|
+
BoundingBox as TextractBoundingBox,
|
|
113
|
+
Document,
|
|
114
|
+
Point,
|
|
115
|
+
Geometry,
|
|
116
|
+
Relationship,
|
|
117
|
+
Block,
|
|
118
|
+
DocumentMetadata,
|
|
119
|
+
Warning,
|
|
120
|
+
DetectDocumentTextCommandInput,
|
|
121
|
+
DetectDocumentTextCommandOutput,
|
|
122
|
+
AnalyzeDocumentCommandInput,
|
|
123
|
+
AnalyzeDocumentCommandOutput,
|
|
124
|
+
AnalyzeExpenseCommandInput,
|
|
125
|
+
ExpenseField,
|
|
126
|
+
LineItemGroup,
|
|
127
|
+
ExpenseDocument,
|
|
128
|
+
AnalyzeExpenseCommandOutput,
|
|
129
|
+
AnalyzeIDCommandInput,
|
|
130
|
+
IdentityDocument,
|
|
131
|
+
AnalyzeIDCommandOutput,
|
|
132
|
+
StartDocumentTextDetectionCommandInput,
|
|
133
|
+
StartDocumentTextDetectionCommandOutput,
|
|
134
|
+
GetDocumentTextDetectionCommandInput,
|
|
135
|
+
GetDocumentTextDetectionCommandOutput,
|
|
136
|
+
StartDocumentAnalysisCommandInput,
|
|
137
|
+
StartDocumentAnalysisCommandOutput,
|
|
138
|
+
GetDocumentAnalysisCommandInput,
|
|
139
|
+
GetDocumentAnalysisCommandOutput,
|
|
140
|
+
StartExpenseAnalysisCommandInput,
|
|
141
|
+
StartExpenseAnalysisCommandOutput,
|
|
142
|
+
GetExpenseAnalysisCommandInput,
|
|
143
|
+
GetExpenseAnalysisCommandOutput,
|
|
144
|
+
StartLendingAnalysisCommandInput,
|
|
145
|
+
StartLendingAnalysisCommandOutput,
|
|
146
|
+
GetLendingAnalysisCommandInput,
|
|
147
|
+
LendingDocument,
|
|
148
|
+
LendingResult,
|
|
149
|
+
GetLendingAnalysisCommandOutput,
|
|
150
|
+
} from './textract'
|
|
151
|
+
|
|
152
|
+
export * from './polly'
|
|
153
|
+
export * from './translate'
|
|
154
|
+
export * from './personalize'
|
|
155
|
+
|
|
156
|
+
// Kendra - export class and functions
|
|
157
|
+
export {
|
|
158
|
+
KendraClient,
|
|
159
|
+
search,
|
|
160
|
+
retrieveForRag,
|
|
161
|
+
} from './kendra'
|
|
162
|
+
|
|
163
|
+
// Kendra - export types with prefixed names to avoid conflicts with Bedrock
|
|
164
|
+
export type {
|
|
165
|
+
CreateIndexCommandInput as KendraCreateIndexCommandInput,
|
|
166
|
+
CreateIndexCommandOutput as KendraCreateIndexCommandOutput,
|
|
167
|
+
DescribeIndexCommandInput,
|
|
168
|
+
Index,
|
|
169
|
+
DescribeIndexCommandOutput,
|
|
170
|
+
ListIndicesCommandInput,
|
|
171
|
+
IndexSummary,
|
|
172
|
+
ListIndicesCommandOutput,
|
|
173
|
+
DeleteIndexCommandInput,
|
|
174
|
+
DeleteIndexCommandOutput,
|
|
175
|
+
CreateDataSourceCommandInput as KendraCreateDataSourceCommandInput,
|
|
176
|
+
CreateDataSourceCommandOutput as KendraCreateDataSourceCommandOutput,
|
|
177
|
+
DescribeDataSourceCommandInput,
|
|
178
|
+
DataSource,
|
|
179
|
+
DescribeDataSourceCommandOutput,
|
|
180
|
+
ListDataSourcesCommandInput as KendraListDataSourcesCommandInput,
|
|
181
|
+
DataSourceSummary,
|
|
182
|
+
ListDataSourcesCommandOutput as KendraListDataSourcesCommandOutput,
|
|
183
|
+
StartDataSourceSyncJobCommandInput,
|
|
184
|
+
StartDataSourceSyncJobCommandOutput,
|
|
185
|
+
StopDataSourceSyncJobCommandInput,
|
|
186
|
+
StopDataSourceSyncJobCommandOutput,
|
|
187
|
+
QueryCommandInput,
|
|
188
|
+
QueryResultItem,
|
|
189
|
+
FacetResult,
|
|
190
|
+
QueryCommandOutput,
|
|
191
|
+
RetrieveCommandInput,
|
|
192
|
+
RetrieveResultItem,
|
|
193
|
+
RetrieveCommandOutput,
|
|
194
|
+
BatchPutDocumentCommandInput,
|
|
195
|
+
BatchPutDocumentCommandOutput,
|
|
196
|
+
BatchDeleteDocumentCommandInput,
|
|
197
|
+
BatchDeleteDocumentCommandOutput,
|
|
198
|
+
} from './kendra'
|
|
199
|
+
|
|
200
|
+
export * from './eventbridge'
|
|
201
|
+
export * from './elasticache'
|
|
202
|
+
export * from './scheduler'
|
|
203
|
+
export * from './iam'
|
|
204
|
+
export * from './application-autoscaling'
|
|
205
|
+
export * from './imap-server'
|
|
206
|
+
export * from './smtp-server'
|
|
207
|
+
export * from './sms'
|
|
208
|
+
export * from './voice'
|
|
209
|
+
export * from './support'
|
|
210
|
+
export * from './setup-sms'
|
|
211
|
+
|
|
212
|
+
// DNS Provider integrations (Route53, Porkbun, GoDaddy)
|
|
213
|
+
export * from '../dns'
|