effortless-aws 0.7.1 → 0.8.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.
package/dist/index.js CHANGED
@@ -3,15 +3,15 @@ var defineConfig = (config) => config;
3
3
 
4
4
  // src/handlers/define-http.ts
5
5
  var defineHttp = (options) => {
6
- const { onRequest, onError, context, schema, deps, params, static: staticFiles, ...config } = options;
6
+ const { onRequest, onError, setup, schema, deps, config, static: staticFiles, ...__spec } = options;
7
7
  return {
8
8
  __brand: "effortless-http",
9
- config,
9
+ __spec,
10
10
  ...schema ? { schema } : {},
11
11
  ...onError ? { onError } : {},
12
- ...context ? { context } : {},
12
+ ...setup ? { setup } : {},
13
13
  ...deps ? { deps } : {},
14
- ...params ? { params } : {},
14
+ ...config ? { config } : {},
15
15
  ...staticFiles ? { static: staticFiles } : {},
16
16
  onRequest
17
17
  };
@@ -19,15 +19,15 @@ var defineHttp = (options) => {
19
19
 
20
20
  // src/handlers/define-table.ts
21
21
  var defineTable = (options) => {
22
- const { onRecord, onBatchComplete, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;
22
+ const { onRecord, onBatchComplete, onBatch, onError, schema, setup, deps, config, static: staticFiles, ...__spec } = options;
23
23
  return {
24
24
  __brand: "effortless-table",
25
- config,
25
+ __spec,
26
26
  ...schema ? { schema } : {},
27
27
  ...onError ? { onError } : {},
28
- ...context ? { context } : {},
28
+ ...setup ? { setup } : {},
29
29
  ...deps ? { deps } : {},
30
- ...params ? { params } : {},
30
+ ...config ? { config } : {},
31
31
  ...staticFiles ? { static: staticFiles } : {},
32
32
  ...onRecord ? { onRecord } : {},
33
33
  ...onBatchComplete ? { onBatchComplete } : {},
@@ -38,1544 +38,33 @@ var defineTable = (options) => {
38
38
  // src/handlers/define-app.ts
39
39
  var defineApp = (options) => ({
40
40
  __brand: "effortless-app",
41
- config: options
41
+ __spec: options
42
42
  });
43
43
 
44
44
  // src/handlers/define-static-site.ts
45
45
  var defineStaticSite = (options) => ({
46
46
  __brand: "effortless-static-site",
47
- config: options
47
+ __spec: options
48
48
  });
49
49
 
50
50
  // src/handlers/define-fifo-queue.ts
51
51
  var defineFifoQueue = (options) => {
52
- const { onMessage, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;
52
+ const { onMessage, onBatch, onError, schema, setup, deps, config, static: staticFiles, ...__spec } = options;
53
53
  return {
54
54
  __brand: "effortless-fifo-queue",
55
- config,
55
+ __spec,
56
56
  ...schema ? { schema } : {},
57
57
  ...onError ? { onError } : {},
58
- ...context ? { context } : {},
58
+ ...setup ? { setup } : {},
59
59
  ...deps ? { deps } : {},
60
- ...params ? { params } : {},
60
+ ...config ? { config } : {},
61
61
  ...staticFiles ? { static: staticFiles } : {},
62
62
  ...onMessage ? { onMessage } : {},
63
63
  ...onBatch ? { onBatch } : {}
64
64
  };
65
65
  };
66
66
 
67
- // src/deploy/shared.ts
68
- import { Effect as Effect21 } from "effect";
69
-
70
- // src/aws/lambda.ts
71
- import { Effect as Effect11, Schedule } from "effect";
72
- import { Architecture, Runtime } from "@aws-sdk/client-lambda";
73
-
74
- // src/aws/clients/index.ts
75
- import * as Layer11 from "effect/Layer";
76
-
77
- // src/aws/clients/apigatewayv2.ts
78
- import * as Layer from "effect/Layer";
79
- import * as Effect from "effect/Effect";
80
- import * as Context from "effect/Context";
81
- import * as Sdk from "@aws-sdk/client-apigatewayv2";
82
- var ApiGatewayV2Client2 = class _ApiGatewayV2Client extends Context.Tag("ApiGatewayV2Client")() {
83
- static Default = (config) => Layer.effect(
84
- _ApiGatewayV2Client,
85
- Effect.gen(function* () {
86
- return new Sdk.ApiGatewayV2Client(config ?? {});
87
- })
88
- );
89
- };
90
- var make = Effect.fn("aws_ApiGatewayV2")(function* (actionName, actionInput) {
91
- yield* Effect.logDebug(`aws_ApiGatewayV2.${actionName}`, { input: actionInput });
92
- const client = yield* ApiGatewayV2Client2;
93
- const command = new ApiGatewayV2CommandFactory[actionName](actionInput);
94
- const result = yield* Effect.tryPromise({
95
- try: () => client.send(command),
96
- catch: (error) => {
97
- if (error instanceof Sdk.ApiGatewayV2ServiceException) {
98
- return new ApiGatewayV2Error(error, actionName);
99
- }
100
- throw error;
101
- }
102
- });
103
- yield* Effect.logDebug(`aws_ApiGatewayV2.${actionName} completed`);
104
- return result;
105
- });
106
- var ApiGatewayV2Error = class {
107
- constructor(cause, command) {
108
- this.cause = cause;
109
- this.command = command;
110
- }
111
- _tag = "ApiGatewayV2Error";
112
- $is(name) {
113
- return this.cause.name == name;
114
- }
115
- is(name) {
116
- return this.cause.name == name;
117
- }
118
- };
119
- var ApiGatewayV2CommandFactory = {
120
- create_api: Sdk.CreateApiCommand,
121
- create_api_mapping: Sdk.CreateApiMappingCommand,
122
- create_authorizer: Sdk.CreateAuthorizerCommand,
123
- create_deployment: Sdk.CreateDeploymentCommand,
124
- create_domain_name: Sdk.CreateDomainNameCommand,
125
- create_integration: Sdk.CreateIntegrationCommand,
126
- create_integration_response: Sdk.CreateIntegrationResponseCommand,
127
- create_model: Sdk.CreateModelCommand,
128
- create_portal: Sdk.CreatePortalCommand,
129
- create_portal_product: Sdk.CreatePortalProductCommand,
130
- create_product_page: Sdk.CreateProductPageCommand,
131
- create_product_rest_endpoint_page: Sdk.CreateProductRestEndpointPageCommand,
132
- create_route: Sdk.CreateRouteCommand,
133
- create_route_response: Sdk.CreateRouteResponseCommand,
134
- create_routing_rule: Sdk.CreateRoutingRuleCommand,
135
- create_stage: Sdk.CreateStageCommand,
136
- create_vpc_link: Sdk.CreateVpcLinkCommand,
137
- delete_access_log_settings: Sdk.DeleteAccessLogSettingsCommand,
138
- delete_api: Sdk.DeleteApiCommand,
139
- delete_api_mapping: Sdk.DeleteApiMappingCommand,
140
- delete_authorizer: Sdk.DeleteAuthorizerCommand,
141
- delete_cors_configuration: Sdk.DeleteCorsConfigurationCommand,
142
- delete_deployment: Sdk.DeleteDeploymentCommand,
143
- delete_domain_name: Sdk.DeleteDomainNameCommand,
144
- delete_integration: Sdk.DeleteIntegrationCommand,
145
- delete_integration_response: Sdk.DeleteIntegrationResponseCommand,
146
- delete_model: Sdk.DeleteModelCommand,
147
- delete_portal: Sdk.DeletePortalCommand,
148
- delete_portal_product: Sdk.DeletePortalProductCommand,
149
- delete_portal_product_sharing_policy: Sdk.DeletePortalProductSharingPolicyCommand,
150
- delete_product_page: Sdk.DeleteProductPageCommand,
151
- delete_product_rest_endpoint_page: Sdk.DeleteProductRestEndpointPageCommand,
152
- delete_route: Sdk.DeleteRouteCommand,
153
- delete_route_request_parameter: Sdk.DeleteRouteRequestParameterCommand,
154
- delete_route_response: Sdk.DeleteRouteResponseCommand,
155
- delete_route_settings: Sdk.DeleteRouteSettingsCommand,
156
- delete_routing_rule: Sdk.DeleteRoutingRuleCommand,
157
- delete_stage: Sdk.DeleteStageCommand,
158
- delete_vpc_link: Sdk.DeleteVpcLinkCommand,
159
- disable_portal: Sdk.DisablePortalCommand,
160
- export_api: Sdk.ExportApiCommand,
161
- get_api: Sdk.GetApiCommand,
162
- get_api_mapping: Sdk.GetApiMappingCommand,
163
- get_api_mappings: Sdk.GetApiMappingsCommand,
164
- get_apis: Sdk.GetApisCommand,
165
- get_authorizer: Sdk.GetAuthorizerCommand,
166
- get_authorizers: Sdk.GetAuthorizersCommand,
167
- get_deployment: Sdk.GetDeploymentCommand,
168
- get_deployments: Sdk.GetDeploymentsCommand,
169
- get_domain_name: Sdk.GetDomainNameCommand,
170
- get_domain_names: Sdk.GetDomainNamesCommand,
171
- get_integration: Sdk.GetIntegrationCommand,
172
- get_integration_response: Sdk.GetIntegrationResponseCommand,
173
- get_integration_responses: Sdk.GetIntegrationResponsesCommand,
174
- get_integrations: Sdk.GetIntegrationsCommand,
175
- get_model: Sdk.GetModelCommand,
176
- get_model_template: Sdk.GetModelTemplateCommand,
177
- get_models: Sdk.GetModelsCommand,
178
- get_portal: Sdk.GetPortalCommand,
179
- get_portal_product: Sdk.GetPortalProductCommand,
180
- get_portal_product_sharing_policy: Sdk.GetPortalProductSharingPolicyCommand,
181
- get_product_page: Sdk.GetProductPageCommand,
182
- get_product_rest_endpoint_page: Sdk.GetProductRestEndpointPageCommand,
183
- get_route: Sdk.GetRouteCommand,
184
- get_route_response: Sdk.GetRouteResponseCommand,
185
- get_route_responses: Sdk.GetRouteResponsesCommand,
186
- get_routes: Sdk.GetRoutesCommand,
187
- get_routing_rule: Sdk.GetRoutingRuleCommand,
188
- get_stage: Sdk.GetStageCommand,
189
- get_stages: Sdk.GetStagesCommand,
190
- get_tags: Sdk.GetTagsCommand,
191
- get_vpc_link: Sdk.GetVpcLinkCommand,
192
- get_vpc_links: Sdk.GetVpcLinksCommand,
193
- import_api: Sdk.ImportApiCommand,
194
- list_portal_products: Sdk.ListPortalProductsCommand,
195
- list_portals: Sdk.ListPortalsCommand,
196
- list_product_pages: Sdk.ListProductPagesCommand,
197
- list_product_rest_endpoint_pages: Sdk.ListProductRestEndpointPagesCommand,
198
- list_routing_rules: Sdk.ListRoutingRulesCommand,
199
- preview_portal: Sdk.PreviewPortalCommand,
200
- publish_portal: Sdk.PublishPortalCommand,
201
- put_portal_product_sharing_policy: Sdk.PutPortalProductSharingPolicyCommand,
202
- put_routing_rule: Sdk.PutRoutingRuleCommand,
203
- reimport_api: Sdk.ReimportApiCommand,
204
- reset_authorizers_cache: Sdk.ResetAuthorizersCacheCommand,
205
- tag_resource: Sdk.TagResourceCommand,
206
- untag_resource: Sdk.UntagResourceCommand,
207
- update_api: Sdk.UpdateApiCommand,
208
- update_api_mapping: Sdk.UpdateApiMappingCommand,
209
- update_authorizer: Sdk.UpdateAuthorizerCommand,
210
- update_deployment: Sdk.UpdateDeploymentCommand,
211
- update_domain_name: Sdk.UpdateDomainNameCommand,
212
- update_integration: Sdk.UpdateIntegrationCommand,
213
- update_integration_response: Sdk.UpdateIntegrationResponseCommand,
214
- update_model: Sdk.UpdateModelCommand,
215
- update_portal: Sdk.UpdatePortalCommand,
216
- update_portal_product: Sdk.UpdatePortalProductCommand,
217
- update_product_page: Sdk.UpdateProductPageCommand,
218
- update_product_rest_endpoint_page: Sdk.UpdateProductRestEndpointPageCommand,
219
- update_route: Sdk.UpdateRouteCommand,
220
- update_route_response: Sdk.UpdateRouteResponseCommand,
221
- update_stage: Sdk.UpdateStageCommand,
222
- update_vpc_link: Sdk.UpdateVpcLinkCommand
223
- };
224
-
225
- // src/aws/clients/cloudfront.ts
226
- import * as Layer2 from "effect/Layer";
227
- import * as Effect2 from "effect/Effect";
228
- import * as Context2 from "effect/Context";
229
- import * as Sdk2 from "@aws-sdk/client-cloudfront";
230
- var CloudFrontClient2 = class _CloudFrontClient extends Context2.Tag("CloudFrontClient")() {
231
- static Default = (config) => Layer2.effect(
232
- _CloudFrontClient,
233
- Effect2.gen(function* () {
234
- return new Sdk2.CloudFrontClient(config ?? {});
235
- })
236
- );
237
- };
238
- var make2 = Effect2.fn("aws_CloudFront")(function* (actionName, actionInput) {
239
- yield* Effect2.logDebug(`aws_CloudFront.${actionName}`, { input: actionInput });
240
- const client = yield* CloudFrontClient2;
241
- const command = new CloudFrontCommandFactory[actionName](actionInput);
242
- const result = yield* Effect2.tryPromise({
243
- try: () => client.send(command),
244
- catch: (error) => {
245
- if (error instanceof Sdk2.CloudFrontServiceException) {
246
- return new CloudFrontError(error, actionName);
247
- }
248
- throw error;
249
- }
250
- });
251
- yield* Effect2.logDebug(`aws_CloudFront.${actionName} completed`);
252
- return result;
253
- });
254
- var CloudFrontError = class {
255
- constructor(cause, command) {
256
- this.cause = cause;
257
- this.command = command;
258
- }
259
- _tag = "CloudFrontError";
260
- $is(name) {
261
- return this.cause.name == name;
262
- }
263
- is(name) {
264
- return this.cause.name == name;
265
- }
266
- };
267
- var CloudFrontCommandFactory = {
268
- associate_alias: Sdk2.AssociateAliasCommand,
269
- associate_distribution_tenant_web_acl: Sdk2.AssociateDistributionTenantWebACLCommand,
270
- associate_distribution_web_acl: Sdk2.AssociateDistributionWebACLCommand,
271
- copy_distribution: Sdk2.CopyDistributionCommand,
272
- create_anycast_ip_list: Sdk2.CreateAnycastIpListCommand,
273
- create_cache_policy: Sdk2.CreateCachePolicyCommand,
274
- create_cloud_front_origin_access_identity: Sdk2.CreateCloudFrontOriginAccessIdentityCommand,
275
- create_connection_function: Sdk2.CreateConnectionFunctionCommand,
276
- create_connection_group: Sdk2.CreateConnectionGroupCommand,
277
- create_continuous_deployment_policy: Sdk2.CreateContinuousDeploymentPolicyCommand,
278
- create_distribution: Sdk2.CreateDistributionCommand,
279
- create_distribution_tenant: Sdk2.CreateDistributionTenantCommand,
280
- create_distribution_with_tags: Sdk2.CreateDistributionWithTagsCommand,
281
- create_field_level_encryption_config: Sdk2.CreateFieldLevelEncryptionConfigCommand,
282
- create_field_level_encryption_profile: Sdk2.CreateFieldLevelEncryptionProfileCommand,
283
- create_function: Sdk2.CreateFunctionCommand,
284
- create_invalidation: Sdk2.CreateInvalidationCommand,
285
- create_invalidation_for_distribution_tenant: Sdk2.CreateInvalidationForDistributionTenantCommand,
286
- create_key_group: Sdk2.CreateKeyGroupCommand,
287
- create_key_value_store: Sdk2.CreateKeyValueStoreCommand,
288
- create_monitoring_subscription: Sdk2.CreateMonitoringSubscriptionCommand,
289
- create_origin_access_control: Sdk2.CreateOriginAccessControlCommand,
290
- create_origin_request_policy: Sdk2.CreateOriginRequestPolicyCommand,
291
- create_public_key: Sdk2.CreatePublicKeyCommand,
292
- create_realtime_log_config: Sdk2.CreateRealtimeLogConfigCommand,
293
- create_response_headers_policy: Sdk2.CreateResponseHeadersPolicyCommand,
294
- create_streaming_distribution: Sdk2.CreateStreamingDistributionCommand,
295
- create_streaming_distribution_with_tags: Sdk2.CreateStreamingDistributionWithTagsCommand,
296
- create_trust_store: Sdk2.CreateTrustStoreCommand,
297
- create_vpc_origin: Sdk2.CreateVpcOriginCommand,
298
- delete_anycast_ip_list: Sdk2.DeleteAnycastIpListCommand,
299
- delete_cache_policy: Sdk2.DeleteCachePolicyCommand,
300
- delete_cloud_front_origin_access_identity: Sdk2.DeleteCloudFrontOriginAccessIdentityCommand,
301
- delete_connection_function: Sdk2.DeleteConnectionFunctionCommand,
302
- delete_connection_group: Sdk2.DeleteConnectionGroupCommand,
303
- delete_continuous_deployment_policy: Sdk2.DeleteContinuousDeploymentPolicyCommand,
304
- delete_distribution: Sdk2.DeleteDistributionCommand,
305
- delete_distribution_tenant: Sdk2.DeleteDistributionTenantCommand,
306
- delete_field_level_encryption_config: Sdk2.DeleteFieldLevelEncryptionConfigCommand,
307
- delete_field_level_encryption_profile: Sdk2.DeleteFieldLevelEncryptionProfileCommand,
308
- delete_function: Sdk2.DeleteFunctionCommand,
309
- delete_key_group: Sdk2.DeleteKeyGroupCommand,
310
- delete_key_value_store: Sdk2.DeleteKeyValueStoreCommand,
311
- delete_monitoring_subscription: Sdk2.DeleteMonitoringSubscriptionCommand,
312
- delete_origin_access_control: Sdk2.DeleteOriginAccessControlCommand,
313
- delete_origin_request_policy: Sdk2.DeleteOriginRequestPolicyCommand,
314
- delete_public_key: Sdk2.DeletePublicKeyCommand,
315
- delete_realtime_log_config: Sdk2.DeleteRealtimeLogConfigCommand,
316
- delete_resource_policy: Sdk2.DeleteResourcePolicyCommand,
317
- delete_response_headers_policy: Sdk2.DeleteResponseHeadersPolicyCommand,
318
- delete_streaming_distribution: Sdk2.DeleteStreamingDistributionCommand,
319
- delete_trust_store: Sdk2.DeleteTrustStoreCommand,
320
- delete_vpc_origin: Sdk2.DeleteVpcOriginCommand,
321
- describe_connection_function: Sdk2.DescribeConnectionFunctionCommand,
322
- describe_function: Sdk2.DescribeFunctionCommand,
323
- describe_key_value_store: Sdk2.DescribeKeyValueStoreCommand,
324
- disassociate_distribution_tenant_web_acl: Sdk2.DisassociateDistributionTenantWebACLCommand,
325
- disassociate_distribution_web_acl: Sdk2.DisassociateDistributionWebACLCommand,
326
- get_anycast_ip_list: Sdk2.GetAnycastIpListCommand,
327
- get_cache_policy: Sdk2.GetCachePolicyCommand,
328
- get_cache_policy_config: Sdk2.GetCachePolicyConfigCommand,
329
- get_cloud_front_origin_access_identity: Sdk2.GetCloudFrontOriginAccessIdentityCommand,
330
- get_cloud_front_origin_access_identity_config: Sdk2.GetCloudFrontOriginAccessIdentityConfigCommand,
331
- get_connection_function: Sdk2.GetConnectionFunctionCommand,
332
- get_connection_group: Sdk2.GetConnectionGroupCommand,
333
- get_connection_group_by_routing_endpoint: Sdk2.GetConnectionGroupByRoutingEndpointCommand,
334
- get_continuous_deployment_policy: Sdk2.GetContinuousDeploymentPolicyCommand,
335
- get_continuous_deployment_policy_config: Sdk2.GetContinuousDeploymentPolicyConfigCommand,
336
- get_distribution: Sdk2.GetDistributionCommand,
337
- get_distribution_config: Sdk2.GetDistributionConfigCommand,
338
- get_distribution_tenant: Sdk2.GetDistributionTenantCommand,
339
- get_distribution_tenant_by_domain: Sdk2.GetDistributionTenantByDomainCommand,
340
- get_field_level_encryption: Sdk2.GetFieldLevelEncryptionCommand,
341
- get_field_level_encryption_config: Sdk2.GetFieldLevelEncryptionConfigCommand,
342
- get_field_level_encryption_profile: Sdk2.GetFieldLevelEncryptionProfileCommand,
343
- get_field_level_encryption_profile_config: Sdk2.GetFieldLevelEncryptionProfileConfigCommand,
344
- get_function: Sdk2.GetFunctionCommand,
345
- get_invalidation: Sdk2.GetInvalidationCommand,
346
- get_invalidation_for_distribution_tenant: Sdk2.GetInvalidationForDistributionTenantCommand,
347
- get_key_group: Sdk2.GetKeyGroupCommand,
348
- get_key_group_config: Sdk2.GetKeyGroupConfigCommand,
349
- get_managed_certificate_details: Sdk2.GetManagedCertificateDetailsCommand,
350
- get_monitoring_subscription: Sdk2.GetMonitoringSubscriptionCommand,
351
- get_origin_access_control: Sdk2.GetOriginAccessControlCommand,
352
- get_origin_access_control_config: Sdk2.GetOriginAccessControlConfigCommand,
353
- get_origin_request_policy: Sdk2.GetOriginRequestPolicyCommand,
354
- get_origin_request_policy_config: Sdk2.GetOriginRequestPolicyConfigCommand,
355
- get_public_key: Sdk2.GetPublicKeyCommand,
356
- get_public_key_config: Sdk2.GetPublicKeyConfigCommand,
357
- get_realtime_log_config: Sdk2.GetRealtimeLogConfigCommand,
358
- get_resource_policy: Sdk2.GetResourcePolicyCommand,
359
- get_response_headers_policy: Sdk2.GetResponseHeadersPolicyCommand,
360
- get_response_headers_policy_config: Sdk2.GetResponseHeadersPolicyConfigCommand,
361
- get_streaming_distribution: Sdk2.GetStreamingDistributionCommand,
362
- get_streaming_distribution_config: Sdk2.GetStreamingDistributionConfigCommand,
363
- get_trust_store: Sdk2.GetTrustStoreCommand,
364
- get_vpc_origin: Sdk2.GetVpcOriginCommand,
365
- list_anycast_ip_lists: Sdk2.ListAnycastIpListsCommand,
366
- list_cache_policies: Sdk2.ListCachePoliciesCommand,
367
- list_cloud_front_origin_access_identities: Sdk2.ListCloudFrontOriginAccessIdentitiesCommand,
368
- list_conflicting_aliases: Sdk2.ListConflictingAliasesCommand,
369
- list_connection_functions: Sdk2.ListConnectionFunctionsCommand,
370
- list_connection_groups: Sdk2.ListConnectionGroupsCommand,
371
- list_continuous_deployment_policies: Sdk2.ListContinuousDeploymentPoliciesCommand,
372
- list_distribution_tenants: Sdk2.ListDistributionTenantsCommand,
373
- list_distribution_tenants_by_customization: Sdk2.ListDistributionTenantsByCustomizationCommand,
374
- list_distributions: Sdk2.ListDistributionsCommand,
375
- list_distributions_by_anycast_ip_list_id: Sdk2.ListDistributionsByAnycastIpListIdCommand,
376
- list_distributions_by_cache_policy_id: Sdk2.ListDistributionsByCachePolicyIdCommand,
377
- list_distributions_by_connection_function: Sdk2.ListDistributionsByConnectionFunctionCommand,
378
- list_distributions_by_connection_mode: Sdk2.ListDistributionsByConnectionModeCommand,
379
- list_distributions_by_key_group: Sdk2.ListDistributionsByKeyGroupCommand,
380
- list_distributions_by_origin_request_policy_id: Sdk2.ListDistributionsByOriginRequestPolicyIdCommand,
381
- list_distributions_by_owned_resource: Sdk2.ListDistributionsByOwnedResourceCommand,
382
- list_distributions_by_realtime_log_config: Sdk2.ListDistributionsByRealtimeLogConfigCommand,
383
- list_distributions_by_response_headers_policy_id: Sdk2.ListDistributionsByResponseHeadersPolicyIdCommand,
384
- list_distributions_by_trust_store: Sdk2.ListDistributionsByTrustStoreCommand,
385
- list_distributions_by_vpc_origin_id: Sdk2.ListDistributionsByVpcOriginIdCommand,
386
- list_distributions_by_web_acl_id: Sdk2.ListDistributionsByWebACLIdCommand,
387
- list_domain_conflicts: Sdk2.ListDomainConflictsCommand,
388
- list_field_level_encryption_configs: Sdk2.ListFieldLevelEncryptionConfigsCommand,
389
- list_field_level_encryption_profiles: Sdk2.ListFieldLevelEncryptionProfilesCommand,
390
- list_functions: Sdk2.ListFunctionsCommand,
391
- list_invalidations: Sdk2.ListInvalidationsCommand,
392
- list_invalidations_for_distribution_tenant: Sdk2.ListInvalidationsForDistributionTenantCommand,
393
- list_key_groups: Sdk2.ListKeyGroupsCommand,
394
- list_key_value_stores: Sdk2.ListKeyValueStoresCommand,
395
- list_origin_access_controls: Sdk2.ListOriginAccessControlsCommand,
396
- list_origin_request_policies: Sdk2.ListOriginRequestPoliciesCommand,
397
- list_public_keys: Sdk2.ListPublicKeysCommand,
398
- list_realtime_log_configs: Sdk2.ListRealtimeLogConfigsCommand,
399
- list_response_headers_policies: Sdk2.ListResponseHeadersPoliciesCommand,
400
- list_streaming_distributions: Sdk2.ListStreamingDistributionsCommand,
401
- list_tags_for_resource: Sdk2.ListTagsForResourceCommand,
402
- list_trust_stores: Sdk2.ListTrustStoresCommand,
403
- list_vpc_origins: Sdk2.ListVpcOriginsCommand,
404
- publish_connection_function: Sdk2.PublishConnectionFunctionCommand,
405
- publish_function: Sdk2.PublishFunctionCommand,
406
- put_resource_policy: Sdk2.PutResourcePolicyCommand,
407
- tag_resource: Sdk2.TagResourceCommand,
408
- test_connection_function: Sdk2.TestConnectionFunctionCommand,
409
- test_function: Sdk2.TestFunctionCommand,
410
- untag_resource: Sdk2.UntagResourceCommand,
411
- update_anycast_ip_list: Sdk2.UpdateAnycastIpListCommand,
412
- update_cache_policy: Sdk2.UpdateCachePolicyCommand,
413
- update_cloud_front_origin_access_identity: Sdk2.UpdateCloudFrontOriginAccessIdentityCommand,
414
- update_connection_function: Sdk2.UpdateConnectionFunctionCommand,
415
- update_connection_group: Sdk2.UpdateConnectionGroupCommand,
416
- update_continuous_deployment_policy: Sdk2.UpdateContinuousDeploymentPolicyCommand,
417
- update_distribution: Sdk2.UpdateDistributionCommand,
418
- update_distribution_tenant: Sdk2.UpdateDistributionTenantCommand,
419
- update_distribution_with_staging_config: Sdk2.UpdateDistributionWithStagingConfigCommand,
420
- update_domain_association: Sdk2.UpdateDomainAssociationCommand,
421
- update_field_level_encryption_config: Sdk2.UpdateFieldLevelEncryptionConfigCommand,
422
- update_field_level_encryption_profile: Sdk2.UpdateFieldLevelEncryptionProfileCommand,
423
- update_function: Sdk2.UpdateFunctionCommand,
424
- update_key_group: Sdk2.UpdateKeyGroupCommand,
425
- update_key_value_store: Sdk2.UpdateKeyValueStoreCommand,
426
- update_origin_access_control: Sdk2.UpdateOriginAccessControlCommand,
427
- update_origin_request_policy: Sdk2.UpdateOriginRequestPolicyCommand,
428
- update_public_key: Sdk2.UpdatePublicKeyCommand,
429
- update_realtime_log_config: Sdk2.UpdateRealtimeLogConfigCommand,
430
- update_response_headers_policy: Sdk2.UpdateResponseHeadersPolicyCommand,
431
- update_streaming_distribution: Sdk2.UpdateStreamingDistributionCommand,
432
- update_trust_store: Sdk2.UpdateTrustStoreCommand,
433
- update_vpc_origin: Sdk2.UpdateVpcOriginCommand,
434
- verify_dns_configuration: Sdk2.VerifyDnsConfigurationCommand
435
- };
436
-
437
- // src/aws/clients/cloudwatch-logs.ts
438
- import * as Layer3 from "effect/Layer";
439
- import * as Effect3 from "effect/Effect";
440
- import * as Context3 from "effect/Context";
441
- import * as Sdk3 from "@aws-sdk/client-cloudwatch-logs";
442
- var CloudWatchLogsClient2 = class _CloudWatchLogsClient extends Context3.Tag("CloudWatchLogsClient")() {
443
- static Default = (config) => Layer3.effect(
444
- _CloudWatchLogsClient,
445
- Effect3.gen(function* () {
446
- return new Sdk3.CloudWatchLogsClient(config ?? {});
447
- })
448
- );
449
- };
450
- var make3 = Effect3.fn("aws_CloudWatchLogs")(function* (actionName, actionInput) {
451
- yield* Effect3.logDebug(`aws_CloudWatchLogs.${actionName}`, { input: actionInput });
452
- const client = yield* CloudWatchLogsClient2;
453
- const command = new CloudWatchLogsCommandFactory[actionName](actionInput);
454
- const result = yield* Effect3.tryPromise({
455
- try: () => client.send(command),
456
- catch: (error) => {
457
- if (error instanceof Sdk3.CloudWatchLogsServiceException) {
458
- return new CloudWatchLogsError(error, actionName);
459
- }
460
- throw error;
461
- }
462
- });
463
- yield* Effect3.logDebug(`aws_CloudWatchLogs.${actionName} completed`);
464
- return result;
465
- });
466
- var CloudWatchLogsError = class {
467
- constructor(cause, command) {
468
- this.cause = cause;
469
- this.command = command;
470
- }
471
- _tag = "CloudWatchLogsError";
472
- $is(name) {
473
- return this.cause.name == name;
474
- }
475
- is(name) {
476
- return this.cause.name == name;
477
- }
478
- };
479
- var CloudWatchLogsCommandFactory = {
480
- associate_kms_key: Sdk3.AssociateKmsKeyCommand,
481
- associate_source_to_s3_table_integration: Sdk3.AssociateSourceToS3TableIntegrationCommand,
482
- cancel_export_task: Sdk3.CancelExportTaskCommand,
483
- cancel_import_task: Sdk3.CancelImportTaskCommand,
484
- create_delivery: Sdk3.CreateDeliveryCommand,
485
- create_export_task: Sdk3.CreateExportTaskCommand,
486
- create_import_task: Sdk3.CreateImportTaskCommand,
487
- create_log_anomaly_detector: Sdk3.CreateLogAnomalyDetectorCommand,
488
- create_log_group: Sdk3.CreateLogGroupCommand,
489
- create_log_stream: Sdk3.CreateLogStreamCommand,
490
- create_scheduled_query: Sdk3.CreateScheduledQueryCommand,
491
- delete_account_policy: Sdk3.DeleteAccountPolicyCommand,
492
- delete_data_protection_policy: Sdk3.DeleteDataProtectionPolicyCommand,
493
- delete_delivery: Sdk3.DeleteDeliveryCommand,
494
- delete_delivery_destination: Sdk3.DeleteDeliveryDestinationCommand,
495
- delete_delivery_destination_policy: Sdk3.DeleteDeliveryDestinationPolicyCommand,
496
- delete_delivery_source: Sdk3.DeleteDeliverySourceCommand,
497
- delete_destination: Sdk3.DeleteDestinationCommand,
498
- delete_index_policy: Sdk3.DeleteIndexPolicyCommand,
499
- delete_integration: Sdk3.DeleteIntegrationCommand,
500
- delete_log_anomaly_detector: Sdk3.DeleteLogAnomalyDetectorCommand,
501
- delete_log_group: Sdk3.DeleteLogGroupCommand,
502
- delete_log_stream: Sdk3.DeleteLogStreamCommand,
503
- delete_metric_filter: Sdk3.DeleteMetricFilterCommand,
504
- delete_query_definition: Sdk3.DeleteQueryDefinitionCommand,
505
- delete_resource_policy: Sdk3.DeleteResourcePolicyCommand,
506
- delete_retention_policy: Sdk3.DeleteRetentionPolicyCommand,
507
- delete_scheduled_query: Sdk3.DeleteScheduledQueryCommand,
508
- delete_subscription_filter: Sdk3.DeleteSubscriptionFilterCommand,
509
- delete_transformer: Sdk3.DeleteTransformerCommand,
510
- describe_account_policies: Sdk3.DescribeAccountPoliciesCommand,
511
- describe_configuration_templates: Sdk3.DescribeConfigurationTemplatesCommand,
512
- describe_deliveries: Sdk3.DescribeDeliveriesCommand,
513
- describe_delivery_destinations: Sdk3.DescribeDeliveryDestinationsCommand,
514
- describe_delivery_sources: Sdk3.DescribeDeliverySourcesCommand,
515
- describe_destinations: Sdk3.DescribeDestinationsCommand,
516
- describe_export_tasks: Sdk3.DescribeExportTasksCommand,
517
- describe_field_indexes: Sdk3.DescribeFieldIndexesCommand,
518
- describe_import_task_batches: Sdk3.DescribeImportTaskBatchesCommand,
519
- describe_import_tasks: Sdk3.DescribeImportTasksCommand,
520
- describe_index_policies: Sdk3.DescribeIndexPoliciesCommand,
521
- describe_log_groups: Sdk3.DescribeLogGroupsCommand,
522
- describe_log_streams: Sdk3.DescribeLogStreamsCommand,
523
- describe_metric_filters: Sdk3.DescribeMetricFiltersCommand,
524
- describe_queries: Sdk3.DescribeQueriesCommand,
525
- describe_query_definitions: Sdk3.DescribeQueryDefinitionsCommand,
526
- describe_resource_policies: Sdk3.DescribeResourcePoliciesCommand,
527
- describe_subscription_filters: Sdk3.DescribeSubscriptionFiltersCommand,
528
- disassociate_kms_key: Sdk3.DisassociateKmsKeyCommand,
529
- disassociate_source_from_s3_table_integration: Sdk3.DisassociateSourceFromS3TableIntegrationCommand,
530
- filter_log_events: Sdk3.FilterLogEventsCommand,
531
- get_data_protection_policy: Sdk3.GetDataProtectionPolicyCommand,
532
- get_delivery: Sdk3.GetDeliveryCommand,
533
- get_delivery_destination: Sdk3.GetDeliveryDestinationCommand,
534
- get_delivery_destination_policy: Sdk3.GetDeliveryDestinationPolicyCommand,
535
- get_delivery_source: Sdk3.GetDeliverySourceCommand,
536
- get_integration: Sdk3.GetIntegrationCommand,
537
- get_log_anomaly_detector: Sdk3.GetLogAnomalyDetectorCommand,
538
- get_log_events: Sdk3.GetLogEventsCommand,
539
- get_log_fields: Sdk3.GetLogFieldsCommand,
540
- get_log_group_fields: Sdk3.GetLogGroupFieldsCommand,
541
- get_log_object: Sdk3.GetLogObjectCommand,
542
- get_log_record: Sdk3.GetLogRecordCommand,
543
- get_query_results: Sdk3.GetQueryResultsCommand,
544
- get_scheduled_query: Sdk3.GetScheduledQueryCommand,
545
- get_scheduled_query_history: Sdk3.GetScheduledQueryHistoryCommand,
546
- get_transformer: Sdk3.GetTransformerCommand,
547
- list_aggregate_log_group_summaries: Sdk3.ListAggregateLogGroupSummariesCommand,
548
- list_anomalies: Sdk3.ListAnomaliesCommand,
549
- list_integrations: Sdk3.ListIntegrationsCommand,
550
- list_log_anomaly_detectors: Sdk3.ListLogAnomalyDetectorsCommand,
551
- list_log_groups: Sdk3.ListLogGroupsCommand,
552
- list_log_groups_for_query: Sdk3.ListLogGroupsForQueryCommand,
553
- list_scheduled_queries: Sdk3.ListScheduledQueriesCommand,
554
- list_sources_for_s3_table_integration: Sdk3.ListSourcesForS3TableIntegrationCommand,
555
- list_tags_for_resource: Sdk3.ListTagsForResourceCommand,
556
- list_tags_log_group: Sdk3.ListTagsLogGroupCommand,
557
- put_account_policy: Sdk3.PutAccountPolicyCommand,
558
- put_data_protection_policy: Sdk3.PutDataProtectionPolicyCommand,
559
- put_delivery_destination: Sdk3.PutDeliveryDestinationCommand,
560
- put_delivery_destination_policy: Sdk3.PutDeliveryDestinationPolicyCommand,
561
- put_delivery_source: Sdk3.PutDeliverySourceCommand,
562
- put_destination: Sdk3.PutDestinationCommand,
563
- put_destination_policy: Sdk3.PutDestinationPolicyCommand,
564
- put_index_policy: Sdk3.PutIndexPolicyCommand,
565
- put_integration: Sdk3.PutIntegrationCommand,
566
- put_log_events: Sdk3.PutLogEventsCommand,
567
- put_log_group_deletion_protection: Sdk3.PutLogGroupDeletionProtectionCommand,
568
- put_metric_filter: Sdk3.PutMetricFilterCommand,
569
- put_query_definition: Sdk3.PutQueryDefinitionCommand,
570
- put_resource_policy: Sdk3.PutResourcePolicyCommand,
571
- put_retention_policy: Sdk3.PutRetentionPolicyCommand,
572
- put_subscription_filter: Sdk3.PutSubscriptionFilterCommand,
573
- put_transformer: Sdk3.PutTransformerCommand,
574
- start_live_tail: Sdk3.StartLiveTailCommand,
575
- start_query: Sdk3.StartQueryCommand,
576
- stop_query: Sdk3.StopQueryCommand,
577
- tag_log_group: Sdk3.TagLogGroupCommand,
578
- tag_resource: Sdk3.TagResourceCommand,
579
- test_metric_filter: Sdk3.TestMetricFilterCommand,
580
- test_transformer: Sdk3.TestTransformerCommand,
581
- untag_log_group: Sdk3.UntagLogGroupCommand,
582
- untag_resource: Sdk3.UntagResourceCommand,
583
- update_anomaly: Sdk3.UpdateAnomalyCommand,
584
- update_delivery_configuration: Sdk3.UpdateDeliveryConfigurationCommand,
585
- update_log_anomaly_detector: Sdk3.UpdateLogAnomalyDetectorCommand,
586
- update_scheduled_query: Sdk3.UpdateScheduledQueryCommand
587
- };
588
-
589
- // src/aws/clients/dynamodb.ts
590
- import * as Layer4 from "effect/Layer";
591
- import * as Effect4 from "effect/Effect";
592
- import * as Context4 from "effect/Context";
593
- import * as Sdk4 from "@aws-sdk/client-dynamodb";
594
- var DynamoDBClient2 = class _DynamoDBClient extends Context4.Tag("DynamoDBClient")() {
595
- static Default = (config) => Layer4.effect(
596
- _DynamoDBClient,
597
- Effect4.gen(function* () {
598
- return new Sdk4.DynamoDBClient(config ?? {});
599
- })
600
- );
601
- };
602
- var make4 = Effect4.fn("aws_DynamoDB")(function* (actionName, actionInput) {
603
- yield* Effect4.logDebug(`aws_DynamoDB.${actionName}`, { input: actionInput });
604
- const client = yield* DynamoDBClient2;
605
- const command = new DynamoDBCommandFactory[actionName](actionInput);
606
- const result = yield* Effect4.tryPromise({
607
- try: () => client.send(command),
608
- catch: (error) => {
609
- if (error instanceof Sdk4.DynamoDBServiceException) {
610
- return new DynamoDBError(error, actionName);
611
- }
612
- throw error;
613
- }
614
- });
615
- yield* Effect4.logDebug(`aws_DynamoDB.${actionName} completed`);
616
- return result;
617
- });
618
- var DynamoDBError = class {
619
- constructor(cause, command) {
620
- this.cause = cause;
621
- this.command = command;
622
- }
623
- _tag = "DynamoDBError";
624
- $is(name) {
625
- return this.cause.name == name;
626
- }
627
- is(name) {
628
- return this.cause.name == name;
629
- }
630
- };
631
- var DynamoDBCommandFactory = {
632
- batch_execute_statement: Sdk4.BatchExecuteStatementCommand,
633
- batch_get_item: Sdk4.BatchGetItemCommand,
634
- batch_write_item: Sdk4.BatchWriteItemCommand,
635
- create_backup: Sdk4.CreateBackupCommand,
636
- create_global_table: Sdk4.CreateGlobalTableCommand,
637
- create_table: Sdk4.CreateTableCommand,
638
- delete_backup: Sdk4.DeleteBackupCommand,
639
- delete_item: Sdk4.DeleteItemCommand,
640
- delete_resource_policy: Sdk4.DeleteResourcePolicyCommand,
641
- delete_table: Sdk4.DeleteTableCommand,
642
- describe_backup: Sdk4.DescribeBackupCommand,
643
- describe_continuous_backups: Sdk4.DescribeContinuousBackupsCommand,
644
- describe_contributor_insights: Sdk4.DescribeContributorInsightsCommand,
645
- describe_endpoints: Sdk4.DescribeEndpointsCommand,
646
- describe_export: Sdk4.DescribeExportCommand,
647
- describe_global_table: Sdk4.DescribeGlobalTableCommand,
648
- describe_global_table_settings: Sdk4.DescribeGlobalTableSettingsCommand,
649
- describe_import: Sdk4.DescribeImportCommand,
650
- describe_kinesis_streaming_destination: Sdk4.DescribeKinesisStreamingDestinationCommand,
651
- describe_limits: Sdk4.DescribeLimitsCommand,
652
- describe_table: Sdk4.DescribeTableCommand,
653
- describe_table_replica_auto_scaling: Sdk4.DescribeTableReplicaAutoScalingCommand,
654
- describe_time_to_live: Sdk4.DescribeTimeToLiveCommand,
655
- disable_kinesis_streaming_destination: Sdk4.DisableKinesisStreamingDestinationCommand,
656
- enable_kinesis_streaming_destination: Sdk4.EnableKinesisStreamingDestinationCommand,
657
- execute_statement: Sdk4.ExecuteStatementCommand,
658
- execute_transaction: Sdk4.ExecuteTransactionCommand,
659
- export_table_to_point_in_time: Sdk4.ExportTableToPointInTimeCommand,
660
- get_item: Sdk4.GetItemCommand,
661
- get_resource_policy: Sdk4.GetResourcePolicyCommand,
662
- import_table: Sdk4.ImportTableCommand,
663
- list_backups: Sdk4.ListBackupsCommand,
664
- list_contributor_insights: Sdk4.ListContributorInsightsCommand,
665
- list_exports: Sdk4.ListExportsCommand,
666
- list_global_tables: Sdk4.ListGlobalTablesCommand,
667
- list_imports: Sdk4.ListImportsCommand,
668
- list_tables: Sdk4.ListTablesCommand,
669
- list_tags_of_resource: Sdk4.ListTagsOfResourceCommand,
670
- put_item: Sdk4.PutItemCommand,
671
- put_resource_policy: Sdk4.PutResourcePolicyCommand,
672
- query: Sdk4.QueryCommand,
673
- restore_table_from_backup: Sdk4.RestoreTableFromBackupCommand,
674
- restore_table_to_point_in_time: Sdk4.RestoreTableToPointInTimeCommand,
675
- scan: Sdk4.ScanCommand,
676
- tag_resource: Sdk4.TagResourceCommand,
677
- transact_get_items: Sdk4.TransactGetItemsCommand,
678
- transact_write_items: Sdk4.TransactWriteItemsCommand,
679
- untag_resource: Sdk4.UntagResourceCommand,
680
- update_continuous_backups: Sdk4.UpdateContinuousBackupsCommand,
681
- update_contributor_insights: Sdk4.UpdateContributorInsightsCommand,
682
- update_global_table: Sdk4.UpdateGlobalTableCommand,
683
- update_global_table_settings: Sdk4.UpdateGlobalTableSettingsCommand,
684
- update_item: Sdk4.UpdateItemCommand,
685
- update_kinesis_streaming_destination: Sdk4.UpdateKinesisStreamingDestinationCommand,
686
- update_table: Sdk4.UpdateTableCommand,
687
- update_table_replica_auto_scaling: Sdk4.UpdateTableReplicaAutoScalingCommand,
688
- update_time_to_live: Sdk4.UpdateTimeToLiveCommand
689
- };
690
-
691
- // src/aws/clients/iam.ts
692
- import * as Layer5 from "effect/Layer";
693
- import * as Effect5 from "effect/Effect";
694
- import * as Context5 from "effect/Context";
695
- import * as Sdk5 from "@aws-sdk/client-iam";
696
- var IAMClient2 = class _IAMClient extends Context5.Tag("IAMClient")() {
697
- static Default = (config) => Layer5.effect(
698
- _IAMClient,
699
- Effect5.gen(function* () {
700
- return new Sdk5.IAMClient(config ?? {});
701
- })
702
- );
703
- };
704
- var make5 = Effect5.fn("aws_IAM")(function* (actionName, actionInput) {
705
- yield* Effect5.logDebug(`aws_IAM.${actionName}`, { input: actionInput });
706
- const client = yield* IAMClient2;
707
- const command = new IAMCommandFactory[actionName](actionInput);
708
- const result = yield* Effect5.tryPromise({
709
- try: () => client.send(command),
710
- catch: (error) => {
711
- if (error instanceof Sdk5.IAMServiceException) {
712
- return new IAMError(error, actionName);
713
- }
714
- throw error;
715
- }
716
- });
717
- yield* Effect5.logDebug(`aws_IAM.${actionName} completed`);
718
- return result;
719
- });
720
- var IAMError = class {
721
- constructor(cause, command) {
722
- this.cause = cause;
723
- this.command = command;
724
- }
725
- _tag = "IAMError";
726
- $is(name) {
727
- return this.cause.name == name;
728
- }
729
- is(name) {
730
- return this.cause.name == name;
731
- }
732
- };
733
- var IAMCommandFactory = {
734
- accept_delegation_request: Sdk5.AcceptDelegationRequestCommand,
735
- add_client_id_to_open_id_connect_provider: Sdk5.AddClientIDToOpenIDConnectProviderCommand,
736
- add_role_to_instance_profile: Sdk5.AddRoleToInstanceProfileCommand,
737
- add_user_to_group: Sdk5.AddUserToGroupCommand,
738
- associate_delegation_request: Sdk5.AssociateDelegationRequestCommand,
739
- attach_group_policy: Sdk5.AttachGroupPolicyCommand,
740
- attach_role_policy: Sdk5.AttachRolePolicyCommand,
741
- attach_user_policy: Sdk5.AttachUserPolicyCommand,
742
- change_password: Sdk5.ChangePasswordCommand,
743
- create_access_key: Sdk5.CreateAccessKeyCommand,
744
- create_account_alias: Sdk5.CreateAccountAliasCommand,
745
- create_delegation_request: Sdk5.CreateDelegationRequestCommand,
746
- create_group: Sdk5.CreateGroupCommand,
747
- create_instance_profile: Sdk5.CreateInstanceProfileCommand,
748
- create_login_profile: Sdk5.CreateLoginProfileCommand,
749
- create_open_id_connect_provider: Sdk5.CreateOpenIDConnectProviderCommand,
750
- create_policy: Sdk5.CreatePolicyCommand,
751
- create_policy_version: Sdk5.CreatePolicyVersionCommand,
752
- create_role: Sdk5.CreateRoleCommand,
753
- create_saml_provider: Sdk5.CreateSAMLProviderCommand,
754
- create_service_linked_role: Sdk5.CreateServiceLinkedRoleCommand,
755
- create_service_specific_credential: Sdk5.CreateServiceSpecificCredentialCommand,
756
- create_user: Sdk5.CreateUserCommand,
757
- create_virtual_mfa_device: Sdk5.CreateVirtualMFADeviceCommand,
758
- deactivate_mfa_device: Sdk5.DeactivateMFADeviceCommand,
759
- delete_access_key: Sdk5.DeleteAccessKeyCommand,
760
- delete_account_alias: Sdk5.DeleteAccountAliasCommand,
761
- delete_account_password_policy: Sdk5.DeleteAccountPasswordPolicyCommand,
762
- delete_group: Sdk5.DeleteGroupCommand,
763
- delete_group_policy: Sdk5.DeleteGroupPolicyCommand,
764
- delete_instance_profile: Sdk5.DeleteInstanceProfileCommand,
765
- delete_login_profile: Sdk5.DeleteLoginProfileCommand,
766
- delete_open_id_connect_provider: Sdk5.DeleteOpenIDConnectProviderCommand,
767
- delete_policy: Sdk5.DeletePolicyCommand,
768
- delete_policy_version: Sdk5.DeletePolicyVersionCommand,
769
- delete_role: Sdk5.DeleteRoleCommand,
770
- delete_role_permissions_boundary: Sdk5.DeleteRolePermissionsBoundaryCommand,
771
- delete_role_policy: Sdk5.DeleteRolePolicyCommand,
772
- delete_saml_provider: Sdk5.DeleteSAMLProviderCommand,
773
- delete_server_certificate: Sdk5.DeleteServerCertificateCommand,
774
- delete_service_linked_role: Sdk5.DeleteServiceLinkedRoleCommand,
775
- delete_service_specific_credential: Sdk5.DeleteServiceSpecificCredentialCommand,
776
- delete_signing_certificate: Sdk5.DeleteSigningCertificateCommand,
777
- delete_ssh_public_key: Sdk5.DeleteSSHPublicKeyCommand,
778
- delete_user: Sdk5.DeleteUserCommand,
779
- delete_user_permissions_boundary: Sdk5.DeleteUserPermissionsBoundaryCommand,
780
- delete_user_policy: Sdk5.DeleteUserPolicyCommand,
781
- delete_virtual_mfa_device: Sdk5.DeleteVirtualMFADeviceCommand,
782
- detach_group_policy: Sdk5.DetachGroupPolicyCommand,
783
- detach_role_policy: Sdk5.DetachRolePolicyCommand,
784
- detach_user_policy: Sdk5.DetachUserPolicyCommand,
785
- disable_organizations_root_credentials_management: Sdk5.DisableOrganizationsRootCredentialsManagementCommand,
786
- disable_organizations_root_sessions: Sdk5.DisableOrganizationsRootSessionsCommand,
787
- disable_outbound_web_identity_federation: Sdk5.DisableOutboundWebIdentityFederationCommand,
788
- enable_mfa_device: Sdk5.EnableMFADeviceCommand,
789
- enable_organizations_root_credentials_management: Sdk5.EnableOrganizationsRootCredentialsManagementCommand,
790
- enable_organizations_root_sessions: Sdk5.EnableOrganizationsRootSessionsCommand,
791
- enable_outbound_web_identity_federation: Sdk5.EnableOutboundWebIdentityFederationCommand,
792
- generate_credential_report: Sdk5.GenerateCredentialReportCommand,
793
- generate_organizations_access_report: Sdk5.GenerateOrganizationsAccessReportCommand,
794
- generate_service_last_accessed_details: Sdk5.GenerateServiceLastAccessedDetailsCommand,
795
- get_access_key_last_used: Sdk5.GetAccessKeyLastUsedCommand,
796
- get_account_authorization_details: Sdk5.GetAccountAuthorizationDetailsCommand,
797
- get_account_password_policy: Sdk5.GetAccountPasswordPolicyCommand,
798
- get_account_summary: Sdk5.GetAccountSummaryCommand,
799
- get_context_keys_for_custom_policy: Sdk5.GetContextKeysForCustomPolicyCommand,
800
- get_context_keys_for_principal_policy: Sdk5.GetContextKeysForPrincipalPolicyCommand,
801
- get_credential_report: Sdk5.GetCredentialReportCommand,
802
- get_delegation_request: Sdk5.GetDelegationRequestCommand,
803
- get_group: Sdk5.GetGroupCommand,
804
- get_group_policy: Sdk5.GetGroupPolicyCommand,
805
- get_human_readable_summary: Sdk5.GetHumanReadableSummaryCommand,
806
- get_instance_profile: Sdk5.GetInstanceProfileCommand,
807
- get_login_profile: Sdk5.GetLoginProfileCommand,
808
- get_mfa_device: Sdk5.GetMFADeviceCommand,
809
- get_open_id_connect_provider: Sdk5.GetOpenIDConnectProviderCommand,
810
- get_organizations_access_report: Sdk5.GetOrganizationsAccessReportCommand,
811
- get_outbound_web_identity_federation_info: Sdk5.GetOutboundWebIdentityFederationInfoCommand,
812
- get_policy: Sdk5.GetPolicyCommand,
813
- get_policy_version: Sdk5.GetPolicyVersionCommand,
814
- get_role: Sdk5.GetRoleCommand,
815
- get_role_policy: Sdk5.GetRolePolicyCommand,
816
- get_saml_provider: Sdk5.GetSAMLProviderCommand,
817
- get_server_certificate: Sdk5.GetServerCertificateCommand,
818
- get_service_last_accessed_details: Sdk5.GetServiceLastAccessedDetailsCommand,
819
- get_service_last_accessed_details_with_entities: Sdk5.GetServiceLastAccessedDetailsWithEntitiesCommand,
820
- get_service_linked_role_deletion_status: Sdk5.GetServiceLinkedRoleDeletionStatusCommand,
821
- get_ssh_public_key: Sdk5.GetSSHPublicKeyCommand,
822
- get_user: Sdk5.GetUserCommand,
823
- get_user_policy: Sdk5.GetUserPolicyCommand,
824
- list_access_keys: Sdk5.ListAccessKeysCommand,
825
- list_account_aliases: Sdk5.ListAccountAliasesCommand,
826
- list_attached_group_policies: Sdk5.ListAttachedGroupPoliciesCommand,
827
- list_attached_role_policies: Sdk5.ListAttachedRolePoliciesCommand,
828
- list_attached_user_policies: Sdk5.ListAttachedUserPoliciesCommand,
829
- list_delegation_requests: Sdk5.ListDelegationRequestsCommand,
830
- list_entities_for_policy: Sdk5.ListEntitiesForPolicyCommand,
831
- list_group_policies: Sdk5.ListGroupPoliciesCommand,
832
- list_groups: Sdk5.ListGroupsCommand,
833
- list_groups_for_user: Sdk5.ListGroupsForUserCommand,
834
- list_instance_profile_tags: Sdk5.ListInstanceProfileTagsCommand,
835
- list_instance_profiles: Sdk5.ListInstanceProfilesCommand,
836
- list_instance_profiles_for_role: Sdk5.ListInstanceProfilesForRoleCommand,
837
- list_mfa_device_tags: Sdk5.ListMFADeviceTagsCommand,
838
- list_mfa_devices: Sdk5.ListMFADevicesCommand,
839
- list_open_id_connect_provider_tags: Sdk5.ListOpenIDConnectProviderTagsCommand,
840
- list_open_id_connect_providers: Sdk5.ListOpenIDConnectProvidersCommand,
841
- list_organizations_features: Sdk5.ListOrganizationsFeaturesCommand,
842
- list_policies: Sdk5.ListPoliciesCommand,
843
- list_policies_granting_service_access: Sdk5.ListPoliciesGrantingServiceAccessCommand,
844
- list_policy_tags: Sdk5.ListPolicyTagsCommand,
845
- list_policy_versions: Sdk5.ListPolicyVersionsCommand,
846
- list_role_policies: Sdk5.ListRolePoliciesCommand,
847
- list_role_tags: Sdk5.ListRoleTagsCommand,
848
- list_roles: Sdk5.ListRolesCommand,
849
- list_saml_provider_tags: Sdk5.ListSAMLProviderTagsCommand,
850
- list_saml_providers: Sdk5.ListSAMLProvidersCommand,
851
- list_server_certificate_tags: Sdk5.ListServerCertificateTagsCommand,
852
- list_server_certificates: Sdk5.ListServerCertificatesCommand,
853
- list_service_specific_credentials: Sdk5.ListServiceSpecificCredentialsCommand,
854
- list_signing_certificates: Sdk5.ListSigningCertificatesCommand,
855
- list_ssh_public_keys: Sdk5.ListSSHPublicKeysCommand,
856
- list_user_policies: Sdk5.ListUserPoliciesCommand,
857
- list_user_tags: Sdk5.ListUserTagsCommand,
858
- list_users: Sdk5.ListUsersCommand,
859
- list_virtual_mfa_devices: Sdk5.ListVirtualMFADevicesCommand,
860
- put_group_policy: Sdk5.PutGroupPolicyCommand,
861
- put_role_permissions_boundary: Sdk5.PutRolePermissionsBoundaryCommand,
862
- put_role_policy: Sdk5.PutRolePolicyCommand,
863
- put_user_permissions_boundary: Sdk5.PutUserPermissionsBoundaryCommand,
864
- put_user_policy: Sdk5.PutUserPolicyCommand,
865
- reject_delegation_request: Sdk5.RejectDelegationRequestCommand,
866
- remove_client_id_from_open_id_connect_provider: Sdk5.RemoveClientIDFromOpenIDConnectProviderCommand,
867
- remove_role_from_instance_profile: Sdk5.RemoveRoleFromInstanceProfileCommand,
868
- remove_user_from_group: Sdk5.RemoveUserFromGroupCommand,
869
- reset_service_specific_credential: Sdk5.ResetServiceSpecificCredentialCommand,
870
- resync_mfa_device: Sdk5.ResyncMFADeviceCommand,
871
- send_delegation_token: Sdk5.SendDelegationTokenCommand,
872
- set_default_policy_version: Sdk5.SetDefaultPolicyVersionCommand,
873
- set_security_token_service_preferences: Sdk5.SetSecurityTokenServicePreferencesCommand,
874
- simulate_custom_policy: Sdk5.SimulateCustomPolicyCommand,
875
- simulate_principal_policy: Sdk5.SimulatePrincipalPolicyCommand,
876
- tag_instance_profile: Sdk5.TagInstanceProfileCommand,
877
- tag_mfa_device: Sdk5.TagMFADeviceCommand,
878
- tag_open_id_connect_provider: Sdk5.TagOpenIDConnectProviderCommand,
879
- tag_policy: Sdk5.TagPolicyCommand,
880
- tag_role: Sdk5.TagRoleCommand,
881
- tag_saml_provider: Sdk5.TagSAMLProviderCommand,
882
- tag_server_certificate: Sdk5.TagServerCertificateCommand,
883
- tag_user: Sdk5.TagUserCommand,
884
- untag_instance_profile: Sdk5.UntagInstanceProfileCommand,
885
- untag_mfa_device: Sdk5.UntagMFADeviceCommand,
886
- untag_open_id_connect_provider: Sdk5.UntagOpenIDConnectProviderCommand,
887
- untag_policy: Sdk5.UntagPolicyCommand,
888
- untag_role: Sdk5.UntagRoleCommand,
889
- untag_saml_provider: Sdk5.UntagSAMLProviderCommand,
890
- untag_server_certificate: Sdk5.UntagServerCertificateCommand,
891
- untag_user: Sdk5.UntagUserCommand,
892
- update_access_key: Sdk5.UpdateAccessKeyCommand,
893
- update_account_password_policy: Sdk5.UpdateAccountPasswordPolicyCommand,
894
- update_assume_role_policy: Sdk5.UpdateAssumeRolePolicyCommand,
895
- update_delegation_request: Sdk5.UpdateDelegationRequestCommand,
896
- update_group: Sdk5.UpdateGroupCommand,
897
- update_login_profile: Sdk5.UpdateLoginProfileCommand,
898
- update_open_id_connect_provider_thumbprint: Sdk5.UpdateOpenIDConnectProviderThumbprintCommand,
899
- update_role: Sdk5.UpdateRoleCommand,
900
- update_role_description: Sdk5.UpdateRoleDescriptionCommand,
901
- update_saml_provider: Sdk5.UpdateSAMLProviderCommand,
902
- update_server_certificate: Sdk5.UpdateServerCertificateCommand,
903
- update_service_specific_credential: Sdk5.UpdateServiceSpecificCredentialCommand,
904
- update_signing_certificate: Sdk5.UpdateSigningCertificateCommand,
905
- update_ssh_public_key: Sdk5.UpdateSSHPublicKeyCommand,
906
- update_user: Sdk5.UpdateUserCommand,
907
- upload_server_certificate: Sdk5.UploadServerCertificateCommand,
908
- upload_signing_certificate: Sdk5.UploadSigningCertificateCommand,
909
- upload_ssh_public_key: Sdk5.UploadSSHPublicKeyCommand
910
- };
911
-
912
- // src/aws/clients/lambda.ts
913
- import * as Layer6 from "effect/Layer";
914
- import * as Effect6 from "effect/Effect";
915
- import * as Context6 from "effect/Context";
916
- import * as Sdk6 from "@aws-sdk/client-lambda";
917
- var LambdaClient2 = class _LambdaClient extends Context6.Tag("LambdaClient")() {
918
- static Default = (config) => Layer6.effect(
919
- _LambdaClient,
920
- Effect6.gen(function* () {
921
- return new Sdk6.LambdaClient(config ?? {});
922
- })
923
- );
924
- };
925
- var make6 = Effect6.fn("aws_Lambda")(function* (actionName, actionInput) {
926
- yield* Effect6.logDebug(`aws_Lambda.${actionName}`, { input: actionInput });
927
- const client = yield* LambdaClient2;
928
- const command = new LambdaCommandFactory[actionName](actionInput);
929
- const result = yield* Effect6.tryPromise({
930
- try: () => client.send(command),
931
- catch: (error) => {
932
- if (error instanceof Sdk6.LambdaServiceException) {
933
- return new LambdaError(error, actionName);
934
- }
935
- throw error;
936
- }
937
- });
938
- yield* Effect6.logDebug(`aws_Lambda.${actionName} completed`);
939
- return result;
940
- });
941
- var LambdaError = class {
942
- constructor(cause, command) {
943
- this.cause = cause;
944
- this.command = command;
945
- }
946
- _tag = "LambdaError";
947
- $is(name) {
948
- return this.cause.name == name;
949
- }
950
- is(name) {
951
- return this.cause.name == name;
952
- }
953
- };
954
- var LambdaCommandFactory = {
955
- add_layer_version_permission: Sdk6.AddLayerVersionPermissionCommand,
956
- add_permission: Sdk6.AddPermissionCommand,
957
- checkpoint_durable_execution: Sdk6.CheckpointDurableExecutionCommand,
958
- create_alias: Sdk6.CreateAliasCommand,
959
- create_capacity_provider: Sdk6.CreateCapacityProviderCommand,
960
- create_code_signing_config: Sdk6.CreateCodeSigningConfigCommand,
961
- create_event_source_mapping: Sdk6.CreateEventSourceMappingCommand,
962
- create_function: Sdk6.CreateFunctionCommand,
963
- create_function_url_config: Sdk6.CreateFunctionUrlConfigCommand,
964
- delete_alias: Sdk6.DeleteAliasCommand,
965
- delete_capacity_provider: Sdk6.DeleteCapacityProviderCommand,
966
- delete_code_signing_config: Sdk6.DeleteCodeSigningConfigCommand,
967
- delete_event_source_mapping: Sdk6.DeleteEventSourceMappingCommand,
968
- delete_function: Sdk6.DeleteFunctionCommand,
969
- delete_function_code_signing_config: Sdk6.DeleteFunctionCodeSigningConfigCommand,
970
- delete_function_concurrency: Sdk6.DeleteFunctionConcurrencyCommand,
971
- delete_function_event_invoke_config: Sdk6.DeleteFunctionEventInvokeConfigCommand,
972
- delete_function_url_config: Sdk6.DeleteFunctionUrlConfigCommand,
973
- delete_layer_version: Sdk6.DeleteLayerVersionCommand,
974
- delete_provisioned_concurrency_config: Sdk6.DeleteProvisionedConcurrencyConfigCommand,
975
- get_account_settings: Sdk6.GetAccountSettingsCommand,
976
- get_alias: Sdk6.GetAliasCommand,
977
- get_capacity_provider: Sdk6.GetCapacityProviderCommand,
978
- get_code_signing_config: Sdk6.GetCodeSigningConfigCommand,
979
- get_durable_execution: Sdk6.GetDurableExecutionCommand,
980
- get_durable_execution_history: Sdk6.GetDurableExecutionHistoryCommand,
981
- get_durable_execution_state: Sdk6.GetDurableExecutionStateCommand,
982
- get_event_source_mapping: Sdk6.GetEventSourceMappingCommand,
983
- get_function: Sdk6.GetFunctionCommand,
984
- get_function_code_signing_config: Sdk6.GetFunctionCodeSigningConfigCommand,
985
- get_function_concurrency: Sdk6.GetFunctionConcurrencyCommand,
986
- get_function_configuration: Sdk6.GetFunctionConfigurationCommand,
987
- get_function_event_invoke_config: Sdk6.GetFunctionEventInvokeConfigCommand,
988
- get_function_recursion_config: Sdk6.GetFunctionRecursionConfigCommand,
989
- get_function_scaling_config: Sdk6.GetFunctionScalingConfigCommand,
990
- get_function_url_config: Sdk6.GetFunctionUrlConfigCommand,
991
- get_layer_version: Sdk6.GetLayerVersionCommand,
992
- get_layer_version_by_arn: Sdk6.GetLayerVersionByArnCommand,
993
- get_layer_version_policy: Sdk6.GetLayerVersionPolicyCommand,
994
- get_policy: Sdk6.GetPolicyCommand,
995
- get_provisioned_concurrency_config: Sdk6.GetProvisionedConcurrencyConfigCommand,
996
- get_runtime_management_config: Sdk6.GetRuntimeManagementConfigCommand,
997
- invoke: Sdk6.InvokeCommand,
998
- invoke_async: Sdk6.InvokeAsyncCommand,
999
- invoke_with_response_stream: Sdk6.InvokeWithResponseStreamCommand,
1000
- list_aliases: Sdk6.ListAliasesCommand,
1001
- list_capacity_providers: Sdk6.ListCapacityProvidersCommand,
1002
- list_code_signing_configs: Sdk6.ListCodeSigningConfigsCommand,
1003
- list_durable_executions_by_function: Sdk6.ListDurableExecutionsByFunctionCommand,
1004
- list_event_source_mappings: Sdk6.ListEventSourceMappingsCommand,
1005
- list_function_event_invoke_configs: Sdk6.ListFunctionEventInvokeConfigsCommand,
1006
- list_function_url_configs: Sdk6.ListFunctionUrlConfigsCommand,
1007
- list_function_versions_by_capacity_provider: Sdk6.ListFunctionVersionsByCapacityProviderCommand,
1008
- list_functions: Sdk6.ListFunctionsCommand,
1009
- list_functions_by_code_signing_config: Sdk6.ListFunctionsByCodeSigningConfigCommand,
1010
- list_layer_versions: Sdk6.ListLayerVersionsCommand,
1011
- list_layers: Sdk6.ListLayersCommand,
1012
- list_provisioned_concurrency_configs: Sdk6.ListProvisionedConcurrencyConfigsCommand,
1013
- list_tags: Sdk6.ListTagsCommand,
1014
- list_versions_by_function: Sdk6.ListVersionsByFunctionCommand,
1015
- publish_layer_version: Sdk6.PublishLayerVersionCommand,
1016
- publish_version: Sdk6.PublishVersionCommand,
1017
- put_function_code_signing_config: Sdk6.PutFunctionCodeSigningConfigCommand,
1018
- put_function_concurrency: Sdk6.PutFunctionConcurrencyCommand,
1019
- put_function_event_invoke_config: Sdk6.PutFunctionEventInvokeConfigCommand,
1020
- put_function_recursion_config: Sdk6.PutFunctionRecursionConfigCommand,
1021
- put_function_scaling_config: Sdk6.PutFunctionScalingConfigCommand,
1022
- put_provisioned_concurrency_config: Sdk6.PutProvisionedConcurrencyConfigCommand,
1023
- put_runtime_management_config: Sdk6.PutRuntimeManagementConfigCommand,
1024
- remove_layer_version_permission: Sdk6.RemoveLayerVersionPermissionCommand,
1025
- remove_permission: Sdk6.RemovePermissionCommand,
1026
- send_durable_execution_callback_failure: Sdk6.SendDurableExecutionCallbackFailureCommand,
1027
- send_durable_execution_callback_heartbeat: Sdk6.SendDurableExecutionCallbackHeartbeatCommand,
1028
- send_durable_execution_callback_success: Sdk6.SendDurableExecutionCallbackSuccessCommand,
1029
- stop_durable_execution: Sdk6.StopDurableExecutionCommand,
1030
- tag_resource: Sdk6.TagResourceCommand,
1031
- untag_resource: Sdk6.UntagResourceCommand,
1032
- update_alias: Sdk6.UpdateAliasCommand,
1033
- update_capacity_provider: Sdk6.UpdateCapacityProviderCommand,
1034
- update_code_signing_config: Sdk6.UpdateCodeSigningConfigCommand,
1035
- update_event_source_mapping: Sdk6.UpdateEventSourceMappingCommand,
1036
- update_function_code: Sdk6.UpdateFunctionCodeCommand,
1037
- update_function_configuration: Sdk6.UpdateFunctionConfigurationCommand,
1038
- update_function_event_invoke_config: Sdk6.UpdateFunctionEventInvokeConfigCommand,
1039
- update_function_url_config: Sdk6.UpdateFunctionUrlConfigCommand
1040
- };
1041
-
1042
- // src/aws/clients/resource-groups-tagging-api.ts
1043
- import * as Layer7 from "effect/Layer";
1044
- import * as Effect7 from "effect/Effect";
1045
- import * as Context7 from "effect/Context";
1046
- import * as Sdk7 from "@aws-sdk/client-resource-groups-tagging-api";
1047
- var ResourceGroupsTaggingAPIClient2 = class _ResourceGroupsTaggingAPIClient extends Context7.Tag("ResourceGroupsTaggingAPIClient")() {
1048
- static Default = (config) => Layer7.effect(
1049
- _ResourceGroupsTaggingAPIClient,
1050
- Effect7.gen(function* () {
1051
- return new Sdk7.ResourceGroupsTaggingAPIClient(config ?? {});
1052
- })
1053
- );
1054
- };
1055
- var make7 = Effect7.fn("aws_ResourceGroupsTaggingAPI")(function* (actionName, actionInput) {
1056
- yield* Effect7.logDebug(`aws_ResourceGroupsTaggingAPI.${actionName}`, { input: actionInput });
1057
- const client = yield* ResourceGroupsTaggingAPIClient2;
1058
- const command = new ResourceGroupsTaggingAPICommandFactory[actionName](actionInput);
1059
- const result = yield* Effect7.tryPromise({
1060
- try: () => client.send(command),
1061
- catch: (error) => {
1062
- if (error instanceof Sdk7.ResourceGroupsTaggingAPIServiceException) {
1063
- return new ResourceGroupsTaggingAPIError(error, actionName);
1064
- }
1065
- throw error;
1066
- }
1067
- });
1068
- yield* Effect7.logDebug(`aws_ResourceGroupsTaggingAPI.${actionName} completed`);
1069
- return result;
1070
- });
1071
- var ResourceGroupsTaggingAPIError = class {
1072
- constructor(cause, command) {
1073
- this.cause = cause;
1074
- this.command = command;
1075
- }
1076
- _tag = "ResourceGroupsTaggingAPIError";
1077
- $is(name) {
1078
- return this.cause.name == name;
1079
- }
1080
- is(name) {
1081
- return this.cause.name == name;
1082
- }
1083
- };
1084
- var ResourceGroupsTaggingAPICommandFactory = {
1085
- describe_report_creation: Sdk7.DescribeReportCreationCommand,
1086
- get_compliance_summary: Sdk7.GetComplianceSummaryCommand,
1087
- get_resources: Sdk7.GetResourcesCommand,
1088
- get_tag_keys: Sdk7.GetTagKeysCommand,
1089
- get_tag_values: Sdk7.GetTagValuesCommand,
1090
- list_required_tags: Sdk7.ListRequiredTagsCommand,
1091
- start_report_creation: Sdk7.StartReportCreationCommand,
1092
- tag_resources: Sdk7.TagResourcesCommand,
1093
- untag_resources: Sdk7.UntagResourcesCommand
1094
- };
1095
-
1096
- // src/aws/clients/s3.ts
1097
- import * as Layer8 from "effect/Layer";
1098
- import * as Effect8 from "effect/Effect";
1099
- import * as Context8 from "effect/Context";
1100
- import * as Sdk8 from "@aws-sdk/client-s3";
1101
- var S3Client2 = class _S3Client extends Context8.Tag("S3Client")() {
1102
- static Default = (config) => Layer8.effect(
1103
- _S3Client,
1104
- Effect8.gen(function* () {
1105
- return new Sdk8.S3Client(config ?? {});
1106
- })
1107
- );
1108
- };
1109
- var make8 = Effect8.fn("aws_S3")(function* (actionName, actionInput) {
1110
- yield* Effect8.logDebug(`aws_S3.${actionName}`, { input: actionInput });
1111
- const client = yield* S3Client2;
1112
- const command = new S3CommandFactory[actionName](actionInput);
1113
- const result = yield* Effect8.tryPromise({
1114
- try: () => client.send(command),
1115
- catch: (error) => {
1116
- if (error instanceof Sdk8.S3ServiceException) {
1117
- return new S3Error(error, actionName);
1118
- }
1119
- throw error;
1120
- }
1121
- });
1122
- yield* Effect8.logDebug(`aws_S3.${actionName} completed`);
1123
- return result;
1124
- });
1125
- var S3Error = class {
1126
- constructor(cause, command) {
1127
- this.cause = cause;
1128
- this.command = command;
1129
- }
1130
- _tag = "S3Error";
1131
- $is(name) {
1132
- return this.cause.name == name;
1133
- }
1134
- is(name) {
1135
- return this.cause.name == name;
1136
- }
1137
- };
1138
- var S3CommandFactory = {
1139
- abort_multipart_upload: Sdk8.AbortMultipartUploadCommand,
1140
- complete_multipart_upload: Sdk8.CompleteMultipartUploadCommand,
1141
- copy_object: Sdk8.CopyObjectCommand,
1142
- create_bucket: Sdk8.CreateBucketCommand,
1143
- create_bucket_metadata_configuration: Sdk8.CreateBucketMetadataConfigurationCommand,
1144
- create_bucket_metadata_table_configuration: Sdk8.CreateBucketMetadataTableConfigurationCommand,
1145
- create_multipart_upload: Sdk8.CreateMultipartUploadCommand,
1146
- create_session: Sdk8.CreateSessionCommand,
1147
- delete_bucket: Sdk8.DeleteBucketCommand,
1148
- delete_bucket_analytics_configuration: Sdk8.DeleteBucketAnalyticsConfigurationCommand,
1149
- delete_bucket_cors: Sdk8.DeleteBucketCorsCommand,
1150
- delete_bucket_encryption: Sdk8.DeleteBucketEncryptionCommand,
1151
- delete_bucket_intelligent_tiering_configuration: Sdk8.DeleteBucketIntelligentTieringConfigurationCommand,
1152
- delete_bucket_inventory_configuration: Sdk8.DeleteBucketInventoryConfigurationCommand,
1153
- delete_bucket_lifecycle: Sdk8.DeleteBucketLifecycleCommand,
1154
- delete_bucket_metadata_configuration: Sdk8.DeleteBucketMetadataConfigurationCommand,
1155
- delete_bucket_metadata_table_configuration: Sdk8.DeleteBucketMetadataTableConfigurationCommand,
1156
- delete_bucket_metrics_configuration: Sdk8.DeleteBucketMetricsConfigurationCommand,
1157
- delete_bucket_ownership_controls: Sdk8.DeleteBucketOwnershipControlsCommand,
1158
- delete_bucket_policy: Sdk8.DeleteBucketPolicyCommand,
1159
- delete_bucket_replication: Sdk8.DeleteBucketReplicationCommand,
1160
- delete_bucket_tagging: Sdk8.DeleteBucketTaggingCommand,
1161
- delete_bucket_website: Sdk8.DeleteBucketWebsiteCommand,
1162
- delete_object: Sdk8.DeleteObjectCommand,
1163
- delete_object_tagging: Sdk8.DeleteObjectTaggingCommand,
1164
- delete_objects: Sdk8.DeleteObjectsCommand,
1165
- delete_public_access_block: Sdk8.DeletePublicAccessBlockCommand,
1166
- get_bucket_abac: Sdk8.GetBucketAbacCommand,
1167
- get_bucket_accelerate_configuration: Sdk8.GetBucketAccelerateConfigurationCommand,
1168
- get_bucket_acl: Sdk8.GetBucketAclCommand,
1169
- get_bucket_analytics_configuration: Sdk8.GetBucketAnalyticsConfigurationCommand,
1170
- get_bucket_cors: Sdk8.GetBucketCorsCommand,
1171
- get_bucket_encryption: Sdk8.GetBucketEncryptionCommand,
1172
- get_bucket_intelligent_tiering_configuration: Sdk8.GetBucketIntelligentTieringConfigurationCommand,
1173
- get_bucket_inventory_configuration: Sdk8.GetBucketInventoryConfigurationCommand,
1174
- get_bucket_lifecycle_configuration: Sdk8.GetBucketLifecycleConfigurationCommand,
1175
- get_bucket_location: Sdk8.GetBucketLocationCommand,
1176
- get_bucket_logging: Sdk8.GetBucketLoggingCommand,
1177
- get_bucket_metadata_configuration: Sdk8.GetBucketMetadataConfigurationCommand,
1178
- get_bucket_metadata_table_configuration: Sdk8.GetBucketMetadataTableConfigurationCommand,
1179
- get_bucket_metrics_configuration: Sdk8.GetBucketMetricsConfigurationCommand,
1180
- get_bucket_notification_configuration: Sdk8.GetBucketNotificationConfigurationCommand,
1181
- get_bucket_ownership_controls: Sdk8.GetBucketOwnershipControlsCommand,
1182
- get_bucket_policy: Sdk8.GetBucketPolicyCommand,
1183
- get_bucket_policy_status: Sdk8.GetBucketPolicyStatusCommand,
1184
- get_bucket_replication: Sdk8.GetBucketReplicationCommand,
1185
- get_bucket_request_payment: Sdk8.GetBucketRequestPaymentCommand,
1186
- get_bucket_tagging: Sdk8.GetBucketTaggingCommand,
1187
- get_bucket_versioning: Sdk8.GetBucketVersioningCommand,
1188
- get_bucket_website: Sdk8.GetBucketWebsiteCommand,
1189
- get_object: Sdk8.GetObjectCommand,
1190
- get_object_acl: Sdk8.GetObjectAclCommand,
1191
- get_object_attributes: Sdk8.GetObjectAttributesCommand,
1192
- get_object_legal_hold: Sdk8.GetObjectLegalHoldCommand,
1193
- get_object_lock_configuration: Sdk8.GetObjectLockConfigurationCommand,
1194
- get_object_retention: Sdk8.GetObjectRetentionCommand,
1195
- get_object_tagging: Sdk8.GetObjectTaggingCommand,
1196
- get_object_torrent: Sdk8.GetObjectTorrentCommand,
1197
- get_public_access_block: Sdk8.GetPublicAccessBlockCommand,
1198
- head_bucket: Sdk8.HeadBucketCommand,
1199
- head_object: Sdk8.HeadObjectCommand,
1200
- list_bucket_analytics_configurations: Sdk8.ListBucketAnalyticsConfigurationsCommand,
1201
- list_bucket_intelligent_tiering_configurations: Sdk8.ListBucketIntelligentTieringConfigurationsCommand,
1202
- list_bucket_inventory_configurations: Sdk8.ListBucketInventoryConfigurationsCommand,
1203
- list_bucket_metrics_configurations: Sdk8.ListBucketMetricsConfigurationsCommand,
1204
- list_buckets: Sdk8.ListBucketsCommand,
1205
- list_directory_buckets: Sdk8.ListDirectoryBucketsCommand,
1206
- list_multipart_uploads: Sdk8.ListMultipartUploadsCommand,
1207
- list_object_versions: Sdk8.ListObjectVersionsCommand,
1208
- list_objects: Sdk8.ListObjectsCommand,
1209
- list_objects_v2: Sdk8.ListObjectsV2Command,
1210
- list_parts: Sdk8.ListPartsCommand,
1211
- put_bucket_abac: Sdk8.PutBucketAbacCommand,
1212
- put_bucket_accelerate_configuration: Sdk8.PutBucketAccelerateConfigurationCommand,
1213
- put_bucket_acl: Sdk8.PutBucketAclCommand,
1214
- put_bucket_analytics_configuration: Sdk8.PutBucketAnalyticsConfigurationCommand,
1215
- put_bucket_cors: Sdk8.PutBucketCorsCommand,
1216
- put_bucket_encryption: Sdk8.PutBucketEncryptionCommand,
1217
- put_bucket_intelligent_tiering_configuration: Sdk8.PutBucketIntelligentTieringConfigurationCommand,
1218
- put_bucket_inventory_configuration: Sdk8.PutBucketInventoryConfigurationCommand,
1219
- put_bucket_lifecycle_configuration: Sdk8.PutBucketLifecycleConfigurationCommand,
1220
- put_bucket_logging: Sdk8.PutBucketLoggingCommand,
1221
- put_bucket_metrics_configuration: Sdk8.PutBucketMetricsConfigurationCommand,
1222
- put_bucket_notification_configuration: Sdk8.PutBucketNotificationConfigurationCommand,
1223
- put_bucket_ownership_controls: Sdk8.PutBucketOwnershipControlsCommand,
1224
- put_bucket_policy: Sdk8.PutBucketPolicyCommand,
1225
- put_bucket_replication: Sdk8.PutBucketReplicationCommand,
1226
- put_bucket_request_payment: Sdk8.PutBucketRequestPaymentCommand,
1227
- put_bucket_tagging: Sdk8.PutBucketTaggingCommand,
1228
- put_bucket_versioning: Sdk8.PutBucketVersioningCommand,
1229
- put_bucket_website: Sdk8.PutBucketWebsiteCommand,
1230
- put_object: Sdk8.PutObjectCommand,
1231
- put_object_acl: Sdk8.PutObjectAclCommand,
1232
- put_object_legal_hold: Sdk8.PutObjectLegalHoldCommand,
1233
- put_object_lock_configuration: Sdk8.PutObjectLockConfigurationCommand,
1234
- put_object_retention: Sdk8.PutObjectRetentionCommand,
1235
- put_object_tagging: Sdk8.PutObjectTaggingCommand,
1236
- put_public_access_block: Sdk8.PutPublicAccessBlockCommand,
1237
- rename_object: Sdk8.RenameObjectCommand,
1238
- restore_object: Sdk8.RestoreObjectCommand,
1239
- select_object_content: Sdk8.SelectObjectContentCommand,
1240
- update_bucket_metadata_inventory_table_configuration: Sdk8.UpdateBucketMetadataInventoryTableConfigurationCommand,
1241
- update_bucket_metadata_journal_table_configuration: Sdk8.UpdateBucketMetadataJournalTableConfigurationCommand,
1242
- update_object_encryption: Sdk8.UpdateObjectEncryptionCommand,
1243
- upload_part: Sdk8.UploadPartCommand,
1244
- upload_part_copy: Sdk8.UploadPartCopyCommand,
1245
- write_get_object_response: Sdk8.WriteGetObjectResponseCommand
1246
- };
1247
-
1248
- // src/aws/clients/sqs.ts
1249
- import * as Layer9 from "effect/Layer";
1250
- import * as Effect9 from "effect/Effect";
1251
- import * as Context9 from "effect/Context";
1252
- import * as Sdk9 from "@aws-sdk/client-sqs";
1253
- var SQSClient2 = class _SQSClient extends Context9.Tag("SQSClient")() {
1254
- static Default = (config) => Layer9.effect(
1255
- _SQSClient,
1256
- Effect9.gen(function* () {
1257
- return new Sdk9.SQSClient(config ?? {});
1258
- })
1259
- );
1260
- };
1261
- var make9 = Effect9.fn("aws_SQS")(function* (actionName, actionInput) {
1262
- yield* Effect9.logDebug(`aws_SQS.${actionName}`, { input: actionInput });
1263
- const client = yield* SQSClient2;
1264
- const command = new SQSCommandFactory[actionName](actionInput);
1265
- const result = yield* Effect9.tryPromise({
1266
- try: () => client.send(command),
1267
- catch: (error) => {
1268
- if (error instanceof Sdk9.SQSServiceException) {
1269
- return new SQSError(error, actionName);
1270
- }
1271
- throw error;
1272
- }
1273
- });
1274
- yield* Effect9.logDebug(`aws_SQS.${actionName} completed`);
1275
- return result;
1276
- });
1277
- var SQSError = class {
1278
- constructor(cause, command) {
1279
- this.cause = cause;
1280
- this.command = command;
1281
- }
1282
- _tag = "SQSError";
1283
- $is(name) {
1284
- return this.cause.name == name;
1285
- }
1286
- is(name) {
1287
- return this.cause.name == name;
1288
- }
1289
- };
1290
- var SQSCommandFactory = {
1291
- add_permission: Sdk9.AddPermissionCommand,
1292
- cancel_message_move_task: Sdk9.CancelMessageMoveTaskCommand,
1293
- change_message_visibility: Sdk9.ChangeMessageVisibilityCommand,
1294
- change_message_visibility_batch: Sdk9.ChangeMessageVisibilityBatchCommand,
1295
- create_queue: Sdk9.CreateQueueCommand,
1296
- delete_message: Sdk9.DeleteMessageCommand,
1297
- delete_message_batch: Sdk9.DeleteMessageBatchCommand,
1298
- delete_queue: Sdk9.DeleteQueueCommand,
1299
- get_queue_attributes: Sdk9.GetQueueAttributesCommand,
1300
- get_queue_url: Sdk9.GetQueueUrlCommand,
1301
- list_dead_letter_source_queues: Sdk9.ListDeadLetterSourceQueuesCommand,
1302
- list_message_move_tasks: Sdk9.ListMessageMoveTasksCommand,
1303
- list_queue_tags: Sdk9.ListQueueTagsCommand,
1304
- list_queues: Sdk9.ListQueuesCommand,
1305
- purge_queue: Sdk9.PurgeQueueCommand,
1306
- receive_message: Sdk9.ReceiveMessageCommand,
1307
- remove_permission: Sdk9.RemovePermissionCommand,
1308
- send_message: Sdk9.SendMessageCommand,
1309
- send_message_batch: Sdk9.SendMessageBatchCommand,
1310
- set_queue_attributes: Sdk9.SetQueueAttributesCommand,
1311
- start_message_move_task: Sdk9.StartMessageMoveTaskCommand,
1312
- tag_queue: Sdk9.TagQueueCommand,
1313
- untag_queue: Sdk9.UntagQueueCommand
1314
- };
1315
-
1316
- // src/aws/clients/ssm.ts
1317
- import * as Layer10 from "effect/Layer";
1318
- import * as Effect10 from "effect/Effect";
1319
- import * as Context10 from "effect/Context";
1320
- import * as Sdk10 from "@aws-sdk/client-ssm";
1321
- var SSMClient2 = class _SSMClient extends Context10.Tag("SSMClient")() {
1322
- static Default = (config) => Layer10.effect(
1323
- _SSMClient,
1324
- Effect10.gen(function* () {
1325
- return new Sdk10.SSMClient(config ?? {});
1326
- })
1327
- );
1328
- };
1329
- var make10 = Effect10.fn("aws_SSM")(function* (actionName, actionInput) {
1330
- yield* Effect10.logDebug(`aws_SSM.${actionName}`, { input: actionInput });
1331
- const client = yield* SSMClient2;
1332
- const command = new SSMCommandFactory[actionName](actionInput);
1333
- const result = yield* Effect10.tryPromise({
1334
- try: () => client.send(command),
1335
- catch: (error) => {
1336
- if (error instanceof Sdk10.SSMServiceException) {
1337
- return new SSMError(error, actionName);
1338
- }
1339
- throw error;
1340
- }
1341
- });
1342
- yield* Effect10.logDebug(`aws_SSM.${actionName} completed`);
1343
- return result;
1344
- });
1345
- var SSMError = class {
1346
- constructor(cause, command) {
1347
- this.cause = cause;
1348
- this.command = command;
1349
- }
1350
- _tag = "SSMError";
1351
- $is(name) {
1352
- return this.cause.name == name;
1353
- }
1354
- is(name) {
1355
- return this.cause.name == name;
1356
- }
1357
- };
1358
- var SSMCommandFactory = {
1359
- add_tags_to_resource: Sdk10.AddTagsToResourceCommand,
1360
- associate_ops_item_related_item: Sdk10.AssociateOpsItemRelatedItemCommand,
1361
- cancel_command: Sdk10.CancelCommandCommand,
1362
- cancel_maintenance_window_execution: Sdk10.CancelMaintenanceWindowExecutionCommand,
1363
- create_activation: Sdk10.CreateActivationCommand,
1364
- create_association: Sdk10.CreateAssociationCommand,
1365
- create_association_batch: Sdk10.CreateAssociationBatchCommand,
1366
- create_document: Sdk10.CreateDocumentCommand,
1367
- create_maintenance_window: Sdk10.CreateMaintenanceWindowCommand,
1368
- create_ops_item: Sdk10.CreateOpsItemCommand,
1369
- create_ops_metadata: Sdk10.CreateOpsMetadataCommand,
1370
- create_patch_baseline: Sdk10.CreatePatchBaselineCommand,
1371
- create_resource_data_sync: Sdk10.CreateResourceDataSyncCommand,
1372
- delete_activation: Sdk10.DeleteActivationCommand,
1373
- delete_association: Sdk10.DeleteAssociationCommand,
1374
- delete_document: Sdk10.DeleteDocumentCommand,
1375
- delete_inventory: Sdk10.DeleteInventoryCommand,
1376
- delete_maintenance_window: Sdk10.DeleteMaintenanceWindowCommand,
1377
- delete_ops_item: Sdk10.DeleteOpsItemCommand,
1378
- delete_ops_metadata: Sdk10.DeleteOpsMetadataCommand,
1379
- delete_parameter: Sdk10.DeleteParameterCommand,
1380
- delete_parameters: Sdk10.DeleteParametersCommand,
1381
- delete_patch_baseline: Sdk10.DeletePatchBaselineCommand,
1382
- delete_resource_data_sync: Sdk10.DeleteResourceDataSyncCommand,
1383
- delete_resource_policy: Sdk10.DeleteResourcePolicyCommand,
1384
- deregister_managed_instance: Sdk10.DeregisterManagedInstanceCommand,
1385
- deregister_patch_baseline_for_patch_group: Sdk10.DeregisterPatchBaselineForPatchGroupCommand,
1386
- deregister_target_from_maintenance_window: Sdk10.DeregisterTargetFromMaintenanceWindowCommand,
1387
- deregister_task_from_maintenance_window: Sdk10.DeregisterTaskFromMaintenanceWindowCommand,
1388
- describe_activations: Sdk10.DescribeActivationsCommand,
1389
- describe_association: Sdk10.DescribeAssociationCommand,
1390
- describe_association_execution_targets: Sdk10.DescribeAssociationExecutionTargetsCommand,
1391
- describe_association_executions: Sdk10.DescribeAssociationExecutionsCommand,
1392
- describe_automation_executions: Sdk10.DescribeAutomationExecutionsCommand,
1393
- describe_automation_step_executions: Sdk10.DescribeAutomationStepExecutionsCommand,
1394
- describe_available_patches: Sdk10.DescribeAvailablePatchesCommand,
1395
- describe_document: Sdk10.DescribeDocumentCommand,
1396
- describe_document_permission: Sdk10.DescribeDocumentPermissionCommand,
1397
- describe_effective_instance_associations: Sdk10.DescribeEffectiveInstanceAssociationsCommand,
1398
- describe_effective_patches_for_patch_baseline: Sdk10.DescribeEffectivePatchesForPatchBaselineCommand,
1399
- describe_instance_associations_status: Sdk10.DescribeInstanceAssociationsStatusCommand,
1400
- describe_instance_information: Sdk10.DescribeInstanceInformationCommand,
1401
- describe_instance_patch_states: Sdk10.DescribeInstancePatchStatesCommand,
1402
- describe_instance_patch_states_for_patch_group: Sdk10.DescribeInstancePatchStatesForPatchGroupCommand,
1403
- describe_instance_patches: Sdk10.DescribeInstancePatchesCommand,
1404
- describe_instance_properties: Sdk10.DescribeInstancePropertiesCommand,
1405
- describe_inventory_deletions: Sdk10.DescribeInventoryDeletionsCommand,
1406
- describe_maintenance_window_execution_task_invocations: Sdk10.DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
1407
- describe_maintenance_window_execution_tasks: Sdk10.DescribeMaintenanceWindowExecutionTasksCommand,
1408
- describe_maintenance_window_executions: Sdk10.DescribeMaintenanceWindowExecutionsCommand,
1409
- describe_maintenance_window_schedule: Sdk10.DescribeMaintenanceWindowScheduleCommand,
1410
- describe_maintenance_window_targets: Sdk10.DescribeMaintenanceWindowTargetsCommand,
1411
- describe_maintenance_window_tasks: Sdk10.DescribeMaintenanceWindowTasksCommand,
1412
- describe_maintenance_windows: Sdk10.DescribeMaintenanceWindowsCommand,
1413
- describe_maintenance_windows_for_target: Sdk10.DescribeMaintenanceWindowsForTargetCommand,
1414
- describe_ops_items: Sdk10.DescribeOpsItemsCommand,
1415
- describe_parameters: Sdk10.DescribeParametersCommand,
1416
- describe_patch_baselines: Sdk10.DescribePatchBaselinesCommand,
1417
- describe_patch_group_state: Sdk10.DescribePatchGroupStateCommand,
1418
- describe_patch_groups: Sdk10.DescribePatchGroupsCommand,
1419
- describe_patch_properties: Sdk10.DescribePatchPropertiesCommand,
1420
- describe_sessions: Sdk10.DescribeSessionsCommand,
1421
- disassociate_ops_item_related_item: Sdk10.DisassociateOpsItemRelatedItemCommand,
1422
- get_access_token: Sdk10.GetAccessTokenCommand,
1423
- get_automation_execution: Sdk10.GetAutomationExecutionCommand,
1424
- get_calendar_state: Sdk10.GetCalendarStateCommand,
1425
- get_command_invocation: Sdk10.GetCommandInvocationCommand,
1426
- get_connection_status: Sdk10.GetConnectionStatusCommand,
1427
- get_default_patch_baseline: Sdk10.GetDefaultPatchBaselineCommand,
1428
- get_deployable_patch_snapshot_for_instance: Sdk10.GetDeployablePatchSnapshotForInstanceCommand,
1429
- get_document: Sdk10.GetDocumentCommand,
1430
- get_execution_preview: Sdk10.GetExecutionPreviewCommand,
1431
- get_inventory: Sdk10.GetInventoryCommand,
1432
- get_inventory_schema: Sdk10.GetInventorySchemaCommand,
1433
- get_maintenance_window: Sdk10.GetMaintenanceWindowCommand,
1434
- get_maintenance_window_execution: Sdk10.GetMaintenanceWindowExecutionCommand,
1435
- get_maintenance_window_execution_task: Sdk10.GetMaintenanceWindowExecutionTaskCommand,
1436
- get_maintenance_window_execution_task_invocation: Sdk10.GetMaintenanceWindowExecutionTaskInvocationCommand,
1437
- get_maintenance_window_task: Sdk10.GetMaintenanceWindowTaskCommand,
1438
- get_ops_item: Sdk10.GetOpsItemCommand,
1439
- get_ops_metadata: Sdk10.GetOpsMetadataCommand,
1440
- get_ops_summary: Sdk10.GetOpsSummaryCommand,
1441
- get_parameter: Sdk10.GetParameterCommand,
1442
- get_parameter_history: Sdk10.GetParameterHistoryCommand,
1443
- get_parameters: Sdk10.GetParametersCommand,
1444
- get_parameters_by_path: Sdk10.GetParametersByPathCommand,
1445
- get_patch_baseline: Sdk10.GetPatchBaselineCommand,
1446
- get_patch_baseline_for_patch_group: Sdk10.GetPatchBaselineForPatchGroupCommand,
1447
- get_resource_policies: Sdk10.GetResourcePoliciesCommand,
1448
- get_service_setting: Sdk10.GetServiceSettingCommand,
1449
- label_parameter_version: Sdk10.LabelParameterVersionCommand,
1450
- list_association_versions: Sdk10.ListAssociationVersionsCommand,
1451
- list_associations: Sdk10.ListAssociationsCommand,
1452
- list_command_invocations: Sdk10.ListCommandInvocationsCommand,
1453
- list_commands: Sdk10.ListCommandsCommand,
1454
- list_compliance_items: Sdk10.ListComplianceItemsCommand,
1455
- list_compliance_summaries: Sdk10.ListComplianceSummariesCommand,
1456
- list_document_metadata_history: Sdk10.ListDocumentMetadataHistoryCommand,
1457
- list_document_versions: Sdk10.ListDocumentVersionsCommand,
1458
- list_documents: Sdk10.ListDocumentsCommand,
1459
- list_inventory_entries: Sdk10.ListInventoryEntriesCommand,
1460
- list_nodes: Sdk10.ListNodesCommand,
1461
- list_nodes_summary: Sdk10.ListNodesSummaryCommand,
1462
- list_ops_item_events: Sdk10.ListOpsItemEventsCommand,
1463
- list_ops_item_related_items: Sdk10.ListOpsItemRelatedItemsCommand,
1464
- list_ops_metadata: Sdk10.ListOpsMetadataCommand,
1465
- list_resource_compliance_summaries: Sdk10.ListResourceComplianceSummariesCommand,
1466
- list_resource_data_sync: Sdk10.ListResourceDataSyncCommand,
1467
- list_tags_for_resource: Sdk10.ListTagsForResourceCommand,
1468
- modify_document_permission: Sdk10.ModifyDocumentPermissionCommand,
1469
- put_compliance_items: Sdk10.PutComplianceItemsCommand,
1470
- put_inventory: Sdk10.PutInventoryCommand,
1471
- put_parameter: Sdk10.PutParameterCommand,
1472
- put_resource_policy: Sdk10.PutResourcePolicyCommand,
1473
- register_default_patch_baseline: Sdk10.RegisterDefaultPatchBaselineCommand,
1474
- register_patch_baseline_for_patch_group: Sdk10.RegisterPatchBaselineForPatchGroupCommand,
1475
- register_target_with_maintenance_window: Sdk10.RegisterTargetWithMaintenanceWindowCommand,
1476
- register_task_with_maintenance_window: Sdk10.RegisterTaskWithMaintenanceWindowCommand,
1477
- remove_tags_from_resource: Sdk10.RemoveTagsFromResourceCommand,
1478
- reset_service_setting: Sdk10.ResetServiceSettingCommand,
1479
- resume_session: Sdk10.ResumeSessionCommand,
1480
- send_automation_signal: Sdk10.SendAutomationSignalCommand,
1481
- send_command: Sdk10.SendCommandCommand,
1482
- start_access_request: Sdk10.StartAccessRequestCommand,
1483
- start_associations_once: Sdk10.StartAssociationsOnceCommand,
1484
- start_automation_execution: Sdk10.StartAutomationExecutionCommand,
1485
- start_change_request_execution: Sdk10.StartChangeRequestExecutionCommand,
1486
- start_execution_preview: Sdk10.StartExecutionPreviewCommand,
1487
- start_session: Sdk10.StartSessionCommand,
1488
- stop_automation_execution: Sdk10.StopAutomationExecutionCommand,
1489
- terminate_session: Sdk10.TerminateSessionCommand,
1490
- unlabel_parameter_version: Sdk10.UnlabelParameterVersionCommand,
1491
- update_association: Sdk10.UpdateAssociationCommand,
1492
- update_association_status: Sdk10.UpdateAssociationStatusCommand,
1493
- update_document: Sdk10.UpdateDocumentCommand,
1494
- update_document_default_version: Sdk10.UpdateDocumentDefaultVersionCommand,
1495
- update_document_metadata: Sdk10.UpdateDocumentMetadataCommand,
1496
- update_maintenance_window: Sdk10.UpdateMaintenanceWindowCommand,
1497
- update_maintenance_window_target: Sdk10.UpdateMaintenanceWindowTargetCommand,
1498
- update_maintenance_window_task: Sdk10.UpdateMaintenanceWindowTaskCommand,
1499
- update_managed_instance_role: Sdk10.UpdateManagedInstanceRoleCommand,
1500
- update_ops_item: Sdk10.UpdateOpsItemCommand,
1501
- update_ops_metadata: Sdk10.UpdateOpsMetadataCommand,
1502
- update_patch_baseline: Sdk10.UpdatePatchBaselineCommand,
1503
- update_resource_data_sync: Sdk10.UpdateResourceDataSyncCommand,
1504
- update_service_setting: Sdk10.UpdateServiceSettingCommand
1505
- };
1506
-
1507
- // src/aws/clients/index.ts
1508
- var AllClientsDefault = Layer11.mergeAll(
1509
- ApiGatewayV2Client2.Default(),
1510
- CloudFrontClient2.Default(),
1511
- CloudWatchLogsClient2.Default(),
1512
- DynamoDBClient2.Default(),
1513
- IAMClient2.Default(),
1514
- LambdaClient2.Default(),
1515
- ResourceGroupsTaggingAPIClient2.Default(),
1516
- S3Client2.Default(),
1517
- SQSClient2.Default(),
1518
- SSMClient2.Default()
1519
- );
1520
-
1521
- // src/aws/iam.ts
1522
- import { Effect as Effect13 } from "effect";
1523
-
1524
- // src/aws/tags.ts
1525
- import { Effect as Effect12 } from "effect";
1526
-
1527
- // src/aws/iam.ts
1528
- var LAMBDA_ASSUME_ROLE_POLICY = JSON.stringify({
1529
- Version: "2012-10-17",
1530
- Statement: [
1531
- {
1532
- Effect: "Allow",
1533
- Principal: {
1534
- Service: "lambda.amazonaws.com"
1535
- },
1536
- Action: "sts:AssumeRole"
1537
- }
1538
- ]
1539
- });
1540
-
1541
- // src/aws/dynamodb.ts
1542
- import { Effect as Effect14, Schedule as Schedule2 } from "effect";
1543
-
1544
- // src/aws/apigateway.ts
1545
- import { Effect as Effect15 } from "effect";
1546
-
1547
- // src/aws/layer.ts
1548
- import { Effect as Effect16 } from "effect";
1549
- import { Architecture as Architecture2, Runtime as Runtime2 } from "@aws-sdk/client-lambda";
1550
- import archiver from "archiver";
1551
-
1552
- // src/aws/s3.ts
1553
- import { Effect as Effect17 } from "effect";
1554
-
1555
- // src/aws/cloudfront.ts
1556
- import { Effect as Effect18, Schedule as Schedule3 } from "effect";
1557
-
1558
- // src/aws/sqs.ts
1559
- import { Effect as Effect19 } from "effect";
1560
-
1561
- // src/aws/index.ts
1562
- import { unmarshall, marshall } from "@aws-sdk/util-dynamodb";
1563
-
1564
- // src/build/bundle.ts
1565
- import { Effect as Effect20 } from "effect";
1566
- import * as esbuild from "esbuild";
1567
- import * as path from "path";
1568
- import { fileURLToPath } from "url";
1569
- import archiver2 from "archiver";
1570
- import { globSync } from "glob";
1571
-
1572
- // src/build/handler-registry.ts
1573
- import { Project, SyntaxKind } from "ts-morph";
1574
-
1575
- // src/build/bundle.ts
1576
- var runtimeDir = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../dist/runtime");
1577
-
1578
- // src/deploy/shared.ts
67
+ // src/helpers.ts
1579
68
  function param(key, transform) {
1580
69
  return {
1581
70
  __brand: "effortless-param",