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,102 @@
|
|
|
1
|
+
import { Resource } from "alchemy/Resource";
|
|
2
|
+
import { withCredentials } from "../internal/connection.js";
|
|
3
|
+
import { crud } from "../internal/crud.js";
|
|
4
|
+
import { instancesOf } from "../internal/managedDatabase.js";
|
|
5
|
+
import { listWithParent } from "../internal/ops.js";
|
|
6
|
+
import { unpaged } from "../internal/unpaged.js";
|
|
7
|
+
import * as Cloud from "../sdk/services/cloud.js";
|
|
8
|
+
import { POSTGRES_CREDENTIAL_KEYS, postgresCredentials } from "./Postgres.js";
|
|
9
|
+
/**
|
|
10
|
+
* A SQL user of a managed {@link Postgres} instance, with its access level
|
|
11
|
+
* on each database. Free: the instance is what bills.
|
|
12
|
+
*
|
|
13
|
+
* `privileges` changes in place; a new `username` or `postgresId` replaces
|
|
14
|
+
* the user. The API has no read endpoint for one user, so it is read by
|
|
15
|
+
* listing the instance's users; deleting the instance removes its users
|
|
16
|
+
* with it. The instance's default `admin` user is managed by Better Stack
|
|
17
|
+
* and is not a resource here.
|
|
18
|
+
*
|
|
19
|
+
* Connecting: the attributes carry the user's own `password` and URIs
|
|
20
|
+
* (direct, pooled, and their public variants, as on {@link Postgres}), read
|
|
21
|
+
* from the user's credentials endpoint. A URI connects to `database` (the
|
|
22
|
+
* API's choice: `defaultdb`, else the first database); for another
|
|
23
|
+
* database, use the parts (`user`, `password` with the instance's `host`).
|
|
24
|
+
* Secrets are `Redacted`.
|
|
25
|
+
*
|
|
26
|
+
* Credentials: the deploy never resets the password on its own. Set
|
|
27
|
+
* `rotateCredentials` to a new value to reset it once; a reset done in the
|
|
28
|
+
* console or CLI is read on the next deploy, without a replace.
|
|
29
|
+
*
|
|
30
|
+
* **Zone.** A child doesn't take its zone from its parent: it uses its own
|
|
31
|
+
* `availabilityZone`, else the credentials' zone. When the parent lives in
|
|
32
|
+
* another zone, pass the parent's along (`availabilityZone:
|
|
33
|
+
* parent.availabilityZone`), or every call for it answers `NotFound`.
|
|
34
|
+
*
|
|
35
|
+
* @see https://betterstack.com/docs/cloud/databases/postgresql/
|
|
36
|
+
* **Ownership.** The API keeps no `metadata` for it and it has no generated name,
|
|
37
|
+
* so nothing marks it as this stack's: `list` enumerates it under every parent, and a
|
|
38
|
+
* create interrupted before its state was saved is not recognised by the next deploy
|
|
39
|
+
* (which creates it again, or gets the API's conflict when its identity is unique).
|
|
40
|
+
*
|
|
41
|
+
* @see https://betterstack.com/docs/cloud/api/postgres-users/credentials-postgres-user/
|
|
42
|
+
*
|
|
43
|
+
* ### Creating a user
|
|
44
|
+
* **Example:** A read-only user for reporting
|
|
45
|
+
* ```typescript
|
|
46
|
+
* const pg = yield* BetterStack.Cloud.Postgres("db", { type: "PG1", database: "app" });
|
|
47
|
+
* const reader = yield* BetterStack.Cloud.PostgresUser("reader", {
|
|
48
|
+
* postgresId: pg.id,
|
|
49
|
+
* username: "reader",
|
|
50
|
+
* privileges: { app: "read" },
|
|
51
|
+
* });
|
|
52
|
+
* // A Service's env: { DATABASE_URL: reader.pooledConnectionUri }
|
|
53
|
+
* const env = {
|
|
54
|
+
* PGHOST: pg.host,
|
|
55
|
+
* PGPORT: pg.port,
|
|
56
|
+
* PGUSER: reader.username,
|
|
57
|
+
* PGPASSWORD: reader.password,
|
|
58
|
+
* PGDATABASE: "app",
|
|
59
|
+
* };
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* ### Looking up an existing user
|
|
63
|
+
* **Example:** Reference a user by id
|
|
64
|
+
* ```typescript
|
|
65
|
+
* const existing = BetterStack.Cloud.PostgresUser.lookup({ postgresId: "42", id: "7" });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @resource
|
|
69
|
+
* @product Cloud
|
|
70
|
+
*/
|
|
71
|
+
export const PostgresUser = Resource("BetterStack.Cloud.PostgresUser");
|
|
72
|
+
const listUsers = listWithParent(unpaged(Cloud.listPostgresUser), ["postgresId"]);
|
|
73
|
+
export const PostgresUserProvider = () => withCredentials(PostgresUser, postgresUserProvider(), {
|
|
74
|
+
fetch: ({ postgresId, id, availabilityZone }) => Cloud.credentialsPostgresUser({ postgresId, id, availabilityZone }),
|
|
75
|
+
rotate: ({ postgresId, id, availabilityZone }) => Cloud.resetPasswordPostgresUser({ postgresId, id, availabilityZone }),
|
|
76
|
+
keys: POSTGRES_CREDENTIAL_KEYS,
|
|
77
|
+
toAttributes: postgresCredentials,
|
|
78
|
+
});
|
|
79
|
+
/** The user itself, without its credentials. */
|
|
80
|
+
const postgresUserProvider = () => crud(PostgresUser, {
|
|
81
|
+
ops: {
|
|
82
|
+
create: Cloud.createPostgresUser,
|
|
83
|
+
update: Cloud.updatePostgresUser,
|
|
84
|
+
delete: Cloud.deletePostgresUser,
|
|
85
|
+
list: listUsers,
|
|
86
|
+
},
|
|
87
|
+
key: (user) => ({ postgresId: user.postgresId, id: user.id }),
|
|
88
|
+
toAttributes: (user, props) => ({
|
|
89
|
+
...user,
|
|
90
|
+
id: String(user.id),
|
|
91
|
+
postgresId: user.postgresId ?? props?.postgresId,
|
|
92
|
+
}),
|
|
93
|
+
// No get: read = the instance's users, found by id. A gone instance answers 404: gone.
|
|
94
|
+
readViaList: {
|
|
95
|
+
input: (user) => ({ postgresId: user.postgresId }),
|
|
96
|
+
match: (item, user) => String(item.id) === user.id,
|
|
97
|
+
},
|
|
98
|
+
list: { parents: instancesOf(Cloud.listPostgres, "postgresId") },
|
|
99
|
+
lookup: { key: ({ postgresId, id }) => ({ postgresId, id }) },
|
|
100
|
+
stables: ["id", "postgresId", "availabilityZone", "username", "createdAt"],
|
|
101
|
+
});
|
|
102
|
+
//# sourceMappingURL=PostgresUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostgresUser.js","sourceRoot":"","sources":["../../src/Cloud/PostgresUser.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Better Stack Cloud reference data: what you can order in a zone (server
|
|
3
|
+
* types and their availability, images, managed-database plans and engine
|
|
4
|
+
* versions, Kubernetes versions, load balancer and object cache types), your
|
|
5
|
+
* organization's quota, and the addresses it holds.
|
|
6
|
+
*
|
|
7
|
+
* Every function is a plain Effect over the SDK, so it works in a stack
|
|
8
|
+
* program at plan time (the providers bring the credentials) and in any
|
|
9
|
+
* Effect program given `BetterStack.fromApiToken(...)` and an `HttpClient`.
|
|
10
|
+
* Lists are read in full (every page). The zone defaults to the credentials'
|
|
11
|
+
* (`BETTERSTACK_AVAILABILITY_ZONE`, or the profile's); pass
|
|
12
|
+
* `availabilityZone` to ask about another one. Finders fail with the typed
|
|
13
|
+
* {@link ReferenceNotFound} when nothing matches.
|
|
14
|
+
*
|
|
15
|
+
* Errors stay typed (`ReferenceNotFound` and the SDK's tags) so plain Effect
|
|
16
|
+
* code can branch on them. A stack program may only fail with
|
|
17
|
+
* `ConfigError`, so inside `Alchemy.Stack(...)` end a plan-time read with
|
|
18
|
+
* `Effect.orDie`: a miss then stops the plan, as a `lookup` that finds
|
|
19
|
+
* nothing does.
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* const type = yield* BetterStack.Cloud.findServerType({ minVcpu: 2 });
|
|
23
|
+
* const image = yield* BetterStack.Cloud.findImage({ distribution: "ubuntu", lts: true });
|
|
24
|
+
* const postgres = yield* BetterStack.Cloud.latestPostgresVersion();
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see https://betterstack.com/docs/cloud/api/server-types/list-server-types/
|
|
28
|
+
*/
|
|
29
|
+
import * as Effect from "effect/Effect";
|
|
30
|
+
import type { BetterStackOpContext } from "../sdk/protocol.ts";
|
|
31
|
+
import * as Cloud from "../sdk/services/cloud.ts";
|
|
32
|
+
export { ReferenceNotFound, type ReferenceKind } from "../internal/reference.ts";
|
|
33
|
+
/** Which zone to ask. */
|
|
34
|
+
export interface ZoneOptions {
|
|
35
|
+
/** Availability zone, such as `us-west-2a`. Defaults to the credentials' zone. */
|
|
36
|
+
readonly availabilityZone?: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Every server type in the zone (deprecated ones included, with
|
|
40
|
+
* `availability: "unavailable"` and their `replacement`). Use it to show or
|
|
41
|
+
* filter what `Cloud.Server`'s `serverType` accepts; for "the smallest type
|
|
42
|
+
* that fits", use {@link findServerType}.
|
|
43
|
+
*
|
|
44
|
+
* @see https://betterstack.com/docs/cloud/api/server-types/list-server-types/
|
|
45
|
+
*
|
|
46
|
+
* **Example:**
|
|
47
|
+
* ```typescript
|
|
48
|
+
* const types = yield* BetterStack.Cloud.serverTypes();
|
|
49
|
+
* const dedicated = types.filter((type) => type.family === "AMD");
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare const serverTypes: (options?: ZoneOptions) => Effect.Effect<Array<Cloud.ServerType>, Cloud.ListServerTypeError, BetterStackOpContext>;
|
|
53
|
+
/**
|
|
54
|
+
* One server type by name (`AM1`, `AM4`, …). Fails with
|
|
55
|
+
* {@link ReferenceNotFound} when the zone has no such type.
|
|
56
|
+
*
|
|
57
|
+
* @see https://betterstack.com/docs/cloud/api/server-types/get-server-type/
|
|
58
|
+
*
|
|
59
|
+
* **Example:**
|
|
60
|
+
* ```typescript
|
|
61
|
+
* const am1 = yield* BetterStack.Cloud.serverType("AM1");
|
|
62
|
+
* // am1.vcpu, am1.ramGb, am1.storageGb, am1.availability
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare const serverType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.ServerType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
66
|
+
/** Options of {@link serverTypeAvailability}. */
|
|
67
|
+
export interface ServerTypeAvailabilityOptions extends ZoneOptions {
|
|
68
|
+
/** How many servers of one type you want to start, from 1 to 100. Default 1. */
|
|
69
|
+
readonly count?: number | undefined;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* For every server type, whether your organization can start `count` more
|
|
73
|
+
* servers of it in the zone right now: `available`, `over_quota` (a limit of
|
|
74
|
+
* your organization stands in the way) or `no_capacity` (the zone can't
|
|
75
|
+
* start them now). Check it before a deploy that creates servers.
|
|
76
|
+
*
|
|
77
|
+
* @see https://betterstack.com/docs/cloud/api/server-type-availabilities/list-server-type-availabilities/
|
|
78
|
+
*
|
|
79
|
+
* **Example:**
|
|
80
|
+
* ```typescript
|
|
81
|
+
* const availability = yield* BetterStack.Cloud.serverTypeAvailability({ count: 2 });
|
|
82
|
+
* const canStart = availability.find((entry) => entry.name === "AM1")?.status === "available";
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare const serverTypeAvailability: (options?: ServerTypeAvailabilityOptions) => Effect.Effect<Array<Cloud.ServerTypeAvailability>, Cloud.ListServerTypeAvailabilityError, BetterStackOpContext>;
|
|
86
|
+
/** What {@link findServerType} looks for. Every criterion is optional. */
|
|
87
|
+
export interface ServerTypeCriteria extends ZoneOptions {
|
|
88
|
+
/** At least this many vCPUs. */
|
|
89
|
+
readonly minVcpu?: number | undefined;
|
|
90
|
+
/** At least this much memory, in GiB. */
|
|
91
|
+
readonly minRamGb?: number | undefined;
|
|
92
|
+
/** At least this big a root disk, in GiB. */
|
|
93
|
+
readonly minStorageGb?: number | undefined;
|
|
94
|
+
/** Only this family, such as `AM` (shared AMD CPUs), `AMS` (spot) or `AMD` (dedicated). */
|
|
95
|
+
readonly family?: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* Only types your organization can start `count` more servers of right now
|
|
98
|
+
* (their {@link serverTypeAvailability} is `available`). Default `true`.
|
|
99
|
+
*/
|
|
100
|
+
readonly available?: boolean | undefined;
|
|
101
|
+
/** How many servers you mean to start, for `available`. Default 1. */
|
|
102
|
+
readonly count?: number | undefined;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The smallest server type that meets the criteria: fewest vCPUs, then least
|
|
106
|
+
* memory, then smallest disk. Deprecated types are never picked, and by
|
|
107
|
+
* default neither is a type the zone or your quota can't start now. Fails
|
|
108
|
+
* with {@link ReferenceNotFound} when no type qualifies.
|
|
109
|
+
*
|
|
110
|
+
* @see https://betterstack.com/docs/cloud/api/server-types/list-server-types/
|
|
111
|
+
*
|
|
112
|
+
* **Example:** The smallest shared type with 2 vCPUs and 4 GiB
|
|
113
|
+
* ```typescript
|
|
114
|
+
* const type = yield* BetterStack.Cloud.findServerType({ minVcpu: 2, minRamGb: 4, family: "AM" });
|
|
115
|
+
* const server = yield* BetterStack.Cloud.Server("web", {
|
|
116
|
+
* serverType: type.name!,
|
|
117
|
+
* image: "ubuntu-26-04",
|
|
118
|
+
* sshKeys: ["deploy"],
|
|
119
|
+
* });
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
export declare const findServerType: (criteria?: ServerTypeCriteria) => Effect.Effect<Cloud.ServerType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | import("@distilled.cloud/core/errors").NotFound | Cloud.NotFound | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity | Cloud.UnprocessableEntity, BetterStackOpContext>;
|
|
123
|
+
/**
|
|
124
|
+
* Every image you can create a server from in the zone. Its `slug`
|
|
125
|
+
* (`ubuntu-26-04`, …) is what `Cloud.Server`'s `image` takes.
|
|
126
|
+
*
|
|
127
|
+
* @see https://betterstack.com/docs/cloud/api/images/list-images/
|
|
128
|
+
*
|
|
129
|
+
* **Example:**
|
|
130
|
+
* ```typescript
|
|
131
|
+
* const slugs = (yield* BetterStack.Cloud.images()).map((image) => image.slug);
|
|
132
|
+
* ```
|
|
133
|
+
*/
|
|
134
|
+
export declare const images: (options?: ZoneOptions) => Effect.Effect<Array<Cloud.Image>, Cloud.ListImageError, BetterStackOpContext>;
|
|
135
|
+
/**
|
|
136
|
+
* One image by slug. Fails with {@link ReferenceNotFound} when the zone has
|
|
137
|
+
* no such image.
|
|
138
|
+
*
|
|
139
|
+
* @see https://betterstack.com/docs/cloud/api/images/get-image/
|
|
140
|
+
*
|
|
141
|
+
* **Example:**
|
|
142
|
+
* ```typescript
|
|
143
|
+
* const image = yield* BetterStack.Cloud.image("ubuntu-26-04");
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
export declare const image: (slug: string, options?: ZoneOptions) => Effect.Effect<Cloud.Image, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
147
|
+
/** What {@link findImage} looks for. */
|
|
148
|
+
export interface ImageCriteria extends ZoneOptions {
|
|
149
|
+
/** The distribution: the slug's prefix before the version, such as `ubuntu` or `debian`. */
|
|
150
|
+
readonly distribution: string;
|
|
151
|
+
/**
|
|
152
|
+
* Only long-term-support releases. For Ubuntu that is an even year and
|
|
153
|
+
* the April release (`ubuntu-24-04`, `ubuntu-26-04`); for other
|
|
154
|
+
* distributions every release counts.
|
|
155
|
+
*/
|
|
156
|
+
readonly lts?: boolean | undefined;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The newest image of a distribution: the slug `<distribution>-<version>`
|
|
160
|
+
* with the highest version, optionally LTS releases only. Fails with
|
|
161
|
+
* {@link ReferenceNotFound} when the zone has none.
|
|
162
|
+
*
|
|
163
|
+
* @see https://betterstack.com/docs/cloud/api/images/list-images/
|
|
164
|
+
*
|
|
165
|
+
* **Example:** The newest Ubuntu LTS
|
|
166
|
+
* ```typescript
|
|
167
|
+
* const ubuntu = yield* BetterStack.Cloud.findImage({ distribution: "ubuntu", lts: true });
|
|
168
|
+
* // ubuntu.slug === "ubuntu-26-04"
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
export declare const findImage: (criteria: ImageCriteria) => Effect.Effect<Cloud.Image & {
|
|
172
|
+
slug: string;
|
|
173
|
+
}, import("./Reference.ts").ReferenceNotFound | Cloud.ListImageError, BetterStackOpContext>;
|
|
174
|
+
/**
|
|
175
|
+
* Every managed PostgreSQL plan in the zone (`name` is what `Cloud.Postgres`'s
|
|
176
|
+
* `type` takes), with its vCPUs, memory, disk and connection limits.
|
|
177
|
+
*
|
|
178
|
+
* @see https://betterstack.com/docs/cloud/api/postgres-types/list-postgres-types/
|
|
179
|
+
*
|
|
180
|
+
* **Example:**
|
|
181
|
+
* ```typescript
|
|
182
|
+
* const plans = yield* BetterStack.Cloud.postgresTypes();
|
|
183
|
+
* ```
|
|
184
|
+
*/
|
|
185
|
+
export declare const postgresTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.PostgresType[], Cloud.ListPostgresTypeError, BetterStackOpContext>;
|
|
186
|
+
/**
|
|
187
|
+
* One PostgreSQL plan by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
188
|
+
*
|
|
189
|
+
* @see https://betterstack.com/docs/cloud/api/postgres-types/get-postgres-type/
|
|
190
|
+
*
|
|
191
|
+
* **Example:**
|
|
192
|
+
* ```typescript
|
|
193
|
+
* const plan = yield* BetterStack.Cloud.postgresType("PG1");
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
export declare const postgresType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.PostgresType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
197
|
+
/**
|
|
198
|
+
* Every PostgreSQL version you can create an instance with (`engineVersion`
|
|
199
|
+
* is what `Cloud.Postgres`'s `engineVersion` takes).
|
|
200
|
+
*
|
|
201
|
+
* @see https://betterstack.com/docs/cloud/api/postgres-versions/list-postgres-versions/
|
|
202
|
+
*
|
|
203
|
+
* **Example:**
|
|
204
|
+
* ```typescript
|
|
205
|
+
* const versions = (yield* BetterStack.Cloud.postgresVersions()).map((v) => v.engineVersion);
|
|
206
|
+
* ```
|
|
207
|
+
*/
|
|
208
|
+
export declare const postgresVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.PostgresVersion[], Cloud.ListPostgresVersionError, BetterStackOpContext>;
|
|
209
|
+
/**
|
|
210
|
+
* The PostgreSQL version a new instance gets by default (the one the API
|
|
211
|
+
* marks `latest`, else the highest listed), as the string
|
|
212
|
+
* `Cloud.Postgres`'s `engineVersion` takes. Use it to find out which version
|
|
213
|
+
* to write, then write that version as a literal (`engineVersion: "17"`):
|
|
214
|
+
* passing this lookup's result as `engineVersion` would follow every new
|
|
215
|
+
* release, and a higher `engineVersion` upgrades the instance in place,
|
|
216
|
+
* irreversibly, on the next deploy.
|
|
217
|
+
*
|
|
218
|
+
* @see https://betterstack.com/docs/cloud/api/postgres-versions/list-postgres-versions/
|
|
219
|
+
*
|
|
220
|
+
* **Example:**
|
|
221
|
+
* ```typescript
|
|
222
|
+
* const engineVersion = yield* BetterStack.Cloud.latestPostgresVersion();
|
|
223
|
+
* ```
|
|
224
|
+
*/
|
|
225
|
+
export declare const latestPostgresVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListPostgresVersionError, BetterStackOpContext>;
|
|
226
|
+
/**
|
|
227
|
+
* Every managed MySQL plan in the zone (`name` is what `Cloud.MySQL`'s `type` takes).
|
|
228
|
+
*
|
|
229
|
+
* @see https://betterstack.com/docs/cloud/api/mysql-types/list-mysql-types/
|
|
230
|
+
*
|
|
231
|
+
* **Example:**
|
|
232
|
+
* ```typescript
|
|
233
|
+
* const plans = yield* BetterStack.Cloud.mysqlTypes();
|
|
234
|
+
* ```
|
|
235
|
+
*/
|
|
236
|
+
export declare const mysqlTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.MysqlType[], Cloud.ListMysqlTypeError, BetterStackOpContext>;
|
|
237
|
+
/**
|
|
238
|
+
* One MySQL plan by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
239
|
+
*
|
|
240
|
+
* @see https://betterstack.com/docs/cloud/api/mysql-types/get-mysql-type/
|
|
241
|
+
*
|
|
242
|
+
* **Example:**
|
|
243
|
+
* ```typescript
|
|
244
|
+
* const plan = yield* BetterStack.Cloud.mysqlType("MY1");
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
export declare const mysqlType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.MysqlType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
248
|
+
/**
|
|
249
|
+
* Every MySQL version you can create an instance with.
|
|
250
|
+
*
|
|
251
|
+
* @see https://betterstack.com/docs/cloud/api/mysql-versions/list-mysql-versions/
|
|
252
|
+
*
|
|
253
|
+
* **Example:**
|
|
254
|
+
* ```typescript
|
|
255
|
+
* const versions = yield* BetterStack.Cloud.mysqlVersions();
|
|
256
|
+
* ```
|
|
257
|
+
*/
|
|
258
|
+
export declare const mysqlVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.MysqlVersion[], Cloud.ListMysqlVersionError, BetterStackOpContext>;
|
|
259
|
+
/**
|
|
260
|
+
* The MySQL version a new instance gets by default, as the string
|
|
261
|
+
* `Cloud.MySQL`'s `engineVersion` takes.
|
|
262
|
+
*
|
|
263
|
+
* @see https://betterstack.com/docs/cloud/api/mysql-versions/list-mysql-versions/
|
|
264
|
+
*
|
|
265
|
+
* **Example:**
|
|
266
|
+
* ```typescript
|
|
267
|
+
* const engineVersion = yield* BetterStack.Cloud.latestMysqlVersion();
|
|
268
|
+
* ```
|
|
269
|
+
*/
|
|
270
|
+
export declare const latestMysqlVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListMysqlVersionError, BetterStackOpContext>;
|
|
271
|
+
/**
|
|
272
|
+
* Every managed ClickHouse plan in the zone (`name` is what `Cloud.ClickHouse`'s `type` takes).
|
|
273
|
+
*
|
|
274
|
+
* @see https://betterstack.com/docs/cloud/api/clickhouse-types/list-clickhouse-types/
|
|
275
|
+
*
|
|
276
|
+
* **Example:**
|
|
277
|
+
* ```typescript
|
|
278
|
+
* const plans = yield* BetterStack.Cloud.clickhouseTypes();
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
281
|
+
export declare const clickhouseTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.ClickhouseType[], Cloud.ListClickhouseTypeError, BetterStackOpContext>;
|
|
282
|
+
/**
|
|
283
|
+
* One ClickHouse plan by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
284
|
+
*
|
|
285
|
+
* @see https://betterstack.com/docs/cloud/api/clickhouse-types/get-clickhouse-type/
|
|
286
|
+
*
|
|
287
|
+
* **Example:**
|
|
288
|
+
* ```typescript
|
|
289
|
+
* const plan = yield* BetterStack.Cloud.clickhouseType("CH1");
|
|
290
|
+
* ```
|
|
291
|
+
*/
|
|
292
|
+
export declare const clickhouseType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.ClickhouseType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
293
|
+
/**
|
|
294
|
+
* Every ClickHouse version you can create an instance with.
|
|
295
|
+
*
|
|
296
|
+
* @see https://betterstack.com/docs/cloud/api/clickhouse-versions/list-clickhouse-versions/
|
|
297
|
+
*
|
|
298
|
+
* **Example:**
|
|
299
|
+
* ```typescript
|
|
300
|
+
* const versions = yield* BetterStack.Cloud.clickhouseVersions();
|
|
301
|
+
* ```
|
|
302
|
+
*/
|
|
303
|
+
export declare const clickhouseVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.ClickhouseVersion[], Cloud.ListClickhouseVersionError, BetterStackOpContext>;
|
|
304
|
+
/**
|
|
305
|
+
* The ClickHouse version a new instance gets by default.
|
|
306
|
+
*
|
|
307
|
+
* @see https://betterstack.com/docs/cloud/api/clickhouse-versions/list-clickhouse-versions/
|
|
308
|
+
*
|
|
309
|
+
* **Example:**
|
|
310
|
+
* ```typescript
|
|
311
|
+
* const engineVersion = yield* BetterStack.Cloud.latestClickhouseVersion();
|
|
312
|
+
* ```
|
|
313
|
+
*/
|
|
314
|
+
export declare const latestClickhouseVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListClickhouseVersionError, BetterStackOpContext>;
|
|
315
|
+
/**
|
|
316
|
+
* Every managed Kafka cluster type in the zone (`name` is what `Cloud.Kafka`'s `type` takes).
|
|
317
|
+
*
|
|
318
|
+
* @see https://betterstack.com/docs/cloud/api/kafka-types/list-kafka-types/
|
|
319
|
+
*
|
|
320
|
+
* **Example:**
|
|
321
|
+
* ```typescript
|
|
322
|
+
* const types = yield* BetterStack.Cloud.kafkaTypes();
|
|
323
|
+
* ```
|
|
324
|
+
*/
|
|
325
|
+
export declare const kafkaTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.KafkaType[], Cloud.ListKafkaTypeError, BetterStackOpContext>;
|
|
326
|
+
/**
|
|
327
|
+
* One Kafka type by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
328
|
+
*
|
|
329
|
+
* @see https://betterstack.com/docs/cloud/api/kafka-types/get-kafka-type/
|
|
330
|
+
*
|
|
331
|
+
* **Example:**
|
|
332
|
+
* ```typescript
|
|
333
|
+
* const type = yield* BetterStack.Cloud.kafkaType("KA1");
|
|
334
|
+
* ```
|
|
335
|
+
*/
|
|
336
|
+
export declare const kafkaType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.KafkaType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
337
|
+
/**
|
|
338
|
+
* Every Kafka version you can create a cluster with.
|
|
339
|
+
*
|
|
340
|
+
* @see https://betterstack.com/docs/cloud/api/kafka-versions/list-kafka-versions/
|
|
341
|
+
*
|
|
342
|
+
* **Example:**
|
|
343
|
+
* ```typescript
|
|
344
|
+
* const versions = yield* BetterStack.Cloud.kafkaVersions();
|
|
345
|
+
* ```
|
|
346
|
+
*/
|
|
347
|
+
export declare const kafkaVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.KafkaVersion[], Cloud.ListKafkaVersionError, BetterStackOpContext>;
|
|
348
|
+
/**
|
|
349
|
+
* The Kafka version a new cluster gets by default.
|
|
350
|
+
*
|
|
351
|
+
* @see https://betterstack.com/docs/cloud/api/kafka-versions/list-kafka-versions/
|
|
352
|
+
*
|
|
353
|
+
* **Example:**
|
|
354
|
+
* ```typescript
|
|
355
|
+
* const engineVersion = yield* BetterStack.Cloud.latestKafkaVersion();
|
|
356
|
+
* ```
|
|
357
|
+
*/
|
|
358
|
+
export declare const latestKafkaVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListKafkaVersionError, BetterStackOpContext>;
|
|
359
|
+
/**
|
|
360
|
+
* Every managed Valkey type in the zone (`name` is what `Cloud.Valkey`'s `type` takes).
|
|
361
|
+
*
|
|
362
|
+
* @see https://betterstack.com/docs/cloud/api/valkey-types/list-valkey-types/
|
|
363
|
+
*
|
|
364
|
+
* **Example:**
|
|
365
|
+
* ```typescript
|
|
366
|
+
* const types = yield* BetterStack.Cloud.valkeyTypes();
|
|
367
|
+
* ```
|
|
368
|
+
*/
|
|
369
|
+
export declare const valkeyTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.ValkeyType[], Cloud.ListValkeyTypeError, BetterStackOpContext>;
|
|
370
|
+
/**
|
|
371
|
+
* One Valkey type by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
372
|
+
*
|
|
373
|
+
* @see https://betterstack.com/docs/cloud/api/valkey-types/get-valkey-type/
|
|
374
|
+
*
|
|
375
|
+
* **Example:**
|
|
376
|
+
* ```typescript
|
|
377
|
+
* const type = yield* BetterStack.Cloud.valkeyType("VK1");
|
|
378
|
+
* ```
|
|
379
|
+
*/
|
|
380
|
+
export declare const valkeyType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.ValkeyType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
381
|
+
/**
|
|
382
|
+
* Every Valkey version you can create an instance with.
|
|
383
|
+
*
|
|
384
|
+
* @see https://betterstack.com/docs/cloud/api/valkey-versions/list-valkey-versions/
|
|
385
|
+
*
|
|
386
|
+
* **Example:**
|
|
387
|
+
* ```typescript
|
|
388
|
+
* const versions = yield* BetterStack.Cloud.valkeyVersions();
|
|
389
|
+
* ```
|
|
390
|
+
*/
|
|
391
|
+
export declare const valkeyVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.ValkeyVersion[], Cloud.ListValkeyVersionError, BetterStackOpContext>;
|
|
392
|
+
/**
|
|
393
|
+
* The Valkey version a new instance gets by default.
|
|
394
|
+
*
|
|
395
|
+
* @see https://betterstack.com/docs/cloud/api/valkey-versions/list-valkey-versions/
|
|
396
|
+
*
|
|
397
|
+
* **Example:**
|
|
398
|
+
* ```typescript
|
|
399
|
+
* const engineVersion = yield* BetterStack.Cloud.latestValkeyVersion();
|
|
400
|
+
* ```
|
|
401
|
+
*/
|
|
402
|
+
export declare const latestValkeyVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListValkeyVersionError, BetterStackOpContext>;
|
|
403
|
+
/**
|
|
404
|
+
* Every object cache type in the zone (`name` is what `Cloud.ObjectCache`'s `type` takes).
|
|
405
|
+
*
|
|
406
|
+
* @see https://betterstack.com/docs/cloud/api/object-cache-types/list-object-cache-types/
|
|
407
|
+
*
|
|
408
|
+
* **Example:**
|
|
409
|
+
* ```typescript
|
|
410
|
+
* const types = yield* BetterStack.Cloud.objectCacheTypes();
|
|
411
|
+
* ```
|
|
412
|
+
*/
|
|
413
|
+
export declare const objectCacheTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.ObjectCacheType[], Cloud.ListObjectCacheTypeError, BetterStackOpContext>;
|
|
414
|
+
/**
|
|
415
|
+
* One object cache type by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
416
|
+
*
|
|
417
|
+
* @see https://betterstack.com/docs/cloud/api/object-cache-types/get-object-cache-type/
|
|
418
|
+
*
|
|
419
|
+
* **Example:**
|
|
420
|
+
* ```typescript
|
|
421
|
+
* const type = yield* BetterStack.Cloud.objectCacheType("OP100");
|
|
422
|
+
* ```
|
|
423
|
+
*/
|
|
424
|
+
export declare const objectCacheType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.ObjectCacheType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
425
|
+
/**
|
|
426
|
+
* Every load balancer type in the zone (`name` is what `Cloud.LoadBalancer`'s
|
|
427
|
+
* `type` takes), with its service, target, certificate and connection limits.
|
|
428
|
+
*
|
|
429
|
+
* @see https://betterstack.com/docs/cloud/api/load-balancer-types/list-load-balancer-types/
|
|
430
|
+
*
|
|
431
|
+
* **Example:**
|
|
432
|
+
* ```typescript
|
|
433
|
+
* const types = yield* BetterStack.Cloud.loadBalancerTypes();
|
|
434
|
+
* ```
|
|
435
|
+
*/
|
|
436
|
+
export declare const loadBalancerTypes: (options?: ZoneOptions) => Effect.Effect<Cloud.LoadBalancerType[], Cloud.ListLoadBalancerTypeError, BetterStackOpContext>;
|
|
437
|
+
/**
|
|
438
|
+
* One load balancer type by name. Fails with {@link ReferenceNotFound} when there is none.
|
|
439
|
+
*
|
|
440
|
+
* @see https://betterstack.com/docs/cloud/api/load-balancer-types/get-load-balancer-type/
|
|
441
|
+
*
|
|
442
|
+
* **Example:**
|
|
443
|
+
* ```typescript
|
|
444
|
+
* const type = yield* BetterStack.Cloud.loadBalancerType("LB1");
|
|
445
|
+
* ```
|
|
446
|
+
*/
|
|
447
|
+
export declare const loadBalancerType: (name: string, options?: ZoneOptions) => Effect.Effect<Cloud.LoadBalancerType, import("@distilled.cloud/core/errors").BadGateway | import("@distilled.cloud/core/errors").BadRequest | Cloud.BadRequest | import("../sdk/errors.ts").BetterStackParseError | Cloud.ConcurrentCreateLimit | import("@distilled.cloud/core/errors").Conflict | Cloud.Conflict | import("@distilled.cloud/core/errors").Forbidden | Cloud.Forbidden | import("@distilled.cloud/core/errors").GatewayTimeout | import("effect/http/HttpClientError").HttpClientError | Cloud.InternalError | import("@distilled.cloud/core/errors").InternalServerError | import("@distilled.cloud/core/protocol-http").InvalidInput | import("@distilled.cloud/core/errors").Locked | Cloud.Locked | Cloud.NoCapacity | Cloud.OrchestrationFailed | Cloud.PaymentRequired | Cloud.RateLimited | import("./Reference.ts").ReferenceNotFound | import("@distilled.cloud/core/sdk-error").SdkError | import("@distilled.cloud/core/errors").ServiceUnavailable | import("@distilled.cloud/core/errors").TooManyRequests | import("@distilled.cloud/core/errors").Unauthorized | Cloud.Unauthorized | import("../sdk/errors.ts").UnknownBetterStackError | import("@distilled.cloud/core/errors").UnprocessableEntity, BetterStackOpContext>;
|
|
448
|
+
/**
|
|
449
|
+
* Every Kubernetes version you can create a cluster with (`version` is what
|
|
450
|
+
* `Cloud.KubernetesCluster`'s `version` takes; `build` is the exact build).
|
|
451
|
+
*
|
|
452
|
+
* @see https://betterstack.com/docs/cloud/api/kubernetes-versions/list-kubernetes-versions/
|
|
453
|
+
*
|
|
454
|
+
* **Example:**
|
|
455
|
+
* ```typescript
|
|
456
|
+
* const versions = yield* BetterStack.Cloud.kubernetesVersions();
|
|
457
|
+
* ```
|
|
458
|
+
*/
|
|
459
|
+
export declare const kubernetesVersions: (options?: ZoneOptions) => Effect.Effect<Cloud.KubernetesVersion[], Cloud.ListKubernetesVersionError, BetterStackOpContext>;
|
|
460
|
+
/**
|
|
461
|
+
* The Kubernetes version a new cluster gets by default, as the string
|
|
462
|
+
* `Cloud.KubernetesCluster`'s `version` takes.
|
|
463
|
+
*
|
|
464
|
+
* @see https://betterstack.com/docs/cloud/api/kubernetes-versions/list-kubernetes-versions/
|
|
465
|
+
*
|
|
466
|
+
* **Example:**
|
|
467
|
+
* ```typescript
|
|
468
|
+
* const version = yield* BetterStack.Cloud.latestKubernetesVersion();
|
|
469
|
+
* ```
|
|
470
|
+
*/
|
|
471
|
+
export declare const latestKubernetesVersion: (options?: ZoneOptions) => Effect.Effect<string, import("./Reference.ts").ReferenceNotFound | Cloud.ListKubernetesVersionError, BetterStackOpContext>;
|
|
472
|
+
/**
|
|
473
|
+
* Your organization's limits in the zone and how much of each it uses:
|
|
474
|
+
* servers and vCPUs per tier, memory, volumes, networks, IPs, snapshots,
|
|
475
|
+
* request rates, … Each entry is `{ default, limit, used }` (`used` is
|
|
476
|
+
* `null` for a rate or a per-object limit). Check headroom before a deploy
|
|
477
|
+
* that creates billable resources.
|
|
478
|
+
*
|
|
479
|
+
* @see https://betterstack.com/docs/cloud/api/quotas/get-quota/
|
|
480
|
+
*
|
|
481
|
+
* **Example:**
|
|
482
|
+
* ```typescript
|
|
483
|
+
* const { networks } = yield* BetterStack.Cloud.quota();
|
|
484
|
+
* const left = (networks?.limit ?? 0) - (networks?.used ?? 0);
|
|
485
|
+
* ```
|
|
486
|
+
*/
|
|
487
|
+
export declare const quota: (options?: ZoneOptions) => Effect.Effect<Cloud.Quota, Cloud.GetQuotaError, BetterStackOpContext>;
|
|
488
|
+
/** Options of {@link ips}. */
|
|
489
|
+
export interface IpOptions extends ZoneOptions {
|
|
490
|
+
/** Only addresses whose IP, reverse DNS name, server, network or reserved IP name contains this text (ignoring case). */
|
|
491
|
+
readonly query?: string | undefined;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Every address your organization holds in the zone: the public and private
|
|
495
|
+
* addresses of its servers and the reserved IPs, with the server, network or
|
|
496
|
+
* reservation each belongs to.
|
|
497
|
+
*
|
|
498
|
+
* @see https://betterstack.com/docs/cloud/api/ips/list-ips/
|
|
499
|
+
*
|
|
500
|
+
* **Example:**
|
|
501
|
+
* ```typescript
|
|
502
|
+
* const publicV4 = (yield* BetterStack.Cloud.ips())
|
|
503
|
+
* .filter((ip) => ip.visibility === "public" && ip.type === "ipv4")
|
|
504
|
+
* .map((ip) => ip.ip);
|
|
505
|
+
* ```
|
|
506
|
+
*/
|
|
507
|
+
export declare const ips: (options?: IpOptions) => Effect.Effect<Array<Cloud.Ip>, Cloud.ListIpError, BetterStackOpContext>;
|
|
508
|
+
//# sourceMappingURL=Reference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reference.d.ts","sourceRoot":"","sources":["../../src/Cloud/Reference.ts"],"names":[],"mappings":"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"}
|