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

main
ts 39 lines 1.3 KB
Raw
1 import type * as inspector2 from "@distilled.cloud/aws/inspector2";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `inspector2:UpdateConfiguration`.
7 *
8 * Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector
9 * delegated administrator this updates the setting for all accounts you manage. Member
10 * accounts in an organization cannot update this setting.
11 *
12 * Provide the implementation with
13 * `Effect.provide(AWS.Inspector2.UpdateConfigurationHttp)`.
14 * ### Account Settings & Usage
15 * **Example:** Tune ECR Rescan Duration
16 * ```typescript
17 * // init
18 * const updateConfiguration = yield* AWS.Inspector2.UpdateConfiguration();
19 *
20 * // runtime
21 * yield* updateConfiguration({
22 * ecrConfiguration: { rescanDuration: "DAYS_30" },
23 * });
24 * ```
25 *
26 * @binding
27 */
28 export interface UpdateConfiguration extends Binding.Service<
29 UpdateConfiguration,
30 "AWS.Inspector2.UpdateConfiguration",
31 () => Effect.Effect<
32 (
33 request?: inspector2.UpdateConfigurationRequest,
34 ) => Effect.Effect<inspector2.UpdateConfigurationResponse, inspector2.UpdateConfigurationError>
35 >
36 > {}
37 export const UpdateConfiguration = Binding.Service<UpdateConfiguration>(
38 "AWS.Inspector2.UpdateConfiguration",
39 );