| 1 | import * as sns from "@distilled.cloud/aws/sns"; |
| 2 | import * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | export interface ListPlatformApplicationsRequest |
| 6 | extends sns.ListPlatformApplicationsInput {} |
| 7 | |
| 8 | /** |
| 9 | * Runtime binding for `sns:ListPlatformApplications`. |
| 10 | * |
| 11 | * An account-scoped operation — pages through the mobile-push platform |
| 12 | * applications in the account/region. |
| 13 | * Provide the `ListPlatformApplicationsHttp` layer on the Function to implement the binding. |
| 14 | * ### Mobile Push |
| 15 | * **Example:** List Platform Applications |
| 16 | * ```typescript |
| 17 | * const listApplications = yield* SNS.ListPlatformApplications(); |
| 18 | * const { PlatformApplications } = yield* listApplications(); |
| 19 | * ``` |
| 20 | * |
| 21 | * @binding |
| 22 | */ |
| 23 | export interface ListPlatformApplications extends Binding.Service< |
| 24 | ListPlatformApplications, |
| 25 | "AWS.SNS.ListPlatformApplications", |
| 26 | () => Effect.Effect< |
| 27 | ( |
| 28 | request?: ListPlatformApplicationsRequest, |
| 29 | ) => Effect.Effect< |
| 30 | sns.ListPlatformApplicationsResponse, |
| 31 | sns.ListPlatformApplicationsError |
| 32 | > |
| 33 | > |
| 34 | > {} |
| 35 | |
| 36 | export const ListPlatformApplications = |
| 37 | Binding.Service<ListPlatformApplications>("AWS.SNS.ListPlatformApplications"); |