betterstack-alchemy 0.0.0-stage → 0.1.0-beta.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/LICENSE +21 -0
- package/LICENSES/Apache-2.0.txt +201 -0
- package/NOTICE +182 -0
- package/README.md +165 -2
- package/lib/Account/Reference.d.ts +89 -0
- package/lib/Account/Reference.d.ts.map +1 -0
- package/lib/Account/Reference.js +90 -0
- package/lib/Account/Reference.js.map +1 -0
- package/lib/Account/Team.d.ts +69 -0
- package/lib/Account/Team.d.ts.map +1 -0
- package/lib/Account/Team.js +74 -0
- package/lib/Account/Team.js.map +1 -0
- package/lib/Account/TeamMember.d.ts +78 -0
- package/lib/Account/TeamMember.d.ts.map +1 -0
- package/lib/Account/TeamMember.js +159 -0
- package/lib/Account/TeamMember.js.map +1 -0
- package/lib/Account/index.d.ts +25 -0
- package/lib/Account/index.d.ts.map +1 -0
- package/lib/Account/index.js +25 -0
- package/lib/Account/index.js.map +1 -0
- package/lib/AuthProvider.d.ts +38 -0
- package/lib/AuthProvider.d.ts.map +1 -0
- package/lib/AuthProvider.js +134 -0
- package/lib/AuthProvider.js.map +1 -0
- package/lib/BetterStackBindings.d.ts +227 -0
- package/lib/BetterStackBindings.d.ts.map +1 -0
- package/lib/BetterStackBindings.js +223 -0
- package/lib/BetterStackBindings.js.map +1 -0
- package/lib/Cloud/Bootstrap.d.ts +20 -0
- package/lib/Cloud/Bootstrap.d.ts.map +1 -0
- package/lib/Cloud/Bootstrap.js +85 -0
- package/lib/Cloud/Bootstrap.js.map +1 -0
- package/lib/Cloud/Certificate.d.ts +97 -0
- package/lib/Cloud/Certificate.d.ts.map +1 -0
- package/lib/Cloud/Certificate.js +96 -0
- package/lib/Cloud/Certificate.js.map +1 -0
- package/lib/Cloud/ClickHouse.d.ts +184 -0
- package/lib/Cloud/ClickHouse.d.ts.map +1 -0
- package/lib/Cloud/ClickHouse.js +179 -0
- package/lib/Cloud/ClickHouse.js.map +1 -0
- package/lib/Cloud/ClickHouseScheduledSnapshot.d.ts +77 -0
- package/lib/Cloud/ClickHouseScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/ClickHouseScheduledSnapshot.js +76 -0
- package/lib/Cloud/ClickHouseScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/ClickHouseSnapshot.d.ts +107 -0
- package/lib/Cloud/ClickHouseSnapshot.d.ts.map +1 -0
- package/lib/Cloud/ClickHouseSnapshot.js +78 -0
- package/lib/Cloud/ClickHouseSnapshot.js.map +1 -0
- package/lib/Cloud/Firewall.d.ts +134 -0
- package/lib/Cloud/Firewall.d.ts.map +1 -0
- package/lib/Cloud/Firewall.js +169 -0
- package/lib/Cloud/Firewall.js.map +1 -0
- package/lib/Cloud/FirewallRule.d.ts +114 -0
- package/lib/Cloud/FirewallRule.d.ts.map +1 -0
- package/lib/Cloud/FirewallRule.js +130 -0
- package/lib/Cloud/FirewallRule.js.map +1 -0
- package/lib/Cloud/InferEnv.d.ts +28 -0
- package/lib/Cloud/InferEnv.d.ts.map +1 -0
- package/lib/Cloud/InferEnv.js +1 -0
- package/lib/Cloud/InferEnv.js.map +1 -0
- package/lib/Cloud/Kafka.d.ts +204 -0
- package/lib/Cloud/Kafka.d.ts.map +1 -0
- package/lib/Cloud/Kafka.js +194 -0
- package/lib/Cloud/Kafka.js.map +1 -0
- package/lib/Cloud/KafkaTopic.d.ts +90 -0
- package/lib/Cloud/KafkaTopic.d.ts.map +1 -0
- package/lib/Cloud/KafkaTopic.js +83 -0
- package/lib/Cloud/KafkaTopic.js.map +1 -0
- package/lib/Cloud/KafkaUser.d.ts +121 -0
- package/lib/Cloud/KafkaUser.d.ts.map +1 -0
- package/lib/Cloud/KafkaUser.js +103 -0
- package/lib/Cloud/KafkaUser.js.map +1 -0
- package/lib/Cloud/KubernetesCluster.d.ts +204 -0
- package/lib/Cloud/KubernetesCluster.d.ts.map +1 -0
- package/lib/Cloud/KubernetesCluster.js +190 -0
- package/lib/Cloud/KubernetesCluster.js.map +1 -0
- package/lib/Cloud/KubernetesNodePool.d.ts +100 -0
- package/lib/Cloud/KubernetesNodePool.d.ts.map +1 -0
- package/lib/Cloud/KubernetesNodePool.js +133 -0
- package/lib/Cloud/KubernetesNodePool.js.map +1 -0
- package/lib/Cloud/KubernetesScheduledSnapshot.d.ts +73 -0
- package/lib/Cloud/KubernetesScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/KubernetesScheduledSnapshot.js +78 -0
- package/lib/Cloud/KubernetesScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/LoadBalancer.d.ts +187 -0
- package/lib/Cloud/LoadBalancer.d.ts.map +1 -0
- package/lib/Cloud/LoadBalancer.js +228 -0
- package/lib/Cloud/LoadBalancer.js.map +1 -0
- package/lib/Cloud/LoadBalancerService.d.ts +116 -0
- package/lib/Cloud/LoadBalancerService.d.ts.map +1 -0
- package/lib/Cloud/LoadBalancerService.js +132 -0
- package/lib/Cloud/LoadBalancerService.js.map +1 -0
- package/lib/Cloud/LoadBalancerTarget.d.ts +110 -0
- package/lib/Cloud/LoadBalancerTarget.d.ts.map +1 -0
- package/lib/Cloud/LoadBalancerTarget.js +138 -0
- package/lib/Cloud/LoadBalancerTarget.js.map +1 -0
- package/lib/Cloud/MountVolume.d.ts +109 -0
- package/lib/Cloud/MountVolume.d.ts.map +1 -0
- package/lib/Cloud/MountVolume.js +59 -0
- package/lib/Cloud/MountVolume.js.map +1 -0
- package/lib/Cloud/MySQL.d.ts +285 -0
- package/lib/Cloud/MySQL.d.ts.map +1 -0
- package/lib/Cloud/MySQL.js +225 -0
- package/lib/Cloud/MySQL.js.map +1 -0
- package/lib/Cloud/MySQLScheduledSnapshot.d.ts +74 -0
- package/lib/Cloud/MySQLScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/MySQLScheduledSnapshot.js +73 -0
- package/lib/Cloud/MySQLScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/MySQLSnapshot.d.ts +107 -0
- package/lib/Cloud/MySQLSnapshot.d.ts.map +1 -0
- package/lib/Cloud/MySQLSnapshot.js +78 -0
- package/lib/Cloud/MySQLSnapshot.js.map +1 -0
- package/lib/Cloud/Network.d.ts +69 -0
- package/lib/Cloud/Network.d.ts.map +1 -0
- package/lib/Cloud/Network.js +80 -0
- package/lib/Cloud/Network.js.map +1 -0
- package/lib/Cloud/ObjectCache.d.ts +226 -0
- package/lib/Cloud/ObjectCache.d.ts.map +1 -0
- package/lib/Cloud/ObjectCache.js +258 -0
- package/lib/Cloud/ObjectCache.js.map +1 -0
- package/lib/Cloud/ObjectCacheBucket.d.ts +112 -0
- package/lib/Cloud/ObjectCacheBucket.d.ts.map +1 -0
- package/lib/Cloud/ObjectCacheBucket.js +123 -0
- package/lib/Cloud/ObjectCacheBucket.js.map +1 -0
- package/lib/Cloud/Otlp.d.ts +93 -0
- package/lib/Cloud/Otlp.d.ts.map +1 -0
- package/lib/Cloud/Otlp.js +79 -0
- package/lib/Cloud/Otlp.js.map +1 -0
- package/lib/Cloud/PlacementGroup.d.ts +85 -0
- package/lib/Cloud/PlacementGroup.d.ts.map +1 -0
- package/lib/Cloud/PlacementGroup.js +86 -0
- package/lib/Cloud/PlacementGroup.js.map +1 -0
- package/lib/Cloud/Postgres.d.ts +331 -0
- package/lib/Cloud/Postgres.d.ts.map +1 -0
- package/lib/Cloud/Postgres.js +255 -0
- package/lib/Cloud/Postgres.js.map +1 -0
- package/lib/Cloud/PostgresDatabase.d.ts +77 -0
- package/lib/Cloud/PostgresDatabase.d.ts.map +1 -0
- package/lib/Cloud/PostgresDatabase.js +79 -0
- package/lib/Cloud/PostgresDatabase.js.map +1 -0
- package/lib/Cloud/PostgresScheduledSnapshot.d.ts +74 -0
- package/lib/Cloud/PostgresScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/PostgresScheduledSnapshot.js +73 -0
- package/lib/Cloud/PostgresScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/PostgresSnapshot.d.ts +107 -0
- package/lib/Cloud/PostgresSnapshot.d.ts.map +1 -0
- package/lib/Cloud/PostgresSnapshot.js +78 -0
- package/lib/Cloud/PostgresSnapshot.js.map +1 -0
- package/lib/Cloud/PostgresUser.d.ts +118 -0
- package/lib/Cloud/PostgresUser.d.ts.map +1 -0
- package/lib/Cloud/PostgresUser.js +102 -0
- package/lib/Cloud/PostgresUser.js.map +1 -0
- package/lib/Cloud/Reference.d.ts +508 -0
- package/lib/Cloud/Reference.d.ts.map +1 -0
- package/lib/Cloud/Reference.js +542 -0
- package/lib/Cloud/Reference.js.map +1 -0
- package/lib/Cloud/ReservedIp.d.ts +113 -0
- package/lib/Cloud/ReservedIp.d.ts.map +1 -0
- package/lib/Cloud/ReservedIp.js +146 -0
- package/lib/Cloud/ReservedIp.js.map +1 -0
- package/lib/Cloud/ScheduledSnapshot.d.ts +49 -0
- package/lib/Cloud/ScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/ScheduledSnapshot.js +43 -0
- package/lib/Cloud/ScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/ScheduledVolumeSnapshot.d.ts +48 -0
- package/lib/Cloud/ScheduledVolumeSnapshot.d.ts.map +1 -0
- package/lib/Cloud/ScheduledVolumeSnapshot.js +42 -0
- package/lib/Cloud/ScheduledVolumeSnapshot.js.map +1 -0
- package/lib/Cloud/Server.d.ts +375 -0
- package/lib/Cloud/Server.d.ts.map +1 -0
- package/lib/Cloud/Server.js +966 -0
- package/lib/Cloud/Server.js.map +1 -0
- package/lib/Cloud/ServerPool.d.ts +64 -0
- package/lib/Cloud/ServerPool.d.ts.map +1 -0
- package/lib/Cloud/ServerPool.js +59 -0
- package/lib/Cloud/ServerPool.js.map +1 -0
- package/lib/Cloud/ServerPrivateIp.d.ts +62 -0
- package/lib/Cloud/ServerPrivateIp.d.ts.map +1 -0
- package/lib/Cloud/ServerPrivateIp.js +68 -0
- package/lib/Cloud/ServerPrivateIp.js.map +1 -0
- package/lib/Cloud/Service.d.ts +554 -0
- package/lib/Cloud/Service.d.ts.map +1 -0
- package/lib/Cloud/Service.js +765 -0
- package/lib/Cloud/Service.js.map +1 -0
- package/lib/Cloud/ServiceHandler.d.ts +10 -0
- package/lib/Cloud/ServiceHandler.d.ts.map +1 -0
- package/lib/Cloud/ServiceHandler.js +102 -0
- package/lib/Cloud/ServiceHandler.js.map +1 -0
- package/lib/Cloud/Snapshot.d.ts +103 -0
- package/lib/Cloud/Snapshot.d.ts.map +1 -0
- package/lib/Cloud/Snapshot.js +96 -0
- package/lib/Cloud/Snapshot.js.map +1 -0
- package/lib/Cloud/Ssh.d.ts +241 -0
- package/lib/Cloud/Ssh.d.ts.map +1 -0
- package/lib/Cloud/Ssh.js +292 -0
- package/lib/Cloud/Ssh.js.map +1 -0
- package/lib/Cloud/SshKey.d.ts +120 -0
- package/lib/Cloud/SshKey.d.ts.map +1 -0
- package/lib/Cloud/SshKey.js +161 -0
- package/lib/Cloud/SshKey.js.map +1 -0
- package/lib/Cloud/Valkey.d.ts +212 -0
- package/lib/Cloud/Valkey.d.ts.map +1 -0
- package/lib/Cloud/Valkey.js +155 -0
- package/lib/Cloud/Valkey.js.map +1 -0
- package/lib/Cloud/ValkeyScheduledSnapshot.d.ts +75 -0
- package/lib/Cloud/ValkeyScheduledSnapshot.d.ts.map +1 -0
- package/lib/Cloud/ValkeyScheduledSnapshot.js +74 -0
- package/lib/Cloud/ValkeyScheduledSnapshot.js.map +1 -0
- package/lib/Cloud/ValkeySnapshot.d.ts +107 -0
- package/lib/Cloud/ValkeySnapshot.d.ts.map +1 -0
- package/lib/Cloud/ValkeySnapshot.js +80 -0
- package/lib/Cloud/ValkeySnapshot.js.map +1 -0
- package/lib/Cloud/Volume.d.ts +133 -0
- package/lib/Cloud/Volume.d.ts.map +1 -0
- package/lib/Cloud/Volume.js +329 -0
- package/lib/Cloud/Volume.js.map +1 -0
- package/lib/Cloud/VolumeSnapshot.d.ts +95 -0
- package/lib/Cloud/VolumeSnapshot.d.ts.map +1 -0
- package/lib/Cloud/VolumeSnapshot.js +88 -0
- package/lib/Cloud/VolumeSnapshot.js.map +1 -0
- package/lib/Cloud/Webhook.d.ts +93 -0
- package/lib/Cloud/Webhook.d.ts.map +1 -0
- package/lib/Cloud/Webhook.js +92 -0
- package/lib/Cloud/Webhook.js.map +1 -0
- package/lib/Cloud/Website/Astro.d.ts +106 -0
- package/lib/Cloud/Website/Astro.d.ts.map +1 -0
- package/lib/Cloud/Website/Astro.js +76 -0
- package/lib/Cloud/Website/Astro.js.map +1 -0
- package/lib/Cloud/Website/Foldkit.d.ts +70 -0
- package/lib/Cloud/Website/Foldkit.d.ts.map +1 -0
- package/lib/Cloud/Website/Foldkit.js +67 -0
- package/lib/Cloud/Website/Foldkit.js.map +1 -0
- package/lib/Cloud/Website/FrameworkSite.d.ts +277 -0
- package/lib/Cloud/Website/FrameworkSite.d.ts.map +1 -0
- package/lib/Cloud/Website/FrameworkSite.js +245 -0
- package/lib/Cloud/Website/FrameworkSite.js.map +1 -0
- package/lib/Cloud/Website/Nextjs.d.ts +70 -0
- package/lib/Cloud/Website/Nextjs.d.ts.map +1 -0
- package/lib/Cloud/Website/Nextjs.js +66 -0
- package/lib/Cloud/Website/Nextjs.js.map +1 -0
- package/lib/Cloud/Website/Nuxt.d.ts +71 -0
- package/lib/Cloud/Website/Nuxt.d.ts.map +1 -0
- package/lib/Cloud/Website/Nuxt.js +60 -0
- package/lib/Cloud/Website/Nuxt.js.map +1 -0
- package/lib/Cloud/Website/Octane.d.ts +64 -0
- package/lib/Cloud/Website/Octane.d.ts.map +1 -0
- package/lib/Cloud/Website/Octane.js +58 -0
- package/lib/Cloud/Website/Octane.js.map +1 -0
- package/lib/Cloud/Website/Providers.d.ts +16 -0
- package/lib/Cloud/Website/Providers.d.ts.map +1 -0
- package/lib/Cloud/Website/Providers.js +16 -0
- package/lib/Cloud/Website/Providers.js.map +1 -0
- package/lib/Cloud/Website/ReactRouter.d.ts +96 -0
- package/lib/Cloud/Website/ReactRouter.d.ts.map +1 -0
- package/lib/Cloud/Website/ReactRouter.js +90 -0
- package/lib/Cloud/Website/ReactRouter.js.map +1 -0
- package/lib/Cloud/Website/SolidStart.d.ts +108 -0
- package/lib/Cloud/Website/SolidStart.d.ts.map +1 -0
- package/lib/Cloud/Website/SolidStart.js +90 -0
- package/lib/Cloud/Website/SolidStart.js.map +1 -0
- package/lib/Cloud/Website/StaticSite.d.ts +170 -0
- package/lib/Cloud/Website/StaticSite.d.ts.map +1 -0
- package/lib/Cloud/Website/StaticSite.js +193 -0
- package/lib/Cloud/Website/StaticSite.js.map +1 -0
- package/lib/Cloud/Website/SvelteKit.d.ts +70 -0
- package/lib/Cloud/Website/SvelteKit.d.ts.map +1 -0
- package/lib/Cloud/Website/SvelteKit.js +59 -0
- package/lib/Cloud/Website/SvelteKit.js.map +1 -0
- package/lib/Cloud/Website/TanStackStart.d.ts +91 -0
- package/lib/Cloud/Website/TanStackStart.d.ts.map +1 -0
- package/lib/Cloud/Website/TanStackStart.js +85 -0
- package/lib/Cloud/Website/TanStackStart.js.map +1 -0
- package/lib/Cloud/Website/Vinext.d.ts +80 -0
- package/lib/Cloud/Website/Vinext.d.ts.map +1 -0
- package/lib/Cloud/Website/Vinext.js +75 -0
- package/lib/Cloud/Website/Vinext.js.map +1 -0
- package/lib/Cloud/Website/Vite.d.ts +114 -0
- package/lib/Cloud/Website/Vite.d.ts.map +1 -0
- package/lib/Cloud/Website/Vite.js +112 -0
- package/lib/Cloud/Website/Vite.js.map +1 -0
- package/lib/Cloud/Website/Vocs.d.ts +67 -0
- package/lib/Cloud/Website/Vocs.d.ts.map +1 -0
- package/lib/Cloud/Website/Vocs.js +56 -0
- package/lib/Cloud/Website/Vocs.js.map +1 -0
- package/lib/Cloud/Website/Waku.d.ts +71 -0
- package/lib/Cloud/Website/Waku.d.ts.map +1 -0
- package/lib/Cloud/Website/Waku.js +59 -0
- package/lib/Cloud/Website/Waku.js.map +1 -0
- package/lib/Cloud/Website/index.d.ts +16 -0
- package/lib/Cloud/Website/index.d.ts.map +1 -0
- package/lib/Cloud/Website/index.js +17 -0
- package/lib/Cloud/Website/index.js.map +1 -0
- package/lib/Cloud/hosted.d.ts +324 -0
- package/lib/Cloud/hosted.d.ts.map +1 -0
- package/lib/Cloud/hosted.js +750 -0
- package/lib/Cloud/hosted.js.map +1 -0
- package/lib/Cloud/index.d.ts +111 -0
- package/lib/Cloud/index.d.ts.map +1 -0
- package/lib/Cloud/index.js +156 -0
- package/lib/Cloud/index.js.map +1 -0
- package/lib/Contributions.d.ts +12 -0
- package/lib/Contributions.d.ts.map +1 -0
- package/lib/Contributions.js +12 -0
- package/lib/Contributions.js.map +1 -0
- package/lib/Credentials.d.ts +25 -0
- package/lib/Credentials.d.ts.map +1 -0
- package/lib/Credentials.js +35 -0
- package/lib/Credentials.js.map +1 -0
- package/lib/Errors/Application.d.ts +136 -0
- package/lib/Errors/Application.d.ts.map +1 -0
- package/lib/Errors/Application.js +146 -0
- package/lib/Errors/Application.js.map +1 -0
- package/lib/Errors/ApplicationGroup.d.ts +67 -0
- package/lib/Errors/ApplicationGroup.d.ts.map +1 -0
- package/lib/Errors/ApplicationGroup.js +72 -0
- package/lib/Errors/ApplicationGroup.js.map +1 -0
- package/lib/Errors/Dsn.d.ts +87 -0
- package/lib/Errors/Dsn.d.ts.map +1 -0
- package/lib/Errors/Dsn.js +34 -0
- package/lib/Errors/Dsn.js.map +1 -0
- package/lib/Errors/JiraIntegration.d.ts +69 -0
- package/lib/Errors/JiraIntegration.d.ts.map +1 -0
- package/lib/Errors/JiraIntegration.js +64 -0
- package/lib/Errors/JiraIntegration.js.map +1 -0
- package/lib/Errors/LinearIntegration.d.ts +71 -0
- package/lib/Errors/LinearIntegration.d.ts.map +1 -0
- package/lib/Errors/LinearIntegration.js +66 -0
- package/lib/Errors/LinearIntegration.js.map +1 -0
- package/lib/Errors/MicrosoftTeamsIntegration.d.ts +75 -0
- package/lib/Errors/MicrosoftTeamsIntegration.d.ts.map +1 -0
- package/lib/Errors/MicrosoftTeamsIntegration.js +72 -0
- package/lib/Errors/MicrosoftTeamsIntegration.js.map +1 -0
- package/lib/Errors/Reference.d.ts +133 -0
- package/lib/Errors/Reference.d.ts.map +1 -0
- package/lib/Errors/Reference.js +123 -0
- package/lib/Errors/Reference.js.map +1 -0
- package/lib/Errors/RegisterRelease.d.ts +66 -0
- package/lib/Errors/RegisterRelease.d.ts.map +1 -0
- package/lib/Errors/RegisterRelease.js +3 -0
- package/lib/Errors/RegisterRelease.js.map +1 -0
- package/lib/Errors/RegisterReleaseHttp.d.ts +13 -0
- package/lib/Errors/RegisterReleaseHttp.d.ts.map +1 -0
- package/lib/Errors/RegisterReleaseHttp.js +29 -0
- package/lib/Errors/RegisterReleaseHttp.js.map +1 -0
- package/lib/Errors/Release.d.ts +97 -0
- package/lib/Errors/Release.d.ts.map +1 -0
- package/lib/Errors/Release.js +161 -0
- package/lib/Errors/Release.js.map +1 -0
- package/lib/Errors/SlackIntegration.d.ts +66 -0
- package/lib/Errors/SlackIntegration.d.ts.map +1 -0
- package/lib/Errors/SlackIntegration.js +61 -0
- package/lib/Errors/SlackIntegration.js.map +1 -0
- package/lib/Errors/index.d.ts +38 -0
- package/lib/Errors/index.d.ts.map +1 -0
- package/lib/Errors/index.js +46 -0
- package/lib/Errors/index.js.map +1 -0
- package/lib/Incidents/AcknowledgeIncident.d.ts +61 -0
- package/lib/Incidents/AcknowledgeIncident.d.ts.map +1 -0
- package/lib/Incidents/AcknowledgeIncident.js +3 -0
- package/lib/Incidents/AcknowledgeIncident.js.map +1 -0
- package/lib/Incidents/AcknowledgeIncidentHttp.d.ts +12 -0
- package/lib/Incidents/AcknowledgeIncidentHttp.d.ts.map +1 -0
- package/lib/Incidents/AcknowledgeIncidentHttp.js +19 -0
- package/lib/Incidents/AcknowledgeIncidentHttp.js.map +1 -0
- package/lib/Incidents/AmazonSnsIntegration.d.ts +83 -0
- package/lib/Incidents/AmazonSnsIntegration.d.ts.map +1 -0
- package/lib/Incidents/AmazonSnsIntegration.js +91 -0
- package/lib/Incidents/AmazonSnsIntegration.js.map +1 -0
- package/lib/Incidents/AwsCloudWatchIntegration.d.ts +64 -0
- package/lib/Incidents/AwsCloudWatchIntegration.d.ts.map +1 -0
- package/lib/Incidents/AwsCloudWatchIntegration.js +64 -0
- package/lib/Incidents/AwsCloudWatchIntegration.js.map +1 -0
- package/lib/Incidents/AzureIntegration.d.ts +63 -0
- package/lib/Incidents/AzureIntegration.d.ts.map +1 -0
- package/lib/Incidents/AzureIntegration.js +63 -0
- package/lib/Incidents/AzureIntegration.js.map +1 -0
- package/lib/Incidents/BindingHttp.d.ts +28 -0
- package/lib/Incidents/BindingHttp.d.ts.map +1 -0
- package/lib/Incidents/BindingHttp.js +28 -0
- package/lib/Incidents/BindingHttp.js.map +1 -0
- package/lib/Incidents/CatalogRecord.d.ts +69 -0
- package/lib/Incidents/CatalogRecord.d.ts.map +1 -0
- package/lib/Incidents/CatalogRecord.js +69 -0
- package/lib/Incidents/CatalogRecord.js.map +1 -0
- package/lib/Incidents/CatalogRelation.d.ts +78 -0
- package/lib/Incidents/CatalogRelation.d.ts.map +1 -0
- package/lib/Incidents/CatalogRelation.js +79 -0
- package/lib/Incidents/CatalogRelation.js.map +1 -0
- package/lib/Incidents/CreateIncident.d.ts +67 -0
- package/lib/Incidents/CreateIncident.d.ts.map +1 -0
- package/lib/Incidents/CreateIncident.js +3 -0
- package/lib/Incidents/CreateIncident.js.map +1 -0
- package/lib/Incidents/CreateIncidentHttp.d.ts +12 -0
- package/lib/Incidents/CreateIncidentHttp.d.ts.map +1 -0
- package/lib/Incidents/CreateIncidentHttp.js +19 -0
- package/lib/Incidents/CreateIncidentHttp.js.map +1 -0
- package/lib/Incidents/CreateStatusReport.d.ts +71 -0
- package/lib/Incidents/CreateStatusReport.d.ts.map +1 -0
- package/lib/Incidents/CreateStatusReport.js +3 -0
- package/lib/Incidents/CreateStatusReport.js.map +1 -0
- package/lib/Incidents/CreateStatusReportHttp.d.ts +12 -0
- package/lib/Incidents/CreateStatusReportHttp.d.ts.map +1 -0
- package/lib/Incidents/CreateStatusReportHttp.js +27 -0
- package/lib/Incidents/CreateStatusReportHttp.js.map +1 -0
- package/lib/Incidents/CreateStatusUpdate.d.ts +67 -0
- package/lib/Incidents/CreateStatusUpdate.d.ts.map +1 -0
- package/lib/Incidents/CreateStatusUpdate.js +3 -0
- package/lib/Incidents/CreateStatusUpdate.js.map +1 -0
- package/lib/Incidents/CreateStatusUpdateHttp.d.ts +12 -0
- package/lib/Incidents/CreateStatusUpdateHttp.d.ts.map +1 -0
- package/lib/Incidents/CreateStatusUpdateHttp.js +27 -0
- package/lib/Incidents/CreateStatusUpdateHttp.js.map +1 -0
- package/lib/Incidents/DatadogIntegration.d.ts +70 -0
- package/lib/Incidents/DatadogIntegration.d.ts.map +1 -0
- package/lib/Incidents/DatadogIntegration.js +70 -0
- package/lib/Incidents/DatadogIntegration.js.map +1 -0
- package/lib/Incidents/ElasticIntegration.d.ts +62 -0
- package/lib/Incidents/ElasticIntegration.d.ts.map +1 -0
- package/lib/Incidents/ElasticIntegration.js +62 -0
- package/lib/Incidents/ElasticIntegration.js.map +1 -0
- package/lib/Incidents/EscalationPolicy.d.ts +106 -0
- package/lib/Incidents/EscalationPolicy.d.ts.map +1 -0
- package/lib/Incidents/EscalationPolicy.js +103 -0
- package/lib/Incidents/EscalationPolicy.js.map +1 -0
- package/lib/Incidents/EscalationPolicyGroup.d.ts +49 -0
- package/lib/Incidents/EscalationPolicyGroup.d.ts.map +1 -0
- package/lib/Incidents/EscalationPolicyGroup.js +48 -0
- package/lib/Incidents/EscalationPolicyGroup.js.map +1 -0
- package/lib/Incidents/FailHeartbeat.d.ts +49 -0
- package/lib/Incidents/FailHeartbeat.d.ts.map +1 -0
- package/lib/Incidents/FailHeartbeat.js +3 -0
- package/lib/Incidents/FailHeartbeat.js.map +1 -0
- package/lib/Incidents/FailHeartbeatHttp.d.ts +12 -0
- package/lib/Incidents/FailHeartbeatHttp.d.ts.map +1 -0
- package/lib/Incidents/FailHeartbeatHttp.js +22 -0
- package/lib/Incidents/FailHeartbeatHttp.js.map +1 -0
- package/lib/Incidents/GoogleMonitoringIntegration.d.ts +63 -0
- package/lib/Incidents/GoogleMonitoringIntegration.d.ts.map +1 -0
- package/lib/Incidents/GoogleMonitoringIntegration.js +63 -0
- package/lib/Incidents/GoogleMonitoringIntegration.js.map +1 -0
- package/lib/Incidents/GrafanaIntegration.d.ts +73 -0
- package/lib/Incidents/GrafanaIntegration.d.ts.map +1 -0
- package/lib/Incidents/GrafanaIntegration.js +73 -0
- package/lib/Incidents/GrafanaIntegration.js.map +1 -0
- package/lib/Incidents/Heartbeat.d.ts +99 -0
- package/lib/Incidents/Heartbeat.d.ts.map +1 -0
- package/lib/Incidents/Heartbeat.js +104 -0
- package/lib/Incidents/Heartbeat.js.map +1 -0
- package/lib/Incidents/HeartbeatGroup.d.ts +49 -0
- package/lib/Incidents/HeartbeatGroup.d.ts.map +1 -0
- package/lib/Incidents/HeartbeatGroup.js +48 -0
- package/lib/Incidents/HeartbeatGroup.js.map +1 -0
- package/lib/Incidents/IncomingEmailIntegration.d.ts +71 -0
- package/lib/Incidents/IncomingEmailIntegration.d.ts.map +1 -0
- package/lib/Incidents/IncomingEmailIntegration.js +81 -0
- package/lib/Incidents/IncomingEmailIntegration.js.map +1 -0
- package/lib/Incidents/IncomingWebhookIntegration.d.ts +85 -0
- package/lib/Incidents/IncomingWebhookIntegration.d.ts.map +1 -0
- package/lib/Incidents/IncomingWebhookIntegration.js +95 -0
- package/lib/Incidents/IncomingWebhookIntegration.js.map +1 -0
- package/lib/Incidents/JiraIntegration.d.ts +59 -0
- package/lib/Incidents/JiraIntegration.d.ts.map +1 -0
- package/lib/Incidents/JiraIntegration.js +50 -0
- package/lib/Incidents/JiraIntegration.js.map +1 -0
- package/lib/Incidents/LinearIntegration.d.ts +62 -0
- package/lib/Incidents/LinearIntegration.d.ts.map +1 -0
- package/lib/Incidents/LinearIntegration.js +60 -0
- package/lib/Incidents/LinearIntegration.js.map +1 -0
- package/lib/Incidents/Metadata.d.ts +85 -0
- package/lib/Incidents/Metadata.d.ts.map +1 -0
- package/lib/Incidents/Metadata.js +91 -0
- package/lib/Incidents/Metadata.js.map +1 -0
- package/lib/Incidents/Monitor.d.ts +91 -0
- package/lib/Incidents/Monitor.d.ts.map +1 -0
- package/lib/Incidents/Monitor.js +107 -0
- package/lib/Incidents/Monitor.js.map +1 -0
- package/lib/Incidents/MonitorGroup.d.ts +57 -0
- package/lib/Incidents/MonitorGroup.d.ts.map +1 -0
- package/lib/Incidents/MonitorGroup.js +56 -0
- package/lib/Incidents/MonitorGroup.js.map +1 -0
- package/lib/Incidents/NewRelicIntegration.d.ts +70 -0
- package/lib/Incidents/NewRelicIntegration.d.ts.map +1 -0
- package/lib/Incidents/NewRelicIntegration.js +70 -0
- package/lib/Incidents/NewRelicIntegration.js.map +1 -0
- package/lib/Incidents/OnCallRotation.d.ts +96 -0
- package/lib/Incidents/OnCallRotation.d.ts.map +1 -0
- package/lib/Incidents/OnCallRotation.js +206 -0
- package/lib/Incidents/OnCallRotation.js.map +1 -0
- package/lib/Incidents/OnCallSchedule.d.ts +80 -0
- package/lib/Incidents/OnCallSchedule.d.ts.map +1 -0
- package/lib/Incidents/OnCallSchedule.js +73 -0
- package/lib/Incidents/OnCallSchedule.js.map +1 -0
- package/lib/Incidents/OutgoingEmailIntegration.d.ts +54 -0
- package/lib/Incidents/OutgoingEmailIntegration.d.ts.map +1 -0
- package/lib/Incidents/OutgoingEmailIntegration.js +53 -0
- package/lib/Incidents/OutgoingEmailIntegration.js.map +1 -0
- package/lib/Incidents/OutgoingPagerDutyIntegration.d.ts +48 -0
- package/lib/Incidents/OutgoingPagerDutyIntegration.d.ts.map +1 -0
- package/lib/Incidents/OutgoingPagerDutyIntegration.js +47 -0
- package/lib/Incidents/OutgoingPagerDutyIntegration.js.map +1 -0
- package/lib/Incidents/OutgoingWebhookIntegration.d.ts +83 -0
- package/lib/Incidents/OutgoingWebhookIntegration.d.ts.map +1 -0
- package/lib/Incidents/OutgoingWebhookIntegration.js +98 -0
- package/lib/Incidents/OutgoingWebhookIntegration.js.map +1 -0
- package/lib/Incidents/PrometheusIntegration.d.ts +77 -0
- package/lib/Incidents/PrometheusIntegration.d.ts.map +1 -0
- package/lib/Incidents/PrometheusIntegration.js +77 -0
- package/lib/Incidents/PrometheusIntegration.js.map +1 -0
- package/lib/Incidents/Reference.d.ts +140 -0
- package/lib/Incidents/Reference.d.ts.map +1 -0
- package/lib/Incidents/Reference.js +136 -0
- package/lib/Incidents/Reference.js.map +1 -0
- package/lib/Incidents/ReportHeartbeat.d.ts +106 -0
- package/lib/Incidents/ReportHeartbeat.d.ts.map +1 -0
- package/lib/Incidents/ReportHeartbeat.js +63 -0
- package/lib/Incidents/ReportHeartbeat.js.map +1 -0
- package/lib/Incidents/ReportHeartbeatHttp.d.ts +12 -0
- package/lib/Incidents/ReportHeartbeatHttp.d.ts.map +1 -0
- package/lib/Incidents/ReportHeartbeatHttp.js +22 -0
- package/lib/Incidents/ReportHeartbeatHttp.js.map +1 -0
- package/lib/Incidents/ResolveIncident.d.ts +60 -0
- package/lib/Incidents/ResolveIncident.d.ts.map +1 -0
- package/lib/Incidents/ResolveIncident.js +3 -0
- package/lib/Incidents/ResolveIncident.js.map +1 -0
- package/lib/Incidents/ResolveIncidentHttp.d.ts +12 -0
- package/lib/Incidents/ResolveIncidentHttp.d.ts.map +1 -0
- package/lib/Incidents/ResolveIncidentHttp.js +19 -0
- package/lib/Incidents/ResolveIncidentHttp.js.map +1 -0
- package/lib/Incidents/SendHeartbeat.d.ts +56 -0
- package/lib/Incidents/SendHeartbeat.d.ts.map +1 -0
- package/lib/Incidents/SendHeartbeat.js +3 -0
- package/lib/Incidents/SendHeartbeat.js.map +1 -0
- package/lib/Incidents/SendHeartbeatHttp.d.ts +12 -0
- package/lib/Incidents/SendHeartbeatHttp.d.ts.map +1 -0
- package/lib/Incidents/SendHeartbeatHttp.js +22 -0
- package/lib/Incidents/SendHeartbeatHttp.js.map +1 -0
- package/lib/Incidents/Severity.d.ts +83 -0
- package/lib/Incidents/Severity.d.ts.map +1 -0
- package/lib/Incidents/Severity.js +79 -0
- package/lib/Incidents/Severity.js.map +1 -0
- package/lib/Incidents/SeverityGroup.d.ts +51 -0
- package/lib/Incidents/SeverityGroup.d.ts.map +1 -0
- package/lib/Incidents/SeverityGroup.js +50 -0
- package/lib/Incidents/SeverityGroup.js.map +1 -0
- package/lib/Incidents/SplunkOnCallIntegration.d.ts +46 -0
- package/lib/Incidents/SplunkOnCallIntegration.d.ts.map +1 -0
- package/lib/Incidents/SplunkOnCallIntegration.js +45 -0
- package/lib/Incidents/SplunkOnCallIntegration.js.map +1 -0
- package/lib/Incidents/StatusPage.d.ts +125 -0
- package/lib/Incidents/StatusPage.d.ts.map +1 -0
- package/lib/Incidents/StatusPage.js +133 -0
- package/lib/Incidents/StatusPage.js.map +1 -0
- package/lib/Incidents/StatusPageGroup.d.ts +50 -0
- package/lib/Incidents/StatusPageGroup.d.ts.map +1 -0
- package/lib/Incidents/StatusPageGroup.js +49 -0
- package/lib/Incidents/StatusPageGroup.js.map +1 -0
- package/lib/Incidents/StatusPageResource.d.ts +91 -0
- package/lib/Incidents/StatusPageResource.d.ts.map +1 -0
- package/lib/Incidents/StatusPageResource.js +87 -0
- package/lib/Incidents/StatusPageResource.js.map +1 -0
- package/lib/Incidents/StatusPageSection.d.ts +65 -0
- package/lib/Incidents/StatusPageSection.d.ts.map +1 -0
- package/lib/Incidents/StatusPageSection.js +65 -0
- package/lib/Incidents/StatusPageSection.js.map +1 -0
- package/lib/Incidents/StatusPageSubscriber.d.ts +93 -0
- package/lib/Incidents/StatusPageSubscriber.d.ts.map +1 -0
- package/lib/Incidents/StatusPageSubscriber.js +100 -0
- package/lib/Incidents/StatusPageSubscriber.js.map +1 -0
- package/lib/Incidents/index.d.ts +108 -0
- package/lib/Incidents/index.d.ts.map +1 -0
- package/lib/Incidents/index.js +143 -0
- package/lib/Incidents/index.js.map +1 -0
- package/lib/Incidents/integrationFields.d.ts +124 -0
- package/lib/Incidents/integrationFields.d.ts.map +1 -0
- package/lib/Incidents/integrationFields.js +74 -0
- package/lib/Incidents/integrationFields.js.map +1 -0
- package/lib/Providers.d.ts +36 -0
- package/lib/Providers.d.ts.map +1 -0
- package/lib/Providers.js +54 -0
- package/lib/Providers.js.map +1 -0
- package/lib/Telemetry/Alert.d.ts +99 -0
- package/lib/Telemetry/Alert.d.ts.map +1 -0
- package/lib/Telemetry/Alert.js +91 -0
- package/lib/Telemetry/Alert.js.map +1 -0
- package/lib/Telemetry/AwsLogGroupSubscription.d.ts +57 -0
- package/lib/Telemetry/AwsLogGroupSubscription.d.ts.map +1 -0
- package/lib/Telemetry/AwsLogGroupSubscription.js +57 -0
- package/lib/Telemetry/AwsLogGroupSubscription.js.map +1 -0
- package/lib/Telemetry/BindingHttp.d.ts +23 -0
- package/lib/Telemetry/BindingHttp.d.ts.map +1 -0
- package/lib/Telemetry/BindingHttp.js +25 -0
- package/lib/Telemetry/BindingHttp.js.map +1 -0
- package/lib/Telemetry/Chart.d.ts +171 -0
- package/lib/Telemetry/Chart.d.ts.map +1 -0
- package/lib/Telemetry/Chart.js +92 -0
- package/lib/Telemetry/Chart.js.map +1 -0
- package/lib/Telemetry/Collector.d.ts +78 -0
- package/lib/Telemetry/Collector.d.ts.map +1 -0
- package/lib/Telemetry/Collector.js +111 -0
- package/lib/Telemetry/Collector.js.map +1 -0
- package/lib/Telemetry/CollectorTarget.d.ts +69 -0
- package/lib/Telemetry/CollectorTarget.d.ts.map +1 -0
- package/lib/Telemetry/CollectorTarget.js +69 -0
- package/lib/Telemetry/CollectorTarget.js.map +1 -0
- package/lib/Telemetry/Connection.d.ts +79 -0
- package/lib/Telemetry/Connection.d.ts.map +1 -0
- package/lib/Telemetry/Connection.js +128 -0
- package/lib/Telemetry/Connection.js.map +1 -0
- package/lib/Telemetry/Dashboard.d.ts +108 -0
- package/lib/Telemetry/Dashboard.d.ts.map +1 -0
- package/lib/Telemetry/Dashboard.js +112 -0
- package/lib/Telemetry/Dashboard.js.map +1 -0
- package/lib/Telemetry/DashboardChart.d.ts +104 -0
- package/lib/Telemetry/DashboardChart.d.ts.map +1 -0
- package/lib/Telemetry/DashboardChart.js +119 -0
- package/lib/Telemetry/DashboardChart.js.map +1 -0
- package/lib/Telemetry/DashboardGroup.d.ts +53 -0
- package/lib/Telemetry/DashboardGroup.d.ts.map +1 -0
- package/lib/Telemetry/DashboardGroup.js +47 -0
- package/lib/Telemetry/DashboardGroup.js.map +1 -0
- package/lib/Telemetry/DashboardSection.d.ts +65 -0
- package/lib/Telemetry/DashboardSection.d.ts.map +1 -0
- package/lib/Telemetry/DashboardSection.js +65 -0
- package/lib/Telemetry/DashboardSection.js.map +1 -0
- package/lib/Telemetry/Exploration.d.ts +77 -0
- package/lib/Telemetry/Exploration.d.ts.map +1 -0
- package/lib/Telemetry/Exploration.js +97 -0
- package/lib/Telemetry/Exploration.js.map +1 -0
- package/lib/Telemetry/ExplorationGroup.d.ts +58 -0
- package/lib/Telemetry/ExplorationGroup.d.ts.map +1 -0
- package/lib/Telemetry/ExplorationGroup.js +52 -0
- package/lib/Telemetry/ExplorationGroup.js.map +1 -0
- package/lib/Telemetry/Export.d.ts +183 -0
- package/lib/Telemetry/Export.d.ts.map +1 -0
- package/lib/Telemetry/Export.js +152 -0
- package/lib/Telemetry/Export.js.map +1 -0
- package/lib/Telemetry/ExtractedMetric.d.ts +67 -0
- package/lib/Telemetry/ExtractedMetric.d.ts.map +1 -0
- package/lib/Telemetry/ExtractedMetric.js +66 -0
- package/lib/Telemetry/ExtractedMetric.js.map +1 -0
- package/lib/Telemetry/IngestLogs.d.ts +87 -0
- package/lib/Telemetry/IngestLogs.d.ts.map +1 -0
- package/lib/Telemetry/IngestLogs.js +3 -0
- package/lib/Telemetry/IngestLogs.js.map +1 -0
- package/lib/Telemetry/IngestLogsHttp.d.ts +12 -0
- package/lib/Telemetry/IngestLogsHttp.d.ts.map +1 -0
- package/lib/Telemetry/IngestLogsHttp.js +21 -0
- package/lib/Telemetry/IngestLogsHttp.js.map +1 -0
- package/lib/Telemetry/IngestMetrics.d.ts +68 -0
- package/lib/Telemetry/IngestMetrics.d.ts.map +1 -0
- package/lib/Telemetry/IngestMetrics.js +3 -0
- package/lib/Telemetry/IngestMetrics.js.map +1 -0
- package/lib/Telemetry/IngestMetricsHttp.d.ts +12 -0
- package/lib/Telemetry/IngestMetricsHttp.d.ts.map +1 -0
- package/lib/Telemetry/IngestMetricsHttp.js +21 -0
- package/lib/Telemetry/IngestMetricsHttp.js.map +1 -0
- package/lib/Telemetry/OtelHeaders.d.ts +36 -0
- package/lib/Telemetry/OtelHeaders.d.ts.map +1 -0
- package/lib/Telemetry/OtelHeaders.js +34 -0
- package/lib/Telemetry/OtelHeaders.js.map +1 -0
- package/lib/Telemetry/Query.d.ts +66 -0
- package/lib/Telemetry/Query.d.ts.map +1 -0
- package/lib/Telemetry/Query.js +3 -0
- package/lib/Telemetry/Query.js.map +1 -0
- package/lib/Telemetry/QueryHttp.d.ts +12 -0
- package/lib/Telemetry/QueryHttp.d.ts.map +1 -0
- package/lib/Telemetry/QueryHttp.js +24 -0
- package/lib/Telemetry/QueryHttp.js.map +1 -0
- package/lib/Telemetry/Reference.d.ts +115 -0
- package/lib/Telemetry/Reference.d.ts.map +1 -0
- package/lib/Telemetry/Reference.js +110 -0
- package/lib/Telemetry/Reference.js.map +1 -0
- package/lib/Telemetry/ShipLogs.d.ts +89 -0
- package/lib/Telemetry/ShipLogs.d.ts.map +1 -0
- package/lib/Telemetry/ShipLogs.js +119 -0
- package/lib/Telemetry/ShipLogs.js.map +1 -0
- package/lib/Telemetry/Source.d.ts +184 -0
- package/lib/Telemetry/Source.d.ts.map +1 -0
- package/lib/Telemetry/Source.js +238 -0
- package/lib/Telemetry/Source.js.map +1 -0
- package/lib/Telemetry/SourceAwsAccount.d.ts +73 -0
- package/lib/Telemetry/SourceAwsAccount.d.ts.map +1 -0
- package/lib/Telemetry/SourceAwsAccount.js +57 -0
- package/lib/Telemetry/SourceAwsAccount.js.map +1 -0
- package/lib/Telemetry/SourceGcpProject.d.ts +81 -0
- package/lib/Telemetry/SourceGcpProject.d.ts.map +1 -0
- package/lib/Telemetry/SourceGcpProject.js +69 -0
- package/lib/Telemetry/SourceGcpProject.js.map +1 -0
- package/lib/Telemetry/SourceGroup.d.ts +65 -0
- package/lib/Telemetry/SourceGroup.d.ts.map +1 -0
- package/lib/Telemetry/SourceGroup.js +67 -0
- package/lib/Telemetry/SourceGroup.js.map +1 -0
- package/lib/Telemetry/customBucket.d.ts +26 -0
- package/lib/Telemetry/customBucket.d.ts.map +1 -0
- package/lib/Telemetry/customBucket.js +45 -0
- package/lib/Telemetry/customBucket.js.map +1 -0
- package/lib/Telemetry/index.d.ts +64 -0
- package/lib/Telemetry/index.d.ts.map +1 -0
- package/lib/Telemetry/index.js +81 -0
- package/lib/Telemetry/index.js.map +1 -0
- package/lib/index.d.ts +14 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +14 -0
- package/lib/index.js.map +1 -0
- package/lib/internal/DeployRetry.d.ts +19 -0
- package/lib/internal/DeployRetry.d.ts.map +1 -0
- package/lib/internal/DeployRetry.js +52 -0
- package/lib/internal/DeployRetry.js.map +1 -0
- package/lib/internal/actionWait.d.ts +12 -0
- package/lib/internal/actionWait.d.ts.map +1 -0
- package/lib/internal/actionWait.js +21 -0
- package/lib/internal/actionWait.js.map +1 -0
- package/lib/internal/applicationIds.d.ts +17 -0
- package/lib/internal/applicationIds.d.ts.map +1 -0
- package/lib/internal/applicationIds.js +12 -0
- package/lib/internal/applicationIds.js.map +1 -0
- package/lib/internal/attachments.d.ts +23 -0
- package/lib/internal/attachments.d.ts.map +1 -0
- package/lib/internal/attachments.js +22 -0
- package/lib/internal/attachments.js.map +1 -0
- package/lib/internal/budget.d.ts +46 -0
- package/lib/internal/budget.d.ts.map +1 -0
- package/lib/internal/budget.js +44 -0
- package/lib/internal/budget.js.map +1 -0
- package/lib/internal/connection.d.ts +65 -0
- package/lib/internal/connection.d.ts.map +1 -0
- package/lib/internal/connection.js +160 -0
- package/lib/internal/connection.js.map +1 -0
- package/lib/internal/crud.d.ts +195 -0
- package/lib/internal/crud.d.ts.map +1 -0
- package/lib/internal/crud.js +614 -0
- package/lib/internal/crud.js.map +1 -0
- package/lib/internal/errors.d.ts +35 -0
- package/lib/internal/errors.d.ts.map +1 -0
- package/lib/internal/errors.js +19 -0
- package/lib/internal/errors.js.map +1 -0
- package/lib/internal/fields.d.ts +47 -0
- package/lib/internal/fields.d.ts.map +1 -0
- package/lib/internal/fields.js +136 -0
- package/lib/internal/fields.js.map +1 -0
- package/lib/internal/gone.d.ts +13 -0
- package/lib/internal/gone.d.ts.map +1 -0
- package/lib/internal/gone.js +14 -0
- package/lib/internal/gone.js.map +1 -0
- package/lib/internal/managedDatabase.d.ts +137 -0
- package/lib/internal/managedDatabase.d.ts.map +1 -0
- package/lib/internal/managedDatabase.js +186 -0
- package/lib/internal/managedDatabase.js.map +1 -0
- package/lib/internal/managedService.d.ts +184 -0
- package/lib/internal/managedService.d.ts.map +1 -0
- package/lib/internal/managedService.js +208 -0
- package/lib/internal/managedService.js.map +1 -0
- package/lib/internal/migrations.d.ts +138 -0
- package/lib/internal/migrations.d.ts.map +1 -0
- package/lib/internal/migrations.js +288 -0
- package/lib/internal/migrations.js.map +1 -0
- package/lib/internal/ops.d.ts +43 -0
- package/lib/internal/ops.d.ts.map +1 -0
- package/lib/internal/ops.js +46 -0
- package/lib/internal/ops.js.map +1 -0
- package/lib/internal/ownership.d.ts +55 -0
- package/lib/internal/ownership.d.ts.map +1 -0
- package/lib/internal/ownership.js +74 -0
- package/lib/internal/ownership.js.map +1 -0
- package/lib/internal/reference.d.ts +36 -0
- package/lib/internal/reference.d.ts.map +1 -0
- package/lib/internal/reference.js +49 -0
- package/lib/internal/reference.js.map +1 -0
- package/lib/internal/scope.d.ts +51 -0
- package/lib/internal/scope.d.ts.map +1 -0
- package/lib/internal/scope.js +34 -0
- package/lib/internal/scope.js.map +1 -0
- package/lib/internal/snapshot.d.ts +120 -0
- package/lib/internal/snapshot.d.ts.map +1 -0
- package/lib/internal/snapshot.js +92 -0
- package/lib/internal/snapshot.js.map +1 -0
- package/lib/internal/unpaged.d.ts +22 -0
- package/lib/internal/unpaged.d.ts.map +1 -0
- package/lib/internal/unpaged.js +17 -0
- package/lib/internal/unpaged.js.map +1 -0
- package/lib/internal/wait.d.ts +55 -0
- package/lib/internal/wait.d.ts.map +1 -0
- package/lib/internal/wait.js +56 -0
- package/lib/internal/wait.js.map +1 -0
- package/lib/sdk/credentials.d.ts +97 -0
- package/lib/sdk/credentials.d.ts.map +1 -0
- package/lib/sdk/credentials.js +135 -0
- package/lib/sdk/credentials.js.map +1 -0
- package/lib/sdk/errors.d.ts +98 -0
- package/lib/sdk/errors.d.ts.map +1 -0
- package/lib/sdk/errors.js +86 -0
- package/lib/sdk/errors.js.map +1 -0
- package/lib/sdk/index.d.ts +49 -0
- package/lib/sdk/index.d.ts.map +1 -0
- package/lib/sdk/index.js +49 -0
- package/lib/sdk/index.js.map +1 -0
- package/lib/sdk/pagination.d.ts +35 -0
- package/lib/sdk/pagination.d.ts.map +1 -0
- package/lib/sdk/pagination.js +80 -0
- package/lib/sdk/pagination.js.map +1 -0
- package/lib/sdk/protocol.d.ts +109 -0
- package/lib/sdk/protocol.d.ts.map +1 -0
- package/lib/sdk/protocol.js +451 -0
- package/lib/sdk/protocol.js.map +1 -0
- package/lib/sdk/retry.d.ts +32 -0
- package/lib/sdk/retry.d.ts.map +1 -0
- package/lib/sdk/retry.js +33 -0
- package/lib/sdk/retry.js.map +1 -0
- package/lib/sdk/services/account.d.ts +372 -0
- package/lib/sdk/services/account.d.ts.map +1 -0
- package/lib/sdk/services/account.js +553 -0
- package/lib/sdk/services/account.js.map +1 -0
- package/lib/sdk/services/cloud.d.ts +11910 -0
- package/lib/sdk/services/cloud.d.ts.map +1 -0
- package/lib/sdk/services/cloud.js +18446 -0
- package/lib/sdk/services/cloud.js.map +1 -0
- package/lib/sdk/services/errors.d.ts +2203 -0
- package/lib/sdk/services/errors.d.ts.map +1 -0
- package/lib/sdk/services/errors.js +2676 -0
- package/lib/sdk/services/errors.js.map +1 -0
- package/lib/sdk/services/heartbeat.d.ts +36 -0
- package/lib/sdk/services/heartbeat.d.ts.map +1 -0
- package/lib/sdk/services/heartbeat.js +94 -0
- package/lib/sdk/services/heartbeat.js.map +1 -0
- package/lib/sdk/services/incidents.d.ts +9948 -0
- package/lib/sdk/services/incidents.d.ts.map +1 -0
- package/lib/sdk/services/incidents.js +9730 -0
- package/lib/sdk/services/incidents.js.map +1 -0
- package/lib/sdk/services/index.d.ts +8 -0
- package/lib/sdk/services/index.d.ts.map +1 -0
- package/lib/sdk/services/index.js +9 -0
- package/lib/sdk/services/index.js.map +1 -0
- package/lib/sdk/services/ingest.d.ts +158 -0
- package/lib/sdk/services/ingest.d.ts.map +1 -0
- package/lib/sdk/services/ingest.js +200 -0
- package/lib/sdk/services/ingest.js.map +1 -0
- package/lib/sdk/services/telemetry.d.ts +6789 -0
- package/lib/sdk/services/telemetry.d.ts.map +1 -0
- package/lib/sdk/services/telemetry.js +5613 -0
- package/lib/sdk/services/telemetry.js.map +1 -0
- package/lib/sdk/traits.d.ts +26 -0
- package/lib/sdk/traits.d.ts.map +1 -0
- package/lib/sdk/traits.js +15 -0
- package/lib/sdk/traits.js.map +1 -0
- package/package.json +190 -4
- package/src/Account/Reference.ts +120 -0
- package/src/Account/Team.ts +106 -0
- package/src/Account/TeamMember.ts +218 -0
- package/src/Account/index.ts +27 -0
- package/src/AuthProvider.ts +172 -0
- package/src/BetterStackBindings.ts +447 -0
- package/src/Cloud/Bootstrap.ts +116 -0
- package/src/Cloud/Certificate.ts +146 -0
- package/src/Cloud/ClickHouse.ts +272 -0
- package/src/Cloud/ClickHouseScheduledSnapshot.ts +114 -0
- package/src/Cloud/ClickHouseSnapshot.ts +137 -0
- package/src/Cloud/Firewall.ts +277 -0
- package/src/Cloud/FirewallRule.ts +175 -0
- package/src/Cloud/InferEnv.ts +30 -0
- package/src/Cloud/Kafka.ts +301 -0
- package/src/Cloud/KafkaTopic.ts +129 -0
- package/src/Cloud/KafkaUser.ts +175 -0
- package/src/Cloud/KubernetesCluster.ts +312 -0
- package/src/Cloud/KubernetesNodePool.ts +196 -0
- package/src/Cloud/KubernetesScheduledSnapshot.ts +116 -0
- package/src/Cloud/LoadBalancer.ts +336 -0
- package/src/Cloud/LoadBalancerService.ts +181 -0
- package/src/Cloud/LoadBalancerTarget.ts +203 -0
- package/src/Cloud/MountVolume.ts +167 -0
- package/src/Cloud/MySQL.ts +363 -0
- package/src/Cloud/MySQLScheduledSnapshot.ts +111 -0
- package/src/Cloud/MySQLSnapshot.ts +133 -0
- package/src/Cloud/Network.ts +116 -0
- package/src/Cloud/ObjectCache.ts +420 -0
- package/src/Cloud/ObjectCacheBucket.ts +197 -0
- package/src/Cloud/Otlp.ts +131 -0
- package/src/Cloud/PlacementGroup.ts +132 -0
- package/src/Cloud/Postgres.ts +410 -0
- package/src/Cloud/PostgresDatabase.ts +118 -0
- package/src/Cloud/PostgresScheduledSnapshot.ts +111 -0
- package/src/Cloud/PostgresSnapshot.ts +133 -0
- package/src/Cloud/PostgresUser.ts +175 -0
- package/src/Cloud/Reference.ts +743 -0
- package/src/Cloud/ReservedIp.ts +214 -0
- package/src/Cloud/ScheduledSnapshot.ts +75 -0
- package/src/Cloud/ScheduledVolumeSnapshot.ts +76 -0
- package/src/Cloud/Server.ts +1469 -0
- package/src/Cloud/ServerPool.ts +100 -0
- package/src/Cloud/ServerPrivateIp.ts +109 -0
- package/src/Cloud/Service.ts +1101 -0
- package/src/Cloud/ServiceHandler.ts +113 -0
- package/src/Cloud/Snapshot.ts +161 -0
- package/src/Cloud/Ssh.ts +528 -0
- package/src/Cloud/SshKey.ts +241 -0
- package/src/Cloud/Valkey.ts +284 -0
- package/src/Cloud/ValkeyScheduledSnapshot.ts +112 -0
- package/src/Cloud/ValkeySnapshot.ts +135 -0
- package/src/Cloud/Volume.ts +522 -0
- package/src/Cloud/VolumeSnapshot.ts +153 -0
- package/src/Cloud/Webhook.ts +145 -0
- package/src/Cloud/Website/Astro.ts +118 -0
- package/src/Cloud/Website/Foldkit.ts +78 -0
- package/src/Cloud/Website/FrameworkSite.ts +499 -0
- package/src/Cloud/Website/Nextjs.ts +70 -0
- package/src/Cloud/Website/Nuxt.ts +72 -0
- package/src/Cloud/Website/Octane.ts +63 -0
- package/src/Cloud/Website/Providers.ts +20 -0
- package/src/Cloud/Website/ReactRouter.ts +96 -0
- package/src/Cloud/Website/SolidStart.ts +109 -0
- package/src/Cloud/Website/StaticSite.ts +273 -0
- package/src/Cloud/Website/SvelteKit.ts +71 -0
- package/src/Cloud/Website/TanStackStart.ts +91 -0
- package/src/Cloud/Website/Vinext.ts +79 -0
- package/src/Cloud/Website/Vite.ts +131 -0
- package/src/Cloud/Website/Vocs.ts +69 -0
- package/src/Cloud/Website/Waku.ts +76 -0
- package/src/Cloud/Website/index.ts +16 -0
- package/src/Cloud/hosted.ts +1022 -0
- package/src/Cloud/index.ts +223 -0
- package/src/Contributions.ts +15 -0
- package/src/Credentials.ts +70 -0
- package/src/Errors/Application.ts +208 -0
- package/src/Errors/ApplicationGroup.ts +119 -0
- package/src/Errors/Dsn.ts +119 -0
- package/src/Errors/JiraIntegration.ts +108 -0
- package/src/Errors/LinearIntegration.ts +112 -0
- package/src/Errors/MicrosoftTeamsIntegration.ts +121 -0
- package/src/Errors/Reference.ts +189 -0
- package/src/Errors/RegisterRelease.ts +77 -0
- package/src/Errors/RegisterReleaseHttp.ts +47 -0
- package/src/Errors/Release.ts +241 -0
- package/src/Errors/SlackIntegration.ts +105 -0
- package/src/Errors/index.ts +60 -0
- package/src/Incidents/AcknowledgeIncident.ts +78 -0
- package/src/Incidents/AcknowledgeIncidentHttp.ts +28 -0
- package/src/Incidents/AmazonSnsIntegration.ts +134 -0
- package/src/Incidents/AwsCloudWatchIntegration.ts +99 -0
- package/src/Incidents/AzureIntegration.ts +95 -0
- package/src/Incidents/BindingHttp.ts +62 -0
- package/src/Incidents/CatalogRecord.ts +106 -0
- package/src/Incidents/CatalogRelation.ts +111 -0
- package/src/Incidents/CreateIncident.ts +81 -0
- package/src/Incidents/CreateIncidentHttp.ts +28 -0
- package/src/Incidents/CreateStatusReport.ts +88 -0
- package/src/Incidents/CreateStatusReportHttp.ts +35 -0
- package/src/Incidents/CreateStatusUpdate.ts +84 -0
- package/src/Incidents/CreateStatusUpdateHttp.ts +35 -0
- package/src/Incidents/DatadogIntegration.ts +102 -0
- package/src/Incidents/ElasticIntegration.ts +94 -0
- package/src/Incidents/EscalationPolicy.ts +144 -0
- package/src/Incidents/EscalationPolicyGroup.ts +82 -0
- package/src/Incidents/FailHeartbeat.ts +55 -0
- package/src/Incidents/FailHeartbeatHttp.ts +28 -0
- package/src/Incidents/GoogleMonitoringIntegration.ts +98 -0
- package/src/Incidents/GrafanaIntegration.ts +105 -0
- package/src/Incidents/Heartbeat.ts +143 -0
- package/src/Incidents/HeartbeatGroup.ts +83 -0
- package/src/Incidents/IncomingEmailIntegration.ts +120 -0
- package/src/Incidents/IncomingWebhookIntegration.ts +141 -0
- package/src/Incidents/JiraIntegration.ts +83 -0
- package/src/Incidents/LinearIntegration.ts +94 -0
- package/src/Incidents/Metadata.ts +133 -0
- package/src/Incidents/Monitor.ts +150 -0
- package/src/Incidents/MonitorGroup.ts +91 -0
- package/src/Incidents/NewRelicIntegration.ts +102 -0
- package/src/Incidents/OnCallRotation.ts +295 -0
- package/src/Incidents/OnCallSchedule.ts +115 -0
- package/src/Incidents/OutgoingEmailIntegration.ts +84 -0
- package/src/Incidents/OutgoingPagerDutyIntegration.ts +78 -0
- package/src/Incidents/OutgoingWebhookIntegration.ts +147 -0
- package/src/Incidents/PrometheusIntegration.ts +109 -0
- package/src/Incidents/Reference.ts +210 -0
- package/src/Incidents/ReportHeartbeat.ts +149 -0
- package/src/Incidents/ReportHeartbeatHttp.ts +30 -0
- package/src/Incidents/ResolveIncident.ts +74 -0
- package/src/Incidents/ResolveIncidentHttp.ts +28 -0
- package/src/Incidents/SendHeartbeat.ts +62 -0
- package/src/Incidents/SendHeartbeatHttp.ts +28 -0
- package/src/Incidents/Severity.ts +123 -0
- package/src/Incidents/SeverityGroup.ts +82 -0
- package/src/Incidents/SplunkOnCallIntegration.ts +76 -0
- package/src/Incidents/StatusPage.ts +178 -0
- package/src/Incidents/StatusPageGroup.ts +81 -0
- package/src/Incidents/StatusPageResource.ts +128 -0
- package/src/Incidents/StatusPageSection.ts +105 -0
- package/src/Incidents/StatusPageSubscriber.ts +163 -0
- package/src/Incidents/index.ts +213 -0
- package/src/Incidents/integrationFields.ts +174 -0
- package/src/Providers.ts +78 -0
- package/src/Telemetry/Alert.ts +135 -0
- package/src/Telemetry/AwsLogGroupSubscription.ts +97 -0
- package/src/Telemetry/BindingHttp.ts +40 -0
- package/src/Telemetry/Chart.ts +251 -0
- package/src/Telemetry/Collector.ts +157 -0
- package/src/Telemetry/CollectorTarget.ts +108 -0
- package/src/Telemetry/Connection.ts +182 -0
- package/src/Telemetry/Dashboard.ts +152 -0
- package/src/Telemetry/DashboardChart.ts +177 -0
- package/src/Telemetry/DashboardGroup.ts +86 -0
- package/src/Telemetry/DashboardSection.ts +115 -0
- package/src/Telemetry/Exploration.ts +139 -0
- package/src/Telemetry/ExplorationGroup.ts +93 -0
- package/src/Telemetry/Export.ts +263 -0
- package/src/Telemetry/ExtractedMetric.ts +112 -0
- package/src/Telemetry/IngestLogs.ts +95 -0
- package/src/Telemetry/IngestLogsHttp.ts +28 -0
- package/src/Telemetry/IngestMetrics.ts +76 -0
- package/src/Telemetry/IngestMetricsHttp.ts +28 -0
- package/src/Telemetry/OtelHeaders.ts +52 -0
- package/src/Telemetry/Query.ts +75 -0
- package/src/Telemetry/QueryHttp.ts +40 -0
- package/src/Telemetry/Reference.ts +164 -0
- package/src/Telemetry/ShipLogs.ts +162 -0
- package/src/Telemetry/Source.ts +328 -0
- package/src/Telemetry/SourceAwsAccount.ts +110 -0
- package/src/Telemetry/SourceGcpProject.ts +125 -0
- package/src/Telemetry/SourceGroup.ts +111 -0
- package/src/Telemetry/customBucket.ts +62 -0
- package/src/Telemetry/index.ts +104 -0
- package/src/globals.d.ts +4 -0
- package/src/index.ts +13 -0
- package/src/internal/DeployRetry.ts +64 -0
- package/src/internal/actionWait.ts +23 -0
- package/src/internal/applicationIds.ts +21 -0
- package/src/internal/attachments.ts +40 -0
- package/src/internal/budget.ts +69 -0
- package/src/internal/connection.ts +233 -0
- package/src/internal/crud.ts +1053 -0
- package/src/internal/errors.ts +32 -0
- package/src/internal/fields.ts +162 -0
- package/src/internal/gone.ts +19 -0
- package/src/internal/managedDatabase.ts +331 -0
- package/src/internal/managedService.ts +419 -0
- package/src/internal/migrations.ts +484 -0
- package/src/internal/ops.ts +86 -0
- package/src/internal/ownership.ts +84 -0
- package/src/internal/reference.ts +100 -0
- package/src/internal/scope.ts +84 -0
- package/src/internal/snapshot.ts +170 -0
- package/src/internal/unpaged.ts +29 -0
- package/src/internal/wait.ts +88 -0
- package/src/sdk/credentials.ts +222 -0
- package/src/sdk/errors.ts +125 -0
- package/src/sdk/index.ts +69 -0
- package/src/sdk/pagination.ts +100 -0
- package/src/sdk/protocol.ts +565 -0
- package/src/sdk/retry.ts +50 -0
- package/src/sdk/services/account.ts +1079 -0
- package/src/sdk/services/cloud.ts +38638 -0
- package/src/sdk/services/errors.ts +6182 -0
- package/src/sdk/services/heartbeat.ts +144 -0
- package/src/sdk/services/incidents.ts +25835 -0
- package/src/sdk/services/index.ts +8 -0
- package/src/sdk/services/ingest.ts +383 -0
- package/src/sdk/services/telemetry.ts +14868 -0
- package/src/sdk/traits.ts +77 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import type { TeamProp } from "../internal/scope.ts";
|
|
3
|
+
import type { Providers } from "../Providers.ts";
|
|
4
|
+
import * as Telemetry from "../sdk/services/telemetry.ts";
|
|
5
|
+
/** Props of {@link SourceAwsAccount}. */
|
|
6
|
+
export interface SourceAwsAccountProps extends Pick<Telemetry.UpdateSourceRequest, "awsAccountId" | "awsRoleArn" | "awsExternalId" | "awsAutoSubLogGroups">, TeamProp {
|
|
7
|
+
/** The `aws` source to connect the account to. Changing it manages another source. */
|
|
8
|
+
sourceId: string;
|
|
9
|
+
}
|
|
10
|
+
/** Attributes of {@link SourceAwsAccount}: the connection as the source reports it. */
|
|
11
|
+
export interface SourceAwsAccountAttributes {
|
|
12
|
+
/** The `aws` source the account is connected to. */
|
|
13
|
+
sourceId: string;
|
|
14
|
+
/** Team that owns the source, such as `t123`. */
|
|
15
|
+
teamId?: string | undefined;
|
|
16
|
+
/** The source's platform (`aws`). */
|
|
17
|
+
platform?: string | undefined;
|
|
18
|
+
/** Whether new CloudWatch log groups are subscribed automatically when they're discovered. */
|
|
19
|
+
awsAutoSubLogGroups?: boolean | undefined;
|
|
20
|
+
/** Better Stack's id of the connected AWS account, when the props named one. Never returned by the API. */
|
|
21
|
+
awsAccountId?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Props for {@link SourceAwsAccount.lookup}: the AWS account connection of a source this stack
|
|
25
|
+
* doesn't manage, found by the source's id. The lookup reads the source as
|
|
26
|
+
* it is; check `platform` (`aws`) when the id could name another kind of source.
|
|
27
|
+
*/
|
|
28
|
+
export interface SourceAwsAccountLookup {
|
|
29
|
+
/** The `aws` source's id. */
|
|
30
|
+
sourceId: string;
|
|
31
|
+
/** Team that owns the source, such as `t123`. Defaults to the credentials' team. */
|
|
32
|
+
teamId?: string;
|
|
33
|
+
}
|
|
34
|
+
export type SourceAwsAccount = Resource<"BetterStack.Telemetry.SourceAwsAccount", SourceAwsAccountProps, SourceAwsAccountAttributes, never, Providers, SourceAwsAccountLookup>;
|
|
35
|
+
/**
|
|
36
|
+
* The AWS account connected to an `aws` {@link Source}, through the IAM role
|
|
37
|
+
* from Better Stack's CloudFormation stack (`awsRoleArn` + `awsExternalId`),
|
|
38
|
+
* or by reusing an account another `aws` source connected (`awsAccountId`,
|
|
39
|
+
* Better Stack's own id, not the 12-digit AWS one). Exactly one of
|
|
40
|
+
* `awsRoleArn` and `awsAccountId`; `awsRoleArn` goes with `awsExternalId`.
|
|
41
|
+
*
|
|
42
|
+
* There is no create or delete: the resource takes over the source named by
|
|
43
|
+
* `sourceId` and applies these settings to it. Destroying it only forgets
|
|
44
|
+
* it; nothing changes in Better Stack. The role ARN, external id and account
|
|
45
|
+
* id are never returned, so changes are detected against the previous
|
|
46
|
+
* deploy's props, never against the live source.
|
|
47
|
+
*
|
|
48
|
+
* @see https://betterstack.com/docs/logs/aws/
|
|
49
|
+
*
|
|
50
|
+
* ### Connecting an AWS account
|
|
51
|
+
* **Example:** The role from Better Stack's CloudFormation stack
|
|
52
|
+
* ```typescript
|
|
53
|
+
* const aws = yield* BetterStack.Telemetry.Source("aws", { platform: "aws" });
|
|
54
|
+
* yield* BetterStack.Telemetry.SourceAwsAccount("aws-account", {
|
|
55
|
+
* sourceId: aws.id,
|
|
56
|
+
* awsRoleArn: Redacted.make("arn:aws:iam::123456789012:role/better-stack"),
|
|
57
|
+
* awsExternalId: Redacted.make("external-id-from-the-stack"),
|
|
58
|
+
* awsAutoSubLogGroups: true,
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ### Looking up an existing connection
|
|
63
|
+
* **Example:** Read the AWS account connection of a source by its id
|
|
64
|
+
* ```typescript
|
|
65
|
+
* const existing = BetterStack.Telemetry.SourceAwsAccount.lookup({ sourceId: "123456" });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @resource
|
|
69
|
+
* @product Telemetry
|
|
70
|
+
*/
|
|
71
|
+
export declare const SourceAwsAccount: import("alchemy/Resource").ResourceClass<SourceAwsAccount>;
|
|
72
|
+
export declare const SourceAwsAccountProvider: () => import("effect/Layer").Layer<import("alchemy/Provider").Provider<SourceAwsAccount>, never, import("../internal/crud.ts").CrudRequirements>;
|
|
73
|
+
//# sourceMappingURL=SourceAwsAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceAwsAccount.d.ts","sourceRoot":"","sources":["../../src/Telemetry/SourceAwsAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAE1D,yCAAyC;AACzC,MAAM,WAAW,qBACf,SACE,IAAI,CACF,SAAS,CAAC,mBAAmB,EAC7B,cAAc,GAAG,YAAY,GAAG,eAAe,GAAG,qBAAqB,CACxE,EACD,QAAQ;IACV,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,uFAAuF;AACvF,MAAM,WAAW,0BAA0B;IACzC,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,8FAA8F;IAC9F,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,2GAA2G;IAC3G,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACrC,wCAAwC,EACxC,qBAAqB,EACrB,0BAA0B,EAC1B,KAAK,EACL,SAAS,EACT,sBAAsB,CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,gBAAgB,4DAE5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,kJAgBjC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import { crud } from "../internal/crud.js";
|
|
3
|
+
import * as Telemetry from "../sdk/services/telemetry.js";
|
|
4
|
+
/**
|
|
5
|
+
* The AWS account connected to an `aws` {@link Source}, through the IAM role
|
|
6
|
+
* from Better Stack's CloudFormation stack (`awsRoleArn` + `awsExternalId`),
|
|
7
|
+
* or by reusing an account another `aws` source connected (`awsAccountId`,
|
|
8
|
+
* Better Stack's own id, not the 12-digit AWS one). Exactly one of
|
|
9
|
+
* `awsRoleArn` and `awsAccountId`; `awsRoleArn` goes with `awsExternalId`.
|
|
10
|
+
*
|
|
11
|
+
* There is no create or delete: the resource takes over the source named by
|
|
12
|
+
* `sourceId` and applies these settings to it. Destroying it only forgets
|
|
13
|
+
* it; nothing changes in Better Stack. The role ARN, external id and account
|
|
14
|
+
* id are never returned, so changes are detected against the previous
|
|
15
|
+
* deploy's props, never against the live source.
|
|
16
|
+
*
|
|
17
|
+
* @see https://betterstack.com/docs/logs/aws/
|
|
18
|
+
*
|
|
19
|
+
* ### Connecting an AWS account
|
|
20
|
+
* **Example:** The role from Better Stack's CloudFormation stack
|
|
21
|
+
* ```typescript
|
|
22
|
+
* const aws = yield* BetterStack.Telemetry.Source("aws", { platform: "aws" });
|
|
23
|
+
* yield* BetterStack.Telemetry.SourceAwsAccount("aws-account", {
|
|
24
|
+
* sourceId: aws.id,
|
|
25
|
+
* awsRoleArn: Redacted.make("arn:aws:iam::123456789012:role/better-stack"),
|
|
26
|
+
* awsExternalId: Redacted.make("external-id-from-the-stack"),
|
|
27
|
+
* awsAutoSubLogGroups: true,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### Looking up an existing connection
|
|
32
|
+
* **Example:** Read the AWS account connection of a source by its id
|
|
33
|
+
* ```typescript
|
|
34
|
+
* const existing = BetterStack.Telemetry.SourceAwsAccount.lookup({ sourceId: "123456" });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @resource
|
|
38
|
+
* @product Telemetry
|
|
39
|
+
*/
|
|
40
|
+
export const SourceAwsAccount = Resource("BetterStack.Telemetry.SourceAwsAccount");
|
|
41
|
+
export const SourceAwsAccountProvider = () => crud(SourceAwsAccount, {
|
|
42
|
+
ops: { read: Telemetry.getSource, update: Telemetry.updateSource },
|
|
43
|
+
key: (account) => ({ id: account.sourceId }),
|
|
44
|
+
takeOver: (props) => ({ sourceId: props.sourceId }),
|
|
45
|
+
toAttributes: (source) => ({
|
|
46
|
+
sourceId: source.id,
|
|
47
|
+
teamId: source.teamId,
|
|
48
|
+
platform: source.platform,
|
|
49
|
+
awsAutoSubLogGroups: source.awsAutoSubLogGroups,
|
|
50
|
+
}),
|
|
51
|
+
echo: ["awsAccountId"],
|
|
52
|
+
replaceOn: ["sourceId"],
|
|
53
|
+
list: false,
|
|
54
|
+
lookup: { key: ({ sourceId }) => ({ sourceId }) },
|
|
55
|
+
stables: ["sourceId", "teamId"],
|
|
56
|
+
});
|
|
57
|
+
//# sourceMappingURL=SourceAwsAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceAwsAccount.js","sourceRoot":"","sources":["../../src/Telemetry/SourceAwsAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAiD1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CACtC,wCAAwC,CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAC3C,IAAI,CAAC,gBAAgB,EAAE;IACrB,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,YAAY,EAAE;IAClE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;KAChD,CAAC;IACF,IAAI,EAAE,CAAC,cAAc,CAAC;IACtB,SAAS,EAAE,CAAC,UAAU,CAAC;IACvB,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE;IACjD,OAAO,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import type { TeamProp } from "../internal/scope.ts";
|
|
3
|
+
import type { Providers } from "../Providers.ts";
|
|
4
|
+
import * as Telemetry from "../sdk/services/telemetry.ts";
|
|
5
|
+
/** Props of {@link SourceGcpProject}. */
|
|
6
|
+
export interface SourceGcpProjectProps extends Pick<Telemetry.UpdateSourceRequest, "gcpAccountId" | "gcpProjectId" | "gcpProjectNumber" | "gcpLogFilter">, TeamProp {
|
|
7
|
+
/** The `gcp` source to connect the project to. Changing it manages another source. */
|
|
8
|
+
sourceId: string;
|
|
9
|
+
}
|
|
10
|
+
/** Attributes of {@link SourceGcpProject}: the connection as the source reports it. */
|
|
11
|
+
export interface SourceGcpProjectAttributes {
|
|
12
|
+
/** The `gcp` source the project is connected to. */
|
|
13
|
+
sourceId: string;
|
|
14
|
+
/** Team that owns the source, such as `t123`. */
|
|
15
|
+
teamId?: string | undefined;
|
|
16
|
+
/** The source's platform (`gcp`). */
|
|
17
|
+
platform?: string | undefined;
|
|
18
|
+
/** The Google Cloud Logging query that selects which logs the source receives, `null` for every log. */
|
|
19
|
+
gcpLogFilter?: string | null | undefined;
|
|
20
|
+
/** The connected project's id, as the props named it. Never returned by the API. */
|
|
21
|
+
gcpProjectId?: string | undefined;
|
|
22
|
+
/** Better Stack's id of the reused project connection, when the props named one. Never returned by the API. */
|
|
23
|
+
gcpAccountId?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Props for {@link SourceGcpProject.lookup}: the GCP project connection of a source this stack
|
|
27
|
+
* doesn't manage, found by the source's id. The lookup reads the source as
|
|
28
|
+
* it is; check `platform` (`gcp`) when the id could name another kind of source.
|
|
29
|
+
*/
|
|
30
|
+
export interface SourceGcpProjectLookup {
|
|
31
|
+
/** The `gcp` source's id. */
|
|
32
|
+
sourceId: string;
|
|
33
|
+
/** Team that owns the source, such as `t123`. Defaults to the credentials' team. */
|
|
34
|
+
teamId?: string;
|
|
35
|
+
}
|
|
36
|
+
export type SourceGcpProject = Resource<"BetterStack.Telemetry.SourceGcpProject", SourceGcpProjectProps, SourceGcpProjectAttributes, never, Providers, SourceGcpProjectLookup>;
|
|
37
|
+
/**
|
|
38
|
+
* The GCP project connected to a `gcp` {@link Source}, through Workload
|
|
39
|
+
* Identity Federation from the Better Stack GCP module (`gcpProjectId` +
|
|
40
|
+
* `gcpProjectNumber`), or by reusing a project another `gcp` source
|
|
41
|
+
* connected (`gcpAccountId`, Better Stack's own id). Exactly one of
|
|
42
|
+
* `gcpProjectId` and `gcpAccountId`; `gcpProjectId` goes with
|
|
43
|
+
* `gcpProjectNumber`.
|
|
44
|
+
*
|
|
45
|
+
* There is no create or delete: the resource takes over the source named by
|
|
46
|
+
* `sourceId` and applies these settings to it. Destroying it only forgets
|
|
47
|
+
* it; nothing changes in Better Stack. The project id, number and account id
|
|
48
|
+
* are never returned, so changes are detected against the previous deploy's
|
|
49
|
+
* props.
|
|
50
|
+
*
|
|
51
|
+
* `gcpLogFilter` must be set in a later request than the one that connects
|
|
52
|
+
* the project, so it is sent by its own update after the connection. Send
|
|
53
|
+
* `null` to forward every log again (removing it from the config leaves the
|
|
54
|
+
* filter as it is).
|
|
55
|
+
*
|
|
56
|
+
* @see https://betterstack.com/docs/logs/google-cloud/
|
|
57
|
+
*
|
|
58
|
+
* ### Connecting a GCP project
|
|
59
|
+
* **Example:** A project with a log filter
|
|
60
|
+
* ```typescript
|
|
61
|
+
* const gcp = yield* BetterStack.Telemetry.Source("gcp", { platform: "gcp" });
|
|
62
|
+
* yield* BetterStack.Telemetry.SourceGcpProject("gcp-project", {
|
|
63
|
+
* sourceId: gcp.id,
|
|
64
|
+
* gcpProjectId: "my-project",
|
|
65
|
+
* gcpProjectNumber: "123456789012",
|
|
66
|
+
* gcpLogFilter: 'severity >= "WARNING"',
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ### Looking up an existing connection
|
|
71
|
+
* **Example:** Read the GCP project connection of a source by its id
|
|
72
|
+
* ```typescript
|
|
73
|
+
* const existing = BetterStack.Telemetry.SourceGcpProject.lookup({ sourceId: "123456" });
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @resource
|
|
77
|
+
* @product Telemetry
|
|
78
|
+
*/
|
|
79
|
+
export declare const SourceGcpProject: import("alchemy/Resource").ResourceClass<SourceGcpProject>;
|
|
80
|
+
export declare const SourceGcpProjectProvider: () => import("effect/Layer").Layer<import("alchemy/Provider").Provider<SourceGcpProject>, never, import("../internal/crud.ts").CrudRequirements>;
|
|
81
|
+
//# sourceMappingURL=SourceGcpProject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceGcpProject.d.ts","sourceRoot":"","sources":["../../src/Telemetry/SourceGcpProject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAE1D,yCAAyC;AACzC,MAAM,WAAW,qBACf,SACE,IAAI,CACF,SAAS,CAAC,mBAAmB,EAC7B,cAAc,GAAG,cAAc,GAAG,kBAAkB,GAAG,cAAc,CACtE,EACD,QAAQ;IACV,sFAAsF;IACtF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,uFAAuF;AACvF,MAAM,WAAW,0BAA0B;IACzC,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,wGAAwG;IACxG,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,+GAA+G;IAC/G,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CACrC,wCAAwC,EACxC,qBAAqB,EACrB,0BAA0B,EAC1B,KAAK,EACL,SAAS,EACT,sBAAsB,CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,gBAAgB,4DAE5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,kJAuBjC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import { crud } from "../internal/crud.js";
|
|
3
|
+
import * as Telemetry from "../sdk/services/telemetry.js";
|
|
4
|
+
/**
|
|
5
|
+
* The GCP project connected to a `gcp` {@link Source}, through Workload
|
|
6
|
+
* Identity Federation from the Better Stack GCP module (`gcpProjectId` +
|
|
7
|
+
* `gcpProjectNumber`), or by reusing a project another `gcp` source
|
|
8
|
+
* connected (`gcpAccountId`, Better Stack's own id). Exactly one of
|
|
9
|
+
* `gcpProjectId` and `gcpAccountId`; `gcpProjectId` goes with
|
|
10
|
+
* `gcpProjectNumber`.
|
|
11
|
+
*
|
|
12
|
+
* There is no create or delete: the resource takes over the source named by
|
|
13
|
+
* `sourceId` and applies these settings to it. Destroying it only forgets
|
|
14
|
+
* it; nothing changes in Better Stack. The project id, number and account id
|
|
15
|
+
* are never returned, so changes are detected against the previous deploy's
|
|
16
|
+
* props.
|
|
17
|
+
*
|
|
18
|
+
* `gcpLogFilter` must be set in a later request than the one that connects
|
|
19
|
+
* the project, so it is sent by its own update after the connection. Send
|
|
20
|
+
* `null` to forward every log again (removing it from the config leaves the
|
|
21
|
+
* filter as it is).
|
|
22
|
+
*
|
|
23
|
+
* @see https://betterstack.com/docs/logs/google-cloud/
|
|
24
|
+
*
|
|
25
|
+
* ### Connecting a GCP project
|
|
26
|
+
* **Example:** A project with a log filter
|
|
27
|
+
* ```typescript
|
|
28
|
+
* const gcp = yield* BetterStack.Telemetry.Source("gcp", { platform: "gcp" });
|
|
29
|
+
* yield* BetterStack.Telemetry.SourceGcpProject("gcp-project", {
|
|
30
|
+
* sourceId: gcp.id,
|
|
31
|
+
* gcpProjectId: "my-project",
|
|
32
|
+
* gcpProjectNumber: "123456789012",
|
|
33
|
+
* gcpLogFilter: 'severity >= "WARNING"',
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ### Looking up an existing connection
|
|
38
|
+
* **Example:** Read the GCP project connection of a source by its id
|
|
39
|
+
* ```typescript
|
|
40
|
+
* const existing = BetterStack.Telemetry.SourceGcpProject.lookup({ sourceId: "123456" });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @resource
|
|
44
|
+
* @product Telemetry
|
|
45
|
+
*/
|
|
46
|
+
export const SourceGcpProject = Resource("BetterStack.Telemetry.SourceGcpProject");
|
|
47
|
+
export const SourceGcpProjectProvider = () => crud(SourceGcpProject, {
|
|
48
|
+
ops: { read: Telemetry.getSource, update: Telemetry.updateSource },
|
|
49
|
+
key: (project) => ({ id: project.sourceId }),
|
|
50
|
+
takeOver: (props) => ({ sourceId: props.sourceId }),
|
|
51
|
+
toAttributes: (source) => ({
|
|
52
|
+
sourceId: source.id,
|
|
53
|
+
teamId: source.teamId,
|
|
54
|
+
platform: source.platform,
|
|
55
|
+
gcpLogFilter: source.gcpLogFilter,
|
|
56
|
+
}),
|
|
57
|
+
echo: ["gcpProjectId", "gcpAccountId"],
|
|
58
|
+
replaceOn: ["sourceId"],
|
|
59
|
+
inPlace: {
|
|
60
|
+
// Its own request, after the one that connects the project.
|
|
61
|
+
gcpLogFilter: {
|
|
62
|
+
set: (project, gcpLogFilter) => Telemetry.updateSource({ id: project.sourceId, teamId: project.teamId, gcpLogFilter }),
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
list: false,
|
|
66
|
+
lookup: { key: ({ sourceId }) => ({ sourceId }) },
|
|
67
|
+
stables: ["sourceId", "teamId"],
|
|
68
|
+
});
|
|
69
|
+
//# sourceMappingURL=SourceGcpProject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceGcpProject.js","sourceRoot":"","sources":["../../src/Telemetry/SourceGcpProject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAG3C,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAmD1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CACtC,wCAAwC,CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAC3C,IAAI,CAAC,gBAAgB,EAAE;IACrB,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC,YAAY,EAAE;IAClE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnD,YAAY,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QACzB,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,QAAQ,EAAE,MAAM,CAAC,QAAQ;QACzB,YAAY,EAAE,MAAM,CAAC,YAAY;KAClC,CAAC;IACF,IAAI,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;IACtC,SAAS,EAAE,CAAC,UAAU,CAAC;IACvB,OAAO,EAAE;QACP,4DAA4D;QAC5D,YAAY,EAAE;YACZ,GAAG,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,CAC7B,SAAS,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC;SACzF;KACF;IACD,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE;IACjD,OAAO,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import type { TeamProp } from "../internal/scope.ts";
|
|
3
|
+
import type { Providers } from "../Providers.ts";
|
|
4
|
+
import * as Telemetry from "../sdk/services/telemetry.ts";
|
|
5
|
+
/** Props of {@link SourceGroup}. */
|
|
6
|
+
export interface SourceGroupProps extends Omit<Telemetry.CreateSourceGroupRequest, "teamId" | "name">, TeamProp {
|
|
7
|
+
/** Group name. Defaults to a unique name generated from the stack, stage and logical id. */
|
|
8
|
+
name?: string;
|
|
9
|
+
}
|
|
10
|
+
/** Attributes of {@link SourceGroup}: the group as the API returns it. */
|
|
11
|
+
export interface SourceGroupAttributes extends Telemetry.SourceGroup {
|
|
12
|
+
}
|
|
13
|
+
/** Props for {@link SourceGroup.lookup}: find a source group this stack doesn't manage. */
|
|
14
|
+
export type SourceGroupLookup = {
|
|
15
|
+
/** The group's id. */
|
|
16
|
+
id: string;
|
|
17
|
+
/** Team that owns it, such as `t123`. Defaults to the credentials' team. */
|
|
18
|
+
teamId?: string;
|
|
19
|
+
} | {
|
|
20
|
+
/** The group's name. Names aren't unique: more than one match fails with `AmbiguousLookup`. */
|
|
21
|
+
name: string;
|
|
22
|
+
/** Team that owns it, such as `t123`. Defaults to the credentials' team. */
|
|
23
|
+
teamId?: string;
|
|
24
|
+
};
|
|
25
|
+
export type SourceGroup = Resource<"BetterStack.Telemetry.SourceGroup", SourceGroupProps, SourceGroupAttributes, never, Providers, SourceGroupLookup>;
|
|
26
|
+
/**
|
|
27
|
+
* A group that organizes related telemetry sources together. Sources and
|
|
28
|
+
* collectors join it through their `sourceGroupId`; deleting the group keeps
|
|
29
|
+
* its sources, outside any group.
|
|
30
|
+
*
|
|
31
|
+
* `name` defaults to a generated unique name. Removing `sortIndex` from the
|
|
32
|
+
* config clears it. `teamId` replaces the group when changed.
|
|
33
|
+
*
|
|
34
|
+
* @see https://betterstack.com/docs/logs/api/list-all-existing-source-groups/
|
|
35
|
+
*
|
|
36
|
+
* ### Creating a source group
|
|
37
|
+
* **Example:** A group with a source in it
|
|
38
|
+
* ```typescript
|
|
39
|
+
* const backend = yield* BetterStack.Telemetry.SourceGroup("backend", {
|
|
40
|
+
* name: "Backend",
|
|
41
|
+
* sortIndex: 1,
|
|
42
|
+
* });
|
|
43
|
+
* yield* BetterStack.Telemetry.Source("checkout", {
|
|
44
|
+
* platform: "open_telemetry",
|
|
45
|
+
* sourceGroupId: backend.id,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ### Looking up an existing group
|
|
50
|
+
* **Example:** Reference a group by id
|
|
51
|
+
* ```typescript
|
|
52
|
+
* const existing = BetterStack.Telemetry.SourceGroup.lookup({ id: "123456" });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* **Example:** Reference a group by name (fails with `AmbiguousLookup` when several share it)
|
|
56
|
+
* ```typescript
|
|
57
|
+
* const backend = BetterStack.Telemetry.SourceGroup.lookup({ name: "Backend" });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @resource
|
|
61
|
+
* @product Telemetry
|
|
62
|
+
*/
|
|
63
|
+
export declare const SourceGroup: import("alchemy/Resource").ResourceClass<SourceGroup>;
|
|
64
|
+
export declare const SourceGroupProvider: () => import("effect/Layer").Layer<import("alchemy/Provider").Provider<SourceGroup>, never, import("../internal/crud.ts").CrudRequirements>;
|
|
65
|
+
//# sourceMappingURL=SourceGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceGroup.d.ts","sourceRoot":"","sources":["../../src/Telemetry/SourceGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAI5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAE1D,oCAAoC;AACpC,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,SAAS,CAAC,wBAAwB,EAAE,QAAQ,GAAG,MAAM,CAAC,EAAE,QAAQ;IAC7E,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,0EAA0E;AAC1E,MAAM,WAAW,qBAAsB,SAAQ,SAAS,CAAC,WAAW;CAAG;AAEvE,2FAA2F;AAC3F,MAAM,MAAM,iBAAiB,GACzB;IACE,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GACD;IACE,+FAA+F;IAC/F,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEN,MAAM,MAAM,WAAW,GAAG,QAAQ,CAChC,mCAAmC,EACnC,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,iBAAiB,CAClB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,WAAW,uDAA6D,CAAC;AAEtF,eAAO,MAAM,mBAAmB,6IA6B5B,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import { crud } from "../internal/crud.js";
|
|
4
|
+
import { wrapOp } from "../internal/ops.js";
|
|
5
|
+
import * as Telemetry from "../sdk/services/telemetry.js";
|
|
6
|
+
/**
|
|
7
|
+
* A group that organizes related telemetry sources together. Sources and
|
|
8
|
+
* collectors join it through their `sourceGroupId`; deleting the group keeps
|
|
9
|
+
* its sources, outside any group.
|
|
10
|
+
*
|
|
11
|
+
* `name` defaults to a generated unique name. Removing `sortIndex` from the
|
|
12
|
+
* config clears it. `teamId` replaces the group when changed.
|
|
13
|
+
*
|
|
14
|
+
* @see https://betterstack.com/docs/logs/api/list-all-existing-source-groups/
|
|
15
|
+
*
|
|
16
|
+
* ### Creating a source group
|
|
17
|
+
* **Example:** A group with a source in it
|
|
18
|
+
* ```typescript
|
|
19
|
+
* const backend = yield* BetterStack.Telemetry.SourceGroup("backend", {
|
|
20
|
+
* name: "Backend",
|
|
21
|
+
* sortIndex: 1,
|
|
22
|
+
* });
|
|
23
|
+
* yield* BetterStack.Telemetry.Source("checkout", {
|
|
24
|
+
* platform: "open_telemetry",
|
|
25
|
+
* sourceGroupId: backend.id,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ### Looking up an existing group
|
|
30
|
+
* **Example:** Reference a group by id
|
|
31
|
+
* ```typescript
|
|
32
|
+
* const existing = BetterStack.Telemetry.SourceGroup.lookup({ id: "123456" });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* **Example:** Reference a group by name (fails with `AmbiguousLookup` when several share it)
|
|
36
|
+
* ```typescript
|
|
37
|
+
* const backend = BetterStack.Telemetry.SourceGroup.lookup({ name: "Backend" });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @resource
|
|
41
|
+
* @product Telemetry
|
|
42
|
+
*/
|
|
43
|
+
export const SourceGroup = Resource("BetterStack.Telemetry.SourceGroup");
|
|
44
|
+
export const SourceGroupProvider = () => crud(SourceGroup, {
|
|
45
|
+
ops: {
|
|
46
|
+
create: Telemetry.createSourceGroup,
|
|
47
|
+
read: Telemetry.getSourceGroup,
|
|
48
|
+
// update_source_group requires `name` (the live API answers 422 "missing
|
|
49
|
+
// some required attributes: name" without it), so an update that only
|
|
50
|
+
// changes `sortIndex` sends the current name along.
|
|
51
|
+
update: wrapOp(Telemetry.updateSourceGroup, (input) => input.name !== undefined
|
|
52
|
+
? Telemetry.updateSourceGroup(input)
|
|
53
|
+
: Effect.flatMap(Telemetry.getSourceGroup({ id: input.id, teamId: input.teamId }), (group) => Telemetry.updateSourceGroup({ ...input, name: group.name ?? "" }))),
|
|
54
|
+
delete: Telemetry.deleteSourceGroup,
|
|
55
|
+
list: Telemetry.listSourceGroup,
|
|
56
|
+
},
|
|
57
|
+
key: (group) => ({ id: group.id }),
|
|
58
|
+
physicalName: { prop: "name" },
|
|
59
|
+
nullOnRemove: ["sortIndex"],
|
|
60
|
+
// Adopt a group with the same explicit name.
|
|
61
|
+
adoptBy: {
|
|
62
|
+
match: (props) => props.name === undefined ? undefined : (group) => group.name === props.name,
|
|
63
|
+
},
|
|
64
|
+
lookup: { match: (lookup, group) => "name" in lookup && group.name === lookup.name },
|
|
65
|
+
stables: ["id", "teamId", "createdAt"],
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=SourceGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceGroup.js","sourceRoot":"","sources":["../../src/Telemetry/SourceGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAG5C,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAoC1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAc,mCAAmC,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE,CACtC,IAAI,CAAC,WAAW,EAAE;IAChB,GAAG,EAAE;QACH,MAAM,EAAE,SAAS,CAAC,iBAAiB;QACnC,IAAI,EAAE,SAAS,CAAC,cAAc;QAC9B,yEAAyE;QACzE,sEAAsE;QACtE,oDAAoD;QACpD,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,iBAAiB,EAAE,CAAC,KAAyC,EAAE,EAAE,CACxF,KAAK,CAAC,IAAI,KAAK,SAAS;YACtB,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC;YACpC,CAAC,CAAC,MAAM,CAAC,OAAO,CACZ,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,EAChE,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAC7E,CACN;QACD,MAAM,EAAE,SAAS,CAAC,iBAAiB;QACnC,IAAI,EAAE,SAAS,CAAC,eAAe;KAChC;IACD,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;IAClC,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;IAC9B,YAAY,EAAE,CAAC,WAAW,CAAC;IAC3B,6CAA6C;IAC7C,OAAO,EAAE;QACP,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CACf,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI;KAC9E;IACD,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,MAAM,IAAI,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,EAAE;IACpF,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;CACvC,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import type * as Telemetry from "../sdk/services/telemetry.ts";
|
|
3
|
+
type Telemetry_CustomBucket = Telemetry.CreateCollectorRequestCustomBucket;
|
|
4
|
+
/** The bucket fields both `Source` and `Collector` accept. */
|
|
5
|
+
export type CustomBucket = Telemetry_CustomBucket | null;
|
|
6
|
+
declare const CustomBucketImmutable_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
7
|
+
readonly _tag: "CustomBucketImmutable";
|
|
8
|
+
} & Readonly<A>;
|
|
9
|
+
/** A change to a custom bucket the API can't make in place. */
|
|
10
|
+
export declare class CustomBucketImmutable extends CustomBucketImmutable_base<{
|
|
11
|
+
readonly message: string;
|
|
12
|
+
readonly resourceType: string;
|
|
13
|
+
}> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The `inPlace` spec for `customBucket`: sent on create, key rotations by
|
|
17
|
+
* `rotate`, every other change refused with {@link CustomBucketImmutable}.
|
|
18
|
+
*/
|
|
19
|
+
export declare const customBucketInPlace: <Attrs, E extends {
|
|
20
|
+
readonly _tag: string;
|
|
21
|
+
}, R>(resourceType: string, rotate: (attrs: Attrs, keys: Pick<Telemetry_CustomBucket, "accessKeyId" | "secretAccessKey">) => Effect.Effect<unknown, E, R>) => {
|
|
22
|
+
onCreate: boolean;
|
|
23
|
+
set: (attrs: Attrs, value: CustomBucket | undefined, previous: CustomBucket | undefined) => Effect.Effect<unknown, E, R> | Effect.Effect<never, CustomBucketImmutable, never>;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=customBucket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customBucket.d.ts","sourceRoot":"","sources":["../../src/Telemetry/customBucket.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,KAAK,SAAS,MAAM,8BAA8B,CAAC;AAE/D,KAAK,sBAAsB,GAAG,SAAS,CAAC,kCAAkC,CAAC;AAC3E,8DAA8D;AAC9D,MAAM,MAAM,YAAY,GAAG,sBAAsB,GAAG,IAAI,CAAC;;;;AAEzD,+DAA+D;AAC/D,qBAAa,qBAAsB,SAAQ,2BAA0C;IACnF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B,CAAC;CAAG;AAEL;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,KAAK,EAAE,CAAC,SAAS;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC,gBACjE,MAAM,UACZ,CACN,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,CAAC,sBAAsB,EAAE,aAAa,GAAG,iBAAiB,CAAC,KAClE,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;IAEjC,QAAQ;IACR,GAAG,UAAU,KAAK,SAAS,YAAY,GAAG,SAAS,YAAY,YAAY,GAAG,SAAS;CAkBvF,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `customBucket` of sources and collectors (internal, not exported): your own
|
|
3
|
+
* S3-compatible bucket, set on create. Its `endpoint` and
|
|
4
|
+
* `keepDataAfterRetention` can't change afterwards and the secret key is
|
|
5
|
+
* never returned, so it is compared against the previous deploy's props and
|
|
6
|
+
* synced on its own:
|
|
7
|
+
*
|
|
8
|
+
* - only the key pair changed → an update with just `accessKeyId` and
|
|
9
|
+
* `secretAccessKey` (the API rotates it, checking the new pair first);
|
|
10
|
+
* - anything else changed (endpoint, retention flag, adding a bucket, or
|
|
11
|
+
* `customBucket: null`) → fails with {@link CustomBucketImmutable}:
|
|
12
|
+
* replace the resource (a new logical id) on purpose, since that deletes
|
|
13
|
+
* its data;
|
|
14
|
+
* - left out of the config → nothing is sent: the bucket stays (it can't be
|
|
15
|
+
* detached).
|
|
16
|
+
*/
|
|
17
|
+
import * as Data from "effect/Data";
|
|
18
|
+
import * as Effect from "effect/Effect";
|
|
19
|
+
import { same } from "../internal/fields.js";
|
|
20
|
+
/** A change to a custom bucket the API can't make in place. */
|
|
21
|
+
export class CustomBucketImmutable extends Data.TaggedError("CustomBucketImmutable") {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The `inPlace` spec for `customBucket`: sent on create, key rotations by
|
|
25
|
+
* `rotate`, every other change refused with {@link CustomBucketImmutable}.
|
|
26
|
+
*/
|
|
27
|
+
export const customBucketInPlace = (resourceType, rotate) => ({
|
|
28
|
+
onCreate: true,
|
|
29
|
+
set: (attrs, value, previous) => {
|
|
30
|
+
const fixed = (bucket) => bucket == null
|
|
31
|
+
? null
|
|
32
|
+
: { endpoint: bucket.endpoint, keepDataAfterRetention: bucket.keepDataAfterRetention };
|
|
33
|
+
if (value != null && previous != null && same(fixed(value), fixed(previous))) {
|
|
34
|
+
return rotate(attrs, {
|
|
35
|
+
accessKeyId: value.accessKeyId,
|
|
36
|
+
secretAccessKey: value.secretAccessKey,
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return Effect.fail(new CustomBucketImmutable({
|
|
40
|
+
message: `${resourceType}: customBucket can only rotate its key pair after create; adding, removing or moving the bucket needs a new resource (it holds the data)`,
|
|
41
|
+
resourceType,
|
|
42
|
+
}));
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=customBucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customBucket.js","sourceRoot":"","sources":["../../src/Telemetry/customBucket.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAO7C,+DAA+D;AAC/D,MAAM,OAAO,qBAAsB,SAAQ,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAGjF;CAAG;AAEL;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,YAAoB,EACpB,MAGiC,EACjC,EAAE,CAAC,CAAC;IACJ,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,CAAC,KAAY,EAAE,KAA+B,EAAE,QAAkC,EAAE,EAAE;QACzF,MAAM,KAAK,GAAG,CAAC,MAAgC,EAAE,EAAE,CACjD,MAAM,IAAI,IAAI;YACZ,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,sBAAsB,EAAE,MAAM,CAAC,sBAAsB,EAAE,CAAC;QAC3F,IAAI,KAAK,IAAI,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;YAC7E,OAAO,MAAM,CAAC,KAAK,EAAE;gBACnB,WAAW,EAAE,KAAK,CAAC,WAAW;gBAC9B,eAAe,EAAE,KAAK,CAAC,eAAe;aACvC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,qBAAqB,CAAC;YACxB,OAAO,EAAE,GAAG,YAAY,0IAA0I;YAClK,YAAY;SACb,CAAC,CACH,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Better Stack Telemetry resources — the Telemetry API, `telemetry.betterstack.com`: sources, collectors, dashboards, alerts, metrics.
|
|
3
|
+
*
|
|
4
|
+
* Adding a resource `src/Telemetry/<Resource>.ts` takes three insertions here:
|
|
5
|
+
* `export * from "./<Resource>.ts";`, its resource class in {@link resources},
|
|
6
|
+
* and its `<Resource>Provider()` layer in {@link providers}.
|
|
7
|
+
*/
|
|
8
|
+
import * as Layer from "effect/Layer";
|
|
9
|
+
import { Alert } from "./Alert.ts";
|
|
10
|
+
import { AwsLogGroupSubscription } from "./AwsLogGroupSubscription.ts";
|
|
11
|
+
import { Collector } from "./Collector.ts";
|
|
12
|
+
import { CollectorTarget } from "./CollectorTarget.ts";
|
|
13
|
+
import { Connection } from "./Connection.ts";
|
|
14
|
+
import { Dashboard } from "./Dashboard.ts";
|
|
15
|
+
import { DashboardChart } from "./DashboardChart.ts";
|
|
16
|
+
import { DashboardGroup } from "./DashboardGroup.ts";
|
|
17
|
+
import { DashboardSection } from "./DashboardSection.ts";
|
|
18
|
+
import { Exploration } from "./Exploration.ts";
|
|
19
|
+
import { ExplorationGroup } from "./ExplorationGroup.ts";
|
|
20
|
+
import { ExtractedMetric } from "./ExtractedMetric.ts";
|
|
21
|
+
import { Source } from "./Source.ts";
|
|
22
|
+
import { SourceAwsAccount } from "./SourceAwsAccount.ts";
|
|
23
|
+
import { SourceGcpProject } from "./SourceGcpProject.ts";
|
|
24
|
+
import { SourceGroup } from "./SourceGroup.ts";
|
|
25
|
+
export * from "./Alert.ts";
|
|
26
|
+
export * from "./AwsLogGroupSubscription.ts";
|
|
27
|
+
export * as Chart from "./Chart.ts";
|
|
28
|
+
export * from "./Collector.ts";
|
|
29
|
+
export * from "./CollectorTarget.ts";
|
|
30
|
+
export * from "./Connection.ts";
|
|
31
|
+
export { CustomBucketImmutable } from "./customBucket.ts";
|
|
32
|
+
export * from "./Dashboard.ts";
|
|
33
|
+
export * from "./DashboardChart.ts";
|
|
34
|
+
export * from "./DashboardGroup.ts";
|
|
35
|
+
export * from "./DashboardSection.ts";
|
|
36
|
+
export * from "./Exploration.ts";
|
|
37
|
+
export * from "./ExplorationGroup.ts";
|
|
38
|
+
export * from "./Export.ts";
|
|
39
|
+
export * from "./ExtractedMetric.ts";
|
|
40
|
+
export * from "./IngestLogs.ts";
|
|
41
|
+
export * from "./IngestLogsHttp.ts";
|
|
42
|
+
export * from "./IngestMetrics.ts";
|
|
43
|
+
export * from "./IngestMetricsHttp.ts";
|
|
44
|
+
export * from "./OtelHeaders.ts";
|
|
45
|
+
export * from "./Query.ts";
|
|
46
|
+
export * from "./QueryHttp.ts";
|
|
47
|
+
export * from "./Reference.ts";
|
|
48
|
+
export * from "./ShipLogs.ts";
|
|
49
|
+
export * from "./Source.ts";
|
|
50
|
+
export * from "./SourceAwsAccount.ts";
|
|
51
|
+
export * from "./SourceGcpProject.ts";
|
|
52
|
+
export * from "./SourceGroup.ts";
|
|
53
|
+
/**
|
|
54
|
+
* The Telemetry resource classes, registered in the BetterStack provider
|
|
55
|
+
* collection by `providers()` in `src/Providers.ts`.
|
|
56
|
+
*/
|
|
57
|
+
export declare const resources: readonly [import("alchemy/Resource").ResourceClass<Alert>, import("alchemy/Resource").ResourceClass<AwsLogGroupSubscription>, import("alchemy/Resource").ResourceClass<Collector>, import("alchemy/Resource").ResourceClass<CollectorTarget>, import("alchemy/Resource").ResourceClass<Connection>, import("alchemy/Resource").ResourceClass<Dashboard>, import("alchemy/Resource").ResourceClass<DashboardChart>, import("alchemy/Resource").ResourceClass<DashboardGroup>, import("alchemy/Resource").ResourceClass<DashboardSection>, import("alchemy/Resource").ResourceClass<Exploration>, import("alchemy/Resource").ResourceClass<ExplorationGroup>, import("alchemy/Resource").ResourceClass<ExtractedMetric>, import("alchemy/Resource").ResourceClass<Source>, import("alchemy/Resource").ResourceClass<SourceAwsAccount>, import("alchemy/Resource").ResourceClass<SourceGcpProject>, import("alchemy/Resource").ResourceClass<SourceGroup>];
|
|
58
|
+
/**
|
|
59
|
+
* The Telemetry resource provider layers, merged into the package-wide
|
|
60
|
+
* `BetterStack.providers()`. Not a complete provider layer on its own: the
|
|
61
|
+
* SDK credentials, HTTP client and retry policy come from `providers()`.
|
|
62
|
+
*/
|
|
63
|
+
export declare const providers: () => Layer.Layer<import("alchemy/Provider").Provider<Alert> | import("alchemy/Provider").Provider<AwsLogGroupSubscription> | import("alchemy/Provider").Provider<Collector> | import("alchemy/Provider").Provider<CollectorTarget> | import("alchemy/Provider").Provider<Connection> | import("alchemy/Provider").Provider<Dashboard> | import("alchemy/Provider").Provider<DashboardChart> | import("alchemy/Provider").Provider<DashboardGroup> | import("alchemy/Provider").Provider<DashboardSection> | import("alchemy/Provider").Provider<Exploration> | import("alchemy/Provider").Provider<ExplorationGroup> | import("alchemy/Provider").Provider<ExtractedMetric> | import("alchemy/Provider").Provider<Source> | import("alchemy/Provider").Provider<SourceAwsAccount> | import("alchemy/Provider").Provider<SourceGcpProject> | import("alchemy/Provider").Provider<SourceGroup>, never, import("../Credentials.ts").Credentials | import("effect/http/HttpClient").HttpClient | import("alchemy/Stack").Stack | import("alchemy/Stage").Stage>;
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Telemetry/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAiB,MAAM,YAAY,CAAC;AAClD,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAqB,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAA2B,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAsB,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAqB,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAA4B,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAA4B,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,eAAe,EAA2B,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAkB,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAA4B,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAA4B,MAAM,uBAAuB,CAAC;AACnF,OAAO,EAAE,WAAW,EAAuB,MAAM,kBAAkB,CAAC;AAEpE,cAAc,YAAY,CAAC;AAC3B,cAAc,8BAA8B,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,SAAS,y5BAiBZ,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,SAAS,8/BAkBnB,CAAC"}
|