| 1 | import type * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `inspector2:BatchGetFreeTrialInfo`. |
| 7 | * |
| 8 | * Gets free trial status for multiple Amazon Web Services accounts. |
| 9 | * |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.Inspector2.BatchGetFreeTrialInfoHttp)`. |
| 12 | * ### Account Settings & Usage |
| 13 | * **Example:** Free Trial Status |
| 14 | * ```typescript |
| 15 | * // init |
| 16 | * const batchGetFreeTrialInfo = yield* AWS.Inspector2.BatchGetFreeTrialInfo(); |
| 17 | * |
| 18 | * // runtime |
| 19 | * const { accounts } = yield* batchGetFreeTrialInfo({ accountIds: [accountId] }); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface BatchGetFreeTrialInfo extends Binding.Service< |
| 25 | BatchGetFreeTrialInfo, |
| 26 | "AWS.Inspector2.BatchGetFreeTrialInfo", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request: inspector2.BatchGetFreeTrialInfoRequest, |
| 30 | ) => Effect.Effect< |
| 31 | inspector2.BatchGetFreeTrialInfoResponse, |
| 32 | inspector2.BatchGetFreeTrialInfoError |
| 33 | > |
| 34 | > |
| 35 | > {} |
| 36 | export const BatchGetFreeTrialInfo = Binding.Service<BatchGetFreeTrialInfo>( |
| 37 | "AWS.Inspector2.BatchGetFreeTrialInfo", |
| 38 | ); |