import type * as notifications from "@distilled.cloud/aws/notifications";
import * as Binding from "alchemy/Binding";
import type * as Effect from "effect/Effect";
/**
* Request for {@link GetManagedNotificationConfiguration}.
*/
export interface GetManagedNotificationConfigurationRequest
extends notifications.GetManagedNotificationConfigurationRequest {}
/**
* Runtime binding for `notifications:GetManagedNotificationConfiguration`.
*
* Fetch one AWS-managed notification configuration (the AWS Health
* Security/Operations/Issue/Billing categories) by its ARN. Provide the
* implementation with
* `Effect.provide(AWS.Notifications.GetManagedNotificationConfigurationHttp)`.
* ### Reading AWS-Managed Notifications
* **Example:** Fetch a Managed Notification Configuration
* ```typescript
* // init — account-level binding takes no resource
* const getManagedNotificationConfiguration =
* yield* AWS.Notifications.GetManagedNotificationConfiguration();
*
* // runtime
* const config = yield* getManagedNotificationConfiguration({
* arn: managedConfigArn,
* });
* ```
*
* @binding
*/
export interface GetManagedNotificationConfiguration extends Binding.Service<
GetManagedNotificationConfiguration,
"AWS.Notifications.GetManagedNotificationConfiguration",
() => Effect.Effect<
(
request: GetManagedNotificationConfigurationRequest,
) => Effect.Effect<
notifications.GetManagedNotificationConfigurationResponse,
notifications.GetManagedNotificationConfigurationError
>
>
> {}
export const GetManagedNotificationConfiguration =
Binding.Service<GetManagedNotificationConfiguration>(
"AWS.Notifications.GetManagedNotificationConfiguration",
);