The best way to control Claude Code, Codex and more from any computer or phone

main
ts 37 lines 1.12 KB
Raw
1 import type * as licensemanager from "@distilled.cloud/aws/license-manager";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link RejectGrant}.
7 */
8 export interface RejectGrantRequest extends licensemanager.RejectGrantRequest {}
9
10 /**
11 * Runtime binding for `license-manager:RejectGrant` — reject a license
12 * grant that another account distributed to this account.
13 *
14 * Provide the implementation with
15 * `Effect.provide(AWS.LicenseManager.RejectGrantHttp)`.
16 * ### Managing Grants
17 * **Example:** Reject a Received Grant
18 * ```typescript
19 * // init
20 * const rejectGrant = yield* AWS.LicenseManager.RejectGrant();
21 *
22 * // runtime
23 * const { Status } = yield* rejectGrant({ GrantArn: grantArn });
24 * ```
25 *
26 * @binding
27 */
28 export interface RejectGrant extends Binding.Service<
29 RejectGrant,
30 "AWS.LicenseManager.RejectGrant",
31 () => Effect.Effect<
32 (
33 request: RejectGrantRequest,
34 ) => Effect.Effect<licensemanager.RejectGrantResponse, licensemanager.RejectGrantError>
35 >
36 > {}
37 export const RejectGrant = Binding.Service<RejectGrant>("AWS.LicenseManager.RejectGrant");