effortless-aws 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-AHRNISIY.js → chunk-5L76NICW.js} +47 -113
- package/dist/cli/index.js +2358 -1939
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +338 -389
- package/dist/index.js +1512 -95
- package/dist/index.js.map +1 -1
- package/dist/runtime/wrap-app.js +30 -25
- package/dist/runtime/wrap-fifo-queue.js +37 -33
- package/dist/runtime/wrap-http.js +31 -27
- package/dist/runtime/wrap-table-stream.js +48 -44
- package/package.json +2 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.ts","../src/handlers/define-http.ts","../src/handlers/define-table.ts","../src/handlers/define-app.ts","../src/handlers/define-static-site.ts","../src/handlers/define-fifo-queue.ts","../src/handlers/param.ts","../src/handlers/typed.ts","../src/runtime/platform-client.ts","../src/runtime/platform-types.ts"],"sourcesContent":["/**\n * Configuration for an Effortless project.\n *\n * @example\n * ```typescript\n * // effortless.config.ts\n * import { defineConfig } from \"effortless-aws\";\n *\n * export default defineConfig({\n * name: \"my-service\",\n * region: \"eu-central-1\",\n * handlers: \"src\",\n * });\n * ```\n */\nexport type EffortlessConfig = {\n /**\n * Project name used for resource naming and tagging.\n * This becomes part of Lambda function names, IAM roles, etc.\n */\n name: string;\n\n /**\n * Default AWS region for all handlers.\n * Can be overridden per-handler or via CLI `--region` flag.\n * @default \"eu-central-1\"\n */\n region?: string;\n\n /**\n * Deployment stage (e.g., \"dev\", \"staging\", \"prod\").\n * Used for resource isolation and tagging.\n * @default \"dev\"\n */\n stage?: string;\n\n /**\n * Glob patterns or directory paths to scan for handlers.\n * Used by `eff deploy` (without file argument) to auto-discover handlers.\n *\n * @example\n * ```typescript\n * // Single directory - scans for all .ts files\n * handlers: \"src\"\n *\n * // Glob patterns\n * handlers: [\"src/**\\/*.ts\", \"lib/**\\/*.handler.ts\"]\n * ```\n */\n handlers?: string | string[];\n\n /**\n * Default settings applied to all handlers unless overridden.\n */\n defaults?: {\n /**\n * Lambda memory in MB.\n * @default 256\n */\n memory?: number;\n\n /**\n * Lambda timeout as a human-readable string.\n * @example \"30 seconds\", \"5 minutes\"\n */\n timeout?: string;\n\n /**\n * Lambda runtime.\n * @default \"nodejs22.x\"\n */\n runtime?: string;\n };\n};\n\n/**\n * Helper function for type-safe configuration.\n * Returns the config object as-is, but provides TypeScript autocompletion.\n *\n * @example\n * ```typescript\n * import { defineConfig } from \"effortless-aws\";\n *\n * export default defineConfig({\n * name: \"my-service\",\n * region: \"eu-central-1\",\n * handlers: \"src\",\n * });\n * ```\n */\nexport const defineConfig = (config: EffortlessConfig): EffortlessConfig => config;\n","import type { Permission } from \"./permissions\";\nimport type { TableHandler } from \"./define-table\";\nimport type { TableClient } from \"../runtime/table-client\";\nimport type { AnyParamRef, ResolveParams } from \"./param\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\nexport type ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/** HTTP methods supported by API Gateway */\nexport type HttpMethod = \"GET\" | \"POST\" | \"PUT\" | \"DELETE\" | \"PATCH\";\n\n/** Short content-type aliases for common response formats */\nexport type ContentType = \"json\" | \"html\" | \"text\" | \"css\" | \"js\" | \"xml\" | \"csv\" | \"svg\";\n\n/**\n * Incoming HTTP request object passed to the handler\n */\nexport type HttpRequest = {\n /** HTTP method (GET, POST, etc.) */\n method: string;\n /** Request path (e.g., \"/users/123\") */\n path: string;\n /** Request headers */\n headers: Record<string, string | undefined>;\n /** Query string parameters */\n query: Record<string, string | undefined>;\n /** Path parameters extracted from route (e.g., {id} -> params.id) */\n params: Record<string, string | undefined>;\n /** Parsed request body (JSON parsed if Content-Type is application/json) */\n body: unknown;\n /** Raw unparsed request body */\n rawBody?: string;\n};\n\n/**\n * HTTP response returned from the handler\n */\nexport type HttpResponse = {\n /** HTTP status code (e.g., 200, 404, 500) */\n status: number;\n /** Response body — JSON-serialized by default, or sent as string when contentType is set */\n body?: unknown;\n /**\n * Short content-type alias. Resolves to full MIME type automatically:\n * - `\"json\"` → `application/json` (default if omitted)\n * - `\"html\"` → `text/html; charset=utf-8`\n * - `\"text\"` → `text/plain; charset=utf-8`\n * - `\"css\"` → `text/css; charset=utf-8`\n * - `\"js\"` → `application/javascript; charset=utf-8`\n * - `\"xml\"` → `application/xml; charset=utf-8`\n * - `\"csv\"` → `text/csv; charset=utf-8`\n * - `\"svg\"` → `image/svg+xml; charset=utf-8`\n */\n contentType?: ContentType;\n /** Response headers (use for custom content-types not covered by contentType) */\n headers?: Record<string, string>;\n};\n\n/**\n * Configuration options extracted from DefineHttpOptions (without onRequest callback)\n */\nexport type HttpConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** HTTP method for the route */\n method: HttpMethod;\n /** Route path (e.g., \"/api/users\", \"/api/users/{id}\") */\n path: string;\n /** Lambda memory in MB (default: 256) */\n memory?: number;\n /** Lambda timeout in seconds (default: 30) */\n timeout?: number;\n /** Additional IAM permissions for the Lambda */\n permissions?: Permission[];\n /** Enable observability logging to platform table (default: true) */\n observe?: boolean;\n};\n\n/**\n * Handler function type for HTTP endpoints\n *\n * @typeParam T - Type of the validated request body (from schema function)\n * @typeParam C - Type of the context/dependencies (from context function)\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n */\nexport type HttpHandlerFn<T = undefined, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { req: HttpRequest }\n & ([T] extends [undefined] ? {} : { data: T })\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<HttpResponse>;\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Options for defining an HTTP endpoint\n *\n * @typeParam T - Type of the validated request body (inferred from schema function)\n * @typeParam C - Type of the context/dependencies returned by context function\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n */\nexport type DefineHttpOptions<\n T = undefined,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> = HttpConfig & {\n /**\n * Decode/validate function for the request body.\n * Called with the parsed body; should return typed data or throw on validation failure.\n * When provided, the handler receives validated `data` and invalid requests get a 400 response.\n *\n * Works with any validation library:\n * - Effect: `S.decodeUnknownSync(MySchema)`\n * - Zod: `(body) => myZodSchema.parse(body)`\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when schema validation or onRequest throws.\n * Receives the error and request, returns an HttpResponse.\n * If not provided, defaults to 400 for validation errors and 500 for handler errors.\n */\n onError?: (error: unknown, req: HttpRequest) => HttpResponse;\n /**\n * Factory function to create context/dependencies for the request handler.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n * Supports both sync and async return values.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n * Typed values are injected into the handler via the `params` argument.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n /** HTTP request handler function */\n onRequest: HttpHandlerFn<T, C, D, P, S>;\n};\n\n/**\n * Internal handler object created by defineHttp\n * @internal\n */\nexport type HttpHandler<T = undefined, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-http\";\n readonly config: HttpConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown, req: HttpRequest) => HttpResponse;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onRequest: HttpHandlerFn<T, C, D, P, S>;\n};\n\n/**\n * Define an HTTP endpoint that creates an API Gateway route + Lambda function\n *\n * @typeParam T - Type of the validated request body (inferred from schema function)\n * @typeParam C - Type of the context/dependencies (inferred from context function)\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n * @param options - Configuration, optional schema, optional context factory, and request handler\n * @returns Handler object used by the deployment system\n *\n * @example Basic GET endpoint\n * ```typescript\n * export const hello = defineHttp({\n * method: \"GET\",\n * path: \"/hello\",\n * onRequest: async ({ req }) => ({\n * status: 200,\n * body: { message: \"Hello World!\" }\n * })\n * });\n * ```\n *\n * @example With SSM parameters\n * ```typescript\n * import { param } from \"effortless-aws\";\n *\n * export const api = defineHttp({\n * method: \"GET\",\n * path: \"/orders\",\n * params: {\n * dbUrl: param(\"database-url\"),\n * },\n * context: async ({ params }) => ({\n * pool: createPool(params.dbUrl),\n * }),\n * onRequest: async ({ req, ctx, params }) => ({\n * status: 200,\n * body: { dbUrl: params.dbUrl }\n * })\n * });\n * ```\n */\nexport const defineHttp = <\n T = undefined,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineHttpOptions<T, C, D, P, S>\n): HttpHandler<T, C, D, P, S> => {\n const { onRequest, onError, context, schema, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-http\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n onRequest\n } as HttpHandler<T, C, D, P, S>;\n};\n","import type { Permission } from \"./permissions\";\nimport type { TableClient } from \"../runtime/table-client\";\nimport type { AnyParamRef, ResolveParams } from \"./param\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\ntype ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/** DynamoDB attribute types for keys */\nexport type KeyType = \"string\" | \"number\" | \"binary\";\n\n/**\n * DynamoDB table key definition\n */\nexport type TableKey = {\n /** Attribute name */\n name: string;\n /** Attribute type */\n type: KeyType;\n};\n\n/** DynamoDB Streams view type - determines what data is captured in stream records */\nexport type StreamView = \"NEW_AND_OLD_IMAGES\" | \"NEW_IMAGE\" | \"OLD_IMAGE\" | \"KEYS_ONLY\";\n\n/**\n * Configuration options extracted from DefineTableOptions (without onRecord/context)\n */\nexport type TableConfig = {\n /** Table/handler name. Defaults to export name if not specified */\n name?: string;\n /** Partition key definition */\n pk: TableKey;\n /** Sort key definition (optional) */\n sk?: TableKey;\n /** DynamoDB billing mode (default: \"PAY_PER_REQUEST\") */\n billingMode?: \"PAY_PER_REQUEST\" | \"PROVISIONED\";\n /** TTL attribute name for automatic item expiration */\n ttlAttribute?: string;\n /** Stream view type - what data to include in stream records (default: \"NEW_AND_OLD_IMAGES\") */\n streamView?: StreamView;\n /** Number of records to process in each Lambda invocation (1-10000, default: 100) */\n batchSize?: number;\n /** Maximum time in seconds to gather records before invoking (0-300, default: 2) */\n batchWindow?: number;\n /** Where to start reading the stream (default: \"LATEST\") */\n startingPosition?: \"LATEST\" | \"TRIM_HORIZON\";\n /** Lambda memory in MB (default: 256) */\n memory?: number;\n /** Lambda timeout in seconds (default: 30) */\n timeout?: number;\n /** Additional IAM permissions for the Lambda */\n permissions?: Permission[];\n /** Enable observability logging to platform table (default: true) */\n observe?: boolean;\n};\n\n/**\n * DynamoDB stream record passed to onRecord callback\n *\n * @typeParam T - Type of the table items (new/old values)\n */\nexport type TableRecord<T = Record<string, unknown>> = {\n /** Type of modification: INSERT, MODIFY, or REMOVE */\n eventName: \"INSERT\" | \"MODIFY\" | \"REMOVE\";\n /** New item value (present for INSERT and MODIFY) */\n new?: T;\n /** Old item value (present for MODIFY and REMOVE) */\n old?: T;\n /** Primary key of the affected item */\n keys: Record<string, unknown>;\n /** Sequence number for ordering */\n sequenceNumber?: string;\n /** Approximate timestamp when the modification occurred */\n timestamp?: number;\n};\n\n/**\n * Information about a failed record during batch processing\n *\n * @typeParam T - Type of the table items\n */\nexport type FailedRecord<T = Record<string, unknown>> = {\n /** The record that failed to process */\n record: TableRecord<T>;\n /** The error that occurred */\n error: unknown;\n};\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Callback function type for processing a single DynamoDB stream record\n */\nexport type TableRecordFn<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { record: TableRecord<T>; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<R>;\n\n/**\n * Callback function type for processing accumulated batch results\n */\nexport type TableBatchCompleteFn<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { results: R[]; failures: FailedRecord<T>[]; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/**\n * Callback function type for processing all records in a batch at once\n */\nexport type TableBatchFn<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { records: TableRecord<T>[]; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/** Base options shared by all defineTable variants */\ntype DefineTableBase<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = TableConfig & {\n /**\n * Decode/validate function for stream record items (new/old images).\n * Called with the unmarshalled DynamoDB item; should return typed data or throw on validation failure.\n * When provided, T is inferred from the return type — no need to specify generic parameters.\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when onRecord, onBatch, or onBatchComplete throws.\n * Receives the error. If not provided, defaults to `console.error`.\n */\n onError?: (error: unknown) => void;\n /**\n * Factory function to create context/dependencies for callbacks.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n * Supports both sync and async return values.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n * Typed values are injected into the handler via the `params` argument.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n};\n\n/** Per-record processing: onRecord with optional onBatchComplete */\ntype DefineTableWithOnRecord<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onRecord: TableRecordFn<T, C, R, D, P, S>;\n onBatchComplete?: TableBatchCompleteFn<T, C, R, D, P, S>;\n onBatch?: never;\n};\n\n/** Batch processing: onBatch processes all records at once */\ntype DefineTableWithOnBatch<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onBatch: TableBatchFn<T, C, D, P, S>;\n onRecord?: never;\n onBatchComplete?: never;\n};\n\n/** Resource-only: no handler, just creates the table */\ntype DefineTableResourceOnly<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onRecord?: never;\n onBatch?: never;\n onBatchComplete?: never;\n};\n\nexport type DefineTableOptions<\n T = Record<string, unknown>,\n C = undefined,\n R = void,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> =\n | DefineTableWithOnRecord<T, C, R, D, P, S>\n | DefineTableWithOnBatch<T, C, D, P, S>\n | DefineTableResourceOnly<T, C, D, P, S>;\n\n/**\n * Internal handler object created by defineTable\n * @internal\n */\nexport type TableHandler<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-table\";\n readonly config: TableConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown) => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onRecord?: TableRecordFn<T, C, R, D, P, S>;\n readonly onBatchComplete?: TableBatchCompleteFn<T, C, R, D, P, S>;\n readonly onBatch?: TableBatchFn<T, C, D, P, S>;\n};\n\n/**\n * Define a DynamoDB table with optional stream handler\n *\n * Creates:\n * - DynamoDB table with specified key schema\n * - (If onRecord or onBatch provided) DynamoDB Stream + Lambda + Event Source Mapping\n *\n * @example Table with stream handler (typed)\n * ```typescript\n * type Order = { id: string; amount: number; status: string };\n *\n * export const orders = defineTable<Order>({\n * pk: { name: \"id\", type: \"string\" },\n * streamView: \"NEW_AND_OLD_IMAGES\",\n * batchSize: 10,\n * onRecord: async ({ record }) => {\n * if (record.eventName === \"INSERT\") {\n * console.log(\"New order:\", record.new?.amount);\n * }\n * }\n * });\n * ```\n *\n * @example Table only (no Lambda)\n * ```typescript\n * export const users = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * sk: { name: \"email\", type: \"string\" }\n * });\n * ```\n */\nexport const defineTable = <\n T = Record<string, unknown>,\n C = undefined,\n R = void,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineTableOptions<T, C, R, D, P, S>\n): TableHandler<T, C, R, D, P, S> => {\n const { onRecord, onBatchComplete, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-table\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n ...(onRecord ? { onRecord } : {}),\n ...(onBatchComplete ? { onBatchComplete } : {}),\n ...(onBatch ? { onBatch } : {})\n } as TableHandler<T, C, R, D, P, S>;\n};\n","/**\n * Configuration for a Lambda-served static site (API Gateway + Lambda)\n */\nexport type AppConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** Base URL path the site is served under (e.g., \"/app\") */\n path?: string;\n /** Directory containing the static site files, relative to project root */\n dir: string;\n /** Default file for directory requests (default: \"index.html\") */\n index?: string;\n /** SPA mode: serve index.html for all paths that don't match a file (default: false) */\n spa?: boolean;\n /** Shell command to run before deploy to generate site content (e.g., \"npx astro build\") */\n build?: string;\n /** Lambda memory in MB (default: 256) */\n memory?: number;\n /** Lambda timeout in seconds (default: 5) */\n timeout?: number;\n /** Enable observability logging to platform table (default: false) */\n observe?: boolean;\n};\n\n/**\n * Internal handler object created by defineApp\n * @internal\n */\nexport type AppHandler = {\n readonly __brand: \"effortless-app\";\n readonly config: AppConfig;\n};\n\n/**\n * Deploy a static site via Lambda + API Gateway.\n * Files are bundled into the Lambda ZIP and served with auto-detected content types.\n *\n * For CDN-backed sites (S3 + CloudFront), use {@link defineStaticSite} instead.\n *\n * @param options - Site configuration: path, directory, optional SPA mode\n * @returns Handler object used by the deployment system\n *\n * @example Basic static site\n * ```typescript\n * export const app = defineApp({\n * path: \"/app\",\n * dir: \"src/webapp\",\n * });\n * ```\n */\nexport const defineApp = (options: AppConfig): AppHandler => ({\n __brand: \"effortless-app\",\n config: options,\n});\n","/**\n * Configuration for a static site handler (S3 + CloudFront)\n */\nexport type StaticSiteConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** Directory containing the static site files, relative to project root */\n dir: string;\n /** Default file for directory requests (default: \"index.html\") */\n index?: string;\n /** SPA mode: serve index.html for all paths that don't match a file (default: false) */\n spa?: boolean;\n /** Shell command to run before deploy to generate site content (e.g., \"npx astro build\") */\n build?: string;\n};\n\n/**\n * Internal handler object created by defineStaticSite\n * @internal\n */\nexport type StaticSiteHandler = {\n readonly __brand: \"effortless-static-site\";\n readonly config: StaticSiteConfig;\n};\n\n/**\n * Deploy a static site via S3 + CloudFront CDN.\n *\n * @param options - Static site configuration: directory, optional SPA mode, build command\n * @returns Handler object used by the deployment system\n *\n * @example Documentation site\n * ```typescript\n * export const docs = defineStaticSite({\n * dir: \"dist\",\n * build: \"npx astro build\",\n * });\n * ```\n *\n * @example SPA with client-side routing\n * ```typescript\n * export const app = defineStaticSite({\n * dir: \"dist\",\n * spa: true,\n * build: \"npm run build\",\n * });\n * ```\n */\nexport const defineStaticSite = (options: StaticSiteConfig): StaticSiteHandler => ({\n __brand: \"effortless-static-site\",\n config: options,\n});\n","import type { Permission } from \"./permissions\";\nimport type { TableHandler } from \"./define-table\";\nimport type { TableClient } from \"../runtime/table-client\";\nimport type { AnyParamRef, ResolveParams } from \"./param\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\ntype ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/**\n * Parsed SQS FIFO message passed to the handler callbacks.\n *\n * @typeParam T - Type of the decoded message body (from schema function)\n */\nexport type FifoQueueMessage<T = unknown> = {\n /** Unique message identifier */\n messageId: string;\n /** Receipt handle for acknowledgement */\n receiptHandle: string;\n /** Parsed message body (JSON-decoded, then optionally schema-validated) */\n body: T;\n /** Raw unparsed message body string */\n rawBody: string;\n /** Message group ID (FIFO ordering key) */\n messageGroupId: string;\n /** Message deduplication ID */\n messageDeduplicationId?: string;\n /** SQS message attributes */\n messageAttributes: Record<string, { dataType?: string; stringValue?: string }>;\n /** Approximate first receive timestamp */\n approximateFirstReceiveTimestamp?: string;\n /** Approximate receive count */\n approximateReceiveCount?: string;\n /** Sent timestamp */\n sentTimestamp?: string;\n};\n\n/**\n * Configuration options for a FIFO queue handler\n */\nexport type FifoQueueConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** Number of messages per Lambda invocation (1-10 for FIFO, default: 10) */\n batchSize?: number;\n /** Maximum time in seconds to gather messages before invoking (0-300, default: 0) */\n batchWindow?: number;\n /** Visibility timeout in seconds (default: max of timeout or 30) */\n visibilityTimeout?: number;\n /** Message retention period in seconds (60-1209600, default: 345600 = 4 days) */\n retentionPeriod?: number;\n /** Enable content-based deduplication (default: true) */\n contentBasedDeduplication?: boolean;\n /** Lambda memory in MB (default: 256) */\n memory?: number;\n /** Lambda timeout in seconds (default: 30) */\n timeout?: number;\n /** Additional IAM permissions for the Lambda */\n permissions?: Permission[];\n /** Enable observability logging to platform table (default: true) */\n observe?: boolean;\n};\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Per-message handler function.\n * Called once per message in the batch. Failures are reported individually.\n */\nexport type FifoQueueMessageFn<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { message: FifoQueueMessage<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/**\n * Batch handler function.\n * Called once with all messages in the batch.\n */\nexport type FifoQueueBatchFn<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { messages: FifoQueueMessage<T>[] }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/** Base options shared by all defineFifoQueue variants */\ntype DefineFifoQueueBase<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = FifoQueueConfig & {\n /**\n * Decode/validate function for the message body.\n * Called with the JSON-parsed body; should return typed data or throw on validation failure.\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when onMessage or onBatch throws.\n * If not provided, defaults to `console.error`.\n */\n onError?: (error: unknown) => void;\n /**\n * Factory function to create context/dependencies for the handler.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n};\n\n/** Per-message processing */\ntype DefineFifoQueueWithOnMessage<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineFifoQueueBase<T, C, D, P, S> & {\n onMessage: FifoQueueMessageFn<T, C, D, P, S>;\n onBatch?: never;\n};\n\n/** Batch processing: all messages at once */\ntype DefineFifoQueueWithOnBatch<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineFifoQueueBase<T, C, D, P, S> & {\n onBatch: FifoQueueBatchFn<T, C, D, P, S>;\n onMessage?: never;\n};\n\nexport type DefineFifoQueueOptions<\n T = unknown,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> =\n | DefineFifoQueueWithOnMessage<T, C, D, P, S>\n | DefineFifoQueueWithOnBatch<T, C, D, P, S>;\n\n/**\n * Internal handler object created by defineFifoQueue\n * @internal\n */\nexport type FifoQueueHandler<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-fifo-queue\";\n readonly config: FifoQueueConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown) => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onMessage?: FifoQueueMessageFn<T, C, D, P, S>;\n readonly onBatch?: FifoQueueBatchFn<T, C, D, P, S>;\n};\n\n/**\n * Define a FIFO SQS queue with a Lambda message handler\n *\n * Creates:\n * - SQS FIFO queue (with `.fifo` suffix)\n * - Lambda function triggered by the queue\n * - Event source mapping with partial batch failure support\n *\n * @example Per-message processing\n * ```typescript\n * type OrderEvent = { orderId: string; action: string };\n *\n * export const orderQueue = defineFifoQueue<OrderEvent>({\n * onMessage: async ({ message }) => {\n * console.log(\"Processing order:\", message.body.orderId);\n * }\n * });\n * ```\n *\n * @example Batch processing with schema\n * ```typescript\n * export const notifications = defineFifoQueue({\n * schema: (input) => NotificationSchema.parse(input),\n * batchSize: 5,\n * onBatch: async ({ messages }) => {\n * await sendAll(messages.map(m => m.body));\n * }\n * });\n * ```\n */\nexport const defineFifoQueue = <\n T = unknown,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineFifoQueueOptions<T, C, D, P, S>\n): FifoQueueHandler<T, C, D, P, S> => {\n const { onMessage, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-fifo-queue\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n ...(onMessage ? { onMessage } : {}),\n ...(onBatch ? { onBatch } : {})\n } as FifoQueueHandler<T, C, D, P, S>;\n};\n","// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type AnyParamRef = ParamRef<any>;\n\n/**\n * Reference to an SSM Parameter Store parameter.\n *\n * @typeParam T - The resolved type after optional transform (default: string)\n */\nexport type ParamRef<T = string> = {\n readonly __brand: \"effortless-param\";\n readonly key: string;\n readonly transform?: (raw: string) => T;\n};\n\n/**\n * Maps a params declaration to resolved value types.\n *\n * @typeParam P - Record of param names to ParamRef instances\n */\nexport type ResolveParams<P> = {\n [K in keyof P]: P[K] extends ParamRef<infer T> ? T : never;\n};\n\n/**\n * Declare an SSM Parameter Store parameter.\n *\n * The key is combined with project and stage at deploy time to form the full\n * SSM path: `/${project}/${stage}/${key}`.\n *\n * @param key - Parameter key (e.g., \"database-url\")\n * @param transform - Optional function to transform the raw string value\n * @returns A ParamRef used by the deployment and runtime systems\n *\n * @example Simple string parameter\n * ```typescript\n * params: {\n * dbUrl: param(\"database-url\"),\n * }\n * ```\n *\n * @example With transform (e.g., TOML parsing)\n * ```typescript\n * import TOML from \"smol-toml\";\n *\n * params: {\n * config: param(\"app-config\", TOML.parse),\n * }\n * ```\n */\nexport function param(key: string): ParamRef<string>;\nexport function param<T>(key: string, transform: (raw: string) => T): ParamRef<T>;\nexport function param<T = string>(\n key: string,\n transform?: (raw: string) => T\n): ParamRef<T> {\n return {\n __brand: \"effortless-param\",\n key,\n ...(transform ? { transform } : {}),\n } as ParamRef<T>;\n}\n","/**\n * Type-only schema helper for handlers.\n *\n * Use this instead of explicit generic parameters like `defineTable<Order>(...)`.\n * It enables TypeScript to infer all generic types from the options object,\n * avoiding the partial-inference problem where specifying one generic\n * forces all others to their defaults.\n *\n * At runtime this is a no-op identity function — it simply returns the input unchanged.\n * The type narrowing happens entirely at the TypeScript level.\n *\n * @example Resource-only table\n * ```typescript\n * type User = { id: string; email: string };\n *\n * // Before (breaks inference for context, deps, params):\n * export const users = defineTable<User>({ pk: { name: \"id\", type: \"string\" } });\n *\n * // After (all generics inferred correctly):\n * export const users = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * schema: typed<User>(),\n * });\n * ```\n *\n * @example Table with stream handler\n * ```typescript\n * export const orders = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * schema: typed<Order>(),\n * context: async () => ({ db: createClient() }),\n * onRecord: async ({ record, ctx }) => {\n * // record.new is Order, ctx is { db: Client } — all inferred\n * },\n * });\n * ```\n */\nexport function typed<T>(): (input: unknown) => T {\n return (input: unknown) => input as T;\n}\n","import { DynamoDB } from \"@aws-sdk/client-dynamodb\";\nimport { marshall, unmarshall } from \"@aws-sdk/util-dynamodb\";\nimport type {\n PlatformEntity,\n ExecutionEntry,\n ErrorEntry,\n} from \"./platform-types\";\nimport {\n ENV_PLATFORM_TABLE,\n dateBucket,\n computeTtl,\n} from \"./platform-types\";\n\nexport type PlatformClient = {\n appendExecution(handlerName: string, handlerType: \"http\" | \"table\" | \"app\" | \"fifo-queue\", entry: ExecutionEntry): Promise<void>;\n appendError(handlerName: string, handlerType: \"http\" | \"table\" | \"app\" | \"fifo-queue\", entry: ErrorEntry): Promise<void>;\n get<T extends PlatformEntity>(pk: string, sk: string): Promise<T | undefined>;\n query<T extends PlatformEntity>(pk: string, skPrefix?: string): Promise<T[]>;\n put(entity: PlatformEntity): Promise<void>;\n tableName: string;\n};\n\nexport const createPlatformClient = (): PlatformClient | undefined => {\n const tableName = process.env[ENV_PLATFORM_TABLE];\n if (!tableName) return undefined;\n\n let client: DynamoDB | null = null;\n const getClient = () => (client ??= new DynamoDB({}));\n\n const appendToList = async (\n handlerName: string,\n handlerType: \"http\" | \"table\" | \"app\" | \"fifo-queue\",\n listAttr: \"executions\" | \"errors\",\n entry: ExecutionEntry | ErrorEntry\n ): Promise<void> => {\n const sk = `EXEC#${dateBucket()}`;\n\n try {\n await getClient().updateItem({\n TableName: tableName,\n Key: marshall({ pk: `HANDLER#${handlerName}`, sk }),\n UpdateExpression:\n \"SET #list = list_append(if_not_exists(#list, :empty), :entry), \" +\n \"#type = :type, #hn = :hn, #ht = :ht, #ttl = :ttl\",\n ExpressionAttributeNames: {\n \"#list\": listAttr,\n \"#type\": \"type\",\n \"#hn\": \"handlerName\",\n \"#ht\": \"handlerType\",\n \"#ttl\": \"ttl\",\n },\n ExpressionAttributeValues: marshall(\n {\n \":entry\": [entry],\n \":empty\": [],\n \":type\": \"execution-log\",\n \":hn\": handlerName,\n \":ht\": handlerType,\n \":ttl\": computeTtl(),\n },\n { removeUndefinedValues: true }\n ),\n });\n } catch (err) {\n console.error(\"[effortless] Failed to write platform record:\", err);\n }\n };\n\n return {\n tableName,\n\n async appendExecution(handlerName, handlerType, entry) {\n await appendToList(handlerName, handlerType, \"executions\", entry);\n },\n\n async appendError(handlerName, handlerType, entry) {\n await appendToList(handlerName, handlerType, \"errors\", entry);\n },\n\n async get<T extends PlatformEntity>(pk: string, sk: string): Promise<T | undefined> {\n const result = await getClient().getItem({\n TableName: tableName,\n Key: marshall({ pk, sk }),\n });\n return result.Item ? (unmarshall(result.Item) as T) : undefined;\n },\n\n async query<T extends PlatformEntity>(pk: string, skPrefix?: string): Promise<T[]> {\n const names: Record<string, string> = { \"#pk\": \"pk\" };\n const values: Record<string, unknown> = { \":pk\": pk };\n let keyCondition = \"#pk = :pk\";\n\n if (skPrefix) {\n names[\"#sk\"] = \"sk\";\n values[\":sk\"] = skPrefix;\n keyCondition += \" AND begins_with(#sk, :sk)\";\n }\n\n const result = await getClient().query({\n TableName: tableName,\n KeyConditionExpression: keyCondition,\n ExpressionAttributeNames: names,\n ExpressionAttributeValues: marshall(values, { removeUndefinedValues: true }),\n });\n\n return (result.Items ?? []).map(item => unmarshall(item) as T);\n },\n\n async put(entity: PlatformEntity) {\n try {\n await getClient().putItem({\n TableName: tableName,\n Item: marshall(entity as Record<string, unknown>, { removeUndefinedValues: true }),\n });\n } catch (err) {\n console.error(\"[effortless] Failed to write platform record:\", err);\n }\n },\n };\n};\n","export const ENV_PLATFORM_TABLE = \"EFF_PLATFORM_TABLE\";\n\nexport const DEFAULT_TTL_SECONDS = 7 * 24 * 60 * 60; // 7 days\n\n// ============ Base ============\n\nexport type BasePlatformEntity = {\n pk: string;\n sk: string;\n type: string;\n ttl?: number;\n};\n\n// ============ Execution Log ============\n\nexport type ExecutionEntry = {\n id: string;\n ts: string;\n ms: number;\n in: unknown;\n out?: unknown;\n};\n\nexport type ErrorEntry = {\n id: string;\n ts: string;\n ms: number;\n in: unknown;\n err: string;\n};\n\nexport type ExecutionLogEntity = BasePlatformEntity & {\n type: \"execution-log\";\n handlerName: string;\n handlerType: \"http\" | \"table\" | \"app\" | \"fifo-queue\";\n executions: ExecutionEntry[];\n errors: ErrorEntry[];\n};\n\n// ============ Discriminated Union ============\n\nexport type PlatformEntity =\n | ExecutionLogEntity;\n // future: | IdempotencyEntity | HandlerMetaEntity\n\n// ============ Helpers ============\n\nexport const truncateForStorage = (value: unknown, maxLength = 4096): unknown => {\n if (value === undefined || value === null) return value;\n const str = typeof value === \"string\" ? value : JSON.stringify(value);\n if (str.length <= maxLength) return value;\n return str.slice(0, maxLength) + \"...[truncated]\";\n};\n\nexport const dateBucket = (date = new Date()): string =>\n date.toISOString().slice(0, 10);\n\nexport const computeTtl = (ttlSeconds = DEFAULT_TTL_SECONDS): number =>\n Math.floor(Date.now() / 1000) + ttlSeconds;\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/config.ts","../src/handlers/define-http.ts","../src/handlers/define-table.ts","../src/handlers/define-app.ts","../src/handlers/define-static-site.ts","../src/handlers/define-fifo-queue.ts","../src/deploy/shared.ts","../src/aws/lambda.ts","../src/aws/clients/index.ts","../src/aws/clients/apigatewayv2.ts","../src/aws/clients/cloudfront.ts","../src/aws/clients/cloudwatch-logs.ts","../src/aws/clients/dynamodb.ts","../src/aws/clients/iam.ts","../src/aws/clients/lambda.ts","../src/aws/clients/resource-groups-tagging-api.ts","../src/aws/clients/s3.ts","../src/aws/clients/sqs.ts","../src/aws/clients/ssm.ts","../src/aws/iam.ts","../src/aws/tags.ts","../src/aws/dynamodb.ts","../src/aws/apigateway.ts","../src/aws/layer.ts","../src/aws/s3.ts","../src/aws/cloudfront.ts","../src/aws/sqs.ts","../src/aws/index.ts","../src/build/bundle.ts","../src/build/handler-registry.ts"],"sourcesContent":["/**\n * Configuration for an Effortless project.\n *\n * @example\n * ```typescript\n * // effortless.config.ts\n * import { defineConfig } from \"effortless-aws\";\n *\n * export default defineConfig({\n * name: \"my-service\",\n * region: \"eu-central-1\",\n * handlers: \"src\",\n * });\n * ```\n */\nexport type EffortlessConfig = {\n /**\n * Project name used for resource naming and tagging.\n * This becomes part of Lambda function names, IAM roles, etc.\n */\n name: string;\n\n /**\n * Default AWS region for all handlers.\n * Can be overridden per-handler or via CLI `--region` flag.\n * @default \"eu-central-1\"\n */\n region?: string;\n\n /**\n * Deployment stage (e.g., \"dev\", \"staging\", \"prod\").\n * Used for resource isolation and tagging.\n * @default \"dev\"\n */\n stage?: string;\n\n /**\n * Glob patterns or directory paths to scan for handlers.\n * Used by `eff deploy` (without file argument) to auto-discover handlers.\n *\n * @example\n * ```typescript\n * // Single directory - scans for all .ts files\n * handlers: \"src\"\n *\n * // Glob patterns\n * handlers: [\"src/**\\/*.ts\", \"lib/**\\/*.handler.ts\"]\n * ```\n */\n handlers?: string | string[];\n\n /**\n * Default settings applied to all handlers unless overridden.\n *\n * All Lambdas run on ARM64 (Graviton2) architecture — ~20% cheaper than x86_64\n * with better price-performance for most workloads.\n */\n defaults?: {\n /**\n * Lambda memory in MB. AWS allocates proportional CPU —\n * 1769 MB gives one full vCPU.\n * @default 256\n */\n memory?: number;\n\n /**\n * Lambda timeout as a human-readable string.\n * AWS maximum is 15 minutes.\n * @example \"30 seconds\", \"5 minutes\"\n */\n timeout?: string;\n\n /**\n * Node.js Lambda runtime version.\n * @default \"nodejs24.x\"\n */\n runtime?: string;\n };\n};\n\n/**\n * Helper function for type-safe configuration.\n * Returns the config object as-is, but provides TypeScript autocompletion.\n *\n * @example\n * ```typescript\n * import { defineConfig } from \"effortless-aws\";\n *\n * export default defineConfig({\n * name: \"my-service\",\n * region: \"eu-central-1\",\n * handlers: \"src\",\n * });\n * ```\n */\nexport const defineConfig = (config: EffortlessConfig): EffortlessConfig => config;\n","import type { LambdaWithPermissions, AnyParamRef, ResolveParams } from \"../deploy/shared\";\nimport type { TableHandler } from \"./define-table\";\nimport type { TableClient } from \"../runtime/table-client\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\nexport type ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/** HTTP methods supported by API Gateway */\nexport type HttpMethod = \"GET\" | \"POST\" | \"PUT\" | \"DELETE\" | \"PATCH\";\n\n/** Short content-type aliases for common response formats */\nexport type ContentType = \"json\" | \"html\" | \"text\" | \"css\" | \"js\" | \"xml\" | \"csv\" | \"svg\";\n\n/**\n * Incoming HTTP request object passed to the handler\n */\nexport type HttpRequest = {\n /** HTTP method (GET, POST, etc.) */\n method: string;\n /** Request path (e.g., \"/users/123\") */\n path: string;\n /** Request headers */\n headers: Record<string, string | undefined>;\n /** Query string parameters */\n query: Record<string, string | undefined>;\n /** Path parameters extracted from route (e.g., {id} -> params.id) */\n params: Record<string, string | undefined>;\n /** Parsed request body (JSON parsed if Content-Type is application/json) */\n body: unknown;\n /** Raw unparsed request body */\n rawBody?: string;\n};\n\n/**\n * HTTP response returned from the handler\n */\nexport type HttpResponse = {\n /** HTTP status code (e.g., 200, 404, 500) */\n status: number;\n /** Response body — JSON-serialized by default, or sent as string when contentType is set */\n body?: unknown;\n /**\n * Short content-type alias. Resolves to full MIME type automatically:\n * - `\"json\"` → `application/json` (default if omitted)\n * - `\"html\"` → `text/html; charset=utf-8`\n * - `\"text\"` → `text/plain; charset=utf-8`\n * - `\"css\"` → `text/css; charset=utf-8`\n * - `\"js\"` → `application/javascript; charset=utf-8`\n * - `\"xml\"` → `application/xml; charset=utf-8`\n * - `\"csv\"` → `text/csv; charset=utf-8`\n * - `\"svg\"` → `image/svg+xml; charset=utf-8`\n */\n contentType?: ContentType;\n /** Response headers (use for custom content-types not covered by contentType) */\n headers?: Record<string, string>;\n};\n\n/**\n * Configuration options extracted from DefineHttpOptions (without onRequest callback)\n */\nexport type HttpConfig = LambdaWithPermissions & {\n /** HTTP method for the route */\n method: HttpMethod;\n /** Route path (e.g., \"/api/users\", \"/api/users/{id}\") */\n path: string;\n};\n\n/**\n * Handler function type for HTTP endpoints\n *\n * @typeParam T - Type of the validated request body (from schema function)\n * @typeParam C - Type of the context/dependencies (from context function)\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n */\nexport type HttpHandlerFn<T = undefined, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { req: HttpRequest }\n & ([T] extends [undefined] ? {} : { data: T })\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<HttpResponse>;\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Options for defining an HTTP endpoint\n *\n * @typeParam T - Type of the validated request body (inferred from schema function)\n * @typeParam C - Type of the context/dependencies returned by context function\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n */\nexport type DefineHttpOptions<\n T = undefined,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> = HttpConfig & {\n /**\n * Decode/validate function for the request body.\n * Called with the parsed body; should return typed data or throw on validation failure.\n * When provided, the handler receives validated `data` and invalid requests get a 400 response.\n *\n * Works with any validation library:\n * - Effect: `S.decodeUnknownSync(MySchema)`\n * - Zod: `(body) => myZodSchema.parse(body)`\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when schema validation or onRequest throws.\n * Receives the error and request, returns an HttpResponse.\n * If not provided, defaults to 400 for validation errors and 500 for handler errors.\n */\n onError?: (error: unknown, req: HttpRequest) => HttpResponse;\n /**\n * Factory function to create context/dependencies for the request handler.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n * Supports both sync and async return values.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n * Typed values are injected into the handler via the `params` argument.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n /** HTTP request handler function */\n onRequest: HttpHandlerFn<T, C, D, P, S>;\n};\n\n/**\n * Internal handler object created by defineHttp\n * @internal\n */\nexport type HttpHandler<T = undefined, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-http\";\n readonly config: HttpConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown, req: HttpRequest) => HttpResponse;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onRequest: HttpHandlerFn<T, C, D, P, S>;\n};\n\n/**\n * Define an HTTP endpoint that creates an API Gateway route + Lambda function\n *\n * @typeParam T - Type of the validated request body (inferred from schema function)\n * @typeParam C - Type of the context/dependencies (inferred from context function)\n * @typeParam D - Type of the deps (from deps declaration)\n * @typeParam P - Type of the params (from params declaration)\n * @param options - Configuration, optional schema, optional context factory, and request handler\n * @returns Handler object used by the deployment system\n *\n * @example Basic GET endpoint\n * ```typescript\n * export const hello = defineHttp({\n * method: \"GET\",\n * path: \"/hello\",\n * onRequest: async ({ req }) => ({\n * status: 200,\n * body: { message: \"Hello World!\" }\n * })\n * });\n * ```\n *\n * @example With SSM parameters\n * ```typescript\n * import { param } from \"effortless-aws\";\n *\n * export const api = defineHttp({\n * method: \"GET\",\n * path: \"/orders\",\n * params: {\n * dbUrl: param(\"database-url\"),\n * },\n * context: async ({ params }) => ({\n * pool: createPool(params.dbUrl),\n * }),\n * onRequest: async ({ req, ctx, params }) => ({\n * status: 200,\n * body: { dbUrl: params.dbUrl }\n * })\n * });\n * ```\n */\nexport const defineHttp = <\n T = undefined,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineHttpOptions<T, C, D, P, S>\n): HttpHandler<T, C, D, P, S> => {\n const { onRequest, onError, context, schema, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-http\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n onRequest\n } as HttpHandler<T, C, D, P, S>;\n};\n","import type { LambdaWithPermissions, AnyParamRef, ResolveParams } from \"../deploy/shared\";\nimport type { TableClient } from \"../runtime/table-client\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\ntype ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/** DynamoDB attribute types for keys */\nexport type KeyType = \"string\" | \"number\" | \"binary\";\n\n/**\n * DynamoDB table key definition\n */\nexport type TableKey = {\n /** Attribute name */\n name: string;\n /** Attribute type */\n type: KeyType;\n};\n\n/** DynamoDB Streams view type - determines what data is captured in stream records */\nexport type StreamView = \"NEW_AND_OLD_IMAGES\" | \"NEW_IMAGE\" | \"OLD_IMAGE\" | \"KEYS_ONLY\";\n\n/**\n * Configuration options extracted from DefineTableOptions (without onRecord/context)\n */\nexport type TableConfig = LambdaWithPermissions & {\n /** Partition key definition */\n pk: TableKey;\n /** Sort key definition (optional) */\n sk?: TableKey;\n /** DynamoDB billing mode (default: \"PAY_PER_REQUEST\") */\n billingMode?: \"PAY_PER_REQUEST\" | \"PROVISIONED\";\n /** TTL attribute name for automatic item expiration */\n ttlAttribute?: string;\n /** Stream view type - what data to include in stream records (default: \"NEW_AND_OLD_IMAGES\") */\n streamView?: StreamView;\n /** Number of records to process in each Lambda invocation (1-10000, default: 100) */\n batchSize?: number;\n /** Maximum time in seconds to gather records before invoking (0-300, default: 2) */\n batchWindow?: number;\n /** Where to start reading the stream (default: \"LATEST\") */\n startingPosition?: \"LATEST\" | \"TRIM_HORIZON\";\n};\n\n/**\n * DynamoDB stream record passed to onRecord callback\n *\n * @typeParam T - Type of the table items (new/old values)\n */\nexport type TableRecord<T = Record<string, unknown>> = {\n /** Type of modification: INSERT, MODIFY, or REMOVE */\n eventName: \"INSERT\" | \"MODIFY\" | \"REMOVE\";\n /** New item value (present for INSERT and MODIFY) */\n new?: T;\n /** Old item value (present for MODIFY and REMOVE) */\n old?: T;\n /** Primary key of the affected item */\n keys: Record<string, unknown>;\n /** Sequence number for ordering */\n sequenceNumber?: string;\n /** Approximate timestamp when the modification occurred */\n timestamp?: number;\n};\n\n/**\n * Information about a failed record during batch processing\n *\n * @typeParam T - Type of the table items\n */\nexport type FailedRecord<T = Record<string, unknown>> = {\n /** The record that failed to process */\n record: TableRecord<T>;\n /** The error that occurred */\n error: unknown;\n};\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Callback function type for processing a single DynamoDB stream record\n */\nexport type TableRecordFn<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { record: TableRecord<T>; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<R>;\n\n/**\n * Callback function type for processing accumulated batch results\n */\nexport type TableBatchCompleteFn<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { results: R[]; failures: FailedRecord<T>[]; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/**\n * Callback function type for processing all records in a batch at once\n */\nexport type TableBatchFn<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { records: TableRecord<T>[]; table: TableClient<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/** Base options shared by all defineTable variants */\ntype DefineTableBase<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = TableConfig & {\n /**\n * Decode/validate function for stream record items (new/old images).\n * Called with the unmarshalled DynamoDB item; should return typed data or throw on validation failure.\n * When provided, T is inferred from the return type — no need to specify generic parameters.\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when onRecord, onBatch, or onBatchComplete throws.\n * Receives the error. If not provided, defaults to `console.error`.\n */\n onError?: (error: unknown) => void;\n /**\n * Factory function to create context/dependencies for callbacks.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n * Supports both sync and async return values.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n * Typed values are injected into the handler via the `params` argument.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n};\n\n/** Per-record processing: onRecord with optional onBatchComplete */\ntype DefineTableWithOnRecord<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onRecord: TableRecordFn<T, C, R, D, P, S>;\n onBatchComplete?: TableBatchCompleteFn<T, C, R, D, P, S>;\n onBatch?: never;\n};\n\n/** Batch processing: onBatch processes all records at once */\ntype DefineTableWithOnBatch<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onBatch: TableBatchFn<T, C, D, P, S>;\n onRecord?: never;\n onBatchComplete?: never;\n};\n\n/** Resource-only: no handler, just creates the table */\ntype DefineTableResourceOnly<T = Record<string, unknown>, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineTableBase<T, C, D, P, S> & {\n onRecord?: never;\n onBatch?: never;\n onBatchComplete?: never;\n};\n\nexport type DefineTableOptions<\n T = Record<string, unknown>,\n C = undefined,\n R = void,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> =\n | DefineTableWithOnRecord<T, C, R, D, P, S>\n | DefineTableWithOnBatch<T, C, D, P, S>\n | DefineTableResourceOnly<T, C, D, P, S>;\n\n/**\n * Internal handler object created by defineTable\n * @internal\n */\nexport type TableHandler<T = Record<string, unknown>, C = undefined, R = void, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-table\";\n readonly config: TableConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown) => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onRecord?: TableRecordFn<T, C, R, D, P, S>;\n readonly onBatchComplete?: TableBatchCompleteFn<T, C, R, D, P, S>;\n readonly onBatch?: TableBatchFn<T, C, D, P, S>;\n};\n\n/**\n * Define a DynamoDB table with optional stream handler\n *\n * Creates:\n * - DynamoDB table with specified key schema\n * - (If onRecord or onBatch provided) DynamoDB Stream + Lambda + Event Source Mapping\n *\n * @example Table with stream handler (typed)\n * ```typescript\n * type Order = { id: string; amount: number; status: string };\n *\n * export const orders = defineTable<Order>({\n * pk: { name: \"id\", type: \"string\" },\n * streamView: \"NEW_AND_OLD_IMAGES\",\n * batchSize: 10,\n * onRecord: async ({ record }) => {\n * if (record.eventName === \"INSERT\") {\n * console.log(\"New order:\", record.new?.amount);\n * }\n * }\n * });\n * ```\n *\n * @example Table only (no Lambda)\n * ```typescript\n * export const users = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * sk: { name: \"email\", type: \"string\" }\n * });\n * ```\n */\nexport const defineTable = <\n T = Record<string, unknown>,\n C = undefined,\n R = void,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineTableOptions<T, C, R, D, P, S>\n): TableHandler<T, C, R, D, P, S> => {\n const { onRecord, onBatchComplete, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-table\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n ...(onRecord ? { onRecord } : {}),\n ...(onBatchComplete ? { onBatchComplete } : {}),\n ...(onBatch ? { onBatch } : {})\n } as TableHandler<T, C, R, D, P, S>;\n};\n","import type { LambdaConfig } from \"../deploy/shared\";\n\n/**\n * Configuration for a Lambda-served static site (API Gateway + Lambda)\n */\nexport type AppConfig = LambdaConfig & {\n /** Base URL path the site is served under (e.g., \"/app\") */\n path?: string;\n /** Directory containing the static site files, relative to project root */\n dir: string;\n /** Default file for directory requests (default: \"index.html\") */\n index?: string;\n /** SPA mode: serve index.html for all paths that don't match a file (default: false) */\n spa?: boolean;\n /** Shell command to run before deploy to generate site content (e.g., \"npx astro build\") */\n build?: string;\n};\n\n/**\n * Internal handler object created by defineApp\n * @internal\n */\nexport type AppHandler = {\n readonly __brand: \"effortless-app\";\n readonly config: AppConfig;\n};\n\n/**\n * Deploy a static site via Lambda + API Gateway.\n * Files are bundled into the Lambda ZIP and served with auto-detected content types.\n *\n * For CDN-backed sites (S3 + CloudFront), use {@link defineStaticSite} instead.\n *\n * @param options - Site configuration: path, directory, optional SPA mode\n * @returns Handler object used by the deployment system\n *\n * @example Basic static site\n * ```typescript\n * export const app = defineApp({\n * path: \"/app\",\n * dir: \"src/webapp\",\n * });\n * ```\n */\nexport const defineApp = (options: AppConfig): AppHandler => ({\n __brand: \"effortless-app\",\n config: options,\n});\n","/**\n * Configuration for a static site handler (S3 + CloudFront)\n */\nexport type StaticSiteConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** Directory containing the static site files, relative to project root */\n dir: string;\n /** Default file for directory requests (default: \"index.html\") */\n index?: string;\n /** SPA mode: serve index.html for all paths that don't match a file (default: false) */\n spa?: boolean;\n /** Shell command to run before deploy to generate site content (e.g., \"npx astro build\") */\n build?: string;\n};\n\n/**\n * Internal handler object created by defineStaticSite\n * @internal\n */\nexport type StaticSiteHandler = {\n readonly __brand: \"effortless-static-site\";\n readonly config: StaticSiteConfig;\n};\n\n/**\n * Deploy a static site via S3 + CloudFront CDN.\n *\n * @param options - Static site configuration: directory, optional SPA mode, build command\n * @returns Handler object used by the deployment system\n *\n * @example Documentation site\n * ```typescript\n * export const docs = defineStaticSite({\n * dir: \"dist\",\n * build: \"npx astro build\",\n * });\n * ```\n *\n * @example SPA with client-side routing\n * ```typescript\n * export const app = defineStaticSite({\n * dir: \"dist\",\n * spa: true,\n * build: \"npm run build\",\n * });\n * ```\n */\nexport const defineStaticSite = (options: StaticSiteConfig): StaticSiteHandler => ({\n __brand: \"effortless-static-site\",\n config: options,\n});\n","import type { LambdaWithPermissions, AnyParamRef, ResolveParams } from \"../deploy/shared\";\nimport type { TableHandler } from \"./define-table\";\nimport type { TableClient } from \"~/runtime/table-client\";\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyTableHandler = TableHandler<any, any, any, any, any, any>;\n\n/** Maps a deps declaration to resolved runtime client types */\ntype ResolveDeps<D> = {\n [K in keyof D]: D[K] extends TableHandler<infer T, any, any, any, any> ? TableClient<T> : never;\n};\n\n/**\n * Parsed SQS FIFO message passed to the handler callbacks.\n *\n * @typeParam T - Type of the decoded message body (from schema function)\n */\nexport type FifoQueueMessage<T = unknown> = {\n /** Unique message identifier */\n messageId: string;\n /** Receipt handle for acknowledgement */\n receiptHandle: string;\n /** Parsed message body (JSON-decoded, then optionally schema-validated) */\n body: T;\n /** Raw unparsed message body string */\n rawBody: string;\n /** Message group ID (FIFO ordering key) */\n messageGroupId: string;\n /** Message deduplication ID */\n messageDeduplicationId?: string;\n /** SQS message attributes */\n messageAttributes: Record<string, { dataType?: string; stringValue?: string }>;\n /** Approximate first receive timestamp */\n approximateFirstReceiveTimestamp?: string;\n /** Approximate receive count */\n approximateReceiveCount?: string;\n /** Sent timestamp */\n sentTimestamp?: string;\n};\n\n/**\n * Configuration options for a FIFO queue handler\n */\nexport type FifoQueueConfig = LambdaWithPermissions & {\n /** Number of messages per Lambda invocation (1-10 for FIFO, default: 10) */\n batchSize?: number;\n /** Maximum time in seconds to gather messages before invoking (0-300, default: 0) */\n batchWindow?: number;\n /** Visibility timeout in seconds (default: max of timeout or 30) */\n visibilityTimeout?: number;\n /** Message retention period in seconds (60-1209600, default: 345600 = 4 days) */\n retentionPeriod?: number;\n /** Enable content-based deduplication (default: true) */\n contentBasedDeduplication?: boolean;\n};\n\n/**\n * Context factory type — conditional on whether params are declared.\n * Without params: `() => C | Promise<C>`\n * With params: `(args: { params: ResolveParams<P> }) => C | Promise<C>`\n */\ntype ContextFactory<C, P> = [P] extends [undefined]\n ? () => C | Promise<C>\n : (args: { params: ResolveParams<P & {}> }) => C | Promise<C>;\n\n/**\n * Per-message handler function.\n * Called once per message in the batch. Failures are reported individually.\n */\nexport type FifoQueueMessageFn<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { message: FifoQueueMessage<T> }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/**\n * Batch handler function.\n * Called once with all messages in the batch.\n */\nexport type FifoQueueBatchFn<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> =\n (args: { messages: FifoQueueMessage<T>[] }\n & ([C] extends [undefined] ? {} : { ctx: C })\n & ([D] extends [undefined] ? {} : { deps: ResolveDeps<D> })\n & ([P] extends [undefined] ? {} : { params: ResolveParams<P> })\n & ([S] extends [undefined] ? {} : { readStatic: (path: string) => string })\n ) => Promise<void>;\n\n/** Base options shared by all defineFifoQueue variants */\ntype DefineFifoQueueBase<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = FifoQueueConfig & {\n /**\n * Decode/validate function for the message body.\n * Called with the JSON-parsed body; should return typed data or throw on validation failure.\n */\n schema?: (input: unknown) => T;\n /**\n * Error handler called when onMessage or onBatch throws.\n * If not provided, defaults to `console.error`.\n */\n onError?: (error: unknown) => void;\n /**\n * Factory function to create context/dependencies for the handler.\n * Called once on cold start, result is cached and reused across invocations.\n * When params are declared, receives resolved params as argument.\n */\n context?: ContextFactory<C, P>;\n /**\n * Dependencies on other handlers (tables, queues, etc.).\n * Typed clients are injected into the handler via the `deps` argument.\n */\n deps?: D;\n /**\n * SSM Parameter Store parameters.\n * Declare with `param()` helper. Values are fetched and cached at cold start.\n */\n params?: P;\n /**\n * Static file glob patterns to bundle into the Lambda ZIP.\n * Files are accessible at runtime via the `readStatic` callback argument.\n */\n static?: S;\n};\n\n/** Per-message processing */\ntype DefineFifoQueueWithOnMessage<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineFifoQueueBase<T, C, D, P, S> & {\n onMessage: FifoQueueMessageFn<T, C, D, P, S>;\n onBatch?: never;\n};\n\n/** Batch processing: all messages at once */\ntype DefineFifoQueueWithOnBatch<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = DefineFifoQueueBase<T, C, D, P, S> & {\n onBatch: FifoQueueBatchFn<T, C, D, P, S>;\n onMessage?: never;\n};\n\nexport type DefineFifoQueueOptions<\n T = unknown,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n> =\n | DefineFifoQueueWithOnMessage<T, C, D, P, S>\n | DefineFifoQueueWithOnBatch<T, C, D, P, S>;\n\n/**\n * Internal handler object created by defineFifoQueue\n * @internal\n */\nexport type FifoQueueHandler<T = unknown, C = undefined, D = undefined, P = undefined, S extends string[] | undefined = undefined> = {\n readonly __brand: \"effortless-fifo-queue\";\n readonly config: FifoQueueConfig;\n readonly schema?: (input: unknown) => T;\n readonly onError?: (error: unknown) => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n readonly context?: (...args: any[]) => C | Promise<C>;\n readonly deps?: D;\n readonly params?: P;\n readonly static?: string[];\n readonly onMessage?: FifoQueueMessageFn<T, C, D, P, S>;\n readonly onBatch?: FifoQueueBatchFn<T, C, D, P, S>;\n};\n\n/**\n * Define a FIFO SQS queue with a Lambda message handler\n *\n * Creates:\n * - SQS FIFO queue (with `.fifo` suffix)\n * - Lambda function triggered by the queue\n * - Event source mapping with partial batch failure support\n *\n * @example Per-message processing\n * ```typescript\n * type OrderEvent = { orderId: string; action: string };\n *\n * export const orderQueue = defineFifoQueue<OrderEvent>({\n * onMessage: async ({ message }) => {\n * console.log(\"Processing order:\", message.body.orderId);\n * }\n * });\n * ```\n *\n * @example Batch processing with schema\n * ```typescript\n * export const notifications = defineFifoQueue({\n * schema: (input) => NotificationSchema.parse(input),\n * batchSize: 5,\n * onBatch: async ({ messages }) => {\n * await sendAll(messages.map(m => m.body));\n * }\n * });\n * ```\n */\nexport const defineFifoQueue = <\n T = unknown,\n C = undefined,\n D extends Record<string, AnyTableHandler> | undefined = undefined,\n P extends Record<string, AnyParamRef> | undefined = undefined,\n S extends string[] | undefined = undefined\n>(\n options: DefineFifoQueueOptions<T, C, D, P, S>\n): FifoQueueHandler<T, C, D, P, S> => {\n const { onMessage, onBatch, onError, schema, context, deps, params, static: staticFiles, ...config } = options;\n return {\n __brand: \"effortless-fifo-queue\",\n config,\n ...(schema ? { schema } : {}),\n ...(onError ? { onError } : {}),\n ...(context ? { context } : {}),\n ...(deps ? { deps } : {}),\n ...(params ? { params } : {}),\n ...(staticFiles ? { static: staticFiles } : {}),\n ...(onMessage ? { onMessage } : {}),\n ...(onBatch ? { onBatch } : {})\n } as FifoQueueHandler<T, C, D, P, S>;\n};\n","import { Effect } from \"effect\";\nimport * as fs from \"fs/promises\";\nimport * as path from \"path\";\nimport {\n ensureRole,\n ensureLambda,\n type LambdaStatus,\n makeTags,\n resolveStage,\n type TagContext,\n ensureLayer,\n readProductionDependencies,\n collectLayerPackages\n} from \"../aws\";\nimport { bundle, zip, resolveStaticFiles, type BundleInput } from \"~/build/bundle\";\n\n// ============ Common types ============\n\nexport type DeployResult = {\n exportName: string;\n url: string;\n functionArn: string;\n};\n\nexport type DeployTableResult = {\n exportName: string;\n functionArn: string;\n status: LambdaStatus;\n tableArn: string;\n streamArn: string;\n};\n\nexport type DeployAllResult = {\n apiId: string;\n apiUrl: string;\n handlers: DeployResult[];\n};\n\nexport type DeployInput = BundleInput & {\n project: string;\n stage?: string;\n region: string;\n exportName?: string;\n};\n\n// ============ Shared utilities ============\n\nexport const readSource = (input: DeployInput): Effect.Effect<string> =>\n Effect.gen(function* () {\n if (\"code\" in input && typeof input.code === \"string\") {\n return input.code;\n }\n const filePath = path.isAbsolute(input.file)\n ? input.file\n : path.join(input.projectDir, input.file);\n return yield* Effect.promise(() => fs.readFile(filePath, \"utf-8\"));\n });\n\nexport type LayerInfo = {\n layerArn: string | undefined;\n external: string[];\n};\n\nexport const ensureLayerAndExternal = (input: {\n project: string;\n stage: string;\n region: string;\n projectDir: string;\n}) =>\n Effect.gen(function* () {\n const layerResult = yield* ensureLayer({\n project: input.project,\n stage: input.stage,\n region: input.region,\n projectDir: input.projectDir\n });\n\n const prodDeps = layerResult\n ? yield* readProductionDependencies(input.projectDir)\n : [];\n const { packages: external, warnings: layerWarnings } = prodDeps.length > 0\n ? yield* Effect.sync(() => collectLayerPackages(input.projectDir, prodDeps))\n : { packages: [] as string[], warnings: [] as string[] };\n\n for (const warning of layerWarnings) {\n yield* Effect.logWarning(`[layer] ${warning}`);\n }\n\n return {\n layerArn: layerResult?.layerVersionArn,\n external\n };\n });\n\n// ============ Core Lambda deployment ============\n\nexport type DeployCoreLambdaInput = {\n input: DeployInput;\n exportName: string;\n handlerName: string;\n permissions?: readonly string[];\n defaultPermissions?: readonly string[];\n memory?: number;\n timeout?: number;\n bundleType?: \"http\" | \"table\" | \"app\" | \"fifoQueue\";\n layerArn?: string;\n external?: string[];\n /** Environment variables to set on the Lambda (e.g., for deps) */\n depsEnv?: Record<string, string>;\n /** Additional IAM permissions for deps access */\n depsPermissions?: readonly string[];\n /** Static file glob patterns to bundle into the Lambda ZIP */\n staticGlobs?: string[];\n};\n\nexport const deployCoreLambda = ({\n input,\n exportName,\n handlerName,\n permissions,\n defaultPermissions,\n memory = 256,\n timeout = 30,\n bundleType,\n layerArn,\n external,\n depsEnv,\n depsPermissions,\n staticGlobs\n}: DeployCoreLambdaInput) =>\n Effect.gen(function* () {\n const tagCtx: TagContext = {\n project: input.project,\n stage: resolveStage(input.stage),\n handler: handlerName\n };\n\n yield* Effect.logDebug(`Deploying Lambda: ${handlerName}`);\n\n if (external && external.length > 0) {\n yield* Effect.logDebug(`Using ${external.length} external packages: ${external.join(\", \")}`);\n }\n\n const mergedPermissions = [\n ...(defaultPermissions ?? []),\n ...(permissions ?? []),\n ...(depsPermissions ?? [])\n ];\n\n const roleArn = yield* ensureRole(\n input.project,\n tagCtx.stage,\n handlerName,\n mergedPermissions.length > 0 ? mergedPermissions : undefined,\n makeTags(tagCtx, \"iam-role\")\n );\n\n const bundled = yield* bundle({\n ...input,\n exportName,\n ...(bundleType ? { type: bundleType } : {}),\n ...(external && external.length > 0 ? { external } : {})\n });\n const staticFiles = staticGlobs && staticGlobs.length > 0\n ? resolveStaticFiles(staticGlobs, input.projectDir)\n : undefined;\n const code = yield* zip({ content: bundled, staticFiles });\n\n const environment: Record<string, string> = {\n EFF_PROJECT: input.project,\n EFF_STAGE: tagCtx.stage,\n EFF_HANDLER: handlerName,\n ...depsEnv\n };\n\n const { functionArn, status } = yield* ensureLambda({\n project: input.project,\n stage: tagCtx.stage,\n name: handlerName,\n region: input.region,\n roleArn,\n code,\n memory,\n timeout,\n tags: makeTags(tagCtx, \"lambda\"),\n ...(layerArn ? { layers: [layerArn] } : {}),\n environment\n });\n\n return { functionArn, status, tagCtx };\n });\n\n// ============ Permissions ============\n\ntype AwsService =\n | \"dynamodb\"\n | \"s3\"\n | \"sqs\"\n | \"sns\"\n | \"ses\"\n | \"ssm\"\n | \"lambda\"\n | \"events\"\n | \"secretsmanager\"\n | \"cognito-idp\"\n | \"logs\";\n\nexport type Permission = `${AwsService}:${string}` | (string & {});\n\n// ============ Lambda config ============\n\n/** Logging verbosity level for Lambda handlers */\nexport type LogLevel = \"error\" | \"info\" | \"debug\";\n\n/**\n * Common Lambda configuration shared by all handler types.\n */\nexport type LambdaConfig = {\n /** Handler name. Defaults to export name if not specified */\n name?: string;\n /** Lambda memory in MB (default: 256) */\n memory?: number;\n /** Lambda timeout in seconds (default: 30) */\n timeout?: number;\n /** Logging verbosity: \"error\" (errors only), \"info\" (+ execution summary), \"debug\" (+ input/output). Default: \"info\" */\n logLevel?: LogLevel;\n};\n\n/**\n * Lambda configuration with additional IAM permissions.\n * Used by handler types that support custom permissions (http, table, fifo-queue).\n */\nexport type LambdaWithPermissions = LambdaConfig & {\n /** Additional IAM permissions for the Lambda */\n permissions?: Permission[];\n};\n\n// ============ Params ============\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type AnyParamRef = ParamRef<any>;\n\n/**\n * Reference to an SSM Parameter Store parameter.\n *\n * @typeParam T - The resolved type after optional transform (default: string)\n */\nexport type ParamRef<T = string> = {\n readonly __brand: \"effortless-param\";\n readonly key: string;\n readonly transform?: (raw: string) => T;\n};\n\n/**\n * Maps a params declaration to resolved value types.\n *\n * @typeParam P - Record of param names to ParamRef instances\n */\nexport type ResolveParams<P> = {\n [K in keyof P]: P[K] extends ParamRef<infer T> ? T : never;\n};\n\n/**\n * Declare an SSM Parameter Store parameter.\n *\n * The key is combined with project and stage at deploy time to form the full\n * SSM path: `/${project}/${stage}/${key}`.\n *\n * @param key - Parameter key (e.g., \"database-url\")\n * @param transform - Optional function to transform the raw string value\n * @returns A ParamRef used by the deployment and runtime systems\n *\n * @example Simple string parameter\n * ```typescript\n * params: {\n * dbUrl: param(\"database-url\"),\n * }\n * ```\n *\n * @example With transform (e.g., TOML parsing)\n * ```typescript\n * import TOML from \"smol-toml\";\n *\n * params: {\n * config: param(\"app-config\", TOML.parse),\n * }\n * ```\n */\nexport function param(key: string): ParamRef<string>;\nexport function param<T>(key: string, transform: (raw: string) => T): ParamRef<T>;\nexport function param<T = string>(\n key: string,\n transform?: (raw: string) => T\n): ParamRef<T> {\n return {\n __brand: \"effortless-param\",\n key,\n ...(transform ? { transform } : {}),\n } as ParamRef<T>;\n}\n\n// ============ Typed helper ============\n\n/**\n * Type-only schema helper for handlers.\n *\n * Use this instead of explicit generic parameters like `defineTable<Order>(...)`.\n * It enables TypeScript to infer all generic types from the options object,\n * avoiding the partial-inference problem where specifying one generic\n * forces all others to their defaults.\n *\n * At runtime this is a no-op identity function — it simply returns the input unchanged.\n * The type narrowing happens entirely at the TypeScript level.\n *\n * @example Resource-only table\n * ```typescript\n * type User = { id: string; email: string };\n *\n * // Before (breaks inference for context, deps, params):\n * export const users = defineTable<User>({ pk: { name: \"id\", type: \"string\" } });\n *\n * // After (all generics inferred correctly):\n * export const users = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * schema: typed<User>(),\n * });\n * ```\n *\n * @example Table with stream handler\n * ```typescript\n * export const orders = defineTable({\n * pk: { name: \"id\", type: \"string\" },\n * schema: typed<Order>(),\n * context: async () => ({ db: createClient() }),\n * onRecord: async ({ record, ctx }) => {\n * // record.new is Order, ctx is { db: Client } — all inferred\n * },\n * });\n * ```\n */\nexport function typed<T>(): (input: unknown) => T {\n return (input: unknown) => input as T;\n}\n","import { Effect, Schedule } from \"effect\";\nimport { Architecture, Runtime } from \"@aws-sdk/client-lambda\";\nimport * as crypto from \"crypto\";\nimport { lambda } from \"./clients\";\nconst computeCodeHash = (code: Uint8Array): string =>\n crypto.createHash(\"sha256\").update(code).digest(\"base64\");\n\nexport type LambdaStatus = \"created\" | \"updated\" | \"unchanged\";\n\nexport type LambdaResult = {\n functionArn: string;\n status: LambdaStatus;\n};\n\nexport type LambdaConfig = {\n project: string;\n stage: string;\n name: string;\n region: string;\n roleArn: string;\n code: Uint8Array;\n /** Memory in MB. @default 256 */\n memory: number;\n /** Timeout in seconds. @default 30 */\n timeout: number;\n /** @default \"index.handler\" */\n handler?: string;\n /** @default Runtime.nodejs24x */\n runtime?: Runtime;\n tags?: Record<string, string>;\n layers?: string[];\n environment?: Record<string, string>;\n};\n\n/**\n * All Lambdas are deployed with ARM64 (Graviton2) architecture.\n * ~20% cheaper than x86_64 with better price-performance.\n */\n\nconst arraysEqual = (a: string[], b: string[]): boolean => {\n if (a.length !== b.length) return false;\n const sortedA = [...a].sort();\n const sortedB = [...b].sort();\n return sortedA.every((v, i) => v === sortedB[i]);\n};\n\nexport const ensureLambda = (\n config: LambdaConfig\n) =>\n Effect.gen(function* () {\n const functionName = `${config.project}-${config.stage}-${config.name}`;\n const memory = config.memory;\n const timeout = config.timeout;\n const handler = config.handler ?? \"index.handler\";\n const runtime = config.runtime ?? Runtime.nodejs24x;\n const layers = config.layers ?? [];\n const environment = config.environment ?? {};\n\n const existingFunction = yield* lambda.make(\"get_function\", {\n FunctionName: functionName\n }).pipe(\n Effect.map(r => r.Configuration),\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceNotFoundException\"),\n () => Effect.succeed(undefined)\n )\n );\n\n if (existingFunction) {\n const existingHash = existingFunction.CodeSha256;\n const newHash = computeCodeHash(config.code);\n const codeChanged = existingHash !== newHash;\n\n const existingLayers = existingFunction.Layers?.map(l => l.Arn!).filter(Boolean) ?? [];\n const layersChanged = !arraysEqual(existingLayers, layers);\n\n const existingEnv = existingFunction.Environment?.Variables ?? {};\n const envKeys = [...new Set([...Object.keys(existingEnv), ...Object.keys(environment)])].sort();\n const envChanged = envKeys.some(k => existingEnv[k] !== environment[k]);\n\n const existingArch = existingFunction.Architectures?.[0] ?? Architecture.x86_64;\n const archChanged = existingArch !== Architecture.arm64;\n\n const configChanged =\n existingFunction.MemorySize !== memory ||\n existingFunction.Timeout !== timeout ||\n existingFunction.Handler !== handler ||\n existingFunction.Runtime !== runtime ||\n layersChanged ||\n envChanged;\n\n if (!codeChanged && !archChanged && !configChanged) {\n yield* Effect.logDebug(`Function ${functionName} unchanged, skipping update`);\n return { functionArn: existingFunction.FunctionArn!, status: \"unchanged\" as const };\n }\n\n if (codeChanged || archChanged) {\n yield* Effect.logDebug(`Updating function code: ${functionName}`);\n\n yield* lambda.make(\"update_function_code\", {\n FunctionName: functionName,\n ZipFile: config.code,\n Architectures: [Architecture.arm64]\n });\n\n yield* waitForFunctionActive(functionName);\n } else {\n yield* Effect.logDebug(`Code unchanged: ${functionName}`);\n }\n\n if (configChanged) {\n yield* Effect.logDebug(`Updating function config: ${functionName}`);\n\n const updateConfig = lambda.make(\"update_function_configuration\", {\n FunctionName: functionName,\n MemorySize: memory,\n Timeout: timeout,\n Handler: handler,\n Runtime: runtime,\n Layers: layers.length > 0 ? layers : undefined,\n Environment: Object.keys(environment).length > 0 ? { Variables: environment } : undefined\n });\n\n yield* updateConfig.pipe(\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceConflictException\"),\n () => waitForFunctionActive(functionName).pipe(Effect.andThen(updateConfig))\n )\n );\n\n yield* waitForFunctionActive(functionName);\n }\n\n // Sync tags on existing function\n if (config.tags) {\n yield* lambda.make(\"tag_resource\", {\n Resource: existingFunction.FunctionArn!,\n Tags: config.tags\n });\n }\n\n return { functionArn: existingFunction.FunctionArn!, status: \"updated\" as const };\n }\n\n yield* Effect.logDebug(`Creating function: ${functionName}`);\n\n const createResult = yield* lambda.make(\"create_function\", {\n FunctionName: functionName,\n Role: config.roleArn,\n Code: {\n ZipFile: config.code\n },\n Handler: handler,\n Runtime: runtime,\n Architectures: [Architecture.arm64],\n MemorySize: memory,\n Timeout: timeout,\n Tags: config.tags,\n Layers: layers.length > 0 ? layers : undefined,\n Environment: Object.keys(environment).length > 0 ? { Variables: environment } : undefined\n });\n\n yield* waitForFunctionActive(functionName);\n\n return { functionArn: createResult.FunctionArn!, status: \"created\" as const };\n });\n\nconst waitForFunctionActive = (functionName: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Waiting for function ${functionName} to be active`);\n\n yield* Effect.retry(\n lambda.make(\"get_function\", { FunctionName: functionName }).pipe(\n Effect.flatMap(r => {\n const state = r.Configuration?.State;\n const updateStatus = r.Configuration?.LastUpdateStatus;\n if (state === \"Active\" && (!updateStatus || updateStatus === \"Successful\")) {\n return Effect.succeed(r);\n }\n return Effect.fail(new Error(`Function state: ${state}, update status: ${updateStatus}`));\n })\n ),\n {\n times: 15,\n schedule: Schedule.spaced(\"2 seconds\")\n }\n );\n\n yield* Effect.logDebug(`Function ${functionName} is active`);\n });\n\nexport const deleteLambda = (functionName: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting Lambda function: ${functionName}`);\n\n yield* lambda.make(\"delete_function\", {\n FunctionName: functionName\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceNotFoundException\"),\n () => Effect.logDebug(`Function ${functionName} not found, skipping`)\n )\n );\n });\n","import * as Layer from \"effect/Layer\";\nimport type { ApiGatewayV2ClientConfig } from \"@aws-sdk/client-apigatewayv2\";\nimport type { CloudFrontClientConfig } from \"@aws-sdk/client-cloudfront\";\nimport type { CloudWatchLogsClientConfig } from \"@aws-sdk/client-cloudwatch-logs\";\nimport type { DynamoDBClientConfig } from \"@aws-sdk/client-dynamodb\";\nimport type { IAMClientConfig } from \"@aws-sdk/client-iam\";\nimport type { LambdaClientConfig } from \"@aws-sdk/client-lambda\";\nimport type { ResourceGroupsTaggingAPIClientConfig } from \"@aws-sdk/client-resource-groups-tagging-api\";\nimport type { S3ClientConfig } from \"@aws-sdk/client-s3\";\nimport type { SQSClientConfig } from \"@aws-sdk/client-sqs\";\nimport type { SSMClientConfig } from \"@aws-sdk/client-ssm\";\nimport * as apigatewayv2 from \"./apigatewayv2.js\";\nimport * as cloudfront from \"./cloudfront.js\";\nimport * as cloudwatch_logs from \"./cloudwatch-logs.js\";\nimport * as dynamodb from \"./dynamodb.js\";\nimport * as iam from \"./iam.js\";\nimport * as lambda from \"./lambda.js\";\nimport * as resource_groups_tagging_api from \"./resource-groups-tagging-api.js\";\nimport * as s3 from \"./s3.js\";\nimport * as sqs from \"./sqs.js\";\nimport * as ssm from \"./ssm.js\";\n\n// ***** GENERATED CODE *****\nexport { apigatewayv2 };\nexport { cloudfront };\nexport { cloudwatch_logs };\nexport { dynamodb };\nexport { iam };\nexport { lambda };\nexport { resource_groups_tagging_api };\nexport { s3 };\nexport { sqs };\nexport { ssm };\n\nexport const AllClientsDefault = Layer.mergeAll(\n apigatewayv2.ApiGatewayV2Client.Default(),\n cloudfront.CloudFrontClient.Default(),\n cloudwatch_logs.CloudWatchLogsClient.Default(),\n dynamodb.DynamoDBClient.Default(),\n iam.IAMClient.Default(),\n lambda.LambdaClient.Default(),\n resource_groups_tagging_api.ResourceGroupsTaggingAPIClient.Default(),\n s3.S3Client.Default(),\n sqs.SQSClient.Default(),\n ssm.SSMClient.Default()\n);\n\nexport const makeClients = (config?: {\n apigatewayv2?: ApiGatewayV2ClientConfig,\n cloudfront?: CloudFrontClientConfig,\n cloudwatch_logs?: CloudWatchLogsClientConfig,\n dynamodb?: DynamoDBClientConfig,\n iam?: IAMClientConfig,\n lambda?: LambdaClientConfig,\n resource_groups_tagging_api?: ResourceGroupsTaggingAPIClientConfig,\n s3?: S3ClientConfig,\n sqs?: SQSClientConfig,\n ssm?: SSMClientConfig\n}) => Layer.mergeAll(\n apigatewayv2.ApiGatewayV2Client.Default(config?.apigatewayv2),\n cloudfront.CloudFrontClient.Default(config?.cloudfront),\n cloudwatch_logs.CloudWatchLogsClient.Default(config?.cloudwatch_logs),\n dynamodb.DynamoDBClient.Default(config?.dynamodb),\n iam.IAMClient.Default(config?.iam),\n lambda.LambdaClient.Default(config?.lambda),\n resource_groups_tagging_api.ResourceGroupsTaggingAPIClient.Default(config?.resource_groups_tagging_api),\n s3.S3Client.Default(config?.s3),\n sqs.SQSClient.Default(config?.sqs),\n ssm.SSMClient.Default(config?.ssm)\n);\n \n \n\n\n\n\n\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-apigatewayv2\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class ApiGatewayV2Client extends Context.Tag('ApiGatewayV2Client')<ApiGatewayV2Client, Sdk.ApiGatewayV2Client>() {\n\n static Default = (\n config?: Sdk.ApiGatewayV2ClientConfig\n ) =>\n Layer.effect(\n ApiGatewayV2Client,\n Effect.gen(function*() {\n return new Sdk.ApiGatewayV2Client(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS ApiGatewayV2 command.\n *\n * @param actionName - The name of the ApiGatewayV2 command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { apigatewayv2 } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* apigatewayv2.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_ApiGatewayV2')(function* <M extends keyof ApiGatewayV2Api>(\n actionName: M, actionInput: ApiGatewayV2Api[M][0]\n ) {\n yield* Effect.logDebug(`aws_ApiGatewayV2.${actionName}`, { input: actionInput })\n\n const client = yield* ApiGatewayV2Client\n const command = new ApiGatewayV2CommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<ApiGatewayV2Api[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.ApiGatewayV2ServiceException) {\n return new ApiGatewayV2Error(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_ApiGatewayV2.${actionName} completed`)\n\n return result\n })\n\nexport class ApiGatewayV2Error<C extends keyof ApiGatewayV2Api> {\n readonly _tag = \"ApiGatewayV2Error\";\n\n constructor(\n readonly cause: Sdk.ApiGatewayV2ServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof ApiGatewayV2Api[C][2]>(\n name: N\n ): this is ApiGatewayV2Error<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<ApiGatewayV2Api>>(\n name: N\n ): this is ApiGatewayV2Error<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type ApiGatewayV2MethodInput<M extends keyof ApiGatewayV2Api> = ApiGatewayV2Api[M][0];\ntype ApiGatewayV2Api = {\n create_api: [\n Sdk.CreateApiCommandInput,\n Sdk.CreateApiCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_api_mapping: [\n Sdk.CreateApiMappingCommandInput,\n Sdk.CreateApiMappingCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_authorizer: [\n Sdk.CreateAuthorizerCommandInput,\n Sdk.CreateAuthorizerCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_deployment: [\n Sdk.CreateDeploymentCommandInput,\n Sdk.CreateDeploymentCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_domain_name: [\n Sdk.CreateDomainNameCommandInput,\n Sdk.CreateDomainNameCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_integration: [\n Sdk.CreateIntegrationCommandInput,\n Sdk.CreateIntegrationCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_integration_response: [\n Sdk.CreateIntegrationResponseCommandInput,\n Sdk.CreateIntegrationResponseCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_model: [\n Sdk.CreateModelCommandInput,\n Sdk.CreateModelCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_portal: [\n Sdk.CreatePortalCommandInput,\n Sdk.CreatePortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_portal_product: [\n Sdk.CreatePortalProductCommandInput,\n Sdk.CreatePortalProductCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_product_page: [\n Sdk.CreateProductPageCommandInput,\n Sdk.CreateProductPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_product_rest_endpoint_page: [\n Sdk.CreateProductRestEndpointPageCommandInput,\n Sdk.CreateProductRestEndpointPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_route: [\n Sdk.CreateRouteCommandInput,\n Sdk.CreateRouteCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_route_response: [\n Sdk.CreateRouteResponseCommandInput,\n Sdk.CreateRouteResponseCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_routing_rule: [\n Sdk.CreateRoutingRuleCommandInput,\n Sdk.CreateRoutingRuleCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_stage: [\n Sdk.CreateStageCommandInput,\n Sdk.CreateStageCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_vpc_link: [\n Sdk.CreateVpcLinkCommandInput,\n Sdk.CreateVpcLinkCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_access_log_settings: [\n Sdk.DeleteAccessLogSettingsCommandInput,\n Sdk.DeleteAccessLogSettingsCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_api: [\n Sdk.DeleteApiCommandInput,\n Sdk.DeleteApiCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_api_mapping: [\n Sdk.DeleteApiMappingCommandInput,\n Sdk.DeleteApiMappingCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_authorizer: [\n Sdk.DeleteAuthorizerCommandInput,\n Sdk.DeleteAuthorizerCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_cors_configuration: [\n Sdk.DeleteCorsConfigurationCommandInput,\n Sdk.DeleteCorsConfigurationCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_deployment: [\n Sdk.DeleteDeploymentCommandInput,\n Sdk.DeleteDeploymentCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_domain_name: [\n Sdk.DeleteDomainNameCommandInput,\n Sdk.DeleteDomainNameCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_integration: [\n Sdk.DeleteIntegrationCommandInput,\n Sdk.DeleteIntegrationCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_integration_response: [\n Sdk.DeleteIntegrationResponseCommandInput,\n Sdk.DeleteIntegrationResponseCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_model: [\n Sdk.DeleteModelCommandInput,\n Sdk.DeleteModelCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_portal: [\n Sdk.DeletePortalCommandInput,\n Sdk.DeletePortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_portal_product: [\n Sdk.DeletePortalProductCommandInput,\n Sdk.DeletePortalProductCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_portal_product_sharing_policy: [\n Sdk.DeletePortalProductSharingPolicyCommandInput,\n Sdk.DeletePortalProductSharingPolicyCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_product_page: [\n Sdk.DeleteProductPageCommandInput,\n Sdk.DeleteProductPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_product_rest_endpoint_page: [\n Sdk.DeleteProductRestEndpointPageCommandInput,\n Sdk.DeleteProductRestEndpointPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_route: [\n Sdk.DeleteRouteCommandInput,\n Sdk.DeleteRouteCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_route_request_parameter: [\n Sdk.DeleteRouteRequestParameterCommandInput,\n Sdk.DeleteRouteRequestParameterCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_route_response: [\n Sdk.DeleteRouteResponseCommandInput,\n Sdk.DeleteRouteResponseCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_route_settings: [\n Sdk.DeleteRouteSettingsCommandInput,\n Sdk.DeleteRouteSettingsCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_routing_rule: [\n Sdk.DeleteRoutingRuleCommandInput,\n Sdk.DeleteRoutingRuleCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_stage: [\n Sdk.DeleteStageCommandInput,\n Sdk.DeleteStageCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_vpc_link: [\n Sdk.DeleteVpcLinkCommandInput,\n Sdk.DeleteVpcLinkCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n disable_portal: [\n Sdk.DisablePortalCommandInput,\n Sdk.DisablePortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n export_api: [\n Sdk.ExportApiCommandInput,\n Sdk.ExportApiCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_api: [\n Sdk.GetApiCommandInput,\n Sdk.GetApiCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_api_mapping: [\n Sdk.GetApiMappingCommandInput,\n Sdk.GetApiMappingCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_api_mappings: [\n Sdk.GetApiMappingsCommandInput,\n Sdk.GetApiMappingsCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_apis: [\n Sdk.GetApisCommandInput,\n Sdk.GetApisCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_authorizer: [\n Sdk.GetAuthorizerCommandInput,\n Sdk.GetAuthorizerCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_authorizers: [\n Sdk.GetAuthorizersCommandInput,\n Sdk.GetAuthorizersCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_deployment: [\n Sdk.GetDeploymentCommandInput,\n Sdk.GetDeploymentCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_deployments: [\n Sdk.GetDeploymentsCommandInput,\n Sdk.GetDeploymentsCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_domain_name: [\n Sdk.GetDomainNameCommandInput,\n Sdk.GetDomainNameCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_domain_names: [\n Sdk.GetDomainNamesCommandInput,\n Sdk.GetDomainNamesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_integration: [\n Sdk.GetIntegrationCommandInput,\n Sdk.GetIntegrationCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_integration_response: [\n Sdk.GetIntegrationResponseCommandInput,\n Sdk.GetIntegrationResponseCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_integration_responses: [\n Sdk.GetIntegrationResponsesCommandInput,\n Sdk.GetIntegrationResponsesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_integrations: [\n Sdk.GetIntegrationsCommandInput,\n Sdk.GetIntegrationsCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_model: [\n Sdk.GetModelCommandInput,\n Sdk.GetModelCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_model_template: [\n Sdk.GetModelTemplateCommandInput,\n Sdk.GetModelTemplateCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_models: [\n Sdk.GetModelsCommandInput,\n Sdk.GetModelsCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_portal: [\n Sdk.GetPortalCommandInput,\n Sdk.GetPortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_portal_product: [\n Sdk.GetPortalProductCommandInput,\n Sdk.GetPortalProductCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_portal_product_sharing_policy: [\n Sdk.GetPortalProductSharingPolicyCommandInput,\n Sdk.GetPortalProductSharingPolicyCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_product_page: [\n Sdk.GetProductPageCommandInput,\n Sdk.GetProductPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_product_rest_endpoint_page: [\n Sdk.GetProductRestEndpointPageCommandInput,\n Sdk.GetProductRestEndpointPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_route: [\n Sdk.GetRouteCommandInput,\n Sdk.GetRouteCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_route_response: [\n Sdk.GetRouteResponseCommandInput,\n Sdk.GetRouteResponseCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_route_responses: [\n Sdk.GetRouteResponsesCommandInput,\n Sdk.GetRouteResponsesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_routes: [\n Sdk.GetRoutesCommandInput,\n Sdk.GetRoutesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_routing_rule: [\n Sdk.GetRoutingRuleCommandInput,\n Sdk.GetRoutingRuleCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_stage: [\n Sdk.GetStageCommandInput,\n Sdk.GetStageCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_stages: [\n Sdk.GetStagesCommandInput,\n Sdk.GetStagesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_tags: [\n Sdk.GetTagsCommandInput,\n Sdk.GetTagsCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_vpc_link: [\n Sdk.GetVpcLinkCommandInput,\n Sdk.GetVpcLinkCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_vpc_links: [\n Sdk.GetVpcLinksCommandInput,\n Sdk.GetVpcLinksCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n import_api: [\n Sdk.ImportApiCommandInput,\n Sdk.ImportApiCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_portal_products: [\n Sdk.ListPortalProductsCommandInput,\n Sdk.ListPortalProductsCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_portals: [\n Sdk.ListPortalsCommandInput,\n Sdk.ListPortalsCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_product_pages: [\n Sdk.ListProductPagesCommandInput,\n Sdk.ListProductPagesCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_product_rest_endpoint_pages: [\n Sdk.ListProductRestEndpointPagesCommandInput,\n Sdk.ListProductRestEndpointPagesCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_routing_rules: [\n Sdk.ListRoutingRulesCommandInput,\n Sdk.ListRoutingRulesCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n preview_portal: [\n Sdk.PreviewPortalCommandInput,\n Sdk.PreviewPortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n publish_portal: [\n Sdk.PublishPortalCommandInput,\n Sdk.PublishPortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_portal_product_sharing_policy: [\n Sdk.PutPortalProductSharingPolicyCommandInput,\n Sdk.PutPortalProductSharingPolicyCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_routing_rule: [\n Sdk.PutRoutingRuleCommandInput,\n Sdk.PutRoutingRuleCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n reimport_api: [\n Sdk.ReimportApiCommandInput,\n Sdk.ReimportApiCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n reset_authorizers_cache: [\n Sdk.ResetAuthorizersCacheCommandInput,\n Sdk.ResetAuthorizersCacheCommandOutput,\n {\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n tag_resource: [\n Sdk.TagResourceCommandInput,\n Sdk.TagResourceCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n untag_resource: [\n Sdk.UntagResourceCommandInput,\n Sdk.UntagResourceCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_api: [\n Sdk.UpdateApiCommandInput,\n Sdk.UpdateApiCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_api_mapping: [\n Sdk.UpdateApiMappingCommandInput,\n Sdk.UpdateApiMappingCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_authorizer: [\n Sdk.UpdateAuthorizerCommandInput,\n Sdk.UpdateAuthorizerCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_deployment: [\n Sdk.UpdateDeploymentCommandInput,\n Sdk.UpdateDeploymentCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_domain_name: [\n Sdk.UpdateDomainNameCommandInput,\n Sdk.UpdateDomainNameCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_integration: [\n Sdk.UpdateIntegrationCommandInput,\n Sdk.UpdateIntegrationCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_integration_response: [\n Sdk.UpdateIntegrationResponseCommandInput,\n Sdk.UpdateIntegrationResponseCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_model: [\n Sdk.UpdateModelCommandInput,\n Sdk.UpdateModelCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_portal: [\n Sdk.UpdatePortalCommandInput,\n Sdk.UpdatePortalCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_portal_product: [\n Sdk.UpdatePortalProductCommandInput,\n Sdk.UpdatePortalProductCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_product_page: [\n Sdk.UpdateProductPageCommandInput,\n Sdk.UpdateProductPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_product_rest_endpoint_page: [\n Sdk.UpdateProductRestEndpointPageCommandInput,\n Sdk.UpdateProductRestEndpointPageCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_route: [\n Sdk.UpdateRouteCommandInput,\n Sdk.UpdateRouteCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_route_response: [\n Sdk.UpdateRouteResponseCommandInput,\n Sdk.UpdateRouteResponseCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_stage: [\n Sdk.UpdateStageCommandInput,\n Sdk.UpdateStageCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"ConflictException\": Sdk.ConflictException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_vpc_link: [\n Sdk.UpdateVpcLinkCommandInput,\n Sdk.UpdateVpcLinkCommandOutput,\n {\n \"BadRequestException\": Sdk.BadRequestException,\n \"NotFoundException\": Sdk.NotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n};\n\nconst ApiGatewayV2CommandFactory: { [M in keyof ApiGatewayV2Api]: new (args: ApiGatewayV2Api[M][0]) => unknown } = {\n create_api: Sdk.CreateApiCommand,\n create_api_mapping: Sdk.CreateApiMappingCommand,\n create_authorizer: Sdk.CreateAuthorizerCommand,\n create_deployment: Sdk.CreateDeploymentCommand,\n create_domain_name: Sdk.CreateDomainNameCommand,\n create_integration: Sdk.CreateIntegrationCommand,\n create_integration_response: Sdk.CreateIntegrationResponseCommand,\n create_model: Sdk.CreateModelCommand,\n create_portal: Sdk.CreatePortalCommand,\n create_portal_product: Sdk.CreatePortalProductCommand,\n create_product_page: Sdk.CreateProductPageCommand,\n create_product_rest_endpoint_page: Sdk.CreateProductRestEndpointPageCommand,\n create_route: Sdk.CreateRouteCommand,\n create_route_response: Sdk.CreateRouteResponseCommand,\n create_routing_rule: Sdk.CreateRoutingRuleCommand,\n create_stage: Sdk.CreateStageCommand,\n create_vpc_link: Sdk.CreateVpcLinkCommand,\n delete_access_log_settings: Sdk.DeleteAccessLogSettingsCommand,\n delete_api: Sdk.DeleteApiCommand,\n delete_api_mapping: Sdk.DeleteApiMappingCommand,\n delete_authorizer: Sdk.DeleteAuthorizerCommand,\n delete_cors_configuration: Sdk.DeleteCorsConfigurationCommand,\n delete_deployment: Sdk.DeleteDeploymentCommand,\n delete_domain_name: Sdk.DeleteDomainNameCommand,\n delete_integration: Sdk.DeleteIntegrationCommand,\n delete_integration_response: Sdk.DeleteIntegrationResponseCommand,\n delete_model: Sdk.DeleteModelCommand,\n delete_portal: Sdk.DeletePortalCommand,\n delete_portal_product: Sdk.DeletePortalProductCommand,\n delete_portal_product_sharing_policy: Sdk.DeletePortalProductSharingPolicyCommand,\n delete_product_page: Sdk.DeleteProductPageCommand,\n delete_product_rest_endpoint_page: Sdk.DeleteProductRestEndpointPageCommand,\n delete_route: Sdk.DeleteRouteCommand,\n delete_route_request_parameter: Sdk.DeleteRouteRequestParameterCommand,\n delete_route_response: Sdk.DeleteRouteResponseCommand,\n delete_route_settings: Sdk.DeleteRouteSettingsCommand,\n delete_routing_rule: Sdk.DeleteRoutingRuleCommand,\n delete_stage: Sdk.DeleteStageCommand,\n delete_vpc_link: Sdk.DeleteVpcLinkCommand,\n disable_portal: Sdk.DisablePortalCommand,\n export_api: Sdk.ExportApiCommand,\n get_api: Sdk.GetApiCommand,\n get_api_mapping: Sdk.GetApiMappingCommand,\n get_api_mappings: Sdk.GetApiMappingsCommand,\n get_apis: Sdk.GetApisCommand,\n get_authorizer: Sdk.GetAuthorizerCommand,\n get_authorizers: Sdk.GetAuthorizersCommand,\n get_deployment: Sdk.GetDeploymentCommand,\n get_deployments: Sdk.GetDeploymentsCommand,\n get_domain_name: Sdk.GetDomainNameCommand,\n get_domain_names: Sdk.GetDomainNamesCommand,\n get_integration: Sdk.GetIntegrationCommand,\n get_integration_response: Sdk.GetIntegrationResponseCommand,\n get_integration_responses: Sdk.GetIntegrationResponsesCommand,\n get_integrations: Sdk.GetIntegrationsCommand,\n get_model: Sdk.GetModelCommand,\n get_model_template: Sdk.GetModelTemplateCommand,\n get_models: Sdk.GetModelsCommand,\n get_portal: Sdk.GetPortalCommand,\n get_portal_product: Sdk.GetPortalProductCommand,\n get_portal_product_sharing_policy: Sdk.GetPortalProductSharingPolicyCommand,\n get_product_page: Sdk.GetProductPageCommand,\n get_product_rest_endpoint_page: Sdk.GetProductRestEndpointPageCommand,\n get_route: Sdk.GetRouteCommand,\n get_route_response: Sdk.GetRouteResponseCommand,\n get_route_responses: Sdk.GetRouteResponsesCommand,\n get_routes: Sdk.GetRoutesCommand,\n get_routing_rule: Sdk.GetRoutingRuleCommand,\n get_stage: Sdk.GetStageCommand,\n get_stages: Sdk.GetStagesCommand,\n get_tags: Sdk.GetTagsCommand,\n get_vpc_link: Sdk.GetVpcLinkCommand,\n get_vpc_links: Sdk.GetVpcLinksCommand,\n import_api: Sdk.ImportApiCommand,\n list_portal_products: Sdk.ListPortalProductsCommand,\n list_portals: Sdk.ListPortalsCommand,\n list_product_pages: Sdk.ListProductPagesCommand,\n list_product_rest_endpoint_pages: Sdk.ListProductRestEndpointPagesCommand,\n list_routing_rules: Sdk.ListRoutingRulesCommand,\n preview_portal: Sdk.PreviewPortalCommand,\n publish_portal: Sdk.PublishPortalCommand,\n put_portal_product_sharing_policy: Sdk.PutPortalProductSharingPolicyCommand,\n put_routing_rule: Sdk.PutRoutingRuleCommand,\n reimport_api: Sdk.ReimportApiCommand,\n reset_authorizers_cache: Sdk.ResetAuthorizersCacheCommand,\n tag_resource: Sdk.TagResourceCommand,\n untag_resource: Sdk.UntagResourceCommand,\n update_api: Sdk.UpdateApiCommand,\n update_api_mapping: Sdk.UpdateApiMappingCommand,\n update_authorizer: Sdk.UpdateAuthorizerCommand,\n update_deployment: Sdk.UpdateDeploymentCommand,\n update_domain_name: Sdk.UpdateDomainNameCommand,\n update_integration: Sdk.UpdateIntegrationCommand,\n update_integration_response: Sdk.UpdateIntegrationResponseCommand,\n update_model: Sdk.UpdateModelCommand,\n update_portal: Sdk.UpdatePortalCommand,\n update_portal_product: Sdk.UpdatePortalProductCommand,\n update_product_page: Sdk.UpdateProductPageCommand,\n update_product_rest_endpoint_page: Sdk.UpdateProductRestEndpointPageCommand,\n update_route: Sdk.UpdateRouteCommand,\n update_route_response: Sdk.UpdateRouteResponseCommand,\n update_stage: Sdk.UpdateStageCommand,\n update_vpc_link: Sdk.UpdateVpcLinkCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-cloudfront\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class CloudFrontClient extends Context.Tag('CloudFrontClient')<CloudFrontClient, Sdk.CloudFrontClient>() {\n\n static Default = (\n config?: Sdk.CloudFrontClientConfig\n ) =>\n Layer.effect(\n CloudFrontClient,\n Effect.gen(function*() {\n return new Sdk.CloudFrontClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS CloudFront command.\n *\n * @param actionName - The name of the CloudFront command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { cloudfront } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* cloudfront.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_CloudFront')(function* <M extends keyof CloudFrontApi>(\n actionName: M, actionInput: CloudFrontApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_CloudFront.${actionName}`, { input: actionInput })\n\n const client = yield* CloudFrontClient\n const command = new CloudFrontCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<CloudFrontApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.CloudFrontServiceException) {\n return new CloudFrontError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_CloudFront.${actionName} completed`)\n\n return result\n })\n\nexport class CloudFrontError<C extends keyof CloudFrontApi> {\n readonly _tag = \"CloudFrontError\";\n\n constructor(\n readonly cause: Sdk.CloudFrontServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof CloudFrontApi[C][2]>(\n name: N\n ): this is CloudFrontError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<CloudFrontApi>>(\n name: N\n ): this is CloudFrontError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type CloudFrontMethodInput<M extends keyof CloudFrontApi> = CloudFrontApi[M][0];\ntype CloudFrontApi = {\n associate_alias: [\n Sdk.AssociateAliasCommandInput,\n Sdk.AssociateAliasCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs\n }\n ]\n associate_distribution_tenant_web_acl: [\n Sdk.AssociateDistributionTenantWebACLCommandInput,\n Sdk.AssociateDistributionTenantWebACLCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n associate_distribution_web_acl: [\n Sdk.AssociateDistributionWebACLCommandInput,\n Sdk.AssociateDistributionWebACLCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n copy_distribution: [\n Sdk.CopyDistributionCommandInput,\n Sdk.CopyDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"DistributionAlreadyExists\": Sdk.DistributionAlreadyExists,\n \"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior\": Sdk.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidDefaultRootObject\": Sdk.InvalidDefaultRootObject,\n \"InvalidErrorCode\": Sdk.InvalidErrorCode,\n \"InvalidForwardCookies\": Sdk.InvalidForwardCookies,\n \"InvalidFunctionAssociation\": Sdk.InvalidFunctionAssociation,\n \"InvalidGeoRestrictionParameter\": Sdk.InvalidGeoRestrictionParameter,\n \"InvalidHeadersForS3Origin\": Sdk.InvalidHeadersForS3Origin,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"InvalidLambdaFunctionAssociation\": Sdk.InvalidLambdaFunctionAssociation,\n \"InvalidLocationCode\": Sdk.InvalidLocationCode,\n \"InvalidMinimumProtocolVersion\": Sdk.InvalidMinimumProtocolVersion,\n \"InvalidOrigin\": Sdk.InvalidOrigin,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidOriginKeepaliveTimeout\": Sdk.InvalidOriginKeepaliveTimeout,\n \"InvalidOriginReadTimeout\": Sdk.InvalidOriginReadTimeout,\n \"InvalidProtocolSettings\": Sdk.InvalidProtocolSettings,\n \"InvalidQueryStringParameters\": Sdk.InvalidQueryStringParameters,\n \"InvalidRelativePath\": Sdk.InvalidRelativePath,\n \"InvalidRequiredProtocol\": Sdk.InvalidRequiredProtocol,\n \"InvalidResponseCode\": Sdk.InvalidResponseCode,\n \"InvalidTTLOrder\": Sdk.InvalidTTLOrder,\n \"InvalidViewerCertificate\": Sdk.InvalidViewerCertificate,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchOrigin\": Sdk.NoSuchOrigin,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"RealtimeLogConfigOwnerMismatch\": Sdk.RealtimeLogConfigOwnerMismatch,\n \"TooManyCacheBehaviors\": Sdk.TooManyCacheBehaviors,\n \"TooManyCertificates\": Sdk.TooManyCertificates,\n \"TooManyCookieNamesInWhiteList\": Sdk.TooManyCookieNamesInWhiteList,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs,\n \"TooManyDistributions\": Sdk.TooManyDistributions,\n \"TooManyDistributionsAssociatedToCachePolicy\": Sdk.TooManyDistributionsAssociatedToCachePolicy,\n \"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig\": Sdk.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,\n \"TooManyDistributionsAssociatedToKeyGroup\": Sdk.TooManyDistributionsAssociatedToKeyGroup,\n \"TooManyDistributionsAssociatedToOriginAccessControl\": Sdk.TooManyDistributionsAssociatedToOriginAccessControl,\n \"TooManyDistributionsAssociatedToOriginRequestPolicy\": Sdk.TooManyDistributionsAssociatedToOriginRequestPolicy,\n \"TooManyDistributionsAssociatedToResponseHeadersPolicy\": Sdk.TooManyDistributionsAssociatedToResponseHeadersPolicy,\n \"TooManyDistributionsWithFunctionAssociations\": Sdk.TooManyDistributionsWithFunctionAssociations,\n \"TooManyDistributionsWithLambdaAssociations\": Sdk.TooManyDistributionsWithLambdaAssociations,\n \"TooManyDistributionsWithSingleFunctionARN\": Sdk.TooManyDistributionsWithSingleFunctionARN,\n \"TooManyFunctionAssociations\": Sdk.TooManyFunctionAssociations,\n \"TooManyHeadersInForwardedValues\": Sdk.TooManyHeadersInForwardedValues,\n \"TooManyKeyGroupsAssociatedToDistribution\": Sdk.TooManyKeyGroupsAssociatedToDistribution,\n \"TooManyLambdaFunctionAssociations\": Sdk.TooManyLambdaFunctionAssociations,\n \"TooManyOriginCustomHeaders\": Sdk.TooManyOriginCustomHeaders,\n \"TooManyOriginGroupsPerDistribution\": Sdk.TooManyOriginGroupsPerDistribution,\n \"TooManyOrigins\": Sdk.TooManyOrigins,\n \"TooManyQueryStringParameters\": Sdk.TooManyQueryStringParameters,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedKeyGroupDoesNotExist\": Sdk.TrustedKeyGroupDoesNotExist,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n create_anycast_ip_list: [\n Sdk.CreateAnycastIpListCommandInput,\n Sdk.CreateAnycastIpListCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_cache_policy: [\n Sdk.CreateCachePolicyCommandInput,\n Sdk.CreateCachePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CachePolicyAlreadyExists\": Sdk.CachePolicyAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"TooManyCachePolicies\": Sdk.TooManyCachePolicies,\n \"TooManyCookiesInCachePolicy\": Sdk.TooManyCookiesInCachePolicy,\n \"TooManyHeadersInCachePolicy\": Sdk.TooManyHeadersInCachePolicy,\n \"TooManyQueryStringsInCachePolicy\": Sdk.TooManyQueryStringsInCachePolicy\n }\n ]\n create_cloud_front_origin_access_identity: [\n Sdk.CreateCloudFrontOriginAccessIdentityCommandInput,\n Sdk.CreateCloudFrontOriginAccessIdentityCommandOutput,\n {\n \"CloudFrontOriginAccessIdentityAlreadyExists\": Sdk.CloudFrontOriginAccessIdentityAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"MissingBody\": Sdk.MissingBody,\n \"TooManyCloudFrontOriginAccessIdentities\": Sdk.TooManyCloudFrontOriginAccessIdentities\n }\n ]\n create_connection_function: [\n Sdk.CreateConnectionFunctionCommandInput,\n Sdk.CreateConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntitySizeLimitExceeded\": Sdk.EntitySizeLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_connection_group: [\n Sdk.CreateConnectionGroupCommandInput,\n Sdk.CreateConnectionGroupCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging\n }\n ]\n create_continuous_deployment_policy: [\n Sdk.CreateContinuousDeploymentPolicyCommandInput,\n Sdk.CreateContinuousDeploymentPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"ContinuousDeploymentPolicyAlreadyExists\": Sdk.ContinuousDeploymentPolicyAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"StagingDistributionInUse\": Sdk.StagingDistributionInUse,\n \"TooManyContinuousDeploymentPolicies\": Sdk.TooManyContinuousDeploymentPolicies\n }\n ]\n create_distribution: [\n Sdk.CreateDistributionCommandInput,\n Sdk.CreateDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"ContinuousDeploymentPolicyInUse\": Sdk.ContinuousDeploymentPolicyInUse,\n \"DistributionAlreadyExists\": Sdk.DistributionAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior\": Sdk.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,\n \"IllegalOriginAccessConfiguration\": Sdk.IllegalOriginAccessConfiguration,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidDefaultRootObject\": Sdk.InvalidDefaultRootObject,\n \"InvalidDomainNameForOriginAccessControl\": Sdk.InvalidDomainNameForOriginAccessControl,\n \"InvalidErrorCode\": Sdk.InvalidErrorCode,\n \"InvalidForwardCookies\": Sdk.InvalidForwardCookies,\n \"InvalidFunctionAssociation\": Sdk.InvalidFunctionAssociation,\n \"InvalidGeoRestrictionParameter\": Sdk.InvalidGeoRestrictionParameter,\n \"InvalidHeadersForS3Origin\": Sdk.InvalidHeadersForS3Origin,\n \"InvalidLambdaFunctionAssociation\": Sdk.InvalidLambdaFunctionAssociation,\n \"InvalidLocationCode\": Sdk.InvalidLocationCode,\n \"InvalidMinimumProtocolVersion\": Sdk.InvalidMinimumProtocolVersion,\n \"InvalidOrigin\": Sdk.InvalidOrigin,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidOriginKeepaliveTimeout\": Sdk.InvalidOriginKeepaliveTimeout,\n \"InvalidOriginReadTimeout\": Sdk.InvalidOriginReadTimeout,\n \"InvalidProtocolSettings\": Sdk.InvalidProtocolSettings,\n \"InvalidQueryStringParameters\": Sdk.InvalidQueryStringParameters,\n \"InvalidRelativePath\": Sdk.InvalidRelativePath,\n \"InvalidRequiredProtocol\": Sdk.InvalidRequiredProtocol,\n \"InvalidResponseCode\": Sdk.InvalidResponseCode,\n \"InvalidTTLOrder\": Sdk.InvalidTTLOrder,\n \"InvalidViewerCertificate\": Sdk.InvalidViewerCertificate,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchOrigin\": Sdk.NoSuchOrigin,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"RealtimeLogConfigOwnerMismatch\": Sdk.RealtimeLogConfigOwnerMismatch,\n \"TooManyCacheBehaviors\": Sdk.TooManyCacheBehaviors,\n \"TooManyCertificates\": Sdk.TooManyCertificates,\n \"TooManyCookieNamesInWhiteList\": Sdk.TooManyCookieNamesInWhiteList,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs,\n \"TooManyDistributions\": Sdk.TooManyDistributions,\n \"TooManyDistributionsAssociatedToCachePolicy\": Sdk.TooManyDistributionsAssociatedToCachePolicy,\n \"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig\": Sdk.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,\n \"TooManyDistributionsAssociatedToKeyGroup\": Sdk.TooManyDistributionsAssociatedToKeyGroup,\n \"TooManyDistributionsAssociatedToOriginAccessControl\": Sdk.TooManyDistributionsAssociatedToOriginAccessControl,\n \"TooManyDistributionsAssociatedToOriginRequestPolicy\": Sdk.TooManyDistributionsAssociatedToOriginRequestPolicy,\n \"TooManyDistributionsAssociatedToResponseHeadersPolicy\": Sdk.TooManyDistributionsAssociatedToResponseHeadersPolicy,\n \"TooManyDistributionsWithFunctionAssociations\": Sdk.TooManyDistributionsWithFunctionAssociations,\n \"TooManyDistributionsWithLambdaAssociations\": Sdk.TooManyDistributionsWithLambdaAssociations,\n \"TooManyDistributionsWithSingleFunctionARN\": Sdk.TooManyDistributionsWithSingleFunctionARN,\n \"TooManyFunctionAssociations\": Sdk.TooManyFunctionAssociations,\n \"TooManyHeadersInForwardedValues\": Sdk.TooManyHeadersInForwardedValues,\n \"TooManyKeyGroupsAssociatedToDistribution\": Sdk.TooManyKeyGroupsAssociatedToDistribution,\n \"TooManyLambdaFunctionAssociations\": Sdk.TooManyLambdaFunctionAssociations,\n \"TooManyOriginCustomHeaders\": Sdk.TooManyOriginCustomHeaders,\n \"TooManyOriginGroupsPerDistribution\": Sdk.TooManyOriginGroupsPerDistribution,\n \"TooManyOrigins\": Sdk.TooManyOrigins,\n \"TooManyQueryStringParameters\": Sdk.TooManyQueryStringParameters,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedKeyGroupDoesNotExist\": Sdk.TrustedKeyGroupDoesNotExist,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n create_distribution_tenant: [\n Sdk.CreateDistributionTenantCommandInput,\n Sdk.CreateDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidAssociation\": Sdk.InvalidAssociation,\n \"InvalidTagging\": Sdk.InvalidTagging\n }\n ]\n create_distribution_with_tags: [\n Sdk.CreateDistributionWithTagsCommandInput,\n Sdk.CreateDistributionWithTagsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"ContinuousDeploymentPolicyInUse\": Sdk.ContinuousDeploymentPolicyInUse,\n \"DistributionAlreadyExists\": Sdk.DistributionAlreadyExists,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior\": Sdk.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,\n \"IllegalOriginAccessConfiguration\": Sdk.IllegalOriginAccessConfiguration,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidDefaultRootObject\": Sdk.InvalidDefaultRootObject,\n \"InvalidDomainNameForOriginAccessControl\": Sdk.InvalidDomainNameForOriginAccessControl,\n \"InvalidErrorCode\": Sdk.InvalidErrorCode,\n \"InvalidForwardCookies\": Sdk.InvalidForwardCookies,\n \"InvalidFunctionAssociation\": Sdk.InvalidFunctionAssociation,\n \"InvalidGeoRestrictionParameter\": Sdk.InvalidGeoRestrictionParameter,\n \"InvalidHeadersForS3Origin\": Sdk.InvalidHeadersForS3Origin,\n \"InvalidLambdaFunctionAssociation\": Sdk.InvalidLambdaFunctionAssociation,\n \"InvalidLocationCode\": Sdk.InvalidLocationCode,\n \"InvalidMinimumProtocolVersion\": Sdk.InvalidMinimumProtocolVersion,\n \"InvalidOrigin\": Sdk.InvalidOrigin,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidOriginKeepaliveTimeout\": Sdk.InvalidOriginKeepaliveTimeout,\n \"InvalidOriginReadTimeout\": Sdk.InvalidOriginReadTimeout,\n \"InvalidProtocolSettings\": Sdk.InvalidProtocolSettings,\n \"InvalidQueryStringParameters\": Sdk.InvalidQueryStringParameters,\n \"InvalidRelativePath\": Sdk.InvalidRelativePath,\n \"InvalidRequiredProtocol\": Sdk.InvalidRequiredProtocol,\n \"InvalidResponseCode\": Sdk.InvalidResponseCode,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"InvalidTTLOrder\": Sdk.InvalidTTLOrder,\n \"InvalidViewerCertificate\": Sdk.InvalidViewerCertificate,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchOrigin\": Sdk.NoSuchOrigin,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"RealtimeLogConfigOwnerMismatch\": Sdk.RealtimeLogConfigOwnerMismatch,\n \"TooManyCacheBehaviors\": Sdk.TooManyCacheBehaviors,\n \"TooManyCertificates\": Sdk.TooManyCertificates,\n \"TooManyCookieNamesInWhiteList\": Sdk.TooManyCookieNamesInWhiteList,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs,\n \"TooManyDistributions\": Sdk.TooManyDistributions,\n \"TooManyDistributionsAssociatedToCachePolicy\": Sdk.TooManyDistributionsAssociatedToCachePolicy,\n \"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig\": Sdk.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,\n \"TooManyDistributionsAssociatedToKeyGroup\": Sdk.TooManyDistributionsAssociatedToKeyGroup,\n \"TooManyDistributionsAssociatedToOriginAccessControl\": Sdk.TooManyDistributionsAssociatedToOriginAccessControl,\n \"TooManyDistributionsAssociatedToOriginRequestPolicy\": Sdk.TooManyDistributionsAssociatedToOriginRequestPolicy,\n \"TooManyDistributionsAssociatedToResponseHeadersPolicy\": Sdk.TooManyDistributionsAssociatedToResponseHeadersPolicy,\n \"TooManyDistributionsWithFunctionAssociations\": Sdk.TooManyDistributionsWithFunctionAssociations,\n \"TooManyDistributionsWithLambdaAssociations\": Sdk.TooManyDistributionsWithLambdaAssociations,\n \"TooManyDistributionsWithSingleFunctionARN\": Sdk.TooManyDistributionsWithSingleFunctionARN,\n \"TooManyFunctionAssociations\": Sdk.TooManyFunctionAssociations,\n \"TooManyHeadersInForwardedValues\": Sdk.TooManyHeadersInForwardedValues,\n \"TooManyKeyGroupsAssociatedToDistribution\": Sdk.TooManyKeyGroupsAssociatedToDistribution,\n \"TooManyLambdaFunctionAssociations\": Sdk.TooManyLambdaFunctionAssociations,\n \"TooManyOriginCustomHeaders\": Sdk.TooManyOriginCustomHeaders,\n \"TooManyOriginGroupsPerDistribution\": Sdk.TooManyOriginGroupsPerDistribution,\n \"TooManyOrigins\": Sdk.TooManyOrigins,\n \"TooManyQueryStringParameters\": Sdk.TooManyQueryStringParameters,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedKeyGroupDoesNotExist\": Sdk.TrustedKeyGroupDoesNotExist,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n create_field_level_encryption_config: [\n Sdk.CreateFieldLevelEncryptionConfigCommandInput,\n Sdk.CreateFieldLevelEncryptionConfigCommandOutput,\n {\n \"FieldLevelEncryptionConfigAlreadyExists\": Sdk.FieldLevelEncryptionConfigAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile,\n \"QueryArgProfileEmpty\": Sdk.QueryArgProfileEmpty,\n \"TooManyFieldLevelEncryptionConfigs\": Sdk.TooManyFieldLevelEncryptionConfigs,\n \"TooManyFieldLevelEncryptionContentTypeProfiles\": Sdk.TooManyFieldLevelEncryptionContentTypeProfiles,\n \"TooManyFieldLevelEncryptionQueryArgProfiles\": Sdk.TooManyFieldLevelEncryptionQueryArgProfiles\n }\n ]\n create_field_level_encryption_profile: [\n Sdk.CreateFieldLevelEncryptionProfileCommandInput,\n Sdk.CreateFieldLevelEncryptionProfileCommandOutput,\n {\n \"FieldLevelEncryptionProfileAlreadyExists\": Sdk.FieldLevelEncryptionProfileAlreadyExists,\n \"FieldLevelEncryptionProfileSizeExceeded\": Sdk.FieldLevelEncryptionProfileSizeExceeded,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey,\n \"TooManyFieldLevelEncryptionEncryptionEntities\": Sdk.TooManyFieldLevelEncryptionEncryptionEntities,\n \"TooManyFieldLevelEncryptionFieldPatterns\": Sdk.TooManyFieldLevelEncryptionFieldPatterns,\n \"TooManyFieldLevelEncryptionProfiles\": Sdk.TooManyFieldLevelEncryptionProfiles\n }\n ]\n create_function: [\n Sdk.CreateFunctionCommandInput,\n Sdk.CreateFunctionCommandOutput,\n {\n \"FunctionAlreadyExists\": Sdk.FunctionAlreadyExists,\n \"FunctionSizeLimitExceeded\": Sdk.FunctionSizeLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"TooManyFunctions\": Sdk.TooManyFunctions,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_invalidation: [\n Sdk.CreateInvalidationCommandInput,\n Sdk.CreateInvalidationCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"BatchTooLarge\": Sdk.BatchTooLarge,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"TooManyInvalidationsInProgress\": Sdk.TooManyInvalidationsInProgress\n }\n ]\n create_invalidation_for_distribution_tenant: [\n Sdk.CreateInvalidationForDistributionTenantCommandInput,\n Sdk.CreateInvalidationForDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"BatchTooLarge\": Sdk.BatchTooLarge,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"MissingBody\": Sdk.MissingBody,\n \"TooManyInvalidationsInProgress\": Sdk.TooManyInvalidationsInProgress\n }\n ]\n create_key_group: [\n Sdk.CreateKeyGroupCommandInput,\n Sdk.CreateKeyGroupCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"KeyGroupAlreadyExists\": Sdk.KeyGroupAlreadyExists,\n \"TooManyKeyGroups\": Sdk.TooManyKeyGroups,\n \"TooManyPublicKeysInKeyGroup\": Sdk.TooManyPublicKeysInKeyGroup\n }\n ]\n create_key_value_store: [\n Sdk.CreateKeyValueStoreCommandInput,\n Sdk.CreateKeyValueStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntitySizeLimitExceeded\": Sdk.EntitySizeLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_monitoring_subscription: [\n Sdk.CreateMonitoringSubscriptionCommandInput,\n Sdk.CreateMonitoringSubscriptionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"MonitoringSubscriptionAlreadyExists\": Sdk.MonitoringSubscriptionAlreadyExists,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_origin_access_control: [\n Sdk.CreateOriginAccessControlCommandInput,\n Sdk.CreateOriginAccessControlCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"OriginAccessControlAlreadyExists\": Sdk.OriginAccessControlAlreadyExists,\n \"TooManyOriginAccessControls\": Sdk.TooManyOriginAccessControls\n }\n ]\n create_origin_request_policy: [\n Sdk.CreateOriginRequestPolicyCommandInput,\n Sdk.CreateOriginRequestPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"OriginRequestPolicyAlreadyExists\": Sdk.OriginRequestPolicyAlreadyExists,\n \"TooManyCookiesInOriginRequestPolicy\": Sdk.TooManyCookiesInOriginRequestPolicy,\n \"TooManyHeadersInOriginRequestPolicy\": Sdk.TooManyHeadersInOriginRequestPolicy,\n \"TooManyOriginRequestPolicies\": Sdk.TooManyOriginRequestPolicies,\n \"TooManyQueryStringsInOriginRequestPolicy\": Sdk.TooManyQueryStringsInOriginRequestPolicy\n }\n ]\n create_public_key: [\n Sdk.CreatePublicKeyCommandInput,\n Sdk.CreatePublicKeyCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"PublicKeyAlreadyExists\": Sdk.PublicKeyAlreadyExists,\n \"TooManyPublicKeys\": Sdk.TooManyPublicKeys\n }\n ]\n create_realtime_log_config: [\n Sdk.CreateRealtimeLogConfigCommandInput,\n Sdk.CreateRealtimeLogConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"RealtimeLogConfigAlreadyExists\": Sdk.RealtimeLogConfigAlreadyExists,\n \"TooManyRealtimeLogConfigs\": Sdk.TooManyRealtimeLogConfigs\n }\n ]\n create_response_headers_policy: [\n Sdk.CreateResponseHeadersPolicyCommandInput,\n Sdk.CreateResponseHeadersPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"ResponseHeadersPolicyAlreadyExists\": Sdk.ResponseHeadersPolicyAlreadyExists,\n \"TooLongCSPInResponseHeadersPolicy\": Sdk.TooLongCSPInResponseHeadersPolicy,\n \"TooManyCustomHeadersInResponseHeadersPolicy\": Sdk.TooManyCustomHeadersInResponseHeadersPolicy,\n \"TooManyRemoveHeadersInResponseHeadersPolicy\": Sdk.TooManyRemoveHeadersInResponseHeadersPolicy,\n \"TooManyResponseHeadersPolicies\": Sdk.TooManyResponseHeadersPolicies\n }\n ]\n create_streaming_distribution: [\n Sdk.CreateStreamingDistributionCommandInput,\n Sdk.CreateStreamingDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidOrigin\": Sdk.InvalidOrigin,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"MissingBody\": Sdk.MissingBody,\n \"StreamingDistributionAlreadyExists\": Sdk.StreamingDistributionAlreadyExists,\n \"TooManyStreamingDistributionCNAMEs\": Sdk.TooManyStreamingDistributionCNAMEs,\n \"TooManyStreamingDistributions\": Sdk.TooManyStreamingDistributions,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n create_streaming_distribution_with_tags: [\n Sdk.CreateStreamingDistributionWithTagsCommandInput,\n Sdk.CreateStreamingDistributionWithTagsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidOrigin\": Sdk.InvalidOrigin,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"MissingBody\": Sdk.MissingBody,\n \"StreamingDistributionAlreadyExists\": Sdk.StreamingDistributionAlreadyExists,\n \"TooManyStreamingDistributionCNAMEs\": Sdk.TooManyStreamingDistributionCNAMEs,\n \"TooManyStreamingDistributions\": Sdk.TooManyStreamingDistributions,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n create_trust_store: [\n Sdk.CreateTrustStoreCommandInput,\n Sdk.CreateTrustStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging\n }\n ]\n create_vpc_origin: [\n Sdk.CreateVpcOriginCommandInput,\n Sdk.CreateVpcOriginCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_anycast_ip_list: [\n Sdk.DeleteAnycastIpListCommandInput,\n Sdk.DeleteAnycastIpListCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_cache_policy: [\n Sdk.DeleteCachePolicyCommandInput,\n Sdk.DeleteCachePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CachePolicyInUse\": Sdk.CachePolicyInUse,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_cloud_front_origin_access_identity: [\n Sdk.DeleteCloudFrontOriginAccessIdentityCommandInput,\n Sdk.DeleteCloudFrontOriginAccessIdentityCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CloudFrontOriginAccessIdentityInUse\": Sdk.CloudFrontOriginAccessIdentityInUse,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchCloudFrontOriginAccessIdentity\": Sdk.NoSuchCloudFrontOriginAccessIdentity,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_connection_function: [\n Sdk.DeleteConnectionFunctionCommandInput,\n Sdk.DeleteConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_connection_group: [\n Sdk.DeleteConnectionGroupCommandInput,\n Sdk.DeleteConnectionGroupCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResourceNotDisabled\": Sdk.ResourceNotDisabled\n }\n ]\n delete_continuous_deployment_policy: [\n Sdk.DeleteContinuousDeploymentPolicyCommandInput,\n Sdk.DeleteContinuousDeploymentPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"ContinuousDeploymentPolicyInUse\": Sdk.ContinuousDeploymentPolicyInUse,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_distribution: [\n Sdk.DeleteDistributionCommandInput,\n Sdk.DeleteDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"DistributionNotDisabled\": Sdk.DistributionNotDisabled,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResourceInUse\": Sdk.ResourceInUse\n }\n ]\n delete_distribution_tenant: [\n Sdk.DeleteDistributionTenantCommandInput,\n Sdk.DeleteDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResourceNotDisabled\": Sdk.ResourceNotDisabled\n }\n ]\n delete_field_level_encryption_config: [\n Sdk.DeleteFieldLevelEncryptionConfigCommandInput,\n Sdk.DeleteFieldLevelEncryptionConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"FieldLevelEncryptionConfigInUse\": Sdk.FieldLevelEncryptionConfigInUse,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_field_level_encryption_profile: [\n Sdk.DeleteFieldLevelEncryptionProfileCommandInput,\n Sdk.DeleteFieldLevelEncryptionProfileCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"FieldLevelEncryptionProfileInUse\": Sdk.FieldLevelEncryptionProfileInUse,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_function: [\n Sdk.DeleteFunctionCommandInput,\n Sdk.DeleteFunctionCommandOutput,\n {\n \"FunctionInUse\": Sdk.FunctionInUse,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_key_group: [\n Sdk.DeleteKeyGroupCommandInput,\n Sdk.DeleteKeyGroupCommandOutput,\n {\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchResource\": Sdk.NoSuchResource,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResourceInUse\": Sdk.ResourceInUse\n }\n ]\n delete_key_value_store: [\n Sdk.DeleteKeyValueStoreCommandInput,\n Sdk.DeleteKeyValueStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_monitoring_subscription: [\n Sdk.DeleteMonitoringSubscriptionCommandInput,\n Sdk.DeleteMonitoringSubscriptionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchMonitoringSubscription\": Sdk.NoSuchMonitoringSubscription,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_origin_access_control: [\n Sdk.DeleteOriginAccessControlCommandInput,\n Sdk.DeleteOriginAccessControlCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchOriginAccessControl\": Sdk.NoSuchOriginAccessControl,\n \"OriginAccessControlInUse\": Sdk.OriginAccessControlInUse,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_origin_request_policy: [\n Sdk.DeleteOriginRequestPolicyCommandInput,\n Sdk.DeleteOriginRequestPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"OriginRequestPolicyInUse\": Sdk.OriginRequestPolicyInUse,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_public_key: [\n Sdk.DeletePublicKeyCommandInput,\n Sdk.DeletePublicKeyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"PublicKeyInUse\": Sdk.PublicKeyInUse\n }\n ]\n delete_realtime_log_config: [\n Sdk.DeleteRealtimeLogConfigCommandInput,\n Sdk.DeleteRealtimeLogConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"RealtimeLogConfigInUse\": Sdk.RealtimeLogConfigInUse\n }\n ]\n delete_resource_policy: [\n Sdk.DeleteResourcePolicyCommandInput,\n Sdk.DeleteResourcePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_response_headers_policy: [\n Sdk.DeleteResponseHeadersPolicyCommandInput,\n Sdk.DeleteResponseHeadersPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResponseHeadersPolicyInUse\": Sdk.ResponseHeadersPolicyInUse\n }\n ]\n delete_streaming_distribution: [\n Sdk.DeleteStreamingDistributionCommandInput,\n Sdk.DeleteStreamingDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchStreamingDistribution\": Sdk.NoSuchStreamingDistribution,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"StreamingDistributionNotDisabled\": Sdk.StreamingDistributionNotDisabled\n }\n ]\n delete_trust_store: [\n Sdk.DeleteTrustStoreCommandInput,\n Sdk.DeleteTrustStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n delete_vpc_origin: [\n Sdk.DeleteVpcOriginCommandInput,\n Sdk.DeleteVpcOriginCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotDeleteEntityWhileInUse\": Sdk.CannotDeleteEntityWhileInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalDelete\": Sdk.IllegalDelete,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n describe_connection_function: [\n Sdk.DescribeConnectionFunctionCommandInput,\n Sdk.DescribeConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n describe_function: [\n Sdk.DescribeFunctionCommandInput,\n Sdk.DescribeFunctionCommandOutput,\n {\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n describe_key_value_store: [\n Sdk.DescribeKeyValueStoreCommandInput,\n Sdk.DescribeKeyValueStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n disassociate_distribution_tenant_web_acl: [\n Sdk.DisassociateDistributionTenantWebACLCommandInput,\n Sdk.DisassociateDistributionTenantWebACLCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n disassociate_distribution_web_acl: [\n Sdk.DisassociateDistributionWebACLCommandInput,\n Sdk.DisassociateDistributionWebACLCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n get_anycast_ip_list: [\n Sdk.GetAnycastIpListCommandInput,\n Sdk.GetAnycastIpListCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_cache_policy: [\n Sdk.GetCachePolicyCommandInput,\n Sdk.GetCachePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy\n }\n ]\n get_cache_policy_config: [\n Sdk.GetCachePolicyConfigCommandInput,\n Sdk.GetCachePolicyConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy\n }\n ]\n get_cloud_front_origin_access_identity: [\n Sdk.GetCloudFrontOriginAccessIdentityCommandInput,\n Sdk.GetCloudFrontOriginAccessIdentityCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchCloudFrontOriginAccessIdentity\": Sdk.NoSuchCloudFrontOriginAccessIdentity\n }\n ]\n get_cloud_front_origin_access_identity_config: [\n Sdk.GetCloudFrontOriginAccessIdentityConfigCommandInput,\n Sdk.GetCloudFrontOriginAccessIdentityConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchCloudFrontOriginAccessIdentity\": Sdk.NoSuchCloudFrontOriginAccessIdentity\n }\n ]\n get_connection_function: [\n Sdk.GetConnectionFunctionCommandInput,\n Sdk.GetConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_connection_group: [\n Sdk.GetConnectionGroupCommandInput,\n Sdk.GetConnectionGroupCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound\n }\n ]\n get_connection_group_by_routing_endpoint: [\n Sdk.GetConnectionGroupByRoutingEndpointCommandInput,\n Sdk.GetConnectionGroupByRoutingEndpointCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound\n }\n ]\n get_continuous_deployment_policy: [\n Sdk.GetContinuousDeploymentPolicyCommandInput,\n Sdk.GetContinuousDeploymentPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy\n }\n ]\n get_continuous_deployment_policy_config: [\n Sdk.GetContinuousDeploymentPolicyConfigCommandInput,\n Sdk.GetContinuousDeploymentPolicyConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy\n }\n ]\n get_distribution: [\n Sdk.GetDistributionCommandInput,\n Sdk.GetDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution\n }\n ]\n get_distribution_config: [\n Sdk.GetDistributionConfigCommandInput,\n Sdk.GetDistributionConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution\n }\n ]\n get_distribution_tenant: [\n Sdk.GetDistributionTenantCommandInput,\n Sdk.GetDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound\n }\n ]\n get_distribution_tenant_by_domain: [\n Sdk.GetDistributionTenantByDomainCommandInput,\n Sdk.GetDistributionTenantByDomainCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound\n }\n ]\n get_field_level_encryption: [\n Sdk.GetFieldLevelEncryptionCommandInput,\n Sdk.GetFieldLevelEncryptionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig\n }\n ]\n get_field_level_encryption_config: [\n Sdk.GetFieldLevelEncryptionConfigCommandInput,\n Sdk.GetFieldLevelEncryptionConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig\n }\n ]\n get_field_level_encryption_profile: [\n Sdk.GetFieldLevelEncryptionProfileCommandInput,\n Sdk.GetFieldLevelEncryptionProfileCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile\n }\n ]\n get_field_level_encryption_profile_config: [\n Sdk.GetFieldLevelEncryptionProfileConfigCommandInput,\n Sdk.GetFieldLevelEncryptionProfileConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile\n }\n ]\n get_function: [\n Sdk.GetFunctionCommandInput,\n Sdk.GetFunctionCommandOutput,\n {\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_invalidation: [\n Sdk.GetInvalidationCommandInput,\n Sdk.GetInvalidationCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchInvalidation\": Sdk.NoSuchInvalidation\n }\n ]\n get_invalidation_for_distribution_tenant: [\n Sdk.GetInvalidationForDistributionTenantCommandInput,\n Sdk.GetInvalidationForDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"NoSuchInvalidation\": Sdk.NoSuchInvalidation\n }\n ]\n get_key_group: [\n Sdk.GetKeyGroupCommandInput,\n Sdk.GetKeyGroupCommandOutput,\n {\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n get_key_group_config: [\n Sdk.GetKeyGroupConfigCommandInput,\n Sdk.GetKeyGroupConfigCommandOutput,\n {\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n get_managed_certificate_details: [\n Sdk.GetManagedCertificateDetailsCommandInput,\n Sdk.GetManagedCertificateDetailsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound\n }\n ]\n get_monitoring_subscription: [\n Sdk.GetMonitoringSubscriptionCommandInput,\n Sdk.GetMonitoringSubscriptionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchMonitoringSubscription\": Sdk.NoSuchMonitoringSubscription,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_origin_access_control: [\n Sdk.GetOriginAccessControlCommandInput,\n Sdk.GetOriginAccessControlCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchOriginAccessControl\": Sdk.NoSuchOriginAccessControl\n }\n ]\n get_origin_access_control_config: [\n Sdk.GetOriginAccessControlConfigCommandInput,\n Sdk.GetOriginAccessControlConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchOriginAccessControl\": Sdk.NoSuchOriginAccessControl\n }\n ]\n get_origin_request_policy: [\n Sdk.GetOriginRequestPolicyCommandInput,\n Sdk.GetOriginRequestPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy\n }\n ]\n get_origin_request_policy_config: [\n Sdk.GetOriginRequestPolicyConfigCommandInput,\n Sdk.GetOriginRequestPolicyConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy\n }\n ]\n get_public_key: [\n Sdk.GetPublicKeyCommandInput,\n Sdk.GetPublicKeyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey\n }\n ]\n get_public_key_config: [\n Sdk.GetPublicKeyConfigCommandInput,\n Sdk.GetPublicKeyConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey\n }\n ]\n get_realtime_log_config: [\n Sdk.GetRealtimeLogConfigCommandInput,\n Sdk.GetRealtimeLogConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig\n }\n ]\n get_resource_policy: [\n Sdk.GetResourcePolicyCommandInput,\n Sdk.GetResourcePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_response_headers_policy: [\n Sdk.GetResponseHeadersPolicyCommandInput,\n Sdk.GetResponseHeadersPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy\n }\n ]\n get_response_headers_policy_config: [\n Sdk.GetResponseHeadersPolicyConfigCommandInput,\n Sdk.GetResponseHeadersPolicyConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy\n }\n ]\n get_streaming_distribution: [\n Sdk.GetStreamingDistributionCommandInput,\n Sdk.GetStreamingDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchStreamingDistribution\": Sdk.NoSuchStreamingDistribution\n }\n ]\n get_streaming_distribution_config: [\n Sdk.GetStreamingDistributionConfigCommandInput,\n Sdk.GetStreamingDistributionConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"NoSuchStreamingDistribution\": Sdk.NoSuchStreamingDistribution\n }\n ]\n get_trust_store: [\n Sdk.GetTrustStoreCommandInput,\n Sdk.GetTrustStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n get_vpc_origin: [\n Sdk.GetVpcOriginCommandInput,\n Sdk.GetVpcOriginCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_anycast_ip_lists: [\n Sdk.ListAnycastIpListsCommandInput,\n Sdk.ListAnycastIpListsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_cache_policies: [\n Sdk.ListCachePoliciesCommandInput,\n Sdk.ListCachePoliciesCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy\n }\n ]\n list_cloud_front_origin_access_identities: [\n Sdk.ListCloudFrontOriginAccessIdentitiesCommandInput,\n Sdk.ListCloudFrontOriginAccessIdentitiesCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_conflicting_aliases: [\n Sdk.ListConflictingAliasesCommandInput,\n Sdk.ListConflictingAliasesCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution\n }\n ]\n list_connection_functions: [\n Sdk.ListConnectionFunctionsCommandInput,\n Sdk.ListConnectionFunctionsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_connection_groups: [\n Sdk.ListConnectionGroupsCommandInput,\n Sdk.ListConnectionGroupsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_continuous_deployment_policies: [\n Sdk.ListContinuousDeploymentPoliciesCommandInput,\n Sdk.ListContinuousDeploymentPoliciesCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy\n }\n ]\n list_distribution_tenants: [\n Sdk.ListDistributionTenantsCommandInput,\n Sdk.ListDistributionTenantsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distribution_tenants_by_customization: [\n Sdk.ListDistributionTenantsByCustomizationCommandInput,\n Sdk.ListDistributionTenantsByCustomizationCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions: [\n Sdk.ListDistributionsCommandInput,\n Sdk.ListDistributionsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions_by_anycast_ip_list_id: [\n Sdk.ListDistributionsByAnycastIpListIdCommandInput,\n Sdk.ListDistributionsByAnycastIpListIdCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_distributions_by_cache_policy_id: [\n Sdk.ListDistributionsByCachePolicyIdCommandInput,\n Sdk.ListDistributionsByCachePolicyIdCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy\n }\n ]\n list_distributions_by_connection_function: [\n Sdk.ListDistributionsByConnectionFunctionCommandInput,\n Sdk.ListDistributionsByConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions_by_connection_mode: [\n Sdk.ListDistributionsByConnectionModeCommandInput,\n Sdk.ListDistributionsByConnectionModeCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions_by_key_group: [\n Sdk.ListDistributionsByKeyGroupCommandInput,\n Sdk.ListDistributionsByKeyGroupCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n list_distributions_by_origin_request_policy_id: [\n Sdk.ListDistributionsByOriginRequestPolicyIdCommandInput,\n Sdk.ListDistributionsByOriginRequestPolicyIdCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy\n }\n ]\n list_distributions_by_owned_resource: [\n Sdk.ListDistributionsByOwnedResourceCommandInput,\n Sdk.ListDistributionsByOwnedResourceCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_distributions_by_realtime_log_config: [\n Sdk.ListDistributionsByRealtimeLogConfigCommandInput,\n Sdk.ListDistributionsByRealtimeLogConfigCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions_by_response_headers_policy_id: [\n Sdk.ListDistributionsByResponseHeadersPolicyIdCommandInput,\n Sdk.ListDistributionsByResponseHeadersPolicyIdCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy\n }\n ]\n list_distributions_by_trust_store: [\n Sdk.ListDistributionsByTrustStoreCommandInput,\n Sdk.ListDistributionsByTrustStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_distributions_by_vpc_origin_id: [\n Sdk.ListDistributionsByVpcOriginIdCommandInput,\n Sdk.ListDistributionsByVpcOriginIdCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_distributions_by_web_acl_id: [\n Sdk.ListDistributionsByWebACLIdCommandInput,\n Sdk.ListDistributionsByWebACLIdCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId\n }\n ]\n list_domain_conflicts: [\n Sdk.ListDomainConflictsCommandInput,\n Sdk.ListDomainConflictsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_field_level_encryption_configs: [\n Sdk.ListFieldLevelEncryptionConfigsCommandInput,\n Sdk.ListFieldLevelEncryptionConfigsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_field_level_encryption_profiles: [\n Sdk.ListFieldLevelEncryptionProfilesCommandInput,\n Sdk.ListFieldLevelEncryptionProfilesCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_functions: [\n Sdk.ListFunctionsCommandInput,\n Sdk.ListFunctionsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_invalidations: [\n Sdk.ListInvalidationsCommandInput,\n Sdk.ListInvalidationsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution\n }\n ]\n list_invalidations_for_distribution_tenant: [\n Sdk.ListInvalidationsForDistributionTenantCommandInput,\n Sdk.ListInvalidationsForDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_key_groups: [\n Sdk.ListKeyGroupsCommandInput,\n Sdk.ListKeyGroupsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_key_value_stores: [\n Sdk.ListKeyValueStoresCommandInput,\n Sdk.ListKeyValueStoresCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_origin_access_controls: [\n Sdk.ListOriginAccessControlsCommandInput,\n Sdk.ListOriginAccessControlsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_origin_request_policies: [\n Sdk.ListOriginRequestPoliciesCommandInput,\n Sdk.ListOriginRequestPoliciesCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy\n }\n ]\n list_public_keys: [\n Sdk.ListPublicKeysCommandInput,\n Sdk.ListPublicKeysCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_realtime_log_configs: [\n Sdk.ListRealtimeLogConfigsCommandInput,\n Sdk.ListRealtimeLogConfigsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig\n }\n ]\n list_response_headers_policies: [\n Sdk.ListResponseHeadersPoliciesCommandInput,\n Sdk.ListResponseHeadersPoliciesCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy\n }\n ]\n list_streaming_distributions: [\n Sdk.ListStreamingDistributionsCommandInput,\n Sdk.ListStreamingDistributionsCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_tags_for_resource: [\n Sdk.ListTagsForResourceCommandInput,\n Sdk.ListTagsForResourceCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n list_trust_stores: [\n Sdk.ListTrustStoresCommandInput,\n Sdk.ListTrustStoresCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n list_vpc_origins: [\n Sdk.ListVpcOriginsCommandInput,\n Sdk.ListVpcOriginsCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n publish_connection_function: [\n Sdk.PublishConnectionFunctionCommandInput,\n Sdk.PublishConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n publish_function: [\n Sdk.PublishFunctionCommandInput,\n Sdk.PublishFunctionCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n put_resource_policy: [\n Sdk.PutResourcePolicyCommandInput,\n Sdk.PutResourcePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n tag_resource: [\n Sdk.TagResourceCommandInput,\n Sdk.TagResourceCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n test_connection_function: [\n Sdk.TestConnectionFunctionCommandInput,\n Sdk.TestConnectionFunctionCommandOutput,\n {\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TestFunctionFailed\": Sdk.TestFunctionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n test_function: [\n Sdk.TestFunctionCommandInput,\n Sdk.TestFunctionCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"TestFunctionFailed\": Sdk.TestFunctionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n untag_resource: [\n Sdk.UntagResourceCommandInput,\n Sdk.UntagResourceCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidTagging\": Sdk.InvalidTagging,\n \"NoSuchResource\": Sdk.NoSuchResource\n }\n ]\n update_anycast_ip_list: [\n Sdk.UpdateAnycastIpListCommandInput,\n Sdk.UpdateAnycastIpListCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n update_cache_policy: [\n Sdk.UpdateCachePolicyCommandInput,\n Sdk.UpdateCachePolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CachePolicyAlreadyExists\": Sdk.CachePolicyAlreadyExists,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TooManyCookiesInCachePolicy\": Sdk.TooManyCookiesInCachePolicy,\n \"TooManyHeadersInCachePolicy\": Sdk.TooManyHeadersInCachePolicy,\n \"TooManyQueryStringsInCachePolicy\": Sdk.TooManyQueryStringsInCachePolicy\n }\n ]\n update_cloud_front_origin_access_identity: [\n Sdk.UpdateCloudFrontOriginAccessIdentityCommandInput,\n Sdk.UpdateCloudFrontOriginAccessIdentityCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCloudFrontOriginAccessIdentity\": Sdk.NoSuchCloudFrontOriginAccessIdentity,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_connection_function: [\n Sdk.UpdateConnectionFunctionCommandInput,\n Sdk.UpdateConnectionFunctionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"EntitySizeLimitExceeded\": Sdk.EntitySizeLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n update_connection_group: [\n Sdk.UpdateConnectionGroupCommandInput,\n Sdk.UpdateConnectionGroupCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResourceInUse\": Sdk.ResourceInUse\n }\n ]\n update_continuous_deployment_policy: [\n Sdk.UpdateContinuousDeploymentPolicyCommandInput,\n Sdk.UpdateContinuousDeploymentPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"StagingDistributionInUse\": Sdk.StagingDistributionInUse\n }\n ]\n update_distribution: [\n Sdk.UpdateDistributionCommandInput,\n Sdk.UpdateDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"ContinuousDeploymentPolicyInUse\": Sdk.ContinuousDeploymentPolicyInUse,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior\": Sdk.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,\n \"IllegalOriginAccessConfiguration\": Sdk.IllegalOriginAccessConfiguration,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidDefaultRootObject\": Sdk.InvalidDefaultRootObject,\n \"InvalidDomainNameForOriginAccessControl\": Sdk.InvalidDomainNameForOriginAccessControl,\n \"InvalidErrorCode\": Sdk.InvalidErrorCode,\n \"InvalidForwardCookies\": Sdk.InvalidForwardCookies,\n \"InvalidFunctionAssociation\": Sdk.InvalidFunctionAssociation,\n \"InvalidGeoRestrictionParameter\": Sdk.InvalidGeoRestrictionParameter,\n \"InvalidHeadersForS3Origin\": Sdk.InvalidHeadersForS3Origin,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"InvalidLambdaFunctionAssociation\": Sdk.InvalidLambdaFunctionAssociation,\n \"InvalidLocationCode\": Sdk.InvalidLocationCode,\n \"InvalidMinimumProtocolVersion\": Sdk.InvalidMinimumProtocolVersion,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidOriginKeepaliveTimeout\": Sdk.InvalidOriginKeepaliveTimeout,\n \"InvalidOriginReadTimeout\": Sdk.InvalidOriginReadTimeout,\n \"InvalidQueryStringParameters\": Sdk.InvalidQueryStringParameters,\n \"InvalidRelativePath\": Sdk.InvalidRelativePath,\n \"InvalidRequiredProtocol\": Sdk.InvalidRequiredProtocol,\n \"InvalidResponseCode\": Sdk.InvalidResponseCode,\n \"InvalidTTLOrder\": Sdk.InvalidTTLOrder,\n \"InvalidViewerCertificate\": Sdk.InvalidViewerCertificate,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"NoSuchContinuousDeploymentPolicy\": Sdk.NoSuchContinuousDeploymentPolicy,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchOrigin\": Sdk.NoSuchOrigin,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"RealtimeLogConfigOwnerMismatch\": Sdk.RealtimeLogConfigOwnerMismatch,\n \"StagingDistributionInUse\": Sdk.StagingDistributionInUse,\n \"TooManyCacheBehaviors\": Sdk.TooManyCacheBehaviors,\n \"TooManyCertificates\": Sdk.TooManyCertificates,\n \"TooManyCookieNamesInWhiteList\": Sdk.TooManyCookieNamesInWhiteList,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs,\n \"TooManyDistributionsAssociatedToCachePolicy\": Sdk.TooManyDistributionsAssociatedToCachePolicy,\n \"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig\": Sdk.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,\n \"TooManyDistributionsAssociatedToKeyGroup\": Sdk.TooManyDistributionsAssociatedToKeyGroup,\n \"TooManyDistributionsAssociatedToOriginAccessControl\": Sdk.TooManyDistributionsAssociatedToOriginAccessControl,\n \"TooManyDistributionsAssociatedToOriginRequestPolicy\": Sdk.TooManyDistributionsAssociatedToOriginRequestPolicy,\n \"TooManyDistributionsAssociatedToResponseHeadersPolicy\": Sdk.TooManyDistributionsAssociatedToResponseHeadersPolicy,\n \"TooManyDistributionsWithFunctionAssociations\": Sdk.TooManyDistributionsWithFunctionAssociations,\n \"TooManyDistributionsWithLambdaAssociations\": Sdk.TooManyDistributionsWithLambdaAssociations,\n \"TooManyDistributionsWithSingleFunctionARN\": Sdk.TooManyDistributionsWithSingleFunctionARN,\n \"TooManyFunctionAssociations\": Sdk.TooManyFunctionAssociations,\n \"TooManyHeadersInForwardedValues\": Sdk.TooManyHeadersInForwardedValues,\n \"TooManyKeyGroupsAssociatedToDistribution\": Sdk.TooManyKeyGroupsAssociatedToDistribution,\n \"TooManyLambdaFunctionAssociations\": Sdk.TooManyLambdaFunctionAssociations,\n \"TooManyOriginCustomHeaders\": Sdk.TooManyOriginCustomHeaders,\n \"TooManyOriginGroupsPerDistribution\": Sdk.TooManyOriginGroupsPerDistribution,\n \"TooManyOrigins\": Sdk.TooManyOrigins,\n \"TooManyQueryStringParameters\": Sdk.TooManyQueryStringParameters,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedKeyGroupDoesNotExist\": Sdk.TrustedKeyGroupDoesNotExist,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n update_distribution_tenant: [\n Sdk.UpdateDistributionTenantCommandInput,\n Sdk.UpdateDistributionTenantCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidAssociation\": Sdk.InvalidAssociation,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_distribution_with_staging_config: [\n Sdk.UpdateDistributionWithStagingConfigCommandInput,\n Sdk.UpdateDistributionWithStagingConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior\": Sdk.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidDefaultRootObject\": Sdk.InvalidDefaultRootObject,\n \"InvalidErrorCode\": Sdk.InvalidErrorCode,\n \"InvalidForwardCookies\": Sdk.InvalidForwardCookies,\n \"InvalidFunctionAssociation\": Sdk.InvalidFunctionAssociation,\n \"InvalidGeoRestrictionParameter\": Sdk.InvalidGeoRestrictionParameter,\n \"InvalidHeadersForS3Origin\": Sdk.InvalidHeadersForS3Origin,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"InvalidLambdaFunctionAssociation\": Sdk.InvalidLambdaFunctionAssociation,\n \"InvalidLocationCode\": Sdk.InvalidLocationCode,\n \"InvalidMinimumProtocolVersion\": Sdk.InvalidMinimumProtocolVersion,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"InvalidOriginKeepaliveTimeout\": Sdk.InvalidOriginKeepaliveTimeout,\n \"InvalidOriginReadTimeout\": Sdk.InvalidOriginReadTimeout,\n \"InvalidQueryStringParameters\": Sdk.InvalidQueryStringParameters,\n \"InvalidRelativePath\": Sdk.InvalidRelativePath,\n \"InvalidRequiredProtocol\": Sdk.InvalidRequiredProtocol,\n \"InvalidResponseCode\": Sdk.InvalidResponseCode,\n \"InvalidTTLOrder\": Sdk.InvalidTTLOrder,\n \"InvalidViewerCertificate\": Sdk.InvalidViewerCertificate,\n \"InvalidWebACLId\": Sdk.InvalidWebACLId,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchCachePolicy\": Sdk.NoSuchCachePolicy,\n \"NoSuchDistribution\": Sdk.NoSuchDistribution,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchOrigin\": Sdk.NoSuchOrigin,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"RealtimeLogConfigOwnerMismatch\": Sdk.RealtimeLogConfigOwnerMismatch,\n \"TooManyCacheBehaviors\": Sdk.TooManyCacheBehaviors,\n \"TooManyCertificates\": Sdk.TooManyCertificates,\n \"TooManyCookieNamesInWhiteList\": Sdk.TooManyCookieNamesInWhiteList,\n \"TooManyDistributionCNAMEs\": Sdk.TooManyDistributionCNAMEs,\n \"TooManyDistributionsAssociatedToCachePolicy\": Sdk.TooManyDistributionsAssociatedToCachePolicy,\n \"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig\": Sdk.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig,\n \"TooManyDistributionsAssociatedToKeyGroup\": Sdk.TooManyDistributionsAssociatedToKeyGroup,\n \"TooManyDistributionsAssociatedToOriginAccessControl\": Sdk.TooManyDistributionsAssociatedToOriginAccessControl,\n \"TooManyDistributionsAssociatedToOriginRequestPolicy\": Sdk.TooManyDistributionsAssociatedToOriginRequestPolicy,\n \"TooManyDistributionsAssociatedToResponseHeadersPolicy\": Sdk.TooManyDistributionsAssociatedToResponseHeadersPolicy,\n \"TooManyDistributionsWithFunctionAssociations\": Sdk.TooManyDistributionsWithFunctionAssociations,\n \"TooManyDistributionsWithLambdaAssociations\": Sdk.TooManyDistributionsWithLambdaAssociations,\n \"TooManyDistributionsWithSingleFunctionARN\": Sdk.TooManyDistributionsWithSingleFunctionARN,\n \"TooManyFunctionAssociations\": Sdk.TooManyFunctionAssociations,\n \"TooManyHeadersInForwardedValues\": Sdk.TooManyHeadersInForwardedValues,\n \"TooManyKeyGroupsAssociatedToDistribution\": Sdk.TooManyKeyGroupsAssociatedToDistribution,\n \"TooManyLambdaFunctionAssociations\": Sdk.TooManyLambdaFunctionAssociations,\n \"TooManyOriginCustomHeaders\": Sdk.TooManyOriginCustomHeaders,\n \"TooManyOriginGroupsPerDistribution\": Sdk.TooManyOriginGroupsPerDistribution,\n \"TooManyOrigins\": Sdk.TooManyOrigins,\n \"TooManyQueryStringParameters\": Sdk.TooManyQueryStringParameters,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedKeyGroupDoesNotExist\": Sdk.TrustedKeyGroupDoesNotExist,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n update_domain_association: [\n Sdk.UpdateDomainAssociationCommandInput,\n Sdk.UpdateDomainAssociationCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_field_level_encryption_config: [\n Sdk.UpdateFieldLevelEncryptionConfigCommandInput,\n Sdk.UpdateFieldLevelEncryptionConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFieldLevelEncryptionConfig\": Sdk.NoSuchFieldLevelEncryptionConfig,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"QueryArgProfileEmpty\": Sdk.QueryArgProfileEmpty,\n \"TooManyFieldLevelEncryptionContentTypeProfiles\": Sdk.TooManyFieldLevelEncryptionContentTypeProfiles,\n \"TooManyFieldLevelEncryptionQueryArgProfiles\": Sdk.TooManyFieldLevelEncryptionQueryArgProfiles\n }\n ]\n update_field_level_encryption_profile: [\n Sdk.UpdateFieldLevelEncryptionProfileCommandInput,\n Sdk.UpdateFieldLevelEncryptionProfileCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"FieldLevelEncryptionProfileAlreadyExists\": Sdk.FieldLevelEncryptionProfileAlreadyExists,\n \"FieldLevelEncryptionProfileSizeExceeded\": Sdk.FieldLevelEncryptionProfileSizeExceeded,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFieldLevelEncryptionProfile\": Sdk.NoSuchFieldLevelEncryptionProfile,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TooManyFieldLevelEncryptionEncryptionEntities\": Sdk.TooManyFieldLevelEncryptionEncryptionEntities,\n \"TooManyFieldLevelEncryptionFieldPatterns\": Sdk.TooManyFieldLevelEncryptionFieldPatterns\n }\n ]\n update_function: [\n Sdk.UpdateFunctionCommandInput,\n Sdk.UpdateFunctionCommandOutput,\n {\n \"FunctionSizeLimitExceeded\": Sdk.FunctionSizeLimitExceeded,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchFunctionExists\": Sdk.NoSuchFunctionExists,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n update_key_group: [\n Sdk.UpdateKeyGroupCommandInput,\n Sdk.UpdateKeyGroupCommandOutput,\n {\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"KeyGroupAlreadyExists\": Sdk.KeyGroupAlreadyExists,\n \"NoSuchResource\": Sdk.NoSuchResource,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TooManyPublicKeysInKeyGroup\": Sdk.TooManyPublicKeysInKeyGroup\n }\n ]\n update_key_value_store: [\n Sdk.UpdateKeyValueStoreCommandInput,\n Sdk.UpdateKeyValueStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n update_origin_access_control: [\n Sdk.UpdateOriginAccessControlCommandInput,\n Sdk.UpdateOriginAccessControlCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchOriginAccessControl\": Sdk.NoSuchOriginAccessControl,\n \"OriginAccessControlAlreadyExists\": Sdk.OriginAccessControlAlreadyExists,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_origin_request_policy: [\n Sdk.UpdateOriginRequestPolicyCommandInput,\n Sdk.UpdateOriginRequestPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchOriginRequestPolicy\": Sdk.NoSuchOriginRequestPolicy,\n \"OriginRequestPolicyAlreadyExists\": Sdk.OriginRequestPolicyAlreadyExists,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TooManyCookiesInOriginRequestPolicy\": Sdk.TooManyCookiesInOriginRequestPolicy,\n \"TooManyHeadersInOriginRequestPolicy\": Sdk.TooManyHeadersInOriginRequestPolicy,\n \"TooManyQueryStringsInOriginRequestPolicy\": Sdk.TooManyQueryStringsInOriginRequestPolicy\n }\n ]\n update_public_key: [\n Sdk.UpdatePublicKeyCommandInput,\n Sdk.UpdatePublicKeyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotChangeImmutablePublicKeyFields\": Sdk.CannotChangeImmutablePublicKeyFields,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchPublicKey\": Sdk.NoSuchPublicKey,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_realtime_log_config: [\n Sdk.UpdateRealtimeLogConfigCommandInput,\n Sdk.UpdateRealtimeLogConfigCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"NoSuchRealtimeLogConfig\": Sdk.NoSuchRealtimeLogConfig\n }\n ]\n update_response_headers_policy: [\n Sdk.UpdateResponseHeadersPolicyCommandInput,\n Sdk.UpdateResponseHeadersPolicyCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"NoSuchResponseHeadersPolicy\": Sdk.NoSuchResponseHeadersPolicy,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"ResponseHeadersPolicyAlreadyExists\": Sdk.ResponseHeadersPolicyAlreadyExists,\n \"TooLongCSPInResponseHeadersPolicy\": Sdk.TooLongCSPInResponseHeadersPolicy,\n \"TooManyCustomHeadersInResponseHeadersPolicy\": Sdk.TooManyCustomHeadersInResponseHeadersPolicy,\n \"TooManyRemoveHeadersInResponseHeadersPolicy\": Sdk.TooManyRemoveHeadersInResponseHeadersPolicy\n }\n ]\n update_streaming_distribution: [\n Sdk.UpdateStreamingDistributionCommandInput,\n Sdk.UpdateStreamingDistributionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CNAMEAlreadyExists\": Sdk.CNAMEAlreadyExists,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"InvalidOriginAccessControl\": Sdk.InvalidOriginAccessControl,\n \"InvalidOriginAccessIdentity\": Sdk.InvalidOriginAccessIdentity,\n \"MissingBody\": Sdk.MissingBody,\n \"NoSuchStreamingDistribution\": Sdk.NoSuchStreamingDistribution,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"TooManyStreamingDistributionCNAMEs\": Sdk.TooManyStreamingDistributionCNAMEs,\n \"TooManyTrustedSigners\": Sdk.TooManyTrustedSigners,\n \"TrustedSignerDoesNotExist\": Sdk.TrustedSignerDoesNotExist\n }\n ]\n update_trust_store: [\n Sdk.UpdateTrustStoreCommandInput,\n Sdk.UpdateTrustStoreCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed\n }\n ]\n update_vpc_origin: [\n Sdk.UpdateVpcOriginCommandInput,\n Sdk.UpdateVpcOriginCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"CannotUpdateEntityWhileInUse\": Sdk.CannotUpdateEntityWhileInUse,\n \"EntityAlreadyExists\": Sdk.EntityAlreadyExists,\n \"EntityLimitExceeded\": Sdk.EntityLimitExceeded,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"IllegalUpdate\": Sdk.IllegalUpdate,\n \"InconsistentQuantities\": Sdk.InconsistentQuantities,\n \"InvalidArgument\": Sdk.InvalidArgument,\n \"InvalidIfMatchVersion\": Sdk.InvalidIfMatchVersion,\n \"PreconditionFailed\": Sdk.PreconditionFailed,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n verify_dns_configuration: [\n Sdk.VerifyDnsConfigurationCommandInput,\n Sdk.VerifyDnsConfigurationCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"EntityNotFound\": Sdk.EntityNotFound,\n \"InvalidArgument\": Sdk.InvalidArgument\n }\n ]\n};\n\nconst CloudFrontCommandFactory: { [M in keyof CloudFrontApi]: new (args: CloudFrontApi[M][0]) => unknown } = {\n associate_alias: Sdk.AssociateAliasCommand,\n associate_distribution_tenant_web_acl: Sdk.AssociateDistributionTenantWebACLCommand,\n associate_distribution_web_acl: Sdk.AssociateDistributionWebACLCommand,\n copy_distribution: Sdk.CopyDistributionCommand,\n create_anycast_ip_list: Sdk.CreateAnycastIpListCommand,\n create_cache_policy: Sdk.CreateCachePolicyCommand,\n create_cloud_front_origin_access_identity: Sdk.CreateCloudFrontOriginAccessIdentityCommand,\n create_connection_function: Sdk.CreateConnectionFunctionCommand,\n create_connection_group: Sdk.CreateConnectionGroupCommand,\n create_continuous_deployment_policy: Sdk.CreateContinuousDeploymentPolicyCommand,\n create_distribution: Sdk.CreateDistributionCommand,\n create_distribution_tenant: Sdk.CreateDistributionTenantCommand,\n create_distribution_with_tags: Sdk.CreateDistributionWithTagsCommand,\n create_field_level_encryption_config: Sdk.CreateFieldLevelEncryptionConfigCommand,\n create_field_level_encryption_profile: Sdk.CreateFieldLevelEncryptionProfileCommand,\n create_function: Sdk.CreateFunctionCommand,\n create_invalidation: Sdk.CreateInvalidationCommand,\n create_invalidation_for_distribution_tenant: Sdk.CreateInvalidationForDistributionTenantCommand,\n create_key_group: Sdk.CreateKeyGroupCommand,\n create_key_value_store: Sdk.CreateKeyValueStoreCommand,\n create_monitoring_subscription: Sdk.CreateMonitoringSubscriptionCommand,\n create_origin_access_control: Sdk.CreateOriginAccessControlCommand,\n create_origin_request_policy: Sdk.CreateOriginRequestPolicyCommand,\n create_public_key: Sdk.CreatePublicKeyCommand,\n create_realtime_log_config: Sdk.CreateRealtimeLogConfigCommand,\n create_response_headers_policy: Sdk.CreateResponseHeadersPolicyCommand,\n create_streaming_distribution: Sdk.CreateStreamingDistributionCommand,\n create_streaming_distribution_with_tags: Sdk.CreateStreamingDistributionWithTagsCommand,\n create_trust_store: Sdk.CreateTrustStoreCommand,\n create_vpc_origin: Sdk.CreateVpcOriginCommand,\n delete_anycast_ip_list: Sdk.DeleteAnycastIpListCommand,\n delete_cache_policy: Sdk.DeleteCachePolicyCommand,\n delete_cloud_front_origin_access_identity: Sdk.DeleteCloudFrontOriginAccessIdentityCommand,\n delete_connection_function: Sdk.DeleteConnectionFunctionCommand,\n delete_connection_group: Sdk.DeleteConnectionGroupCommand,\n delete_continuous_deployment_policy: Sdk.DeleteContinuousDeploymentPolicyCommand,\n delete_distribution: Sdk.DeleteDistributionCommand,\n delete_distribution_tenant: Sdk.DeleteDistributionTenantCommand,\n delete_field_level_encryption_config: Sdk.DeleteFieldLevelEncryptionConfigCommand,\n delete_field_level_encryption_profile: Sdk.DeleteFieldLevelEncryptionProfileCommand,\n delete_function: Sdk.DeleteFunctionCommand,\n delete_key_group: Sdk.DeleteKeyGroupCommand,\n delete_key_value_store: Sdk.DeleteKeyValueStoreCommand,\n delete_monitoring_subscription: Sdk.DeleteMonitoringSubscriptionCommand,\n delete_origin_access_control: Sdk.DeleteOriginAccessControlCommand,\n delete_origin_request_policy: Sdk.DeleteOriginRequestPolicyCommand,\n delete_public_key: Sdk.DeletePublicKeyCommand,\n delete_realtime_log_config: Sdk.DeleteRealtimeLogConfigCommand,\n delete_resource_policy: Sdk.DeleteResourcePolicyCommand,\n delete_response_headers_policy: Sdk.DeleteResponseHeadersPolicyCommand,\n delete_streaming_distribution: Sdk.DeleteStreamingDistributionCommand,\n delete_trust_store: Sdk.DeleteTrustStoreCommand,\n delete_vpc_origin: Sdk.DeleteVpcOriginCommand,\n describe_connection_function: Sdk.DescribeConnectionFunctionCommand,\n describe_function: Sdk.DescribeFunctionCommand,\n describe_key_value_store: Sdk.DescribeKeyValueStoreCommand,\n disassociate_distribution_tenant_web_acl: Sdk.DisassociateDistributionTenantWebACLCommand,\n disassociate_distribution_web_acl: Sdk.DisassociateDistributionWebACLCommand,\n get_anycast_ip_list: Sdk.GetAnycastIpListCommand,\n get_cache_policy: Sdk.GetCachePolicyCommand,\n get_cache_policy_config: Sdk.GetCachePolicyConfigCommand,\n get_cloud_front_origin_access_identity: Sdk.GetCloudFrontOriginAccessIdentityCommand,\n get_cloud_front_origin_access_identity_config: Sdk.GetCloudFrontOriginAccessIdentityConfigCommand,\n get_connection_function: Sdk.GetConnectionFunctionCommand,\n get_connection_group: Sdk.GetConnectionGroupCommand,\n get_connection_group_by_routing_endpoint: Sdk.GetConnectionGroupByRoutingEndpointCommand,\n get_continuous_deployment_policy: Sdk.GetContinuousDeploymentPolicyCommand,\n get_continuous_deployment_policy_config: Sdk.GetContinuousDeploymentPolicyConfigCommand,\n get_distribution: Sdk.GetDistributionCommand,\n get_distribution_config: Sdk.GetDistributionConfigCommand,\n get_distribution_tenant: Sdk.GetDistributionTenantCommand,\n get_distribution_tenant_by_domain: Sdk.GetDistributionTenantByDomainCommand,\n get_field_level_encryption: Sdk.GetFieldLevelEncryptionCommand,\n get_field_level_encryption_config: Sdk.GetFieldLevelEncryptionConfigCommand,\n get_field_level_encryption_profile: Sdk.GetFieldLevelEncryptionProfileCommand,\n get_field_level_encryption_profile_config: Sdk.GetFieldLevelEncryptionProfileConfigCommand,\n get_function: Sdk.GetFunctionCommand,\n get_invalidation: Sdk.GetInvalidationCommand,\n get_invalidation_for_distribution_tenant: Sdk.GetInvalidationForDistributionTenantCommand,\n get_key_group: Sdk.GetKeyGroupCommand,\n get_key_group_config: Sdk.GetKeyGroupConfigCommand,\n get_managed_certificate_details: Sdk.GetManagedCertificateDetailsCommand,\n get_monitoring_subscription: Sdk.GetMonitoringSubscriptionCommand,\n get_origin_access_control: Sdk.GetOriginAccessControlCommand,\n get_origin_access_control_config: Sdk.GetOriginAccessControlConfigCommand,\n get_origin_request_policy: Sdk.GetOriginRequestPolicyCommand,\n get_origin_request_policy_config: Sdk.GetOriginRequestPolicyConfigCommand,\n get_public_key: Sdk.GetPublicKeyCommand,\n get_public_key_config: Sdk.GetPublicKeyConfigCommand,\n get_realtime_log_config: Sdk.GetRealtimeLogConfigCommand,\n get_resource_policy: Sdk.GetResourcePolicyCommand,\n get_response_headers_policy: Sdk.GetResponseHeadersPolicyCommand,\n get_response_headers_policy_config: Sdk.GetResponseHeadersPolicyConfigCommand,\n get_streaming_distribution: Sdk.GetStreamingDistributionCommand,\n get_streaming_distribution_config: Sdk.GetStreamingDistributionConfigCommand,\n get_trust_store: Sdk.GetTrustStoreCommand,\n get_vpc_origin: Sdk.GetVpcOriginCommand,\n list_anycast_ip_lists: Sdk.ListAnycastIpListsCommand,\n list_cache_policies: Sdk.ListCachePoliciesCommand,\n list_cloud_front_origin_access_identities: Sdk.ListCloudFrontOriginAccessIdentitiesCommand,\n list_conflicting_aliases: Sdk.ListConflictingAliasesCommand,\n list_connection_functions: Sdk.ListConnectionFunctionsCommand,\n list_connection_groups: Sdk.ListConnectionGroupsCommand,\n list_continuous_deployment_policies: Sdk.ListContinuousDeploymentPoliciesCommand,\n list_distribution_tenants: Sdk.ListDistributionTenantsCommand,\n list_distribution_tenants_by_customization: Sdk.ListDistributionTenantsByCustomizationCommand,\n list_distributions: Sdk.ListDistributionsCommand,\n list_distributions_by_anycast_ip_list_id: Sdk.ListDistributionsByAnycastIpListIdCommand,\n list_distributions_by_cache_policy_id: Sdk.ListDistributionsByCachePolicyIdCommand,\n list_distributions_by_connection_function: Sdk.ListDistributionsByConnectionFunctionCommand,\n list_distributions_by_connection_mode: Sdk.ListDistributionsByConnectionModeCommand,\n list_distributions_by_key_group: Sdk.ListDistributionsByKeyGroupCommand,\n list_distributions_by_origin_request_policy_id: Sdk.ListDistributionsByOriginRequestPolicyIdCommand,\n list_distributions_by_owned_resource: Sdk.ListDistributionsByOwnedResourceCommand,\n list_distributions_by_realtime_log_config: Sdk.ListDistributionsByRealtimeLogConfigCommand,\n list_distributions_by_response_headers_policy_id: Sdk.ListDistributionsByResponseHeadersPolicyIdCommand,\n list_distributions_by_trust_store: Sdk.ListDistributionsByTrustStoreCommand,\n list_distributions_by_vpc_origin_id: Sdk.ListDistributionsByVpcOriginIdCommand,\n list_distributions_by_web_acl_id: Sdk.ListDistributionsByWebACLIdCommand,\n list_domain_conflicts: Sdk.ListDomainConflictsCommand,\n list_field_level_encryption_configs: Sdk.ListFieldLevelEncryptionConfigsCommand,\n list_field_level_encryption_profiles: Sdk.ListFieldLevelEncryptionProfilesCommand,\n list_functions: Sdk.ListFunctionsCommand,\n list_invalidations: Sdk.ListInvalidationsCommand,\n list_invalidations_for_distribution_tenant: Sdk.ListInvalidationsForDistributionTenantCommand,\n list_key_groups: Sdk.ListKeyGroupsCommand,\n list_key_value_stores: Sdk.ListKeyValueStoresCommand,\n list_origin_access_controls: Sdk.ListOriginAccessControlsCommand,\n list_origin_request_policies: Sdk.ListOriginRequestPoliciesCommand,\n list_public_keys: Sdk.ListPublicKeysCommand,\n list_realtime_log_configs: Sdk.ListRealtimeLogConfigsCommand,\n list_response_headers_policies: Sdk.ListResponseHeadersPoliciesCommand,\n list_streaming_distributions: Sdk.ListStreamingDistributionsCommand,\n list_tags_for_resource: Sdk.ListTagsForResourceCommand,\n list_trust_stores: Sdk.ListTrustStoresCommand,\n list_vpc_origins: Sdk.ListVpcOriginsCommand,\n publish_connection_function: Sdk.PublishConnectionFunctionCommand,\n publish_function: Sdk.PublishFunctionCommand,\n put_resource_policy: Sdk.PutResourcePolicyCommand,\n tag_resource: Sdk.TagResourceCommand,\n test_connection_function: Sdk.TestConnectionFunctionCommand,\n test_function: Sdk.TestFunctionCommand,\n untag_resource: Sdk.UntagResourceCommand,\n update_anycast_ip_list: Sdk.UpdateAnycastIpListCommand,\n update_cache_policy: Sdk.UpdateCachePolicyCommand,\n update_cloud_front_origin_access_identity: Sdk.UpdateCloudFrontOriginAccessIdentityCommand,\n update_connection_function: Sdk.UpdateConnectionFunctionCommand,\n update_connection_group: Sdk.UpdateConnectionGroupCommand,\n update_continuous_deployment_policy: Sdk.UpdateContinuousDeploymentPolicyCommand,\n update_distribution: Sdk.UpdateDistributionCommand,\n update_distribution_tenant: Sdk.UpdateDistributionTenantCommand,\n update_distribution_with_staging_config: Sdk.UpdateDistributionWithStagingConfigCommand,\n update_domain_association: Sdk.UpdateDomainAssociationCommand,\n update_field_level_encryption_config: Sdk.UpdateFieldLevelEncryptionConfigCommand,\n update_field_level_encryption_profile: Sdk.UpdateFieldLevelEncryptionProfileCommand,\n update_function: Sdk.UpdateFunctionCommand,\n update_key_group: Sdk.UpdateKeyGroupCommand,\n update_key_value_store: Sdk.UpdateKeyValueStoreCommand,\n update_origin_access_control: Sdk.UpdateOriginAccessControlCommand,\n update_origin_request_policy: Sdk.UpdateOriginRequestPolicyCommand,\n update_public_key: Sdk.UpdatePublicKeyCommand,\n update_realtime_log_config: Sdk.UpdateRealtimeLogConfigCommand,\n update_response_headers_policy: Sdk.UpdateResponseHeadersPolicyCommand,\n update_streaming_distribution: Sdk.UpdateStreamingDistributionCommand,\n update_trust_store: Sdk.UpdateTrustStoreCommand,\n update_vpc_origin: Sdk.UpdateVpcOriginCommand,\n verify_dns_configuration: Sdk.VerifyDnsConfigurationCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-cloudwatch-logs\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class CloudWatchLogsClient extends Context.Tag('CloudWatchLogsClient')<CloudWatchLogsClient, Sdk.CloudWatchLogsClient>() {\n\n static Default = (\n config?: Sdk.CloudWatchLogsClientConfig\n ) =>\n Layer.effect(\n CloudWatchLogsClient,\n Effect.gen(function*() {\n return new Sdk.CloudWatchLogsClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS CloudWatchLogs command.\n *\n * @param actionName - The name of the CloudWatchLogs command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { cloudwatch_logs } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* cloudwatch_logs.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_CloudWatchLogs')(function* <M extends keyof CloudWatchLogsApi>(\n actionName: M, actionInput: CloudWatchLogsApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_CloudWatchLogs.${actionName}`, { input: actionInput })\n\n const client = yield* CloudWatchLogsClient\n const command = new CloudWatchLogsCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<CloudWatchLogsApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.CloudWatchLogsServiceException) {\n return new CloudWatchLogsError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_CloudWatchLogs.${actionName} completed`)\n\n return result\n })\n\nexport class CloudWatchLogsError<C extends keyof CloudWatchLogsApi> {\n readonly _tag = \"CloudWatchLogsError\";\n\n constructor(\n readonly cause: Sdk.CloudWatchLogsServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof CloudWatchLogsApi[C][2]>(\n name: N\n ): this is CloudWatchLogsError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<CloudWatchLogsApi>>(\n name: N\n ): this is CloudWatchLogsError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type CloudWatchLogsMethodInput<M extends keyof CloudWatchLogsApi> = CloudWatchLogsApi[M][0];\ntype CloudWatchLogsApi = {\n associate_kms_key: [\n Sdk.AssociateKmsKeyCommandInput,\n Sdk.AssociateKmsKeyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n associate_source_to_s3_table_integration: [\n Sdk.AssociateSourceToS3TableIntegrationCommandInput,\n Sdk.AssociateSourceToS3TableIntegrationCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n cancel_export_task: [\n Sdk.CancelExportTaskCommandInput,\n Sdk.CancelExportTaskCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n cancel_import_task: [\n Sdk.CancelImportTaskCommandInput,\n Sdk.CancelImportTaskCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n create_delivery: [\n Sdk.CreateDeliveryCommandInput,\n Sdk.CreateDeliveryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n create_export_task: [\n Sdk.CreateExportTaskCommandInput,\n Sdk.CreateExportTaskCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceAlreadyExistsException\": Sdk.ResourceAlreadyExistsException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n create_import_task: [\n Sdk.CreateImportTaskCommandInput,\n Sdk.CreateImportTaskCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"ConflictException\": Sdk.ConflictException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n create_log_anomaly_detector: [\n Sdk.CreateLogAnomalyDetectorCommandInput,\n Sdk.CreateLogAnomalyDetectorCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n create_log_group: [\n Sdk.CreateLogGroupCommandInput,\n Sdk.CreateLogGroupCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceAlreadyExistsException\": Sdk.ResourceAlreadyExistsException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n create_log_stream: [\n Sdk.CreateLogStreamCommandInput,\n Sdk.CreateLogStreamCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceAlreadyExistsException\": Sdk.ResourceAlreadyExistsException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n create_scheduled_query: [\n Sdk.CreateScheduledQueryCommandInput,\n Sdk.CreateScheduledQueryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"ConflictException\": Sdk.ConflictException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_account_policy: [\n Sdk.DeleteAccountPolicyCommandInput,\n Sdk.DeleteAccountPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_data_protection_policy: [\n Sdk.DeleteDataProtectionPolicyCommandInput,\n Sdk.DeleteDataProtectionPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_delivery: [\n Sdk.DeleteDeliveryCommandInput,\n Sdk.DeleteDeliveryCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_delivery_destination: [\n Sdk.DeleteDeliveryDestinationCommandInput,\n Sdk.DeleteDeliveryDestinationCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_delivery_destination_policy: [\n Sdk.DeleteDeliveryDestinationPolicyCommandInput,\n Sdk.DeleteDeliveryDestinationPolicyCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_delivery_source: [\n Sdk.DeleteDeliverySourceCommandInput,\n Sdk.DeleteDeliverySourceCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_destination: [\n Sdk.DeleteDestinationCommandInput,\n Sdk.DeleteDestinationCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_index_policy: [\n Sdk.DeleteIndexPolicyCommandInput,\n Sdk.DeleteIndexPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_integration: [\n Sdk.DeleteIntegrationCommandInput,\n Sdk.DeleteIntegrationCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_log_anomaly_detector: [\n Sdk.DeleteLogAnomalyDetectorCommandInput,\n Sdk.DeleteLogAnomalyDetectorCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_log_group: [\n Sdk.DeleteLogGroupCommandInput,\n Sdk.DeleteLogGroupCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_log_stream: [\n Sdk.DeleteLogStreamCommandInput,\n Sdk.DeleteLogStreamCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_metric_filter: [\n Sdk.DeleteMetricFilterCommandInput,\n Sdk.DeleteMetricFilterCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_query_definition: [\n Sdk.DeleteQueryDefinitionCommandInput,\n Sdk.DeleteQueryDefinitionCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_resource_policy: [\n Sdk.DeleteResourcePolicyCommandInput,\n Sdk.DeleteResourcePolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_retention_policy: [\n Sdk.DeleteRetentionPolicyCommandInput,\n Sdk.DeleteRetentionPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_scheduled_query: [\n Sdk.DeleteScheduledQueryCommandInput,\n Sdk.DeleteScheduledQueryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n delete_subscription_filter: [\n Sdk.DeleteSubscriptionFilterCommandInput,\n Sdk.DeleteSubscriptionFilterCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n delete_transformer: [\n Sdk.DeleteTransformerCommandInput,\n Sdk.DeleteTransformerCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_account_policies: [\n Sdk.DescribeAccountPoliciesCommandInput,\n Sdk.DescribeAccountPoliciesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_configuration_templates: [\n Sdk.DescribeConfigurationTemplatesCommandInput,\n Sdk.DescribeConfigurationTemplatesCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n describe_deliveries: [\n Sdk.DescribeDeliveriesCommandInput,\n Sdk.DescribeDeliveriesCommandOutput,\n {\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n describe_delivery_destinations: [\n Sdk.DescribeDeliveryDestinationsCommandInput,\n Sdk.DescribeDeliveryDestinationsCommandOutput,\n {\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n describe_delivery_sources: [\n Sdk.DescribeDeliverySourcesCommandInput,\n Sdk.DescribeDeliverySourcesCommandOutput,\n {\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n describe_destinations: [\n Sdk.DescribeDestinationsCommandInput,\n Sdk.DescribeDestinationsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_export_tasks: [\n Sdk.DescribeExportTasksCommandInput,\n Sdk.DescribeExportTasksCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_field_indexes: [\n Sdk.DescribeFieldIndexesCommandInput,\n Sdk.DescribeFieldIndexesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_import_task_batches: [\n Sdk.DescribeImportTaskBatchesCommandInput,\n Sdk.DescribeImportTaskBatchesCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n describe_import_tasks: [\n Sdk.DescribeImportTasksCommandInput,\n Sdk.DescribeImportTasksCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n describe_index_policies: [\n Sdk.DescribeIndexPoliciesCommandInput,\n Sdk.DescribeIndexPoliciesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_log_groups: [\n Sdk.DescribeLogGroupsCommandInput,\n Sdk.DescribeLogGroupsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_log_streams: [\n Sdk.DescribeLogStreamsCommandInput,\n Sdk.DescribeLogStreamsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_metric_filters: [\n Sdk.DescribeMetricFiltersCommandInput,\n Sdk.DescribeMetricFiltersCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_queries: [\n Sdk.DescribeQueriesCommandInput,\n Sdk.DescribeQueriesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_query_definitions: [\n Sdk.DescribeQueryDefinitionsCommandInput,\n Sdk.DescribeQueryDefinitionsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_resource_policies: [\n Sdk.DescribeResourcePoliciesCommandInput,\n Sdk.DescribeResourcePoliciesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n describe_subscription_filters: [\n Sdk.DescribeSubscriptionFiltersCommandInput,\n Sdk.DescribeSubscriptionFiltersCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n disassociate_kms_key: [\n Sdk.DisassociateKmsKeyCommandInput,\n Sdk.DisassociateKmsKeyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n disassociate_source_from_s3_table_integration: [\n Sdk.DisassociateSourceFromS3TableIntegrationCommandInput,\n Sdk.DisassociateSourceFromS3TableIntegrationCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n filter_log_events: [\n Sdk.FilterLogEventsCommandInput,\n Sdk.FilterLogEventsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_data_protection_policy: [\n Sdk.GetDataProtectionPolicyCommandInput,\n Sdk.GetDataProtectionPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_delivery: [\n Sdk.GetDeliveryCommandInput,\n Sdk.GetDeliveryCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_delivery_destination: [\n Sdk.GetDeliveryDestinationCommandInput,\n Sdk.GetDeliveryDestinationCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_delivery_destination_policy: [\n Sdk.GetDeliveryDestinationPolicyCommandInput,\n Sdk.GetDeliveryDestinationPolicyCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_delivery_source: [\n Sdk.GetDeliverySourceCommandInput,\n Sdk.GetDeliverySourceCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_integration: [\n Sdk.GetIntegrationCommandInput,\n Sdk.GetIntegrationCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_log_anomaly_detector: [\n Sdk.GetLogAnomalyDetectorCommandInput,\n Sdk.GetLogAnomalyDetectorCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_log_events: [\n Sdk.GetLogEventsCommandInput,\n Sdk.GetLogEventsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_log_fields: [\n Sdk.GetLogFieldsCommandInput,\n Sdk.GetLogFieldsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_log_group_fields: [\n Sdk.GetLogGroupFieldsCommandInput,\n Sdk.GetLogGroupFieldsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_log_object: [\n Sdk.GetLogObjectCommandInput,\n Sdk.GetLogObjectCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n get_log_record: [\n Sdk.GetLogRecordCommandInput,\n Sdk.GetLogRecordCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_query_results: [\n Sdk.GetQueryResultsCommandInput,\n Sdk.GetQueryResultsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n get_scheduled_query: [\n Sdk.GetScheduledQueryCommandInput,\n Sdk.GetScheduledQueryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_scheduled_query_history: [\n Sdk.GetScheduledQueryHistoryCommandInput,\n Sdk.GetScheduledQueryHistoryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_transformer: [\n Sdk.GetTransformerCommandInput,\n Sdk.GetTransformerCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_aggregate_log_group_summaries: [\n Sdk.ListAggregateLogGroupSummariesCommandInput,\n Sdk.ListAggregateLogGroupSummariesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n list_anomalies: [\n Sdk.ListAnomaliesCommandInput,\n Sdk.ListAnomaliesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_integrations: [\n Sdk.ListIntegrationsCommandInput,\n Sdk.ListIntegrationsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_log_anomaly_detectors: [\n Sdk.ListLogAnomalyDetectorsCommandInput,\n Sdk.ListLogAnomalyDetectorsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_log_groups: [\n Sdk.ListLogGroupsCommandInput,\n Sdk.ListLogGroupsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_log_groups_for_query: [\n Sdk.ListLogGroupsForQueryCommandInput,\n Sdk.ListLogGroupsForQueryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_scheduled_queries: [\n Sdk.ListScheduledQueriesCommandInput,\n Sdk.ListScheduledQueriesCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n list_sources_for_s3_table_integration: [\n Sdk.ListSourcesForS3TableIntegrationCommandInput,\n Sdk.ListSourcesForS3TableIntegrationCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n list_tags_for_resource: [\n Sdk.ListTagsForResourceCommandInput,\n Sdk.ListTagsForResourceCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n list_tags_log_group: [\n Sdk.ListTagsLogGroupCommandInput,\n Sdk.ListTagsLogGroupCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_account_policy: [\n Sdk.PutAccountPolicyCommandInput,\n Sdk.PutAccountPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_data_protection_policy: [\n Sdk.PutDataProtectionPolicyCommandInput,\n Sdk.PutDataProtectionPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_delivery_destination: [\n Sdk.PutDeliveryDestinationCommandInput,\n Sdk.PutDeliveryDestinationCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n put_delivery_destination_policy: [\n Sdk.PutDeliveryDestinationPolicyCommandInput,\n Sdk.PutDeliveryDestinationPolicyCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n put_delivery_source: [\n Sdk.PutDeliverySourceCommandInput,\n Sdk.PutDeliverySourceCommandOutput,\n {\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n put_destination: [\n Sdk.PutDestinationCommandInput,\n Sdk.PutDestinationCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_destination_policy: [\n Sdk.PutDestinationPolicyCommandInput,\n Sdk.PutDestinationPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_index_policy: [\n Sdk.PutIndexPolicyCommandInput,\n Sdk.PutIndexPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_integration: [\n Sdk.PutIntegrationCommandInput,\n Sdk.PutIntegrationCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n put_log_events: [\n Sdk.PutLogEventsCommandInput,\n Sdk.PutLogEventsCommandOutput,\n {\n \"DataAlreadyAcceptedException\": Sdk.DataAlreadyAcceptedException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"InvalidSequenceTokenException\": Sdk.InvalidSequenceTokenException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"UnrecognizedClientException\": Sdk.UnrecognizedClientException\n }\n ]\n put_log_group_deletion_protection: [\n Sdk.PutLogGroupDeletionProtectionCommandInput,\n Sdk.PutLogGroupDeletionProtectionCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_metric_filter: [\n Sdk.PutMetricFilterCommandInput,\n Sdk.PutMetricFilterCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_query_definition: [\n Sdk.PutQueryDefinitionCommandInput,\n Sdk.PutQueryDefinitionCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_resource_policy: [\n Sdk.PutResourcePolicyCommandInput,\n Sdk.PutResourcePolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_retention_policy: [\n Sdk.PutRetentionPolicyCommandInput,\n Sdk.PutRetentionPolicyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_subscription_filter: [\n Sdk.PutSubscriptionFilterCommandInput,\n Sdk.PutSubscriptionFilterCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n put_transformer: [\n Sdk.PutTransformerCommandInput,\n Sdk.PutTransformerCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n start_live_tail: [\n Sdk.StartLiveTailCommandInput,\n Sdk.StartLiveTailCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n start_query: [\n Sdk.StartQueryCommandInput,\n Sdk.StartQueryCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedQueryException\": Sdk.MalformedQueryException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n stop_query: [\n Sdk.StopQueryCommandInput,\n Sdk.StopQueryCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n tag_log_group: [\n Sdk.TagLogGroupCommandInput,\n Sdk.TagLogGroupCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n tag_resource: [\n Sdk.TagResourceCommandInput,\n Sdk.TagResourceCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"TooManyTagsException\": Sdk.TooManyTagsException\n }\n ]\n test_metric_filter: [\n Sdk.TestMetricFilterCommandInput,\n Sdk.TestMetricFilterCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n test_transformer: [\n Sdk.TestTransformerCommandInput,\n Sdk.TestTransformerCommandOutput,\n {\n \"InvalidOperationException\": Sdk.InvalidOperationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n untag_log_group: [\n Sdk.UntagLogGroupCommandInput,\n Sdk.UntagLogGroupCommandOutput,\n {\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n untag_resource: [\n Sdk.UntagResourceCommandInput,\n Sdk.UntagResourceCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n update_anomaly: [\n Sdk.UpdateAnomalyCommandInput,\n Sdk.UpdateAnomalyCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n update_delivery_configuration: [\n Sdk.UpdateDeliveryConfigurationCommandInput,\n Sdk.UpdateDeliveryConfigurationCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"ConflictException\": Sdk.ConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n update_log_anomaly_detector: [\n Sdk.UpdateLogAnomalyDetectorCommandInput,\n Sdk.UpdateLogAnomalyDetectorCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"OperationAbortedException\": Sdk.OperationAbortedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceUnavailableException\": Sdk.ServiceUnavailableException\n }\n ]\n update_scheduled_query: [\n Sdk.UpdateScheduledQueryCommandInput,\n Sdk.UpdateScheduledQueryCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerException\": Sdk.InternalServerException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n};\n\nconst CloudWatchLogsCommandFactory: { [M in keyof CloudWatchLogsApi]: new (args: CloudWatchLogsApi[M][0]) => unknown } = {\n associate_kms_key: Sdk.AssociateKmsKeyCommand,\n associate_source_to_s3_table_integration: Sdk.AssociateSourceToS3TableIntegrationCommand,\n cancel_export_task: Sdk.CancelExportTaskCommand,\n cancel_import_task: Sdk.CancelImportTaskCommand,\n create_delivery: Sdk.CreateDeliveryCommand,\n create_export_task: Sdk.CreateExportTaskCommand,\n create_import_task: Sdk.CreateImportTaskCommand,\n create_log_anomaly_detector: Sdk.CreateLogAnomalyDetectorCommand,\n create_log_group: Sdk.CreateLogGroupCommand,\n create_log_stream: Sdk.CreateLogStreamCommand,\n create_scheduled_query: Sdk.CreateScheduledQueryCommand,\n delete_account_policy: Sdk.DeleteAccountPolicyCommand,\n delete_data_protection_policy: Sdk.DeleteDataProtectionPolicyCommand,\n delete_delivery: Sdk.DeleteDeliveryCommand,\n delete_delivery_destination: Sdk.DeleteDeliveryDestinationCommand,\n delete_delivery_destination_policy: Sdk.DeleteDeliveryDestinationPolicyCommand,\n delete_delivery_source: Sdk.DeleteDeliverySourceCommand,\n delete_destination: Sdk.DeleteDestinationCommand,\n delete_index_policy: Sdk.DeleteIndexPolicyCommand,\n delete_integration: Sdk.DeleteIntegrationCommand,\n delete_log_anomaly_detector: Sdk.DeleteLogAnomalyDetectorCommand,\n delete_log_group: Sdk.DeleteLogGroupCommand,\n delete_log_stream: Sdk.DeleteLogStreamCommand,\n delete_metric_filter: Sdk.DeleteMetricFilterCommand,\n delete_query_definition: Sdk.DeleteQueryDefinitionCommand,\n delete_resource_policy: Sdk.DeleteResourcePolicyCommand,\n delete_retention_policy: Sdk.DeleteRetentionPolicyCommand,\n delete_scheduled_query: Sdk.DeleteScheduledQueryCommand,\n delete_subscription_filter: Sdk.DeleteSubscriptionFilterCommand,\n delete_transformer: Sdk.DeleteTransformerCommand,\n describe_account_policies: Sdk.DescribeAccountPoliciesCommand,\n describe_configuration_templates: Sdk.DescribeConfigurationTemplatesCommand,\n describe_deliveries: Sdk.DescribeDeliveriesCommand,\n describe_delivery_destinations: Sdk.DescribeDeliveryDestinationsCommand,\n describe_delivery_sources: Sdk.DescribeDeliverySourcesCommand,\n describe_destinations: Sdk.DescribeDestinationsCommand,\n describe_export_tasks: Sdk.DescribeExportTasksCommand,\n describe_field_indexes: Sdk.DescribeFieldIndexesCommand,\n describe_import_task_batches: Sdk.DescribeImportTaskBatchesCommand,\n describe_import_tasks: Sdk.DescribeImportTasksCommand,\n describe_index_policies: Sdk.DescribeIndexPoliciesCommand,\n describe_log_groups: Sdk.DescribeLogGroupsCommand,\n describe_log_streams: Sdk.DescribeLogStreamsCommand,\n describe_metric_filters: Sdk.DescribeMetricFiltersCommand,\n describe_queries: Sdk.DescribeQueriesCommand,\n describe_query_definitions: Sdk.DescribeQueryDefinitionsCommand,\n describe_resource_policies: Sdk.DescribeResourcePoliciesCommand,\n describe_subscription_filters: Sdk.DescribeSubscriptionFiltersCommand,\n disassociate_kms_key: Sdk.DisassociateKmsKeyCommand,\n disassociate_source_from_s3_table_integration: Sdk.DisassociateSourceFromS3TableIntegrationCommand,\n filter_log_events: Sdk.FilterLogEventsCommand,\n get_data_protection_policy: Sdk.GetDataProtectionPolicyCommand,\n get_delivery: Sdk.GetDeliveryCommand,\n get_delivery_destination: Sdk.GetDeliveryDestinationCommand,\n get_delivery_destination_policy: Sdk.GetDeliveryDestinationPolicyCommand,\n get_delivery_source: Sdk.GetDeliverySourceCommand,\n get_integration: Sdk.GetIntegrationCommand,\n get_log_anomaly_detector: Sdk.GetLogAnomalyDetectorCommand,\n get_log_events: Sdk.GetLogEventsCommand,\n get_log_fields: Sdk.GetLogFieldsCommand,\n get_log_group_fields: Sdk.GetLogGroupFieldsCommand,\n get_log_object: Sdk.GetLogObjectCommand,\n get_log_record: Sdk.GetLogRecordCommand,\n get_query_results: Sdk.GetQueryResultsCommand,\n get_scheduled_query: Sdk.GetScheduledQueryCommand,\n get_scheduled_query_history: Sdk.GetScheduledQueryHistoryCommand,\n get_transformer: Sdk.GetTransformerCommand,\n list_aggregate_log_group_summaries: Sdk.ListAggregateLogGroupSummariesCommand,\n list_anomalies: Sdk.ListAnomaliesCommand,\n list_integrations: Sdk.ListIntegrationsCommand,\n list_log_anomaly_detectors: Sdk.ListLogAnomalyDetectorsCommand,\n list_log_groups: Sdk.ListLogGroupsCommand,\n list_log_groups_for_query: Sdk.ListLogGroupsForQueryCommand,\n list_scheduled_queries: Sdk.ListScheduledQueriesCommand,\n list_sources_for_s3_table_integration: Sdk.ListSourcesForS3TableIntegrationCommand,\n list_tags_for_resource: Sdk.ListTagsForResourceCommand,\n list_tags_log_group: Sdk.ListTagsLogGroupCommand,\n put_account_policy: Sdk.PutAccountPolicyCommand,\n put_data_protection_policy: Sdk.PutDataProtectionPolicyCommand,\n put_delivery_destination: Sdk.PutDeliveryDestinationCommand,\n put_delivery_destination_policy: Sdk.PutDeliveryDestinationPolicyCommand,\n put_delivery_source: Sdk.PutDeliverySourceCommand,\n put_destination: Sdk.PutDestinationCommand,\n put_destination_policy: Sdk.PutDestinationPolicyCommand,\n put_index_policy: Sdk.PutIndexPolicyCommand,\n put_integration: Sdk.PutIntegrationCommand,\n put_log_events: Sdk.PutLogEventsCommand,\n put_log_group_deletion_protection: Sdk.PutLogGroupDeletionProtectionCommand,\n put_metric_filter: Sdk.PutMetricFilterCommand,\n put_query_definition: Sdk.PutQueryDefinitionCommand,\n put_resource_policy: Sdk.PutResourcePolicyCommand,\n put_retention_policy: Sdk.PutRetentionPolicyCommand,\n put_subscription_filter: Sdk.PutSubscriptionFilterCommand,\n put_transformer: Sdk.PutTransformerCommand,\n start_live_tail: Sdk.StartLiveTailCommand,\n start_query: Sdk.StartQueryCommand,\n stop_query: Sdk.StopQueryCommand,\n tag_log_group: Sdk.TagLogGroupCommand,\n tag_resource: Sdk.TagResourceCommand,\n test_metric_filter: Sdk.TestMetricFilterCommand,\n test_transformer: Sdk.TestTransformerCommand,\n untag_log_group: Sdk.UntagLogGroupCommand,\n untag_resource: Sdk.UntagResourceCommand,\n update_anomaly: Sdk.UpdateAnomalyCommand,\n update_delivery_configuration: Sdk.UpdateDeliveryConfigurationCommand,\n update_log_anomaly_detector: Sdk.UpdateLogAnomalyDetectorCommand,\n update_scheduled_query: Sdk.UpdateScheduledQueryCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-dynamodb\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class DynamoDBClient extends Context.Tag('DynamoDBClient')<DynamoDBClient, Sdk.DynamoDBClient>() {\n\n static Default = (\n config?: Sdk.DynamoDBClientConfig\n ) =>\n Layer.effect(\n DynamoDBClient,\n Effect.gen(function*() {\n return new Sdk.DynamoDBClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS DynamoDB command.\n *\n * @param actionName - The name of the DynamoDB command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { dynamodb } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* dynamodb.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_DynamoDB')(function* <M extends keyof DynamoDBApi>(\n actionName: M, actionInput: DynamoDBApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_DynamoDB.${actionName}`, { input: actionInput })\n\n const client = yield* DynamoDBClient\n const command = new DynamoDBCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<DynamoDBApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.DynamoDBServiceException) {\n return new DynamoDBError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_DynamoDB.${actionName} completed`)\n\n return result\n })\n\nexport class DynamoDBError<C extends keyof DynamoDBApi> {\n readonly _tag = \"DynamoDBError\";\n\n constructor(\n readonly cause: Sdk.DynamoDBServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof DynamoDBApi[C][2]>(\n name: N\n ): this is DynamoDBError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<DynamoDBApi>>(\n name: N\n ): this is DynamoDBError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type DynamoDBMethodInput<M extends keyof DynamoDBApi> = DynamoDBApi[M][0];\ntype DynamoDBApi = {\n batch_execute_statement: [\n Sdk.BatchExecuteStatementCommandInput,\n Sdk.BatchExecuteStatementCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n batch_get_item: [\n Sdk.BatchGetItemCommandInput,\n Sdk.BatchGetItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n batch_write_item: [\n Sdk.BatchWriteItemCommandInput,\n Sdk.BatchWriteItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ItemCollectionSizeLimitExceededException\": Sdk.ItemCollectionSizeLimitExceededException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"ReplicatedWriteConflictException\": Sdk.ReplicatedWriteConflictException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n create_backup: [\n Sdk.CreateBackupCommandInput,\n Sdk.CreateBackupCommandOutput,\n {\n \"BackupInUseException\": Sdk.BackupInUseException,\n \"ContinuousBackupsUnavailableException\": Sdk.ContinuousBackupsUnavailableException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"TableInUseException\": Sdk.TableInUseException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n create_global_table: [\n Sdk.CreateGlobalTableCommandInput,\n Sdk.CreateGlobalTableCommandOutput,\n {\n \"GlobalTableAlreadyExistsException\": Sdk.GlobalTableAlreadyExistsException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n create_table: [\n Sdk.CreateTableCommandInput,\n Sdk.CreateTableCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException\n }\n ]\n delete_backup: [\n Sdk.DeleteBackupCommandInput,\n Sdk.DeleteBackupCommandOutput,\n {\n \"BackupInUseException\": Sdk.BackupInUseException,\n \"BackupNotFoundException\": Sdk.BackupNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException\n }\n ]\n delete_item: [\n Sdk.DeleteItemCommandInput,\n Sdk.DeleteItemCommandOutput,\n {\n \"ConditionalCheckFailedException\": Sdk.ConditionalCheckFailedException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ItemCollectionSizeLimitExceededException\": Sdk.ItemCollectionSizeLimitExceededException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"ReplicatedWriteConflictException\": Sdk.ReplicatedWriteConflictException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionConflictException\": Sdk.TransactionConflictException\n }\n ]\n delete_resource_policy: [\n Sdk.DeleteResourcePolicyCommandInput,\n Sdk.DeleteResourcePolicyCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"PolicyNotFoundException\": Sdk.PolicyNotFoundException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n delete_table: [\n Sdk.DeleteTableCommandInput,\n Sdk.DeleteTableCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n describe_backup: [\n Sdk.DescribeBackupCommandInput,\n Sdk.DescribeBackupCommandOutput,\n {\n \"BackupNotFoundException\": Sdk.BackupNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n describe_continuous_backups: [\n Sdk.DescribeContinuousBackupsCommandInput,\n Sdk.DescribeContinuousBackupsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n describe_contributor_insights: [\n Sdk.DescribeContributorInsightsCommandInput,\n Sdk.DescribeContributorInsightsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n describe_endpoints: [\n Sdk.DescribeEndpointsCommandInput,\n Sdk.DescribeEndpointsCommandOutput,\n never\n ]\n describe_export: [\n Sdk.DescribeExportCommandInput,\n Sdk.DescribeExportCommandOutput,\n {\n \"ExportNotFoundException\": Sdk.ExportNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"LimitExceededException\": Sdk.LimitExceededException\n }\n ]\n describe_global_table: [\n Sdk.DescribeGlobalTableCommandInput,\n Sdk.DescribeGlobalTableCommandOutput,\n {\n \"GlobalTableNotFoundException\": Sdk.GlobalTableNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n describe_global_table_settings: [\n Sdk.DescribeGlobalTableSettingsCommandInput,\n Sdk.DescribeGlobalTableSettingsCommandOutput,\n {\n \"GlobalTableNotFoundException\": Sdk.GlobalTableNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n describe_import: [\n Sdk.DescribeImportCommandInput,\n Sdk.DescribeImportCommandOutput,\n {\n \"ImportNotFoundException\": Sdk.ImportNotFoundException\n }\n ]\n describe_kinesis_streaming_destination: [\n Sdk.DescribeKinesisStreamingDestinationCommandInput,\n Sdk.DescribeKinesisStreamingDestinationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n describe_limits: [\n Sdk.DescribeLimitsCommandInput,\n Sdk.DescribeLimitsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n describe_table: [\n Sdk.DescribeTableCommandInput,\n Sdk.DescribeTableCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n describe_table_replica_auto_scaling: [\n Sdk.DescribeTableReplicaAutoScalingCommandInput,\n Sdk.DescribeTableReplicaAutoScalingCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n describe_time_to_live: [\n Sdk.DescribeTimeToLiveCommandInput,\n Sdk.DescribeTimeToLiveCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n disable_kinesis_streaming_destination: [\n Sdk.DisableKinesisStreamingDestinationCommandInput,\n Sdk.DisableKinesisStreamingDestinationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n enable_kinesis_streaming_destination: [\n Sdk.EnableKinesisStreamingDestinationCommandInput,\n Sdk.EnableKinesisStreamingDestinationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n execute_statement: [\n Sdk.ExecuteStatementCommandInput,\n Sdk.ExecuteStatementCommandOutput,\n {\n \"ConditionalCheckFailedException\": Sdk.ConditionalCheckFailedException,\n \"DuplicateItemException\": Sdk.DuplicateItemException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ItemCollectionSizeLimitExceededException\": Sdk.ItemCollectionSizeLimitExceededException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionConflictException\": Sdk.TransactionConflictException\n }\n ]\n execute_transaction: [\n Sdk.ExecuteTransactionCommandInput,\n Sdk.ExecuteTransactionCommandOutput,\n {\n \"IdempotentParameterMismatchException\": Sdk.IdempotentParameterMismatchException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionCanceledException\": Sdk.TransactionCanceledException,\n \"TransactionInProgressException\": Sdk.TransactionInProgressException\n }\n ]\n export_table_to_point_in_time: [\n Sdk.ExportTableToPointInTimeCommandInput,\n Sdk.ExportTableToPointInTimeCommandOutput,\n {\n \"ExportConflictException\": Sdk.ExportConflictException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidExportTimeException\": Sdk.InvalidExportTimeException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"PointInTimeRecoveryUnavailableException\": Sdk.PointInTimeRecoveryUnavailableException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n get_item: [\n Sdk.GetItemCommandInput,\n Sdk.GetItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n get_resource_policy: [\n Sdk.GetResourcePolicyCommandInput,\n Sdk.GetResourcePolicyCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"PolicyNotFoundException\": Sdk.PolicyNotFoundException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n import_table: [\n Sdk.ImportTableCommandInput,\n Sdk.ImportTableCommandOutput,\n {\n \"ImportConflictException\": Sdk.ImportConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException\n }\n ]\n list_backups: [\n Sdk.ListBackupsCommandInput,\n Sdk.ListBackupsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n list_contributor_insights: [\n Sdk.ListContributorInsightsCommandInput,\n Sdk.ListContributorInsightsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n list_exports: [\n Sdk.ListExportsCommandInput,\n Sdk.ListExportsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"LimitExceededException\": Sdk.LimitExceededException\n }\n ]\n list_global_tables: [\n Sdk.ListGlobalTablesCommandInput,\n Sdk.ListGlobalTablesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n list_imports: [\n Sdk.ListImportsCommandInput,\n Sdk.ListImportsCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException\n }\n ]\n list_tables: [\n Sdk.ListTablesCommandInput,\n Sdk.ListTablesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException\n }\n ]\n list_tags_of_resource: [\n Sdk.ListTagsOfResourceCommandInput,\n Sdk.ListTagsOfResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n put_item: [\n Sdk.PutItemCommandInput,\n Sdk.PutItemCommandOutput,\n {\n \"ConditionalCheckFailedException\": Sdk.ConditionalCheckFailedException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ItemCollectionSizeLimitExceededException\": Sdk.ItemCollectionSizeLimitExceededException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"ReplicatedWriteConflictException\": Sdk.ReplicatedWriteConflictException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionConflictException\": Sdk.TransactionConflictException\n }\n ]\n put_resource_policy: [\n Sdk.PutResourcePolicyCommandInput,\n Sdk.PutResourcePolicyCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"PolicyNotFoundException\": Sdk.PolicyNotFoundException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n query: [\n Sdk.QueryCommandInput,\n Sdk.QueryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n restore_table_from_backup: [\n Sdk.RestoreTableFromBackupCommandInput,\n Sdk.RestoreTableFromBackupCommandOutput,\n {\n \"BackupInUseException\": Sdk.BackupInUseException,\n \"BackupNotFoundException\": Sdk.BackupNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"TableAlreadyExistsException\": Sdk.TableAlreadyExistsException,\n \"TableInUseException\": Sdk.TableInUseException\n }\n ]\n restore_table_to_point_in_time: [\n Sdk.RestoreTableToPointInTimeCommandInput,\n Sdk.RestoreTableToPointInTimeCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"InvalidRestoreTimeException\": Sdk.InvalidRestoreTimeException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"PointInTimeRecoveryUnavailableException\": Sdk.PointInTimeRecoveryUnavailableException,\n \"TableAlreadyExistsException\": Sdk.TableAlreadyExistsException,\n \"TableInUseException\": Sdk.TableInUseException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n scan: [\n Sdk.ScanCommandInput,\n Sdk.ScanCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException\n }\n ]\n tag_resource: [\n Sdk.TagResourceCommandInput,\n Sdk.TagResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n transact_get_items: [\n Sdk.TransactGetItemsCommandInput,\n Sdk.TransactGetItemsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionCanceledException\": Sdk.TransactionCanceledException\n }\n ]\n transact_write_items: [\n Sdk.TransactWriteItemsCommandInput,\n Sdk.TransactWriteItemsCommandOutput,\n {\n \"IdempotentParameterMismatchException\": Sdk.IdempotentParameterMismatchException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionCanceledException\": Sdk.TransactionCanceledException,\n \"TransactionInProgressException\": Sdk.TransactionInProgressException\n }\n ]\n untag_resource: [\n Sdk.UntagResourceCommandInput,\n Sdk.UntagResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_continuous_backups: [\n Sdk.UpdateContinuousBackupsCommandInput,\n Sdk.UpdateContinuousBackupsCommandOutput,\n {\n \"ContinuousBackupsUnavailableException\": Sdk.ContinuousBackupsUnavailableException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n update_contributor_insights: [\n Sdk.UpdateContributorInsightsCommandInput,\n Sdk.UpdateContributorInsightsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_global_table: [\n Sdk.UpdateGlobalTableCommandInput,\n Sdk.UpdateGlobalTableCommandOutput,\n {\n \"GlobalTableNotFoundException\": Sdk.GlobalTableNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ReplicaAlreadyExistsException\": Sdk.ReplicaAlreadyExistsException,\n \"ReplicaNotFoundException\": Sdk.ReplicaNotFoundException,\n \"TableNotFoundException\": Sdk.TableNotFoundException\n }\n ]\n update_global_table_settings: [\n Sdk.UpdateGlobalTableSettingsCommandInput,\n Sdk.UpdateGlobalTableSettingsCommandOutput,\n {\n \"GlobalTableNotFoundException\": Sdk.GlobalTableNotFoundException,\n \"IndexNotFoundException\": Sdk.IndexNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ReplicaNotFoundException\": Sdk.ReplicaNotFoundException,\n \"ResourceInUseException\": Sdk.ResourceInUseException\n }\n ]\n update_item: [\n Sdk.UpdateItemCommandInput,\n Sdk.UpdateItemCommandOutput,\n {\n \"ConditionalCheckFailedException\": Sdk.ConditionalCheckFailedException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"ItemCollectionSizeLimitExceededException\": Sdk.ItemCollectionSizeLimitExceededException,\n \"ProvisionedThroughputExceededException\": Sdk.ProvisionedThroughputExceededException,\n \"ReplicatedWriteConflictException\": Sdk.ReplicatedWriteConflictException,\n \"RequestLimitExceeded\": Sdk.RequestLimitExceeded,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"TransactionConflictException\": Sdk.TransactionConflictException\n }\n ]\n update_kinesis_streaming_destination: [\n Sdk.UpdateKinesisStreamingDestinationCommandInput,\n Sdk.UpdateKinesisStreamingDestinationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_table: [\n Sdk.UpdateTableCommandInput,\n Sdk.UpdateTableCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_table_replica_auto_scaling: [\n Sdk.UpdateTableReplicaAutoScalingCommandInput,\n Sdk.UpdateTableReplicaAutoScalingCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_time_to_live: [\n Sdk.UpdateTimeToLiveCommandInput,\n Sdk.UpdateTimeToLiveCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidEndpointException\": Sdk.InvalidEndpointException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n};\n\nconst DynamoDBCommandFactory: { [M in keyof DynamoDBApi]: new (args: DynamoDBApi[M][0]) => unknown } = {\n batch_execute_statement: Sdk.BatchExecuteStatementCommand,\n batch_get_item: Sdk.BatchGetItemCommand,\n batch_write_item: Sdk.BatchWriteItemCommand,\n create_backup: Sdk.CreateBackupCommand,\n create_global_table: Sdk.CreateGlobalTableCommand,\n create_table: Sdk.CreateTableCommand,\n delete_backup: Sdk.DeleteBackupCommand,\n delete_item: Sdk.DeleteItemCommand,\n delete_resource_policy: Sdk.DeleteResourcePolicyCommand,\n delete_table: Sdk.DeleteTableCommand,\n describe_backup: Sdk.DescribeBackupCommand,\n describe_continuous_backups: Sdk.DescribeContinuousBackupsCommand,\n describe_contributor_insights: Sdk.DescribeContributorInsightsCommand,\n describe_endpoints: Sdk.DescribeEndpointsCommand,\n describe_export: Sdk.DescribeExportCommand,\n describe_global_table: Sdk.DescribeGlobalTableCommand,\n describe_global_table_settings: Sdk.DescribeGlobalTableSettingsCommand,\n describe_import: Sdk.DescribeImportCommand,\n describe_kinesis_streaming_destination: Sdk.DescribeKinesisStreamingDestinationCommand,\n describe_limits: Sdk.DescribeLimitsCommand,\n describe_table: Sdk.DescribeTableCommand,\n describe_table_replica_auto_scaling: Sdk.DescribeTableReplicaAutoScalingCommand,\n describe_time_to_live: Sdk.DescribeTimeToLiveCommand,\n disable_kinesis_streaming_destination: Sdk.DisableKinesisStreamingDestinationCommand,\n enable_kinesis_streaming_destination: Sdk.EnableKinesisStreamingDestinationCommand,\n execute_statement: Sdk.ExecuteStatementCommand,\n execute_transaction: Sdk.ExecuteTransactionCommand,\n export_table_to_point_in_time: Sdk.ExportTableToPointInTimeCommand,\n get_item: Sdk.GetItemCommand,\n get_resource_policy: Sdk.GetResourcePolicyCommand,\n import_table: Sdk.ImportTableCommand,\n list_backups: Sdk.ListBackupsCommand,\n list_contributor_insights: Sdk.ListContributorInsightsCommand,\n list_exports: Sdk.ListExportsCommand,\n list_global_tables: Sdk.ListGlobalTablesCommand,\n list_imports: Sdk.ListImportsCommand,\n list_tables: Sdk.ListTablesCommand,\n list_tags_of_resource: Sdk.ListTagsOfResourceCommand,\n put_item: Sdk.PutItemCommand,\n put_resource_policy: Sdk.PutResourcePolicyCommand,\n query: Sdk.QueryCommand,\n restore_table_from_backup: Sdk.RestoreTableFromBackupCommand,\n restore_table_to_point_in_time: Sdk.RestoreTableToPointInTimeCommand,\n scan: Sdk.ScanCommand,\n tag_resource: Sdk.TagResourceCommand,\n transact_get_items: Sdk.TransactGetItemsCommand,\n transact_write_items: Sdk.TransactWriteItemsCommand,\n untag_resource: Sdk.UntagResourceCommand,\n update_continuous_backups: Sdk.UpdateContinuousBackupsCommand,\n update_contributor_insights: Sdk.UpdateContributorInsightsCommand,\n update_global_table: Sdk.UpdateGlobalTableCommand,\n update_global_table_settings: Sdk.UpdateGlobalTableSettingsCommand,\n update_item: Sdk.UpdateItemCommand,\n update_kinesis_streaming_destination: Sdk.UpdateKinesisStreamingDestinationCommand,\n update_table: Sdk.UpdateTableCommand,\n update_table_replica_auto_scaling: Sdk.UpdateTableReplicaAutoScalingCommand,\n update_time_to_live: Sdk.UpdateTimeToLiveCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-iam\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class IAMClient extends Context.Tag('IAMClient')<IAMClient, Sdk.IAMClient>() {\n\n static Default = (\n config?: Sdk.IAMClientConfig\n ) =>\n Layer.effect(\n IAMClient,\n Effect.gen(function*() {\n return new Sdk.IAMClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS IAM command.\n *\n * @param actionName - The name of the IAM command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { iam } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* iam.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_IAM')(function* <M extends keyof IAMApi>(\n actionName: M, actionInput: IAMApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_IAM.${actionName}`, { input: actionInput })\n\n const client = yield* IAMClient\n const command = new IAMCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<IAMApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.IAMServiceException) {\n return new IAMError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_IAM.${actionName} completed`)\n\n return result\n })\n\nexport class IAMError<C extends keyof IAMApi> {\n readonly _tag = \"IAMError\";\n\n constructor(\n readonly cause: Sdk.IAMServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof IAMApi[C][2]>(\n name: N\n ): this is IAMError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<IAMApi>>(\n name: N\n ): this is IAMError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type IAMMethodInput<M extends keyof IAMApi> = IAMApi[M][0];\ntype IAMApi = {\n accept_delegation_request: [\n Sdk.AcceptDelegationRequestCommandInput,\n Sdk.AcceptDelegationRequestCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n add_client_id_to_open_id_connect_provider: [\n Sdk.AddClientIDToOpenIDConnectProviderCommandInput,\n Sdk.AddClientIDToOpenIDConnectProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n add_role_to_instance_profile: [\n Sdk.AddRoleToInstanceProfileCommandInput,\n Sdk.AddRoleToInstanceProfileCommandOutput,\n {\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n add_user_to_group: [\n Sdk.AddUserToGroupCommandInput,\n Sdk.AddUserToGroupCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n associate_delegation_request: [\n Sdk.AssociateDelegationRequestCommandInput,\n Sdk.AssociateDelegationRequestCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n attach_group_policy: [\n Sdk.AttachGroupPolicyCommandInput,\n Sdk.AttachGroupPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyNotAttachableException\": Sdk.PolicyNotAttachableException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n attach_role_policy: [\n Sdk.AttachRolePolicyCommandInput,\n Sdk.AttachRolePolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyNotAttachableException\": Sdk.PolicyNotAttachableException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n attach_user_policy: [\n Sdk.AttachUserPolicyCommandInput,\n Sdk.AttachUserPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyNotAttachableException\": Sdk.PolicyNotAttachableException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n change_password: [\n Sdk.ChangePasswordCommandInput,\n Sdk.ChangePasswordCommandOutput,\n {\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"InvalidUserTypeException\": Sdk.InvalidUserTypeException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PasswordPolicyViolationException\": Sdk.PasswordPolicyViolationException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_access_key: [\n Sdk.CreateAccessKeyCommandInput,\n Sdk.CreateAccessKeyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_account_alias: [\n Sdk.CreateAccountAliasCommandInput,\n Sdk.CreateAccountAliasCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_delegation_request: [\n Sdk.CreateDelegationRequestCommandInput,\n Sdk.CreateDelegationRequestCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_group: [\n Sdk.CreateGroupCommandInput,\n Sdk.CreateGroupCommandOutput,\n {\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_instance_profile: [\n Sdk.CreateInstanceProfileCommandInput,\n Sdk.CreateInstanceProfileCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_login_profile: [\n Sdk.CreateLoginProfileCommandInput,\n Sdk.CreateLoginProfileCommandOutput,\n {\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PasswordPolicyViolationException\": Sdk.PasswordPolicyViolationException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_open_id_connect_provider: [\n Sdk.CreateOpenIDConnectProviderCommandInput,\n Sdk.CreateOpenIDConnectProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"OpenIdIdpCommunicationErrorException\": Sdk.OpenIdIdpCommunicationErrorException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_policy: [\n Sdk.CreatePolicyCommandInput,\n Sdk.CreatePolicyCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_policy_version: [\n Sdk.CreatePolicyVersionCommandInput,\n Sdk.CreatePolicyVersionCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_role: [\n Sdk.CreateRoleCommandInput,\n Sdk.CreateRoleCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_saml_provider: [\n Sdk.CreateSAMLProviderCommandInput,\n Sdk.CreateSAMLProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_service_linked_role: [\n Sdk.CreateServiceLinkedRoleCommandInput,\n Sdk.CreateServiceLinkedRoleCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_service_specific_credential: [\n Sdk.CreateServiceSpecificCredentialCommandInput,\n Sdk.CreateServiceSpecificCredentialCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceNotSupportedException\": Sdk.ServiceNotSupportedException\n }\n ]\n create_user: [\n Sdk.CreateUserCommandInput,\n Sdk.CreateUserCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n create_virtual_mfa_device: [\n Sdk.CreateVirtualMFADeviceCommandInput,\n Sdk.CreateVirtualMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n deactivate_mfa_device: [\n Sdk.DeactivateMFADeviceCommandInput,\n Sdk.DeactivateMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_access_key: [\n Sdk.DeleteAccessKeyCommandInput,\n Sdk.DeleteAccessKeyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_account_alias: [\n Sdk.DeleteAccountAliasCommandInput,\n Sdk.DeleteAccountAliasCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_account_password_policy: [\n Sdk.DeleteAccountPasswordPolicyCommandInput,\n Sdk.DeleteAccountPasswordPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_group: [\n Sdk.DeleteGroupCommandInput,\n Sdk.DeleteGroupCommandOutput,\n {\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_group_policy: [\n Sdk.DeleteGroupPolicyCommandInput,\n Sdk.DeleteGroupPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_instance_profile: [\n Sdk.DeleteInstanceProfileCommandInput,\n Sdk.DeleteInstanceProfileCommandOutput,\n {\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_login_profile: [\n Sdk.DeleteLoginProfileCommandInput,\n Sdk.DeleteLoginProfileCommandOutput,\n {\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_open_id_connect_provider: [\n Sdk.DeleteOpenIDConnectProviderCommandInput,\n Sdk.DeleteOpenIDConnectProviderCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_policy: [\n Sdk.DeletePolicyCommandInput,\n Sdk.DeletePolicyCommandOutput,\n {\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_policy_version: [\n Sdk.DeletePolicyVersionCommandInput,\n Sdk.DeletePolicyVersionCommandOutput,\n {\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_role: [\n Sdk.DeleteRoleCommandInput,\n Sdk.DeleteRoleCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n delete_role_permissions_boundary: [\n Sdk.DeleteRolePermissionsBoundaryCommandInput,\n Sdk.DeleteRolePermissionsBoundaryCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n delete_role_policy: [\n Sdk.DeleteRolePolicyCommandInput,\n Sdk.DeleteRolePolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n delete_saml_provider: [\n Sdk.DeleteSAMLProviderCommandInput,\n Sdk.DeleteSAMLProviderCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_server_certificate: [\n Sdk.DeleteServerCertificateCommandInput,\n Sdk.DeleteServerCertificateCommandOutput,\n {\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_service_linked_role: [\n Sdk.DeleteServiceLinkedRoleCommandInput,\n Sdk.DeleteServiceLinkedRoleCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_service_specific_credential: [\n Sdk.DeleteServiceSpecificCredentialCommandInput,\n Sdk.DeleteServiceSpecificCredentialCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n delete_signing_certificate: [\n Sdk.DeleteSigningCertificateCommandInput,\n Sdk.DeleteSigningCertificateCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_ssh_public_key: [\n Sdk.DeleteSSHPublicKeyCommandInput,\n Sdk.DeleteSSHPublicKeyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n delete_user: [\n Sdk.DeleteUserCommandInput,\n Sdk.DeleteUserCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_user_permissions_boundary: [\n Sdk.DeleteUserPermissionsBoundaryCommandInput,\n Sdk.DeleteUserPermissionsBoundaryCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_user_policy: [\n Sdk.DeleteUserPolicyCommandInput,\n Sdk.DeleteUserPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n delete_virtual_mfa_device: [\n Sdk.DeleteVirtualMFADeviceCommandInput,\n Sdk.DeleteVirtualMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"DeleteConflictException\": Sdk.DeleteConflictException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n detach_group_policy: [\n Sdk.DetachGroupPolicyCommandInput,\n Sdk.DetachGroupPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n detach_role_policy: [\n Sdk.DetachRolePolicyCommandInput,\n Sdk.DetachRolePolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n detach_user_policy: [\n Sdk.DetachUserPolicyCommandInput,\n Sdk.DetachUserPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n disable_organizations_root_credentials_management: [\n Sdk.DisableOrganizationsRootCredentialsManagementCommandInput,\n Sdk.DisableOrganizationsRootCredentialsManagementCommandOutput,\n {\n \"AccountNotManagementOrDelegatedAdministratorException\": Sdk.AccountNotManagementOrDelegatedAdministratorException,\n \"OrganizationNotFoundException\": Sdk.OrganizationNotFoundException,\n \"OrganizationNotInAllFeaturesModeException\": Sdk.OrganizationNotInAllFeaturesModeException,\n \"ServiceAccessNotEnabledException\": Sdk.ServiceAccessNotEnabledException\n }\n ]\n disable_organizations_root_sessions: [\n Sdk.DisableOrganizationsRootSessionsCommandInput,\n Sdk.DisableOrganizationsRootSessionsCommandOutput,\n {\n \"AccountNotManagementOrDelegatedAdministratorException\": Sdk.AccountNotManagementOrDelegatedAdministratorException,\n \"OrganizationNotFoundException\": Sdk.OrganizationNotFoundException,\n \"OrganizationNotInAllFeaturesModeException\": Sdk.OrganizationNotInAllFeaturesModeException,\n \"ServiceAccessNotEnabledException\": Sdk.ServiceAccessNotEnabledException\n }\n ]\n disable_outbound_web_identity_federation: [\n Sdk.DisableOutboundWebIdentityFederationCommandInput,\n Sdk.DisableOutboundWebIdentityFederationCommandOutput,\n {\n \"FeatureDisabledException\": Sdk.FeatureDisabledException\n }\n ]\n enable_mfa_device: [\n Sdk.EnableMFADeviceCommandInput,\n Sdk.EnableMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"InvalidAuthenticationCodeException\": Sdk.InvalidAuthenticationCodeException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n enable_organizations_root_credentials_management: [\n Sdk.EnableOrganizationsRootCredentialsManagementCommandInput,\n Sdk.EnableOrganizationsRootCredentialsManagementCommandOutput,\n {\n \"AccountNotManagementOrDelegatedAdministratorException\": Sdk.AccountNotManagementOrDelegatedAdministratorException,\n \"CallerIsNotManagementAccountException\": Sdk.CallerIsNotManagementAccountException,\n \"OrganizationNotFoundException\": Sdk.OrganizationNotFoundException,\n \"OrganizationNotInAllFeaturesModeException\": Sdk.OrganizationNotInAllFeaturesModeException,\n \"ServiceAccessNotEnabledException\": Sdk.ServiceAccessNotEnabledException\n }\n ]\n enable_organizations_root_sessions: [\n Sdk.EnableOrganizationsRootSessionsCommandInput,\n Sdk.EnableOrganizationsRootSessionsCommandOutput,\n {\n \"AccountNotManagementOrDelegatedAdministratorException\": Sdk.AccountNotManagementOrDelegatedAdministratorException,\n \"CallerIsNotManagementAccountException\": Sdk.CallerIsNotManagementAccountException,\n \"OrganizationNotFoundException\": Sdk.OrganizationNotFoundException,\n \"OrganizationNotInAllFeaturesModeException\": Sdk.OrganizationNotInAllFeaturesModeException,\n \"ServiceAccessNotEnabledException\": Sdk.ServiceAccessNotEnabledException\n }\n ]\n enable_outbound_web_identity_federation: [\n Sdk.EnableOutboundWebIdentityFederationCommandInput,\n Sdk.EnableOutboundWebIdentityFederationCommandOutput,\n {\n \"FeatureEnabledException\": Sdk.FeatureEnabledException\n }\n ]\n generate_credential_report: [\n Sdk.GenerateCredentialReportCommandInput,\n Sdk.GenerateCredentialReportCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n generate_organizations_access_report: [\n Sdk.GenerateOrganizationsAccessReportCommandInput,\n Sdk.GenerateOrganizationsAccessReportCommandOutput,\n {\n \"ReportGenerationLimitExceededException\": Sdk.ReportGenerationLimitExceededException\n }\n ]\n generate_service_last_accessed_details: [\n Sdk.GenerateServiceLastAccessedDetailsCommandInput,\n Sdk.GenerateServiceLastAccessedDetailsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n get_access_key_last_used: [\n Sdk.GetAccessKeyLastUsedCommandInput,\n Sdk.GetAccessKeyLastUsedCommandOutput,\n never\n ]\n get_account_authorization_details: [\n Sdk.GetAccountAuthorizationDetailsCommandInput,\n Sdk.GetAccountAuthorizationDetailsCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_account_password_policy: [\n Sdk.GetAccountPasswordPolicyCommandInput,\n Sdk.GetAccountPasswordPolicyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_account_summary: [\n Sdk.GetAccountSummaryCommandInput,\n Sdk.GetAccountSummaryCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_context_keys_for_custom_policy: [\n Sdk.GetContextKeysForCustomPolicyCommandInput,\n Sdk.GetContextKeysForCustomPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException\n }\n ]\n get_context_keys_for_principal_policy: [\n Sdk.GetContextKeysForPrincipalPolicyCommandInput,\n Sdk.GetContextKeysForPrincipalPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n get_credential_report: [\n Sdk.GetCredentialReportCommandInput,\n Sdk.GetCredentialReportCommandOutput,\n {\n \"CredentialReportExpiredException\": Sdk.CredentialReportExpiredException,\n \"CredentialReportNotPresentException\": Sdk.CredentialReportNotPresentException,\n \"CredentialReportNotReadyException\": Sdk.CredentialReportNotReadyException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_delegation_request: [\n Sdk.GetDelegationRequestCommandInput,\n Sdk.GetDelegationRequestCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_group: [\n Sdk.GetGroupCommandInput,\n Sdk.GetGroupCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_group_policy: [\n Sdk.GetGroupPolicyCommandInput,\n Sdk.GetGroupPolicyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_human_readable_summary: [\n Sdk.GetHumanReadableSummaryCommandInput,\n Sdk.GetHumanReadableSummaryCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_instance_profile: [\n Sdk.GetInstanceProfileCommandInput,\n Sdk.GetInstanceProfileCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_login_profile: [\n Sdk.GetLoginProfileCommandInput,\n Sdk.GetLoginProfileCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_mfa_device: [\n Sdk.GetMFADeviceCommandInput,\n Sdk.GetMFADeviceCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_open_id_connect_provider: [\n Sdk.GetOpenIDConnectProviderCommandInput,\n Sdk.GetOpenIDConnectProviderCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_organizations_access_report: [\n Sdk.GetOrganizationsAccessReportCommandInput,\n Sdk.GetOrganizationsAccessReportCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n get_outbound_web_identity_federation_info: [\n Sdk.GetOutboundWebIdentityFederationInfoCommandInput,\n Sdk.GetOutboundWebIdentityFederationInfoCommandOutput,\n {\n \"FeatureDisabledException\": Sdk.FeatureDisabledException\n }\n ]\n get_policy: [\n Sdk.GetPolicyCommandInput,\n Sdk.GetPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_policy_version: [\n Sdk.GetPolicyVersionCommandInput,\n Sdk.GetPolicyVersionCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_role: [\n Sdk.GetRoleCommandInput,\n Sdk.GetRoleCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_role_policy: [\n Sdk.GetRolePolicyCommandInput,\n Sdk.GetRolePolicyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_saml_provider: [\n Sdk.GetSAMLProviderCommandInput,\n Sdk.GetSAMLProviderCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_server_certificate: [\n Sdk.GetServerCertificateCommandInput,\n Sdk.GetServerCertificateCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_service_last_accessed_details: [\n Sdk.GetServiceLastAccessedDetailsCommandInput,\n Sdk.GetServiceLastAccessedDetailsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n get_service_last_accessed_details_with_entities: [\n Sdk.GetServiceLastAccessedDetailsWithEntitiesCommandInput,\n Sdk.GetServiceLastAccessedDetailsWithEntitiesCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n get_service_linked_role_deletion_status: [\n Sdk.GetServiceLinkedRoleDeletionStatusCommandInput,\n Sdk.GetServiceLinkedRoleDeletionStatusCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_ssh_public_key: [\n Sdk.GetSSHPublicKeyCommandInput,\n Sdk.GetSSHPublicKeyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"UnrecognizedPublicKeyEncodingException\": Sdk.UnrecognizedPublicKeyEncodingException\n }\n ]\n get_user: [\n Sdk.GetUserCommandInput,\n Sdk.GetUserCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n get_user_policy: [\n Sdk.GetUserPolicyCommandInput,\n Sdk.GetUserPolicyCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_access_keys: [\n Sdk.ListAccessKeysCommandInput,\n Sdk.ListAccessKeysCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_account_aliases: [\n Sdk.ListAccountAliasesCommandInput,\n Sdk.ListAccountAliasesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_attached_group_policies: [\n Sdk.ListAttachedGroupPoliciesCommandInput,\n Sdk.ListAttachedGroupPoliciesCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_attached_role_policies: [\n Sdk.ListAttachedRolePoliciesCommandInput,\n Sdk.ListAttachedRolePoliciesCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_attached_user_policies: [\n Sdk.ListAttachedUserPoliciesCommandInput,\n Sdk.ListAttachedUserPoliciesCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_delegation_requests: [\n Sdk.ListDelegationRequestsCommandInput,\n Sdk.ListDelegationRequestsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_entities_for_policy: [\n Sdk.ListEntitiesForPolicyCommandInput,\n Sdk.ListEntitiesForPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_group_policies: [\n Sdk.ListGroupPoliciesCommandInput,\n Sdk.ListGroupPoliciesCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_groups: [\n Sdk.ListGroupsCommandInput,\n Sdk.ListGroupsCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_groups_for_user: [\n Sdk.ListGroupsForUserCommandInput,\n Sdk.ListGroupsForUserCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_instance_profile_tags: [\n Sdk.ListInstanceProfileTagsCommandInput,\n Sdk.ListInstanceProfileTagsCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_instance_profiles: [\n Sdk.ListInstanceProfilesCommandInput,\n Sdk.ListInstanceProfilesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_instance_profiles_for_role: [\n Sdk.ListInstanceProfilesForRoleCommandInput,\n Sdk.ListInstanceProfilesForRoleCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_mfa_device_tags: [\n Sdk.ListMFADeviceTagsCommandInput,\n Sdk.ListMFADeviceTagsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_mfa_devices: [\n Sdk.ListMFADevicesCommandInput,\n Sdk.ListMFADevicesCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_open_id_connect_provider_tags: [\n Sdk.ListOpenIDConnectProviderTagsCommandInput,\n Sdk.ListOpenIDConnectProviderTagsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_open_id_connect_providers: [\n Sdk.ListOpenIDConnectProvidersCommandInput,\n Sdk.ListOpenIDConnectProvidersCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_organizations_features: [\n Sdk.ListOrganizationsFeaturesCommandInput,\n Sdk.ListOrganizationsFeaturesCommandOutput,\n {\n \"AccountNotManagementOrDelegatedAdministratorException\": Sdk.AccountNotManagementOrDelegatedAdministratorException,\n \"OrganizationNotFoundException\": Sdk.OrganizationNotFoundException,\n \"OrganizationNotInAllFeaturesModeException\": Sdk.OrganizationNotInAllFeaturesModeException,\n \"ServiceAccessNotEnabledException\": Sdk.ServiceAccessNotEnabledException\n }\n ]\n list_policies: [\n Sdk.ListPoliciesCommandInput,\n Sdk.ListPoliciesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_policies_granting_service_access: [\n Sdk.ListPoliciesGrantingServiceAccessCommandInput,\n Sdk.ListPoliciesGrantingServiceAccessCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n list_policy_tags: [\n Sdk.ListPolicyTagsCommandInput,\n Sdk.ListPolicyTagsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_policy_versions: [\n Sdk.ListPolicyVersionsCommandInput,\n Sdk.ListPolicyVersionsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_role_policies: [\n Sdk.ListRolePoliciesCommandInput,\n Sdk.ListRolePoliciesCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_role_tags: [\n Sdk.ListRoleTagsCommandInput,\n Sdk.ListRoleTagsCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_roles: [\n Sdk.ListRolesCommandInput,\n Sdk.ListRolesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_saml_provider_tags: [\n Sdk.ListSAMLProviderTagsCommandInput,\n Sdk.ListSAMLProviderTagsCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_saml_providers: [\n Sdk.ListSAMLProvidersCommandInput,\n Sdk.ListSAMLProvidersCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_server_certificate_tags: [\n Sdk.ListServerCertificateTagsCommandInput,\n Sdk.ListServerCertificateTagsCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_server_certificates: [\n Sdk.ListServerCertificatesCommandInput,\n Sdk.ListServerCertificatesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_service_specific_credentials: [\n Sdk.ListServiceSpecificCredentialsCommandInput,\n Sdk.ListServiceSpecificCredentialsCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceNotSupportedException\": Sdk.ServiceNotSupportedException\n }\n ]\n list_signing_certificates: [\n Sdk.ListSigningCertificatesCommandInput,\n Sdk.ListSigningCertificatesCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_ssh_public_keys: [\n Sdk.ListSSHPublicKeysCommandInput,\n Sdk.ListSSHPublicKeysCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n list_user_policies: [\n Sdk.ListUserPoliciesCommandInput,\n Sdk.ListUserPoliciesCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_user_tags: [\n Sdk.ListUserTagsCommandInput,\n Sdk.ListUserTagsCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_users: [\n Sdk.ListUsersCommandInput,\n Sdk.ListUsersCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n list_virtual_mfa_devices: [\n Sdk.ListVirtualMFADevicesCommandInput,\n Sdk.ListVirtualMFADevicesCommandOutput,\n never\n ]\n put_group_policy: [\n Sdk.PutGroupPolicyCommandInput,\n Sdk.PutGroupPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n put_role_permissions_boundary: [\n Sdk.PutRolePermissionsBoundaryCommandInput,\n Sdk.PutRolePermissionsBoundaryCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyNotAttachableException\": Sdk.PolicyNotAttachableException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n put_role_policy: [\n Sdk.PutRolePolicyCommandInput,\n Sdk.PutRolePolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n put_user_permissions_boundary: [\n Sdk.PutUserPermissionsBoundaryCommandInput,\n Sdk.PutUserPermissionsBoundaryCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyNotAttachableException\": Sdk.PolicyNotAttachableException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n put_user_policy: [\n Sdk.PutUserPolicyCommandInput,\n Sdk.PutUserPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n reject_delegation_request: [\n Sdk.RejectDelegationRequestCommandInput,\n Sdk.RejectDelegationRequestCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n remove_client_id_from_open_id_connect_provider: [\n Sdk.RemoveClientIDFromOpenIDConnectProviderCommandInput,\n Sdk.RemoveClientIDFromOpenIDConnectProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n remove_role_from_instance_profile: [\n Sdk.RemoveRoleFromInstanceProfileCommandInput,\n Sdk.RemoveRoleFromInstanceProfileCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n remove_user_from_group: [\n Sdk.RemoveUserFromGroupCommandInput,\n Sdk.RemoveUserFromGroupCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n reset_service_specific_credential: [\n Sdk.ResetServiceSpecificCredentialCommandInput,\n Sdk.ResetServiceSpecificCredentialCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n resync_mfa_device: [\n Sdk.ResyncMFADeviceCommandInput,\n Sdk.ResyncMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidAuthenticationCodeException\": Sdk.InvalidAuthenticationCodeException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n send_delegation_token: [\n Sdk.SendDelegationTokenCommandInput,\n Sdk.SendDelegationTokenCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n set_default_policy_version: [\n Sdk.SetDefaultPolicyVersionCommandInput,\n Sdk.SetDefaultPolicyVersionCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n set_security_token_service_preferences: [\n Sdk.SetSecurityTokenServicePreferencesCommandInput,\n Sdk.SetSecurityTokenServicePreferencesCommandOutput,\n {\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n simulate_custom_policy: [\n Sdk.SimulateCustomPolicyCommandInput,\n Sdk.SimulateCustomPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"PolicyEvaluationException\": Sdk.PolicyEvaluationException\n }\n ]\n simulate_principal_policy: [\n Sdk.SimulatePrincipalPolicyCommandInput,\n Sdk.SimulatePrincipalPolicyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PolicyEvaluationException\": Sdk.PolicyEvaluationException\n }\n ]\n tag_instance_profile: [\n Sdk.TagInstanceProfileCommandInput,\n Sdk.TagInstanceProfileCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_mfa_device: [\n Sdk.TagMFADeviceCommandInput,\n Sdk.TagMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_open_id_connect_provider: [\n Sdk.TagOpenIDConnectProviderCommandInput,\n Sdk.TagOpenIDConnectProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_policy: [\n Sdk.TagPolicyCommandInput,\n Sdk.TagPolicyCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_role: [\n Sdk.TagRoleCommandInput,\n Sdk.TagRoleCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_saml_provider: [\n Sdk.TagSAMLProviderCommandInput,\n Sdk.TagSAMLProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_server_certificate: [\n Sdk.TagServerCertificateCommandInput,\n Sdk.TagServerCertificateCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n tag_user: [\n Sdk.TagUserCommandInput,\n Sdk.TagUserCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_instance_profile: [\n Sdk.UntagInstanceProfileCommandInput,\n Sdk.UntagInstanceProfileCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_mfa_device: [\n Sdk.UntagMFADeviceCommandInput,\n Sdk.UntagMFADeviceCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_open_id_connect_provider: [\n Sdk.UntagOpenIDConnectProviderCommandInput,\n Sdk.UntagOpenIDConnectProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_policy: [\n Sdk.UntagPolicyCommandInput,\n Sdk.UntagPolicyCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_role: [\n Sdk.UntagRoleCommandInput,\n Sdk.UntagRoleCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_saml_provider: [\n Sdk.UntagSAMLProviderCommandInput,\n Sdk.UntagSAMLProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_server_certificate: [\n Sdk.UntagServerCertificateCommandInput,\n Sdk.UntagServerCertificateCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n untag_user: [\n Sdk.UntagUserCommandInput,\n Sdk.UntagUserCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_access_key: [\n Sdk.UpdateAccessKeyCommandInput,\n Sdk.UpdateAccessKeyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_account_password_policy: [\n Sdk.UpdateAccountPasswordPolicyCommandInput,\n Sdk.UpdateAccountPasswordPolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_assume_role_policy: [\n Sdk.UpdateAssumeRolePolicyCommandInput,\n Sdk.UpdateAssumeRolePolicyCommandOutput,\n {\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedPolicyDocumentException\": Sdk.MalformedPolicyDocumentException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n update_delegation_request: [\n Sdk.UpdateDelegationRequestCommandInput,\n Sdk.UpdateDelegationRequestCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_group: [\n Sdk.UpdateGroupCommandInput,\n Sdk.UpdateGroupCommandOutput,\n {\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_login_profile: [\n Sdk.UpdateLoginProfileCommandInput,\n Sdk.UpdateLoginProfileCommandOutput,\n {\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"PasswordPolicyViolationException\": Sdk.PasswordPolicyViolationException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_open_id_connect_provider_thumbprint: [\n Sdk.UpdateOpenIDConnectProviderThumbprintCommandInput,\n Sdk.UpdateOpenIDConnectProviderThumbprintCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_role: [\n Sdk.UpdateRoleCommandInput,\n Sdk.UpdateRoleCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n update_role_description: [\n Sdk.UpdateRoleDescriptionCommandInput,\n Sdk.UpdateRoleDescriptionCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException,\n \"UnmodifiableEntityException\": Sdk.UnmodifiableEntityException\n }\n ]\n update_saml_provider: [\n Sdk.UpdateSAMLProviderCommandInput,\n Sdk.UpdateSAMLProviderCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_server_certificate: [\n Sdk.UpdateServerCertificateCommandInput,\n Sdk.UpdateServerCertificateCommandOutput,\n {\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_service_specific_credential: [\n Sdk.UpdateServiceSpecificCredentialCommandInput,\n Sdk.UpdateServiceSpecificCredentialCommandOutput,\n {\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n update_signing_certificate: [\n Sdk.UpdateSigningCertificateCommandInput,\n Sdk.UpdateSigningCertificateCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n update_ssh_public_key: [\n Sdk.UpdateSSHPublicKeyCommandInput,\n Sdk.UpdateSSHPublicKeyCommandOutput,\n {\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException\n }\n ]\n update_user: [\n Sdk.UpdateUserCommandInput,\n Sdk.UpdateUserCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"EntityTemporarilyUnmodifiableException\": Sdk.EntityTemporarilyUnmodifiableException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n upload_server_certificate: [\n Sdk.UploadServerCertificateCommandInput,\n Sdk.UploadServerCertificateCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidInputException\": Sdk.InvalidInputException,\n \"KeyPairMismatchException\": Sdk.KeyPairMismatchException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedCertificateException\": Sdk.MalformedCertificateException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n upload_signing_certificate: [\n Sdk.UploadSigningCertificateCommandInput,\n Sdk.UploadSigningCertificateCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"DuplicateCertificateException\": Sdk.DuplicateCertificateException,\n \"EntityAlreadyExistsException\": Sdk.EntityAlreadyExistsException,\n \"InvalidCertificateException\": Sdk.InvalidCertificateException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"MalformedCertificateException\": Sdk.MalformedCertificateException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"ServiceFailureException\": Sdk.ServiceFailureException\n }\n ]\n upload_ssh_public_key: [\n Sdk.UploadSSHPublicKeyCommandInput,\n Sdk.UploadSSHPublicKeyCommandOutput,\n {\n \"DuplicateSSHPublicKeyException\": Sdk.DuplicateSSHPublicKeyException,\n \"InvalidPublicKeyException\": Sdk.InvalidPublicKeyException,\n \"LimitExceededException\": Sdk.LimitExceededException,\n \"NoSuchEntityException\": Sdk.NoSuchEntityException,\n \"UnrecognizedPublicKeyEncodingException\": Sdk.UnrecognizedPublicKeyEncodingException\n }\n ]\n};\n\nconst IAMCommandFactory: { [M in keyof IAMApi]: new (args: IAMApi[M][0]) => unknown } = {\n accept_delegation_request: Sdk.AcceptDelegationRequestCommand,\n add_client_id_to_open_id_connect_provider: Sdk.AddClientIDToOpenIDConnectProviderCommand,\n add_role_to_instance_profile: Sdk.AddRoleToInstanceProfileCommand,\n add_user_to_group: Sdk.AddUserToGroupCommand,\n associate_delegation_request: Sdk.AssociateDelegationRequestCommand,\n attach_group_policy: Sdk.AttachGroupPolicyCommand,\n attach_role_policy: Sdk.AttachRolePolicyCommand,\n attach_user_policy: Sdk.AttachUserPolicyCommand,\n change_password: Sdk.ChangePasswordCommand,\n create_access_key: Sdk.CreateAccessKeyCommand,\n create_account_alias: Sdk.CreateAccountAliasCommand,\n create_delegation_request: Sdk.CreateDelegationRequestCommand,\n create_group: Sdk.CreateGroupCommand,\n create_instance_profile: Sdk.CreateInstanceProfileCommand,\n create_login_profile: Sdk.CreateLoginProfileCommand,\n create_open_id_connect_provider: Sdk.CreateOpenIDConnectProviderCommand,\n create_policy: Sdk.CreatePolicyCommand,\n create_policy_version: Sdk.CreatePolicyVersionCommand,\n create_role: Sdk.CreateRoleCommand,\n create_saml_provider: Sdk.CreateSAMLProviderCommand,\n create_service_linked_role: Sdk.CreateServiceLinkedRoleCommand,\n create_service_specific_credential: Sdk.CreateServiceSpecificCredentialCommand,\n create_user: Sdk.CreateUserCommand,\n create_virtual_mfa_device: Sdk.CreateVirtualMFADeviceCommand,\n deactivate_mfa_device: Sdk.DeactivateMFADeviceCommand,\n delete_access_key: Sdk.DeleteAccessKeyCommand,\n delete_account_alias: Sdk.DeleteAccountAliasCommand,\n delete_account_password_policy: Sdk.DeleteAccountPasswordPolicyCommand,\n delete_group: Sdk.DeleteGroupCommand,\n delete_group_policy: Sdk.DeleteGroupPolicyCommand,\n delete_instance_profile: Sdk.DeleteInstanceProfileCommand,\n delete_login_profile: Sdk.DeleteLoginProfileCommand,\n delete_open_id_connect_provider: Sdk.DeleteOpenIDConnectProviderCommand,\n delete_policy: Sdk.DeletePolicyCommand,\n delete_policy_version: Sdk.DeletePolicyVersionCommand,\n delete_role: Sdk.DeleteRoleCommand,\n delete_role_permissions_boundary: Sdk.DeleteRolePermissionsBoundaryCommand,\n delete_role_policy: Sdk.DeleteRolePolicyCommand,\n delete_saml_provider: Sdk.DeleteSAMLProviderCommand,\n delete_server_certificate: Sdk.DeleteServerCertificateCommand,\n delete_service_linked_role: Sdk.DeleteServiceLinkedRoleCommand,\n delete_service_specific_credential: Sdk.DeleteServiceSpecificCredentialCommand,\n delete_signing_certificate: Sdk.DeleteSigningCertificateCommand,\n delete_ssh_public_key: Sdk.DeleteSSHPublicKeyCommand,\n delete_user: Sdk.DeleteUserCommand,\n delete_user_permissions_boundary: Sdk.DeleteUserPermissionsBoundaryCommand,\n delete_user_policy: Sdk.DeleteUserPolicyCommand,\n delete_virtual_mfa_device: Sdk.DeleteVirtualMFADeviceCommand,\n detach_group_policy: Sdk.DetachGroupPolicyCommand,\n detach_role_policy: Sdk.DetachRolePolicyCommand,\n detach_user_policy: Sdk.DetachUserPolicyCommand,\n disable_organizations_root_credentials_management: Sdk.DisableOrganizationsRootCredentialsManagementCommand,\n disable_organizations_root_sessions: Sdk.DisableOrganizationsRootSessionsCommand,\n disable_outbound_web_identity_federation: Sdk.DisableOutboundWebIdentityFederationCommand,\n enable_mfa_device: Sdk.EnableMFADeviceCommand,\n enable_organizations_root_credentials_management: Sdk.EnableOrganizationsRootCredentialsManagementCommand,\n enable_organizations_root_sessions: Sdk.EnableOrganizationsRootSessionsCommand,\n enable_outbound_web_identity_federation: Sdk.EnableOutboundWebIdentityFederationCommand,\n generate_credential_report: Sdk.GenerateCredentialReportCommand,\n generate_organizations_access_report: Sdk.GenerateOrganizationsAccessReportCommand,\n generate_service_last_accessed_details: Sdk.GenerateServiceLastAccessedDetailsCommand,\n get_access_key_last_used: Sdk.GetAccessKeyLastUsedCommand,\n get_account_authorization_details: Sdk.GetAccountAuthorizationDetailsCommand,\n get_account_password_policy: Sdk.GetAccountPasswordPolicyCommand,\n get_account_summary: Sdk.GetAccountSummaryCommand,\n get_context_keys_for_custom_policy: Sdk.GetContextKeysForCustomPolicyCommand,\n get_context_keys_for_principal_policy: Sdk.GetContextKeysForPrincipalPolicyCommand,\n get_credential_report: Sdk.GetCredentialReportCommand,\n get_delegation_request: Sdk.GetDelegationRequestCommand,\n get_group: Sdk.GetGroupCommand,\n get_group_policy: Sdk.GetGroupPolicyCommand,\n get_human_readable_summary: Sdk.GetHumanReadableSummaryCommand,\n get_instance_profile: Sdk.GetInstanceProfileCommand,\n get_login_profile: Sdk.GetLoginProfileCommand,\n get_mfa_device: Sdk.GetMFADeviceCommand,\n get_open_id_connect_provider: Sdk.GetOpenIDConnectProviderCommand,\n get_organizations_access_report: Sdk.GetOrganizationsAccessReportCommand,\n get_outbound_web_identity_federation_info: Sdk.GetOutboundWebIdentityFederationInfoCommand,\n get_policy: Sdk.GetPolicyCommand,\n get_policy_version: Sdk.GetPolicyVersionCommand,\n get_role: Sdk.GetRoleCommand,\n get_role_policy: Sdk.GetRolePolicyCommand,\n get_saml_provider: Sdk.GetSAMLProviderCommand,\n get_server_certificate: Sdk.GetServerCertificateCommand,\n get_service_last_accessed_details: Sdk.GetServiceLastAccessedDetailsCommand,\n get_service_last_accessed_details_with_entities: Sdk.GetServiceLastAccessedDetailsWithEntitiesCommand,\n get_service_linked_role_deletion_status: Sdk.GetServiceLinkedRoleDeletionStatusCommand,\n get_ssh_public_key: Sdk.GetSSHPublicKeyCommand,\n get_user: Sdk.GetUserCommand,\n get_user_policy: Sdk.GetUserPolicyCommand,\n list_access_keys: Sdk.ListAccessKeysCommand,\n list_account_aliases: Sdk.ListAccountAliasesCommand,\n list_attached_group_policies: Sdk.ListAttachedGroupPoliciesCommand,\n list_attached_role_policies: Sdk.ListAttachedRolePoliciesCommand,\n list_attached_user_policies: Sdk.ListAttachedUserPoliciesCommand,\n list_delegation_requests: Sdk.ListDelegationRequestsCommand,\n list_entities_for_policy: Sdk.ListEntitiesForPolicyCommand,\n list_group_policies: Sdk.ListGroupPoliciesCommand,\n list_groups: Sdk.ListGroupsCommand,\n list_groups_for_user: Sdk.ListGroupsForUserCommand,\n list_instance_profile_tags: Sdk.ListInstanceProfileTagsCommand,\n list_instance_profiles: Sdk.ListInstanceProfilesCommand,\n list_instance_profiles_for_role: Sdk.ListInstanceProfilesForRoleCommand,\n list_mfa_device_tags: Sdk.ListMFADeviceTagsCommand,\n list_mfa_devices: Sdk.ListMFADevicesCommand,\n list_open_id_connect_provider_tags: Sdk.ListOpenIDConnectProviderTagsCommand,\n list_open_id_connect_providers: Sdk.ListOpenIDConnectProvidersCommand,\n list_organizations_features: Sdk.ListOrganizationsFeaturesCommand,\n list_policies: Sdk.ListPoliciesCommand,\n list_policies_granting_service_access: Sdk.ListPoliciesGrantingServiceAccessCommand,\n list_policy_tags: Sdk.ListPolicyTagsCommand,\n list_policy_versions: Sdk.ListPolicyVersionsCommand,\n list_role_policies: Sdk.ListRolePoliciesCommand,\n list_role_tags: Sdk.ListRoleTagsCommand,\n list_roles: Sdk.ListRolesCommand,\n list_saml_provider_tags: Sdk.ListSAMLProviderTagsCommand,\n list_saml_providers: Sdk.ListSAMLProvidersCommand,\n list_server_certificate_tags: Sdk.ListServerCertificateTagsCommand,\n list_server_certificates: Sdk.ListServerCertificatesCommand,\n list_service_specific_credentials: Sdk.ListServiceSpecificCredentialsCommand,\n list_signing_certificates: Sdk.ListSigningCertificatesCommand,\n list_ssh_public_keys: Sdk.ListSSHPublicKeysCommand,\n list_user_policies: Sdk.ListUserPoliciesCommand,\n list_user_tags: Sdk.ListUserTagsCommand,\n list_users: Sdk.ListUsersCommand,\n list_virtual_mfa_devices: Sdk.ListVirtualMFADevicesCommand,\n put_group_policy: Sdk.PutGroupPolicyCommand,\n put_role_permissions_boundary: Sdk.PutRolePermissionsBoundaryCommand,\n put_role_policy: Sdk.PutRolePolicyCommand,\n put_user_permissions_boundary: Sdk.PutUserPermissionsBoundaryCommand,\n put_user_policy: Sdk.PutUserPolicyCommand,\n reject_delegation_request: Sdk.RejectDelegationRequestCommand,\n remove_client_id_from_open_id_connect_provider: Sdk.RemoveClientIDFromOpenIDConnectProviderCommand,\n remove_role_from_instance_profile: Sdk.RemoveRoleFromInstanceProfileCommand,\n remove_user_from_group: Sdk.RemoveUserFromGroupCommand,\n reset_service_specific_credential: Sdk.ResetServiceSpecificCredentialCommand,\n resync_mfa_device: Sdk.ResyncMFADeviceCommand,\n send_delegation_token: Sdk.SendDelegationTokenCommand,\n set_default_policy_version: Sdk.SetDefaultPolicyVersionCommand,\n set_security_token_service_preferences: Sdk.SetSecurityTokenServicePreferencesCommand,\n simulate_custom_policy: Sdk.SimulateCustomPolicyCommand,\n simulate_principal_policy: Sdk.SimulatePrincipalPolicyCommand,\n tag_instance_profile: Sdk.TagInstanceProfileCommand,\n tag_mfa_device: Sdk.TagMFADeviceCommand,\n tag_open_id_connect_provider: Sdk.TagOpenIDConnectProviderCommand,\n tag_policy: Sdk.TagPolicyCommand,\n tag_role: Sdk.TagRoleCommand,\n tag_saml_provider: Sdk.TagSAMLProviderCommand,\n tag_server_certificate: Sdk.TagServerCertificateCommand,\n tag_user: Sdk.TagUserCommand,\n untag_instance_profile: Sdk.UntagInstanceProfileCommand,\n untag_mfa_device: Sdk.UntagMFADeviceCommand,\n untag_open_id_connect_provider: Sdk.UntagOpenIDConnectProviderCommand,\n untag_policy: Sdk.UntagPolicyCommand,\n untag_role: Sdk.UntagRoleCommand,\n untag_saml_provider: Sdk.UntagSAMLProviderCommand,\n untag_server_certificate: Sdk.UntagServerCertificateCommand,\n untag_user: Sdk.UntagUserCommand,\n update_access_key: Sdk.UpdateAccessKeyCommand,\n update_account_password_policy: Sdk.UpdateAccountPasswordPolicyCommand,\n update_assume_role_policy: Sdk.UpdateAssumeRolePolicyCommand,\n update_delegation_request: Sdk.UpdateDelegationRequestCommand,\n update_group: Sdk.UpdateGroupCommand,\n update_login_profile: Sdk.UpdateLoginProfileCommand,\n update_open_id_connect_provider_thumbprint: Sdk.UpdateOpenIDConnectProviderThumbprintCommand,\n update_role: Sdk.UpdateRoleCommand,\n update_role_description: Sdk.UpdateRoleDescriptionCommand,\n update_saml_provider: Sdk.UpdateSAMLProviderCommand,\n update_server_certificate: Sdk.UpdateServerCertificateCommand,\n update_service_specific_credential: Sdk.UpdateServiceSpecificCredentialCommand,\n update_signing_certificate: Sdk.UpdateSigningCertificateCommand,\n update_ssh_public_key: Sdk.UpdateSSHPublicKeyCommand,\n update_user: Sdk.UpdateUserCommand,\n upload_server_certificate: Sdk.UploadServerCertificateCommand,\n upload_signing_certificate: Sdk.UploadSigningCertificateCommand,\n upload_ssh_public_key: Sdk.UploadSSHPublicKeyCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-lambda\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class LambdaClient extends Context.Tag('LambdaClient')<LambdaClient, Sdk.LambdaClient>() {\n\n static Default = (\n config?: Sdk.LambdaClientConfig\n ) =>\n Layer.effect(\n LambdaClient,\n Effect.gen(function*() {\n return new Sdk.LambdaClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS Lambda command.\n *\n * @param actionName - The name of the Lambda command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { lambda } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* lambda.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_Lambda')(function* <M extends keyof LambdaApi>(\n actionName: M, actionInput: LambdaApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_Lambda.${actionName}`, { input: actionInput })\n\n const client = yield* LambdaClient\n const command = new LambdaCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<LambdaApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.LambdaServiceException) {\n return new LambdaError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_Lambda.${actionName} completed`)\n\n return result\n })\n\nexport class LambdaError<C extends keyof LambdaApi> {\n readonly _tag = \"LambdaError\";\n\n constructor(\n readonly cause: Sdk.LambdaServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof LambdaApi[C][2]>(\n name: N\n ): this is LambdaError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<LambdaApi>>(\n name: N\n ): this is LambdaError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type LambdaMethodInput<M extends keyof LambdaApi> = LambdaApi[M][0];\ntype LambdaApi = {\n add_layer_version_permission: [\n Sdk.AddLayerVersionPermissionCommandInput,\n Sdk.AddLayerVersionPermissionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PolicyLengthExceededException\": Sdk.PolicyLengthExceededException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n add_permission: [\n Sdk.AddPermissionCommandInput,\n Sdk.AddPermissionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PolicyLengthExceededException\": Sdk.PolicyLengthExceededException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n checkpoint_durable_execution: [\n Sdk.CheckpointDurableExecutionCommandInput,\n Sdk.CheckpointDurableExecutionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_alias: [\n Sdk.CreateAliasCommandInput,\n Sdk.CreateAliasCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_capacity_provider: [\n Sdk.CreateCapacityProviderCommandInput,\n Sdk.CreateCapacityProviderCommandOutput,\n {\n \"CapacityProviderLimitExceededException\": Sdk.CapacityProviderLimitExceededException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_code_signing_config: [\n Sdk.CreateCodeSigningConfigCommandInput,\n Sdk.CreateCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException\n }\n ]\n create_event_source_mapping: [\n Sdk.CreateEventSourceMappingCommandInput,\n Sdk.CreateEventSourceMappingCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_function: [\n Sdk.CreateFunctionCommandInput,\n Sdk.CreateFunctionCommandOutput,\n {\n \"CodeSigningConfigNotFoundException\": Sdk.CodeSigningConfigNotFoundException,\n \"CodeStorageExceededException\": Sdk.CodeStorageExceededException,\n \"CodeVerificationFailedException\": Sdk.CodeVerificationFailedException,\n \"FunctionVersionsPerCapacityProviderLimitExceededException\": Sdk.FunctionVersionsPerCapacityProviderLimitExceededException,\n \"InvalidCodeSignatureException\": Sdk.InvalidCodeSignatureException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n create_function_url_config: [\n Sdk.CreateFunctionUrlConfigCommandInput,\n Sdk.CreateFunctionUrlConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_alias: [\n Sdk.DeleteAliasCommandInput,\n Sdk.DeleteAliasCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_capacity_provider: [\n Sdk.DeleteCapacityProviderCommandInput,\n Sdk.DeleteCapacityProviderCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_code_signing_config: [\n Sdk.DeleteCodeSigningConfigCommandInput,\n Sdk.DeleteCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n delete_event_source_mapping: [\n Sdk.DeleteEventSourceMappingCommandInput,\n Sdk.DeleteEventSourceMappingCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_function: [\n Sdk.DeleteFunctionCommandInput,\n Sdk.DeleteFunctionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_function_code_signing_config: [\n Sdk.DeleteFunctionCodeSigningConfigCommandInput,\n Sdk.DeleteFunctionCodeSigningConfigCommandOutput,\n {\n \"CodeSigningConfigNotFoundException\": Sdk.CodeSigningConfigNotFoundException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_function_concurrency: [\n Sdk.DeleteFunctionConcurrencyCommandInput,\n Sdk.DeleteFunctionConcurrencyCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_function_event_invoke_config: [\n Sdk.DeleteFunctionEventInvokeConfigCommandInput,\n Sdk.DeleteFunctionEventInvokeConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_function_url_config: [\n Sdk.DeleteFunctionUrlConfigCommandInput,\n Sdk.DeleteFunctionUrlConfigCommandOutput,\n {\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_layer_version: [\n Sdk.DeleteLayerVersionCommandInput,\n Sdk.DeleteLayerVersionCommandOutput,\n {\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n delete_provisioned_concurrency_config: [\n Sdk.DeleteProvisionedConcurrencyConfigCommandInput,\n Sdk.DeleteProvisionedConcurrencyConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_account_settings: [\n Sdk.GetAccountSettingsCommandInput,\n Sdk.GetAccountSettingsCommandOutput,\n {\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_alias: [\n Sdk.GetAliasCommandInput,\n Sdk.GetAliasCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_capacity_provider: [\n Sdk.GetCapacityProviderCommandInput,\n Sdk.GetCapacityProviderCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_code_signing_config: [\n Sdk.GetCodeSigningConfigCommandInput,\n Sdk.GetCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n get_durable_execution: [\n Sdk.GetDurableExecutionCommandInput,\n Sdk.GetDurableExecutionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_durable_execution_history: [\n Sdk.GetDurableExecutionHistoryCommandInput,\n Sdk.GetDurableExecutionHistoryCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_durable_execution_state: [\n Sdk.GetDurableExecutionStateCommandInput,\n Sdk.GetDurableExecutionStateCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_event_source_mapping: [\n Sdk.GetEventSourceMappingCommandInput,\n Sdk.GetEventSourceMappingCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function: [\n Sdk.GetFunctionCommandInput,\n Sdk.GetFunctionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_code_signing_config: [\n Sdk.GetFunctionCodeSigningConfigCommandInput,\n Sdk.GetFunctionCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_concurrency: [\n Sdk.GetFunctionConcurrencyCommandInput,\n Sdk.GetFunctionConcurrencyCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_configuration: [\n Sdk.GetFunctionConfigurationCommandInput,\n Sdk.GetFunctionConfigurationCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_event_invoke_config: [\n Sdk.GetFunctionEventInvokeConfigCommandInput,\n Sdk.GetFunctionEventInvokeConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_recursion_config: [\n Sdk.GetFunctionRecursionConfigCommandInput,\n Sdk.GetFunctionRecursionConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_scaling_config: [\n Sdk.GetFunctionScalingConfigCommandInput,\n Sdk.GetFunctionScalingConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_function_url_config: [\n Sdk.GetFunctionUrlConfigCommandInput,\n Sdk.GetFunctionUrlConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_layer_version: [\n Sdk.GetLayerVersionCommandInput,\n Sdk.GetLayerVersionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_layer_version_by_arn: [\n Sdk.GetLayerVersionByArnCommandInput,\n Sdk.GetLayerVersionByArnCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_layer_version_policy: [\n Sdk.GetLayerVersionPolicyCommandInput,\n Sdk.GetLayerVersionPolicyCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_policy: [\n Sdk.GetPolicyCommandInput,\n Sdk.GetPolicyCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_provisioned_concurrency_config: [\n Sdk.GetProvisionedConcurrencyConfigCommandInput,\n Sdk.GetProvisionedConcurrencyConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ProvisionedConcurrencyConfigNotFoundException\": Sdk.ProvisionedConcurrencyConfigNotFoundException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n get_runtime_management_config: [\n Sdk.GetRuntimeManagementConfigCommandInput,\n Sdk.GetRuntimeManagementConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n invoke: [\n Sdk.InvokeCommandInput,\n Sdk.InvokeCommandOutput,\n {\n \"DurableExecutionAlreadyStartedException\": Sdk.DurableExecutionAlreadyStartedException,\n \"EC2AccessDeniedException\": Sdk.EC2AccessDeniedException,\n \"EC2ThrottledException\": Sdk.EC2ThrottledException,\n \"EC2UnexpectedException\": Sdk.EC2UnexpectedException,\n \"EFSIOException\": Sdk.EFSIOException,\n \"EFSMountConnectivityException\": Sdk.EFSMountConnectivityException,\n \"EFSMountFailureException\": Sdk.EFSMountFailureException,\n \"EFSMountTimeoutException\": Sdk.EFSMountTimeoutException,\n \"ENILimitReachedException\": Sdk.ENILimitReachedException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"InvalidRequestContentException\": Sdk.InvalidRequestContentException,\n \"InvalidRuntimeException\": Sdk.InvalidRuntimeException,\n \"InvalidSecurityGroupIDException\": Sdk.InvalidSecurityGroupIDException,\n \"InvalidSubnetIDException\": Sdk.InvalidSubnetIDException,\n \"InvalidZipFileException\": Sdk.InvalidZipFileException,\n \"KMSAccessDeniedException\": Sdk.KMSAccessDeniedException,\n \"KMSDisabledException\": Sdk.KMSDisabledException,\n \"KMSInvalidStateException\": Sdk.KMSInvalidStateException,\n \"KMSNotFoundException\": Sdk.KMSNotFoundException,\n \"NoPublishedVersionException\": Sdk.NoPublishedVersionException,\n \"RecursiveInvocationException\": Sdk.RecursiveInvocationException,\n \"RequestTooLargeException\": Sdk.RequestTooLargeException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ResourceNotReadyException\": Sdk.ResourceNotReadyException,\n \"SerializedRequestEntityTooLargeException\": Sdk.SerializedRequestEntityTooLargeException,\n \"SnapStartException\": Sdk.SnapStartException,\n \"SnapStartNotReadyException\": Sdk.SnapStartNotReadyException,\n \"SnapStartTimeoutException\": Sdk.SnapStartTimeoutException,\n \"SubnetIPAddressLimitReachedException\": Sdk.SubnetIPAddressLimitReachedException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException,\n \"UnsupportedMediaTypeException\": Sdk.UnsupportedMediaTypeException\n }\n ]\n invoke_async: [\n Sdk.InvokeAsyncCommandInput,\n Sdk.InvokeAsyncCommandOutput,\n {\n \"InvalidRequestContentException\": Sdk.InvalidRequestContentException,\n \"InvalidRuntimeException\": Sdk.InvalidRuntimeException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n invoke_with_response_stream: [\n Sdk.InvokeWithResponseStreamCommandInput,\n Sdk.InvokeWithResponseStreamCommandOutput,\n {\n \"EC2AccessDeniedException\": Sdk.EC2AccessDeniedException,\n \"EC2ThrottledException\": Sdk.EC2ThrottledException,\n \"EC2UnexpectedException\": Sdk.EC2UnexpectedException,\n \"EFSIOException\": Sdk.EFSIOException,\n \"EFSMountConnectivityException\": Sdk.EFSMountConnectivityException,\n \"EFSMountFailureException\": Sdk.EFSMountFailureException,\n \"EFSMountTimeoutException\": Sdk.EFSMountTimeoutException,\n \"ENILimitReachedException\": Sdk.ENILimitReachedException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"InvalidRequestContentException\": Sdk.InvalidRequestContentException,\n \"InvalidRuntimeException\": Sdk.InvalidRuntimeException,\n \"InvalidSecurityGroupIDException\": Sdk.InvalidSecurityGroupIDException,\n \"InvalidSubnetIDException\": Sdk.InvalidSubnetIDException,\n \"InvalidZipFileException\": Sdk.InvalidZipFileException,\n \"KMSAccessDeniedException\": Sdk.KMSAccessDeniedException,\n \"KMSDisabledException\": Sdk.KMSDisabledException,\n \"KMSInvalidStateException\": Sdk.KMSInvalidStateException,\n \"KMSNotFoundException\": Sdk.KMSNotFoundException,\n \"NoPublishedVersionException\": Sdk.NoPublishedVersionException,\n \"RecursiveInvocationException\": Sdk.RecursiveInvocationException,\n \"RequestTooLargeException\": Sdk.RequestTooLargeException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ResourceNotReadyException\": Sdk.ResourceNotReadyException,\n \"SerializedRequestEntityTooLargeException\": Sdk.SerializedRequestEntityTooLargeException,\n \"SnapStartException\": Sdk.SnapStartException,\n \"SnapStartNotReadyException\": Sdk.SnapStartNotReadyException,\n \"SnapStartTimeoutException\": Sdk.SnapStartTimeoutException,\n \"SubnetIPAddressLimitReachedException\": Sdk.SubnetIPAddressLimitReachedException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException,\n \"UnsupportedMediaTypeException\": Sdk.UnsupportedMediaTypeException\n }\n ]\n list_aliases: [\n Sdk.ListAliasesCommandInput,\n Sdk.ListAliasesCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_capacity_providers: [\n Sdk.ListCapacityProvidersCommandInput,\n Sdk.ListCapacityProvidersCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_code_signing_configs: [\n Sdk.ListCodeSigningConfigsCommandInput,\n Sdk.ListCodeSigningConfigsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException\n }\n ]\n list_durable_executions_by_function: [\n Sdk.ListDurableExecutionsByFunctionCommandInput,\n Sdk.ListDurableExecutionsByFunctionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_event_source_mappings: [\n Sdk.ListEventSourceMappingsCommandInput,\n Sdk.ListEventSourceMappingsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_function_event_invoke_configs: [\n Sdk.ListFunctionEventInvokeConfigsCommandInput,\n Sdk.ListFunctionEventInvokeConfigsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_function_url_configs: [\n Sdk.ListFunctionUrlConfigsCommandInput,\n Sdk.ListFunctionUrlConfigsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_function_versions_by_capacity_provider: [\n Sdk.ListFunctionVersionsByCapacityProviderCommandInput,\n Sdk.ListFunctionVersionsByCapacityProviderCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_functions: [\n Sdk.ListFunctionsCommandInput,\n Sdk.ListFunctionsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_functions_by_code_signing_config: [\n Sdk.ListFunctionsByCodeSigningConfigCommandInput,\n Sdk.ListFunctionsByCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n list_layer_versions: [\n Sdk.ListLayerVersionsCommandInput,\n Sdk.ListLayerVersionsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_layers: [\n Sdk.ListLayersCommandInput,\n Sdk.ListLayersCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_provisioned_concurrency_configs: [\n Sdk.ListProvisionedConcurrencyConfigsCommandInput,\n Sdk.ListProvisionedConcurrencyConfigsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_tags: [\n Sdk.ListTagsCommandInput,\n Sdk.ListTagsCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n list_versions_by_function: [\n Sdk.ListVersionsByFunctionCommandInput,\n Sdk.ListVersionsByFunctionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n publish_layer_version: [\n Sdk.PublishLayerVersionCommandInput,\n Sdk.PublishLayerVersionCommandOutput,\n {\n \"CodeStorageExceededException\": Sdk.CodeStorageExceededException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n publish_version: [\n Sdk.PublishVersionCommandInput,\n Sdk.PublishVersionCommandOutput,\n {\n \"CodeStorageExceededException\": Sdk.CodeStorageExceededException,\n \"FunctionVersionsPerCapacityProviderLimitExceededException\": Sdk.FunctionVersionsPerCapacityProviderLimitExceededException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_function_code_signing_config: [\n Sdk.PutFunctionCodeSigningConfigCommandInput,\n Sdk.PutFunctionCodeSigningConfigCommandOutput,\n {\n \"CodeSigningConfigNotFoundException\": Sdk.CodeSigningConfigNotFoundException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_function_concurrency: [\n Sdk.PutFunctionConcurrencyCommandInput,\n Sdk.PutFunctionConcurrencyCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_function_event_invoke_config: [\n Sdk.PutFunctionEventInvokeConfigCommandInput,\n Sdk.PutFunctionEventInvokeConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_function_recursion_config: [\n Sdk.PutFunctionRecursionConfigCommandInput,\n Sdk.PutFunctionRecursionConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_function_scaling_config: [\n Sdk.PutFunctionScalingConfigCommandInput,\n Sdk.PutFunctionScalingConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_provisioned_concurrency_config: [\n Sdk.PutProvisionedConcurrencyConfigCommandInput,\n Sdk.PutProvisionedConcurrencyConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n put_runtime_management_config: [\n Sdk.PutRuntimeManagementConfigCommandInput,\n Sdk.PutRuntimeManagementConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n remove_layer_version_permission: [\n Sdk.RemoveLayerVersionPermissionCommandInput,\n Sdk.RemoveLayerVersionPermissionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n remove_permission: [\n Sdk.RemovePermissionCommandInput,\n Sdk.RemovePermissionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n send_durable_execution_callback_failure: [\n Sdk.SendDurableExecutionCallbackFailureCommandInput,\n Sdk.SendDurableExecutionCallbackFailureCommandOutput,\n {\n \"CallbackTimeoutException\": Sdk.CallbackTimeoutException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n send_durable_execution_callback_heartbeat: [\n Sdk.SendDurableExecutionCallbackHeartbeatCommandInput,\n Sdk.SendDurableExecutionCallbackHeartbeatCommandOutput,\n {\n \"CallbackTimeoutException\": Sdk.CallbackTimeoutException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n send_durable_execution_callback_success: [\n Sdk.SendDurableExecutionCallbackSuccessCommandInput,\n Sdk.SendDurableExecutionCallbackSuccessCommandOutput,\n {\n \"CallbackTimeoutException\": Sdk.CallbackTimeoutException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n stop_durable_execution: [\n Sdk.StopDurableExecutionCommandInput,\n Sdk.StopDurableExecutionCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n tag_resource: [\n Sdk.TagResourceCommandInput,\n Sdk.TagResourceCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n untag_resource: [\n Sdk.UntagResourceCommandInput,\n Sdk.UntagResourceCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_alias: [\n Sdk.UpdateAliasCommandInput,\n Sdk.UpdateAliasCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_capacity_provider: [\n Sdk.UpdateCapacityProviderCommandInput,\n Sdk.UpdateCapacityProviderCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_code_signing_config: [\n Sdk.UpdateCodeSigningConfigCommandInput,\n Sdk.UpdateCodeSigningConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n update_event_source_mapping: [\n Sdk.UpdateEventSourceMappingCommandInput,\n Sdk.UpdateEventSourceMappingCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceInUseException\": Sdk.ResourceInUseException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_function_code: [\n Sdk.UpdateFunctionCodeCommandInput,\n Sdk.UpdateFunctionCodeCommandOutput,\n {\n \"CodeSigningConfigNotFoundException\": Sdk.CodeSigningConfigNotFoundException,\n \"CodeStorageExceededException\": Sdk.CodeStorageExceededException,\n \"CodeVerificationFailedException\": Sdk.CodeVerificationFailedException,\n \"InvalidCodeSignatureException\": Sdk.InvalidCodeSignatureException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_function_configuration: [\n Sdk.UpdateFunctionConfigurationCommandInput,\n Sdk.UpdateFunctionConfigurationCommandOutput,\n {\n \"CodeSigningConfigNotFoundException\": Sdk.CodeSigningConfigNotFoundException,\n \"CodeVerificationFailedException\": Sdk.CodeVerificationFailedException,\n \"InvalidCodeSignatureException\": Sdk.InvalidCodeSignatureException,\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"PreconditionFailedException\": Sdk.PreconditionFailedException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_function_event_invoke_config: [\n Sdk.UpdateFunctionEventInvokeConfigCommandInput,\n Sdk.UpdateFunctionEventInvokeConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n update_function_url_config: [\n Sdk.UpdateFunctionUrlConfigCommandInput,\n Sdk.UpdateFunctionUrlConfigCommandOutput,\n {\n \"InvalidParameterValueException\": Sdk.InvalidParameterValueException,\n \"ResourceConflictException\": Sdk.ResourceConflictException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"TooManyRequestsException\": Sdk.TooManyRequestsException\n }\n ]\n};\n\nconst LambdaCommandFactory: { [M in keyof LambdaApi]: new (args: LambdaApi[M][0]) => unknown } = {\n add_layer_version_permission: Sdk.AddLayerVersionPermissionCommand,\n add_permission: Sdk.AddPermissionCommand,\n checkpoint_durable_execution: Sdk.CheckpointDurableExecutionCommand,\n create_alias: Sdk.CreateAliasCommand,\n create_capacity_provider: Sdk.CreateCapacityProviderCommand,\n create_code_signing_config: Sdk.CreateCodeSigningConfigCommand,\n create_event_source_mapping: Sdk.CreateEventSourceMappingCommand,\n create_function: Sdk.CreateFunctionCommand,\n create_function_url_config: Sdk.CreateFunctionUrlConfigCommand,\n delete_alias: Sdk.DeleteAliasCommand,\n delete_capacity_provider: Sdk.DeleteCapacityProviderCommand,\n delete_code_signing_config: Sdk.DeleteCodeSigningConfigCommand,\n delete_event_source_mapping: Sdk.DeleteEventSourceMappingCommand,\n delete_function: Sdk.DeleteFunctionCommand,\n delete_function_code_signing_config: Sdk.DeleteFunctionCodeSigningConfigCommand,\n delete_function_concurrency: Sdk.DeleteFunctionConcurrencyCommand,\n delete_function_event_invoke_config: Sdk.DeleteFunctionEventInvokeConfigCommand,\n delete_function_url_config: Sdk.DeleteFunctionUrlConfigCommand,\n delete_layer_version: Sdk.DeleteLayerVersionCommand,\n delete_provisioned_concurrency_config: Sdk.DeleteProvisionedConcurrencyConfigCommand,\n get_account_settings: Sdk.GetAccountSettingsCommand,\n get_alias: Sdk.GetAliasCommand,\n get_capacity_provider: Sdk.GetCapacityProviderCommand,\n get_code_signing_config: Sdk.GetCodeSigningConfigCommand,\n get_durable_execution: Sdk.GetDurableExecutionCommand,\n get_durable_execution_history: Sdk.GetDurableExecutionHistoryCommand,\n get_durable_execution_state: Sdk.GetDurableExecutionStateCommand,\n get_event_source_mapping: Sdk.GetEventSourceMappingCommand,\n get_function: Sdk.GetFunctionCommand,\n get_function_code_signing_config: Sdk.GetFunctionCodeSigningConfigCommand,\n get_function_concurrency: Sdk.GetFunctionConcurrencyCommand,\n get_function_configuration: Sdk.GetFunctionConfigurationCommand,\n get_function_event_invoke_config: Sdk.GetFunctionEventInvokeConfigCommand,\n get_function_recursion_config: Sdk.GetFunctionRecursionConfigCommand,\n get_function_scaling_config: Sdk.GetFunctionScalingConfigCommand,\n get_function_url_config: Sdk.GetFunctionUrlConfigCommand,\n get_layer_version: Sdk.GetLayerVersionCommand,\n get_layer_version_by_arn: Sdk.GetLayerVersionByArnCommand,\n get_layer_version_policy: Sdk.GetLayerVersionPolicyCommand,\n get_policy: Sdk.GetPolicyCommand,\n get_provisioned_concurrency_config: Sdk.GetProvisionedConcurrencyConfigCommand,\n get_runtime_management_config: Sdk.GetRuntimeManagementConfigCommand,\n invoke: Sdk.InvokeCommand,\n invoke_async: Sdk.InvokeAsyncCommand,\n invoke_with_response_stream: Sdk.InvokeWithResponseStreamCommand,\n list_aliases: Sdk.ListAliasesCommand,\n list_capacity_providers: Sdk.ListCapacityProvidersCommand,\n list_code_signing_configs: Sdk.ListCodeSigningConfigsCommand,\n list_durable_executions_by_function: Sdk.ListDurableExecutionsByFunctionCommand,\n list_event_source_mappings: Sdk.ListEventSourceMappingsCommand,\n list_function_event_invoke_configs: Sdk.ListFunctionEventInvokeConfigsCommand,\n list_function_url_configs: Sdk.ListFunctionUrlConfigsCommand,\n list_function_versions_by_capacity_provider: Sdk.ListFunctionVersionsByCapacityProviderCommand,\n list_functions: Sdk.ListFunctionsCommand,\n list_functions_by_code_signing_config: Sdk.ListFunctionsByCodeSigningConfigCommand,\n list_layer_versions: Sdk.ListLayerVersionsCommand,\n list_layers: Sdk.ListLayersCommand,\n list_provisioned_concurrency_configs: Sdk.ListProvisionedConcurrencyConfigsCommand,\n list_tags: Sdk.ListTagsCommand,\n list_versions_by_function: Sdk.ListVersionsByFunctionCommand,\n publish_layer_version: Sdk.PublishLayerVersionCommand,\n publish_version: Sdk.PublishVersionCommand,\n put_function_code_signing_config: Sdk.PutFunctionCodeSigningConfigCommand,\n put_function_concurrency: Sdk.PutFunctionConcurrencyCommand,\n put_function_event_invoke_config: Sdk.PutFunctionEventInvokeConfigCommand,\n put_function_recursion_config: Sdk.PutFunctionRecursionConfigCommand,\n put_function_scaling_config: Sdk.PutFunctionScalingConfigCommand,\n put_provisioned_concurrency_config: Sdk.PutProvisionedConcurrencyConfigCommand,\n put_runtime_management_config: Sdk.PutRuntimeManagementConfigCommand,\n remove_layer_version_permission: Sdk.RemoveLayerVersionPermissionCommand,\n remove_permission: Sdk.RemovePermissionCommand,\n send_durable_execution_callback_failure: Sdk.SendDurableExecutionCallbackFailureCommand,\n send_durable_execution_callback_heartbeat: Sdk.SendDurableExecutionCallbackHeartbeatCommand,\n send_durable_execution_callback_success: Sdk.SendDurableExecutionCallbackSuccessCommand,\n stop_durable_execution: Sdk.StopDurableExecutionCommand,\n tag_resource: Sdk.TagResourceCommand,\n untag_resource: Sdk.UntagResourceCommand,\n update_alias: Sdk.UpdateAliasCommand,\n update_capacity_provider: Sdk.UpdateCapacityProviderCommand,\n update_code_signing_config: Sdk.UpdateCodeSigningConfigCommand,\n update_event_source_mapping: Sdk.UpdateEventSourceMappingCommand,\n update_function_code: Sdk.UpdateFunctionCodeCommand,\n update_function_configuration: Sdk.UpdateFunctionConfigurationCommand,\n update_function_event_invoke_config: Sdk.UpdateFunctionEventInvokeConfigCommand,\n update_function_url_config: Sdk.UpdateFunctionUrlConfigCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-resource-groups-tagging-api\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class ResourceGroupsTaggingAPIClient extends Context.Tag('ResourceGroupsTaggingAPIClient')<ResourceGroupsTaggingAPIClient, Sdk.ResourceGroupsTaggingAPIClient>() {\n\n static Default = (\n config?: Sdk.ResourceGroupsTaggingAPIClientConfig\n ) =>\n Layer.effect(\n ResourceGroupsTaggingAPIClient,\n Effect.gen(function*() {\n return new Sdk.ResourceGroupsTaggingAPIClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS ResourceGroupsTaggingAPI command.\n *\n * @param actionName - The name of the ResourceGroupsTaggingAPI command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { resource_groups_tagging_api } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* resource_groups_tagging_api.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_ResourceGroupsTaggingAPI')(function* <M extends keyof ResourceGroupsTaggingAPIApi>(\n actionName: M, actionInput: ResourceGroupsTaggingAPIApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_ResourceGroupsTaggingAPI.${actionName}`, { input: actionInput })\n\n const client = yield* ResourceGroupsTaggingAPIClient\n const command = new ResourceGroupsTaggingAPICommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<ResourceGroupsTaggingAPIApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.ResourceGroupsTaggingAPIServiceException) {\n return new ResourceGroupsTaggingAPIError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_ResourceGroupsTaggingAPI.${actionName} completed`)\n\n return result\n })\n\nexport class ResourceGroupsTaggingAPIError<C extends keyof ResourceGroupsTaggingAPIApi> {\n readonly _tag = \"ResourceGroupsTaggingAPIError\";\n\n constructor(\n readonly cause: Sdk.ResourceGroupsTaggingAPIServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof ResourceGroupsTaggingAPIApi[C][2]>(\n name: N\n ): this is ResourceGroupsTaggingAPIError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<ResourceGroupsTaggingAPIApi>>(\n name: N\n ): this is ResourceGroupsTaggingAPIError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type ResourceGroupsTaggingAPIMethodInput<M extends keyof ResourceGroupsTaggingAPIApi> = ResourceGroupsTaggingAPIApi[M][0];\ntype ResourceGroupsTaggingAPIApi = {\n describe_report_creation: [\n Sdk.DescribeReportCreationCommandInput,\n Sdk.DescribeReportCreationCommandOutput,\n {\n \"ConstraintViolationException\": Sdk.ConstraintViolationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n get_compliance_summary: [\n Sdk.GetComplianceSummaryCommandInput,\n Sdk.GetComplianceSummaryCommandOutput,\n {\n \"ConstraintViolationException\": Sdk.ConstraintViolationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n get_resources: [\n Sdk.GetResourcesCommandInput,\n Sdk.GetResourcesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"PaginationTokenExpiredException\": Sdk.PaginationTokenExpiredException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n get_tag_keys: [\n Sdk.GetTagKeysCommandInput,\n Sdk.GetTagKeysCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"PaginationTokenExpiredException\": Sdk.PaginationTokenExpiredException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n get_tag_values: [\n Sdk.GetTagValuesCommandInput,\n Sdk.GetTagValuesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"PaginationTokenExpiredException\": Sdk.PaginationTokenExpiredException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n list_required_tags: [\n Sdk.ListRequiredTagsCommandInput,\n Sdk.ListRequiredTagsCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"PaginationTokenExpiredException\": Sdk.PaginationTokenExpiredException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n start_report_creation: [\n Sdk.StartReportCreationCommandInput,\n Sdk.StartReportCreationCommandOutput,\n {\n \"ConcurrentModificationException\": Sdk.ConcurrentModificationException,\n \"ConstraintViolationException\": Sdk.ConstraintViolationException,\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n tag_resources: [\n Sdk.TagResourcesCommandInput,\n Sdk.TagResourcesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n untag_resources: [\n Sdk.UntagResourcesCommandInput,\n Sdk.UntagResourcesCommandOutput,\n {\n \"InvalidParameterException\": Sdk.InvalidParameterException,\n \"ThrottledException\": Sdk.ThrottledException\n }\n ]\n};\n\nconst ResourceGroupsTaggingAPICommandFactory: { [M in keyof ResourceGroupsTaggingAPIApi]: new (args: ResourceGroupsTaggingAPIApi[M][0]) => unknown } = {\n describe_report_creation: Sdk.DescribeReportCreationCommand,\n get_compliance_summary: Sdk.GetComplianceSummaryCommand,\n get_resources: Sdk.GetResourcesCommand,\n get_tag_keys: Sdk.GetTagKeysCommand,\n get_tag_values: Sdk.GetTagValuesCommand,\n list_required_tags: Sdk.ListRequiredTagsCommand,\n start_report_creation: Sdk.StartReportCreationCommand,\n tag_resources: Sdk.TagResourcesCommand,\n untag_resources: Sdk.UntagResourcesCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-s3\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class S3Client extends Context.Tag('S3Client')<S3Client, Sdk.S3Client>() {\n\n static Default = (\n config?: Sdk.S3ClientConfig\n ) =>\n Layer.effect(\n S3Client,\n Effect.gen(function*() {\n return new Sdk.S3Client(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS S3 command.\n *\n * @param actionName - The name of the S3 command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { s3 } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* s3.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_S3')(function* <M extends keyof S3Api>(\n actionName: M, actionInput: S3Api[M][0]\n ) {\n yield* Effect.logDebug(`aws_S3.${actionName}`, { input: actionInput })\n\n const client = yield* S3Client\n const command = new S3CommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<S3Api[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.S3ServiceException) {\n return new S3Error(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_S3.${actionName} completed`)\n\n return result\n })\n\nexport class S3Error<C extends keyof S3Api> {\n readonly _tag = \"S3Error\";\n\n constructor(\n readonly cause: Sdk.S3ServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof S3Api[C][2]>(\n name: N\n ): this is S3Error<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<S3Api>>(\n name: N\n ): this is S3Error<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type S3MethodInput<M extends keyof S3Api> = S3Api[M][0];\ntype S3Api = {\n abort_multipart_upload: [\n Sdk.AbortMultipartUploadCommandInput,\n Sdk.AbortMultipartUploadCommandOutput,\n {\n \"NoSuchUpload\": Sdk.NoSuchUpload\n }\n ]\n complete_multipart_upload: [\n Sdk.CompleteMultipartUploadCommandInput,\n Sdk.CompleteMultipartUploadCommandOutput,\n never\n ]\n copy_object: [\n Sdk.CopyObjectCommandInput,\n Sdk.CopyObjectCommandOutput,\n {\n \"ObjectNotInActiveTierError\": Sdk.ObjectNotInActiveTierError\n }\n ]\n create_bucket: [\n Sdk.CreateBucketCommandInput,\n Sdk.CreateBucketCommandOutput,\n {\n \"BucketAlreadyExists\": Sdk.BucketAlreadyExists,\n \"BucketAlreadyOwnedByYou\": Sdk.BucketAlreadyOwnedByYou\n }\n ]\n create_bucket_metadata_configuration: [\n Sdk.CreateBucketMetadataConfigurationCommandInput,\n Sdk.CreateBucketMetadataConfigurationCommandOutput,\n never\n ]\n create_bucket_metadata_table_configuration: [\n Sdk.CreateBucketMetadataTableConfigurationCommandInput,\n Sdk.CreateBucketMetadataTableConfigurationCommandOutput,\n never\n ]\n create_multipart_upload: [\n Sdk.CreateMultipartUploadCommandInput,\n Sdk.CreateMultipartUploadCommandOutput,\n never\n ]\n create_session: [\n Sdk.CreateSessionCommandInput,\n Sdk.CreateSessionCommandOutput,\n {\n \"NoSuchBucket\": Sdk.NoSuchBucket\n }\n ]\n delete_bucket: [\n Sdk.DeleteBucketCommandInput,\n Sdk.DeleteBucketCommandOutput,\n never\n ]\n delete_bucket_analytics_configuration: [\n Sdk.DeleteBucketAnalyticsConfigurationCommandInput,\n Sdk.DeleteBucketAnalyticsConfigurationCommandOutput,\n never\n ]\n delete_bucket_cors: [\n Sdk.DeleteBucketCorsCommandInput,\n Sdk.DeleteBucketCorsCommandOutput,\n never\n ]\n delete_bucket_encryption: [\n Sdk.DeleteBucketEncryptionCommandInput,\n Sdk.DeleteBucketEncryptionCommandOutput,\n never\n ]\n delete_bucket_intelligent_tiering_configuration: [\n Sdk.DeleteBucketIntelligentTieringConfigurationCommandInput,\n Sdk.DeleteBucketIntelligentTieringConfigurationCommandOutput,\n never\n ]\n delete_bucket_inventory_configuration: [\n Sdk.DeleteBucketInventoryConfigurationCommandInput,\n Sdk.DeleteBucketInventoryConfigurationCommandOutput,\n never\n ]\n delete_bucket_lifecycle: [\n Sdk.DeleteBucketLifecycleCommandInput,\n Sdk.DeleteBucketLifecycleCommandOutput,\n never\n ]\n delete_bucket_metadata_configuration: [\n Sdk.DeleteBucketMetadataConfigurationCommandInput,\n Sdk.DeleteBucketMetadataConfigurationCommandOutput,\n never\n ]\n delete_bucket_metadata_table_configuration: [\n Sdk.DeleteBucketMetadataTableConfigurationCommandInput,\n Sdk.DeleteBucketMetadataTableConfigurationCommandOutput,\n never\n ]\n delete_bucket_metrics_configuration: [\n Sdk.DeleteBucketMetricsConfigurationCommandInput,\n Sdk.DeleteBucketMetricsConfigurationCommandOutput,\n never\n ]\n delete_bucket_ownership_controls: [\n Sdk.DeleteBucketOwnershipControlsCommandInput,\n Sdk.DeleteBucketOwnershipControlsCommandOutput,\n never\n ]\n delete_bucket_policy: [\n Sdk.DeleteBucketPolicyCommandInput,\n Sdk.DeleteBucketPolicyCommandOutput,\n never\n ]\n delete_bucket_replication: [\n Sdk.DeleteBucketReplicationCommandInput,\n Sdk.DeleteBucketReplicationCommandOutput,\n never\n ]\n delete_bucket_tagging: [\n Sdk.DeleteBucketTaggingCommandInput,\n Sdk.DeleteBucketTaggingCommandOutput,\n never\n ]\n delete_bucket_website: [\n Sdk.DeleteBucketWebsiteCommandInput,\n Sdk.DeleteBucketWebsiteCommandOutput,\n never\n ]\n delete_object: [\n Sdk.DeleteObjectCommandInput,\n Sdk.DeleteObjectCommandOutput,\n never\n ]\n delete_object_tagging: [\n Sdk.DeleteObjectTaggingCommandInput,\n Sdk.DeleteObjectTaggingCommandOutput,\n never\n ]\n delete_objects: [\n Sdk.DeleteObjectsCommandInput,\n Sdk.DeleteObjectsCommandOutput,\n never\n ]\n delete_public_access_block: [\n Sdk.DeletePublicAccessBlockCommandInput,\n Sdk.DeletePublicAccessBlockCommandOutput,\n never\n ]\n get_bucket_abac: [\n Sdk.GetBucketAbacCommandInput,\n Sdk.GetBucketAbacCommandOutput,\n never\n ]\n get_bucket_accelerate_configuration: [\n Sdk.GetBucketAccelerateConfigurationCommandInput,\n Sdk.GetBucketAccelerateConfigurationCommandOutput,\n never\n ]\n get_bucket_acl: [\n Sdk.GetBucketAclCommandInput,\n Sdk.GetBucketAclCommandOutput,\n never\n ]\n get_bucket_analytics_configuration: [\n Sdk.GetBucketAnalyticsConfigurationCommandInput,\n Sdk.GetBucketAnalyticsConfigurationCommandOutput,\n never\n ]\n get_bucket_cors: [\n Sdk.GetBucketCorsCommandInput,\n Sdk.GetBucketCorsCommandOutput,\n never\n ]\n get_bucket_encryption: [\n Sdk.GetBucketEncryptionCommandInput,\n Sdk.GetBucketEncryptionCommandOutput,\n never\n ]\n get_bucket_intelligent_tiering_configuration: [\n Sdk.GetBucketIntelligentTieringConfigurationCommandInput,\n Sdk.GetBucketIntelligentTieringConfigurationCommandOutput,\n never\n ]\n get_bucket_inventory_configuration: [\n Sdk.GetBucketInventoryConfigurationCommandInput,\n Sdk.GetBucketInventoryConfigurationCommandOutput,\n never\n ]\n get_bucket_lifecycle_configuration: [\n Sdk.GetBucketLifecycleConfigurationCommandInput,\n Sdk.GetBucketLifecycleConfigurationCommandOutput,\n never\n ]\n get_bucket_location: [\n Sdk.GetBucketLocationCommandInput,\n Sdk.GetBucketLocationCommandOutput,\n never\n ]\n get_bucket_logging: [\n Sdk.GetBucketLoggingCommandInput,\n Sdk.GetBucketLoggingCommandOutput,\n never\n ]\n get_bucket_metadata_configuration: [\n Sdk.GetBucketMetadataConfigurationCommandInput,\n Sdk.GetBucketMetadataConfigurationCommandOutput,\n never\n ]\n get_bucket_metadata_table_configuration: [\n Sdk.GetBucketMetadataTableConfigurationCommandInput,\n Sdk.GetBucketMetadataTableConfigurationCommandOutput,\n never\n ]\n get_bucket_metrics_configuration: [\n Sdk.GetBucketMetricsConfigurationCommandInput,\n Sdk.GetBucketMetricsConfigurationCommandOutput,\n never\n ]\n get_bucket_notification_configuration: [\n Sdk.GetBucketNotificationConfigurationCommandInput,\n Sdk.GetBucketNotificationConfigurationCommandOutput,\n never\n ]\n get_bucket_ownership_controls: [\n Sdk.GetBucketOwnershipControlsCommandInput,\n Sdk.GetBucketOwnershipControlsCommandOutput,\n never\n ]\n get_bucket_policy: [\n Sdk.GetBucketPolicyCommandInput,\n Sdk.GetBucketPolicyCommandOutput,\n never\n ]\n get_bucket_policy_status: [\n Sdk.GetBucketPolicyStatusCommandInput,\n Sdk.GetBucketPolicyStatusCommandOutput,\n never\n ]\n get_bucket_replication: [\n Sdk.GetBucketReplicationCommandInput,\n Sdk.GetBucketReplicationCommandOutput,\n never\n ]\n get_bucket_request_payment: [\n Sdk.GetBucketRequestPaymentCommandInput,\n Sdk.GetBucketRequestPaymentCommandOutput,\n never\n ]\n get_bucket_tagging: [\n Sdk.GetBucketTaggingCommandInput,\n Sdk.GetBucketTaggingCommandOutput,\n never\n ]\n get_bucket_versioning: [\n Sdk.GetBucketVersioningCommandInput,\n Sdk.GetBucketVersioningCommandOutput,\n never\n ]\n get_bucket_website: [\n Sdk.GetBucketWebsiteCommandInput,\n Sdk.GetBucketWebsiteCommandOutput,\n never\n ]\n get_object: [\n Sdk.GetObjectCommandInput,\n Sdk.GetObjectCommandOutput,\n {\n \"InvalidObjectState\": Sdk.InvalidObjectState,\n \"NoSuchKey\": Sdk.NoSuchKey\n }\n ]\n get_object_acl: [\n Sdk.GetObjectAclCommandInput,\n Sdk.GetObjectAclCommandOutput,\n {\n \"NoSuchKey\": Sdk.NoSuchKey\n }\n ]\n get_object_attributes: [\n Sdk.GetObjectAttributesCommandInput,\n Sdk.GetObjectAttributesCommandOutput,\n {\n \"NoSuchKey\": Sdk.NoSuchKey\n }\n ]\n get_object_legal_hold: [\n Sdk.GetObjectLegalHoldCommandInput,\n Sdk.GetObjectLegalHoldCommandOutput,\n never\n ]\n get_object_lock_configuration: [\n Sdk.GetObjectLockConfigurationCommandInput,\n Sdk.GetObjectLockConfigurationCommandOutput,\n never\n ]\n get_object_retention: [\n Sdk.GetObjectRetentionCommandInput,\n Sdk.GetObjectRetentionCommandOutput,\n never\n ]\n get_object_tagging: [\n Sdk.GetObjectTaggingCommandInput,\n Sdk.GetObjectTaggingCommandOutput,\n never\n ]\n get_object_torrent: [\n Sdk.GetObjectTorrentCommandInput,\n Sdk.GetObjectTorrentCommandOutput,\n never\n ]\n get_public_access_block: [\n Sdk.GetPublicAccessBlockCommandInput,\n Sdk.GetPublicAccessBlockCommandOutput,\n never\n ]\n head_bucket: [\n Sdk.HeadBucketCommandInput,\n Sdk.HeadBucketCommandOutput,\n {\n \"NotFound\": Sdk.NotFound\n }\n ]\n head_object: [\n Sdk.HeadObjectCommandInput,\n Sdk.HeadObjectCommandOutput,\n {\n \"NotFound\": Sdk.NotFound\n }\n ]\n list_bucket_analytics_configurations: [\n Sdk.ListBucketAnalyticsConfigurationsCommandInput,\n Sdk.ListBucketAnalyticsConfigurationsCommandOutput,\n never\n ]\n list_bucket_intelligent_tiering_configurations: [\n Sdk.ListBucketIntelligentTieringConfigurationsCommandInput,\n Sdk.ListBucketIntelligentTieringConfigurationsCommandOutput,\n never\n ]\n list_bucket_inventory_configurations: [\n Sdk.ListBucketInventoryConfigurationsCommandInput,\n Sdk.ListBucketInventoryConfigurationsCommandOutput,\n never\n ]\n list_bucket_metrics_configurations: [\n Sdk.ListBucketMetricsConfigurationsCommandInput,\n Sdk.ListBucketMetricsConfigurationsCommandOutput,\n never\n ]\n list_buckets: [\n Sdk.ListBucketsCommandInput,\n Sdk.ListBucketsCommandOutput,\n never\n ]\n list_directory_buckets: [\n Sdk.ListDirectoryBucketsCommandInput,\n Sdk.ListDirectoryBucketsCommandOutput,\n never\n ]\n list_multipart_uploads: [\n Sdk.ListMultipartUploadsCommandInput,\n Sdk.ListMultipartUploadsCommandOutput,\n never\n ]\n list_object_versions: [\n Sdk.ListObjectVersionsCommandInput,\n Sdk.ListObjectVersionsCommandOutput,\n never\n ]\n list_objects: [\n Sdk.ListObjectsCommandInput,\n Sdk.ListObjectsCommandOutput,\n {\n \"NoSuchBucket\": Sdk.NoSuchBucket\n }\n ]\n list_objects_v2: [\n Sdk.ListObjectsV2CommandInput,\n Sdk.ListObjectsV2CommandOutput,\n {\n \"NoSuchBucket\": Sdk.NoSuchBucket\n }\n ]\n list_parts: [\n Sdk.ListPartsCommandInput,\n Sdk.ListPartsCommandOutput,\n never\n ]\n put_bucket_abac: [\n Sdk.PutBucketAbacCommandInput,\n Sdk.PutBucketAbacCommandOutput,\n never\n ]\n put_bucket_accelerate_configuration: [\n Sdk.PutBucketAccelerateConfigurationCommandInput,\n Sdk.PutBucketAccelerateConfigurationCommandOutput,\n never\n ]\n put_bucket_acl: [\n Sdk.PutBucketAclCommandInput,\n Sdk.PutBucketAclCommandOutput,\n never\n ]\n put_bucket_analytics_configuration: [\n Sdk.PutBucketAnalyticsConfigurationCommandInput,\n Sdk.PutBucketAnalyticsConfigurationCommandOutput,\n never\n ]\n put_bucket_cors: [\n Sdk.PutBucketCorsCommandInput,\n Sdk.PutBucketCorsCommandOutput,\n never\n ]\n put_bucket_encryption: [\n Sdk.PutBucketEncryptionCommandInput,\n Sdk.PutBucketEncryptionCommandOutput,\n never\n ]\n put_bucket_intelligent_tiering_configuration: [\n Sdk.PutBucketIntelligentTieringConfigurationCommandInput,\n Sdk.PutBucketIntelligentTieringConfigurationCommandOutput,\n never\n ]\n put_bucket_inventory_configuration: [\n Sdk.PutBucketInventoryConfigurationCommandInput,\n Sdk.PutBucketInventoryConfigurationCommandOutput,\n never\n ]\n put_bucket_lifecycle_configuration: [\n Sdk.PutBucketLifecycleConfigurationCommandInput,\n Sdk.PutBucketLifecycleConfigurationCommandOutput,\n never\n ]\n put_bucket_logging: [\n Sdk.PutBucketLoggingCommandInput,\n Sdk.PutBucketLoggingCommandOutput,\n never\n ]\n put_bucket_metrics_configuration: [\n Sdk.PutBucketMetricsConfigurationCommandInput,\n Sdk.PutBucketMetricsConfigurationCommandOutput,\n never\n ]\n put_bucket_notification_configuration: [\n Sdk.PutBucketNotificationConfigurationCommandInput,\n Sdk.PutBucketNotificationConfigurationCommandOutput,\n never\n ]\n put_bucket_ownership_controls: [\n Sdk.PutBucketOwnershipControlsCommandInput,\n Sdk.PutBucketOwnershipControlsCommandOutput,\n never\n ]\n put_bucket_policy: [\n Sdk.PutBucketPolicyCommandInput,\n Sdk.PutBucketPolicyCommandOutput,\n never\n ]\n put_bucket_replication: [\n Sdk.PutBucketReplicationCommandInput,\n Sdk.PutBucketReplicationCommandOutput,\n never\n ]\n put_bucket_request_payment: [\n Sdk.PutBucketRequestPaymentCommandInput,\n Sdk.PutBucketRequestPaymentCommandOutput,\n never\n ]\n put_bucket_tagging: [\n Sdk.PutBucketTaggingCommandInput,\n Sdk.PutBucketTaggingCommandOutput,\n never\n ]\n put_bucket_versioning: [\n Sdk.PutBucketVersioningCommandInput,\n Sdk.PutBucketVersioningCommandOutput,\n never\n ]\n put_bucket_website: [\n Sdk.PutBucketWebsiteCommandInput,\n Sdk.PutBucketWebsiteCommandOutput,\n never\n ]\n put_object: [\n Sdk.PutObjectCommandInput,\n Sdk.PutObjectCommandOutput,\n {\n \"EncryptionTypeMismatch\": Sdk.EncryptionTypeMismatch,\n \"InvalidRequest\": Sdk.InvalidRequest,\n \"InvalidWriteOffset\": Sdk.InvalidWriteOffset,\n \"TooManyParts\": Sdk.TooManyParts\n }\n ]\n put_object_acl: [\n Sdk.PutObjectAclCommandInput,\n Sdk.PutObjectAclCommandOutput,\n {\n \"NoSuchKey\": Sdk.NoSuchKey\n }\n ]\n put_object_legal_hold: [\n Sdk.PutObjectLegalHoldCommandInput,\n Sdk.PutObjectLegalHoldCommandOutput,\n never\n ]\n put_object_lock_configuration: [\n Sdk.PutObjectLockConfigurationCommandInput,\n Sdk.PutObjectLockConfigurationCommandOutput,\n never\n ]\n put_object_retention: [\n Sdk.PutObjectRetentionCommandInput,\n Sdk.PutObjectRetentionCommandOutput,\n never\n ]\n put_object_tagging: [\n Sdk.PutObjectTaggingCommandInput,\n Sdk.PutObjectTaggingCommandOutput,\n never\n ]\n put_public_access_block: [\n Sdk.PutPublicAccessBlockCommandInput,\n Sdk.PutPublicAccessBlockCommandOutput,\n never\n ]\n rename_object: [\n Sdk.RenameObjectCommandInput,\n Sdk.RenameObjectCommandOutput,\n {\n \"IdempotencyParameterMismatch\": Sdk.IdempotencyParameterMismatch\n }\n ]\n restore_object: [\n Sdk.RestoreObjectCommandInput,\n Sdk.RestoreObjectCommandOutput,\n {\n \"ObjectAlreadyInActiveTierError\": Sdk.ObjectAlreadyInActiveTierError\n }\n ]\n select_object_content: [\n Sdk.SelectObjectContentCommandInput,\n Sdk.SelectObjectContentCommandOutput,\n never\n ]\n update_bucket_metadata_inventory_table_configuration: [\n Sdk.UpdateBucketMetadataInventoryTableConfigurationCommandInput,\n Sdk.UpdateBucketMetadataInventoryTableConfigurationCommandOutput,\n never\n ]\n update_bucket_metadata_journal_table_configuration: [\n Sdk.UpdateBucketMetadataJournalTableConfigurationCommandInput,\n Sdk.UpdateBucketMetadataJournalTableConfigurationCommandOutput,\n never\n ]\n update_object_encryption: [\n Sdk.UpdateObjectEncryptionCommandInput,\n Sdk.UpdateObjectEncryptionCommandOutput,\n {\n \"AccessDenied\": Sdk.AccessDenied,\n \"InvalidRequest\": Sdk.InvalidRequest,\n \"NoSuchKey\": Sdk.NoSuchKey\n }\n ]\n upload_part: [\n Sdk.UploadPartCommandInput,\n Sdk.UploadPartCommandOutput,\n never\n ]\n upload_part_copy: [\n Sdk.UploadPartCopyCommandInput,\n Sdk.UploadPartCopyCommandOutput,\n never\n ]\n write_get_object_response: [\n Sdk.WriteGetObjectResponseCommandInput,\n Sdk.WriteGetObjectResponseCommandOutput,\n never\n ]\n};\n\nconst S3CommandFactory: { [M in keyof S3Api]: new (args: S3Api[M][0]) => unknown } = {\n abort_multipart_upload: Sdk.AbortMultipartUploadCommand,\n complete_multipart_upload: Sdk.CompleteMultipartUploadCommand,\n copy_object: Sdk.CopyObjectCommand,\n create_bucket: Sdk.CreateBucketCommand,\n create_bucket_metadata_configuration: Sdk.CreateBucketMetadataConfigurationCommand,\n create_bucket_metadata_table_configuration: Sdk.CreateBucketMetadataTableConfigurationCommand,\n create_multipart_upload: Sdk.CreateMultipartUploadCommand,\n create_session: Sdk.CreateSessionCommand,\n delete_bucket: Sdk.DeleteBucketCommand,\n delete_bucket_analytics_configuration: Sdk.DeleteBucketAnalyticsConfigurationCommand,\n delete_bucket_cors: Sdk.DeleteBucketCorsCommand,\n delete_bucket_encryption: Sdk.DeleteBucketEncryptionCommand,\n delete_bucket_intelligent_tiering_configuration: Sdk.DeleteBucketIntelligentTieringConfigurationCommand,\n delete_bucket_inventory_configuration: Sdk.DeleteBucketInventoryConfigurationCommand,\n delete_bucket_lifecycle: Sdk.DeleteBucketLifecycleCommand,\n delete_bucket_metadata_configuration: Sdk.DeleteBucketMetadataConfigurationCommand,\n delete_bucket_metadata_table_configuration: Sdk.DeleteBucketMetadataTableConfigurationCommand,\n delete_bucket_metrics_configuration: Sdk.DeleteBucketMetricsConfigurationCommand,\n delete_bucket_ownership_controls: Sdk.DeleteBucketOwnershipControlsCommand,\n delete_bucket_policy: Sdk.DeleteBucketPolicyCommand,\n delete_bucket_replication: Sdk.DeleteBucketReplicationCommand,\n delete_bucket_tagging: Sdk.DeleteBucketTaggingCommand,\n delete_bucket_website: Sdk.DeleteBucketWebsiteCommand,\n delete_object: Sdk.DeleteObjectCommand,\n delete_object_tagging: Sdk.DeleteObjectTaggingCommand,\n delete_objects: Sdk.DeleteObjectsCommand,\n delete_public_access_block: Sdk.DeletePublicAccessBlockCommand,\n get_bucket_abac: Sdk.GetBucketAbacCommand,\n get_bucket_accelerate_configuration: Sdk.GetBucketAccelerateConfigurationCommand,\n get_bucket_acl: Sdk.GetBucketAclCommand,\n get_bucket_analytics_configuration: Sdk.GetBucketAnalyticsConfigurationCommand,\n get_bucket_cors: Sdk.GetBucketCorsCommand,\n get_bucket_encryption: Sdk.GetBucketEncryptionCommand,\n get_bucket_intelligent_tiering_configuration: Sdk.GetBucketIntelligentTieringConfigurationCommand,\n get_bucket_inventory_configuration: Sdk.GetBucketInventoryConfigurationCommand,\n get_bucket_lifecycle_configuration: Sdk.GetBucketLifecycleConfigurationCommand,\n get_bucket_location: Sdk.GetBucketLocationCommand,\n get_bucket_logging: Sdk.GetBucketLoggingCommand,\n get_bucket_metadata_configuration: Sdk.GetBucketMetadataConfigurationCommand,\n get_bucket_metadata_table_configuration: Sdk.GetBucketMetadataTableConfigurationCommand,\n get_bucket_metrics_configuration: Sdk.GetBucketMetricsConfigurationCommand,\n get_bucket_notification_configuration: Sdk.GetBucketNotificationConfigurationCommand,\n get_bucket_ownership_controls: Sdk.GetBucketOwnershipControlsCommand,\n get_bucket_policy: Sdk.GetBucketPolicyCommand,\n get_bucket_policy_status: Sdk.GetBucketPolicyStatusCommand,\n get_bucket_replication: Sdk.GetBucketReplicationCommand,\n get_bucket_request_payment: Sdk.GetBucketRequestPaymentCommand,\n get_bucket_tagging: Sdk.GetBucketTaggingCommand,\n get_bucket_versioning: Sdk.GetBucketVersioningCommand,\n get_bucket_website: Sdk.GetBucketWebsiteCommand,\n get_object: Sdk.GetObjectCommand,\n get_object_acl: Sdk.GetObjectAclCommand,\n get_object_attributes: Sdk.GetObjectAttributesCommand,\n get_object_legal_hold: Sdk.GetObjectLegalHoldCommand,\n get_object_lock_configuration: Sdk.GetObjectLockConfigurationCommand,\n get_object_retention: Sdk.GetObjectRetentionCommand,\n get_object_tagging: Sdk.GetObjectTaggingCommand,\n get_object_torrent: Sdk.GetObjectTorrentCommand,\n get_public_access_block: Sdk.GetPublicAccessBlockCommand,\n head_bucket: Sdk.HeadBucketCommand,\n head_object: Sdk.HeadObjectCommand,\n list_bucket_analytics_configurations: Sdk.ListBucketAnalyticsConfigurationsCommand,\n list_bucket_intelligent_tiering_configurations: Sdk.ListBucketIntelligentTieringConfigurationsCommand,\n list_bucket_inventory_configurations: Sdk.ListBucketInventoryConfigurationsCommand,\n list_bucket_metrics_configurations: Sdk.ListBucketMetricsConfigurationsCommand,\n list_buckets: Sdk.ListBucketsCommand,\n list_directory_buckets: Sdk.ListDirectoryBucketsCommand,\n list_multipart_uploads: Sdk.ListMultipartUploadsCommand,\n list_object_versions: Sdk.ListObjectVersionsCommand,\n list_objects: Sdk.ListObjectsCommand,\n list_objects_v2: Sdk.ListObjectsV2Command,\n list_parts: Sdk.ListPartsCommand,\n put_bucket_abac: Sdk.PutBucketAbacCommand,\n put_bucket_accelerate_configuration: Sdk.PutBucketAccelerateConfigurationCommand,\n put_bucket_acl: Sdk.PutBucketAclCommand,\n put_bucket_analytics_configuration: Sdk.PutBucketAnalyticsConfigurationCommand,\n put_bucket_cors: Sdk.PutBucketCorsCommand,\n put_bucket_encryption: Sdk.PutBucketEncryptionCommand,\n put_bucket_intelligent_tiering_configuration: Sdk.PutBucketIntelligentTieringConfigurationCommand,\n put_bucket_inventory_configuration: Sdk.PutBucketInventoryConfigurationCommand,\n put_bucket_lifecycle_configuration: Sdk.PutBucketLifecycleConfigurationCommand,\n put_bucket_logging: Sdk.PutBucketLoggingCommand,\n put_bucket_metrics_configuration: Sdk.PutBucketMetricsConfigurationCommand,\n put_bucket_notification_configuration: Sdk.PutBucketNotificationConfigurationCommand,\n put_bucket_ownership_controls: Sdk.PutBucketOwnershipControlsCommand,\n put_bucket_policy: Sdk.PutBucketPolicyCommand,\n put_bucket_replication: Sdk.PutBucketReplicationCommand,\n put_bucket_request_payment: Sdk.PutBucketRequestPaymentCommand,\n put_bucket_tagging: Sdk.PutBucketTaggingCommand,\n put_bucket_versioning: Sdk.PutBucketVersioningCommand,\n put_bucket_website: Sdk.PutBucketWebsiteCommand,\n put_object: Sdk.PutObjectCommand,\n put_object_acl: Sdk.PutObjectAclCommand,\n put_object_legal_hold: Sdk.PutObjectLegalHoldCommand,\n put_object_lock_configuration: Sdk.PutObjectLockConfigurationCommand,\n put_object_retention: Sdk.PutObjectRetentionCommand,\n put_object_tagging: Sdk.PutObjectTaggingCommand,\n put_public_access_block: Sdk.PutPublicAccessBlockCommand,\n rename_object: Sdk.RenameObjectCommand,\n restore_object: Sdk.RestoreObjectCommand,\n select_object_content: Sdk.SelectObjectContentCommand,\n update_bucket_metadata_inventory_table_configuration: Sdk.UpdateBucketMetadataInventoryTableConfigurationCommand,\n update_bucket_metadata_journal_table_configuration: Sdk.UpdateBucketMetadataJournalTableConfigurationCommand,\n update_object_encryption: Sdk.UpdateObjectEncryptionCommand,\n upload_part: Sdk.UploadPartCommand,\n upload_part_copy: Sdk.UploadPartCopyCommand,\n write_get_object_response: Sdk.WriteGetObjectResponseCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-sqs\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class SQSClient extends Context.Tag('SQSClient')<SQSClient, Sdk.SQSClient>() {\n\n static Default = (\n config?: Sdk.SQSClientConfig\n ) =>\n Layer.effect(\n SQSClient,\n Effect.gen(function*() {\n return new Sdk.SQSClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS SQS command.\n *\n * @param actionName - The name of the SQS command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { sqs } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* sqs.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_SQS')(function* <M extends keyof SQSApi>(\n actionName: M, actionInput: SQSApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_SQS.${actionName}`, { input: actionInput })\n\n const client = yield* SQSClient\n const command = new SQSCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<SQSApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.SQSServiceException) {\n return new SQSError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_SQS.${actionName} completed`)\n\n return result\n })\n\nexport class SQSError<C extends keyof SQSApi> {\n readonly _tag = \"SQSError\";\n\n constructor(\n readonly cause: Sdk.SQSServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof SQSApi[C][2]>(\n name: N\n ): this is SQSError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<SQSApi>>(\n name: N\n ): this is SQSError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type SQSMethodInput<M extends keyof SQSApi> = SQSApi[M][0];\ntype SQSApi = {\n add_permission: [\n Sdk.AddPermissionCommandInput,\n Sdk.AddPermissionCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"OverLimit\": Sdk.OverLimit,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n cancel_message_move_task: [\n Sdk.CancelMessageMoveTaskCommandInput,\n Sdk.CancelMessageMoveTaskCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n change_message_visibility: [\n Sdk.ChangeMessageVisibilityCommandInput,\n Sdk.ChangeMessageVisibilityCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"MessageNotInflight\": Sdk.MessageNotInflight,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"ReceiptHandleIsInvalid\": Sdk.ReceiptHandleIsInvalid,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n change_message_visibility_batch: [\n Sdk.ChangeMessageVisibilityBatchCommandInput,\n Sdk.ChangeMessageVisibilityBatchCommandOutput,\n {\n \"BatchEntryIdsNotDistinct\": Sdk.BatchEntryIdsNotDistinct,\n \"EmptyBatchRequest\": Sdk.EmptyBatchRequest,\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidBatchEntryId\": Sdk.InvalidBatchEntryId,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"TooManyEntriesInBatchRequest\": Sdk.TooManyEntriesInBatchRequest,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n create_queue: [\n Sdk.CreateQueueCommandInput,\n Sdk.CreateQueueCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidAttributeName\": Sdk.InvalidAttributeName,\n \"InvalidAttributeValue\": Sdk.InvalidAttributeValue,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDeletedRecently\": Sdk.QueueDeletedRecently,\n \"QueueNameExists\": Sdk.QueueNameExists,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_message: [\n Sdk.DeleteMessageCommandInput,\n Sdk.DeleteMessageCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidIdFormat\": Sdk.InvalidIdFormat,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"ReceiptHandleIsInvalid\": Sdk.ReceiptHandleIsInvalid,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_message_batch: [\n Sdk.DeleteMessageBatchCommandInput,\n Sdk.DeleteMessageBatchCommandOutput,\n {\n \"BatchEntryIdsNotDistinct\": Sdk.BatchEntryIdsNotDistinct,\n \"EmptyBatchRequest\": Sdk.EmptyBatchRequest,\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidBatchEntryId\": Sdk.InvalidBatchEntryId,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"TooManyEntriesInBatchRequest\": Sdk.TooManyEntriesInBatchRequest,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n delete_queue: [\n Sdk.DeleteQueueCommandInput,\n Sdk.DeleteQueueCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_queue_attributes: [\n Sdk.GetQueueAttributesCommandInput,\n Sdk.GetQueueAttributesCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidAttributeName\": Sdk.InvalidAttributeName,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n get_queue_url: [\n Sdk.GetQueueUrlCommandInput,\n Sdk.GetQueueUrlCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_dead_letter_source_queues: [\n Sdk.ListDeadLetterSourceQueuesCommandInput,\n Sdk.ListDeadLetterSourceQueuesCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_message_move_tasks: [\n Sdk.ListMessageMoveTasksCommandInput,\n Sdk.ListMessageMoveTasksCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_queue_tags: [\n Sdk.ListQueueTagsCommandInput,\n Sdk.ListQueueTagsCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n list_queues: [\n Sdk.ListQueuesCommandInput,\n Sdk.ListQueuesCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n purge_queue: [\n Sdk.PurgeQueueCommandInput,\n Sdk.PurgeQueueCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"PurgeQueueInProgress\": Sdk.PurgeQueueInProgress,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n receive_message: [\n Sdk.ReceiveMessageCommandInput,\n Sdk.ReceiveMessageCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"KmsAccessDenied\": Sdk.KmsAccessDenied,\n \"KmsDisabled\": Sdk.KmsDisabled,\n \"KmsInvalidKeyUsage\": Sdk.KmsInvalidKeyUsage,\n \"KmsInvalidState\": Sdk.KmsInvalidState,\n \"KmsNotFound\": Sdk.KmsNotFound,\n \"KmsOptInRequired\": Sdk.KmsOptInRequired,\n \"KmsThrottled\": Sdk.KmsThrottled,\n \"OverLimit\": Sdk.OverLimit,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n remove_permission: [\n Sdk.RemovePermissionCommandInput,\n Sdk.RemovePermissionCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n send_message: [\n Sdk.SendMessageCommandInput,\n Sdk.SendMessageCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidMessageContents\": Sdk.InvalidMessageContents,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"KmsAccessDenied\": Sdk.KmsAccessDenied,\n \"KmsDisabled\": Sdk.KmsDisabled,\n \"KmsInvalidKeyUsage\": Sdk.KmsInvalidKeyUsage,\n \"KmsInvalidState\": Sdk.KmsInvalidState,\n \"KmsNotFound\": Sdk.KmsNotFound,\n \"KmsOptInRequired\": Sdk.KmsOptInRequired,\n \"KmsThrottled\": Sdk.KmsThrottled,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n send_message_batch: [\n Sdk.SendMessageBatchCommandInput,\n Sdk.SendMessageBatchCommandOutput,\n {\n \"BatchEntryIdsNotDistinct\": Sdk.BatchEntryIdsNotDistinct,\n \"BatchRequestTooLong\": Sdk.BatchRequestTooLong,\n \"EmptyBatchRequest\": Sdk.EmptyBatchRequest,\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidBatchEntryId\": Sdk.InvalidBatchEntryId,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"KmsAccessDenied\": Sdk.KmsAccessDenied,\n \"KmsDisabled\": Sdk.KmsDisabled,\n \"KmsInvalidKeyUsage\": Sdk.KmsInvalidKeyUsage,\n \"KmsInvalidState\": Sdk.KmsInvalidState,\n \"KmsNotFound\": Sdk.KmsNotFound,\n \"KmsOptInRequired\": Sdk.KmsOptInRequired,\n \"KmsThrottled\": Sdk.KmsThrottled,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"TooManyEntriesInBatchRequest\": Sdk.TooManyEntriesInBatchRequest,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n set_queue_attributes: [\n Sdk.SetQueueAttributesCommandInput,\n Sdk.SetQueueAttributesCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidAttributeName\": Sdk.InvalidAttributeName,\n \"InvalidAttributeValue\": Sdk.InvalidAttributeValue,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"OverLimit\": Sdk.OverLimit,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n start_message_move_task: [\n Sdk.StartMessageMoveTaskCommandInput,\n Sdk.StartMessageMoveTaskCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n tag_queue: [\n Sdk.TagQueueCommandInput,\n Sdk.TagQueueCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n untag_queue: [\n Sdk.UntagQueueCommandInput,\n Sdk.UntagQueueCommandOutput,\n {\n \"InvalidAddress\": Sdk.InvalidAddress,\n \"InvalidSecurity\": Sdk.InvalidSecurity,\n \"QueueDoesNotExist\": Sdk.QueueDoesNotExist,\n \"RequestThrottled\": Sdk.RequestThrottled,\n \"UnsupportedOperation\": Sdk.UnsupportedOperation\n }\n ]\n};\n\nconst SQSCommandFactory: { [M in keyof SQSApi]: new (args: SQSApi[M][0]) => unknown } = {\n add_permission: Sdk.AddPermissionCommand,\n cancel_message_move_task: Sdk.CancelMessageMoveTaskCommand,\n change_message_visibility: Sdk.ChangeMessageVisibilityCommand,\n change_message_visibility_batch: Sdk.ChangeMessageVisibilityBatchCommand,\n create_queue: Sdk.CreateQueueCommand,\n delete_message: Sdk.DeleteMessageCommand,\n delete_message_batch: Sdk.DeleteMessageBatchCommand,\n delete_queue: Sdk.DeleteQueueCommand,\n get_queue_attributes: Sdk.GetQueueAttributesCommand,\n get_queue_url: Sdk.GetQueueUrlCommand,\n list_dead_letter_source_queues: Sdk.ListDeadLetterSourceQueuesCommand,\n list_message_move_tasks: Sdk.ListMessageMoveTasksCommand,\n list_queue_tags: Sdk.ListQueueTagsCommand,\n list_queues: Sdk.ListQueuesCommand,\n purge_queue: Sdk.PurgeQueueCommand,\n receive_message: Sdk.ReceiveMessageCommand,\n remove_permission: Sdk.RemovePermissionCommand,\n send_message: Sdk.SendMessageCommand,\n send_message_batch: Sdk.SendMessageBatchCommand,\n set_queue_attributes: Sdk.SetQueueAttributesCommand,\n start_message_move_task: Sdk.StartMessageMoveTaskCommand,\n tag_queue: Sdk.TagQueueCommand,\n untag_queue: Sdk.UntagQueueCommand,\n};\n","import * as Layer from \"effect/Layer\";\nimport * as Effect from \"effect/Effect\";\nimport * as Context from \"effect/Context\";\nimport * as Sdk from \"@aws-sdk/client-ssm\";\nimport type { AllErrors } from \"./internal/utils.js\";\n\n// ***** GENERATED CODE *****\n\nexport class SSMClient extends Context.Tag('SSMClient')<SSMClient, Sdk.SSMClient>() {\n\n static Default = (\n config?: Sdk.SSMClientConfig\n ) =>\n Layer.effect(\n SSMClient,\n Effect.gen(function*() {\n return new Sdk.SSMClient(config ?? {})\n })\n )\n}\n\n/**\n * Creates an Effect that executes an AWS SSM command.\n *\n * @param actionName - The name of the SSM command to execute\n * @param actionInput - The input parameters for the command\n * @returns An Effect that will execute the command and return its output\n *\n * @example\n * ```typescript\n * import { ssm } from \"@effect-ak/aws-sdk\"\n *\n * const program = Effect.gen(function*() {\n * const result = yield* ssm.make(\"command_name\", {\n * // command input parameters\n * })\n * return result\n * })\n * ```\n */\nexport const make =\n Effect.fn('aws_SSM')(function* <M extends keyof SSMApi>(\n actionName: M, actionInput: SSMApi[M][0]\n ) {\n yield* Effect.logDebug(`aws_SSM.${actionName}`, { input: actionInput })\n\n const client = yield* SSMClient\n const command = new SSMCommandFactory[actionName](actionInput) as Parameters<typeof client.send>[0]\n\n const result = yield* Effect.tryPromise({\n try: () => client.send(command) as Promise<SSMApi[M][1]>,\n catch: (error) => {\n if (error instanceof Sdk.SSMServiceException) {\n return new SSMError(error, actionName)\n }\n throw error\n }\n })\n\n yield* Effect.logDebug(`aws_SSM.${actionName} completed`)\n\n return result\n })\n\nexport class SSMError<C extends keyof SSMApi> {\n readonly _tag = \"SSMError\";\n\n constructor(\n readonly cause: Sdk.SSMServiceException,\n readonly command: C\n ) { }\n\n $is<N extends keyof SSMApi[C][2]>(\n name: N\n ): this is SSMError<C> {\n return this.cause.name == name;\n }\n\n is<N extends keyof AllErrors<SSMApi>>(\n name: N\n ): this is SSMError<C> {\n return this.cause.name == name;\n }\n\n}\n\nexport type SSMMethodInput<M extends keyof SSMApi> = SSMApi[M][0];\ntype SSMApi = {\n add_tags_to_resource: [\n Sdk.AddTagsToResourceCommandInput,\n Sdk.AddTagsToResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"InvalidResourceType\": Sdk.InvalidResourceType,\n \"TooManyTagsError\": Sdk.TooManyTagsError,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n associate_ops_item_related_item: [\n Sdk.AssociateOpsItemRelatedItemCommandInput,\n Sdk.AssociateOpsItemRelatedItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemConflictException\": Sdk.OpsItemConflictException,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException,\n \"OpsItemLimitExceededException\": Sdk.OpsItemLimitExceededException,\n \"OpsItemNotFoundException\": Sdk.OpsItemNotFoundException,\n \"OpsItemRelatedItemAlreadyExistsException\": Sdk.OpsItemRelatedItemAlreadyExistsException\n }\n ]\n cancel_command: [\n Sdk.CancelCommandCommandInput,\n Sdk.CancelCommandCommandOutput,\n {\n \"DuplicateInstanceId\": Sdk.DuplicateInstanceId,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidCommandId\": Sdk.InvalidCommandId,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId\n }\n ]\n cancel_maintenance_window_execution: [\n Sdk.CancelMaintenanceWindowExecutionCommandInput,\n Sdk.CancelMaintenanceWindowExecutionCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n create_activation: [\n Sdk.CreateActivationCommandInput,\n Sdk.CreateActivationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidParameters\": Sdk.InvalidParameters\n }\n ]\n create_association: [\n Sdk.CreateAssociationCommandInput,\n Sdk.CreateAssociationCommandOutput,\n {\n \"AssociationAlreadyExists\": Sdk.AssociationAlreadyExists,\n \"AssociationLimitExceeded\": Sdk.AssociationLimitExceeded,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidOutputLocation\": Sdk.InvalidOutputLocation,\n \"InvalidParameters\": Sdk.InvalidParameters,\n \"InvalidSchedule\": Sdk.InvalidSchedule,\n \"InvalidTag\": Sdk.InvalidTag,\n \"InvalidTarget\": Sdk.InvalidTarget,\n \"InvalidTargetMaps\": Sdk.InvalidTargetMaps,\n \"UnsupportedPlatformType\": Sdk.UnsupportedPlatformType\n }\n ]\n create_association_batch: [\n Sdk.CreateAssociationBatchCommandInput,\n Sdk.CreateAssociationBatchCommandOutput,\n {\n \"AssociationLimitExceeded\": Sdk.AssociationLimitExceeded,\n \"DuplicateInstanceId\": Sdk.DuplicateInstanceId,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidOutputLocation\": Sdk.InvalidOutputLocation,\n \"InvalidParameters\": Sdk.InvalidParameters,\n \"InvalidSchedule\": Sdk.InvalidSchedule,\n \"InvalidTarget\": Sdk.InvalidTarget,\n \"InvalidTargetMaps\": Sdk.InvalidTargetMaps,\n \"UnsupportedPlatformType\": Sdk.UnsupportedPlatformType\n }\n ]\n create_document: [\n Sdk.CreateDocumentCommandInput,\n Sdk.CreateDocumentCommandOutput,\n {\n \"DocumentAlreadyExists\": Sdk.DocumentAlreadyExists,\n \"DocumentLimitExceeded\": Sdk.DocumentLimitExceeded,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocumentContent\": Sdk.InvalidDocumentContent,\n \"InvalidDocumentSchemaVersion\": Sdk.InvalidDocumentSchemaVersion,\n \"MaxDocumentSizeExceeded\": Sdk.MaxDocumentSizeExceeded,\n \"NoLongerSupportedException\": Sdk.NoLongerSupportedException,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n create_maintenance_window: [\n Sdk.CreateMaintenanceWindowCommandInput,\n Sdk.CreateMaintenanceWindowCommandOutput,\n {\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceLimitExceededException\": Sdk.ResourceLimitExceededException\n }\n ]\n create_ops_item: [\n Sdk.CreateOpsItemCommandInput,\n Sdk.CreateOpsItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemAccessDeniedException\": Sdk.OpsItemAccessDeniedException,\n \"OpsItemAlreadyExistsException\": Sdk.OpsItemAlreadyExistsException,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException,\n \"OpsItemLimitExceededException\": Sdk.OpsItemLimitExceededException\n }\n ]\n create_ops_metadata: [\n Sdk.CreateOpsMetadataCommandInput,\n Sdk.CreateOpsMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsMetadataAlreadyExistsException\": Sdk.OpsMetadataAlreadyExistsException,\n \"OpsMetadataInvalidArgumentException\": Sdk.OpsMetadataInvalidArgumentException,\n \"OpsMetadataLimitExceededException\": Sdk.OpsMetadataLimitExceededException,\n \"OpsMetadataTooManyUpdatesException\": Sdk.OpsMetadataTooManyUpdatesException\n }\n ]\n create_patch_baseline: [\n Sdk.CreatePatchBaselineCommandInput,\n Sdk.CreatePatchBaselineCommandOutput,\n {\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceLimitExceededException\": Sdk.ResourceLimitExceededException\n }\n ]\n create_resource_data_sync: [\n Sdk.CreateResourceDataSyncCommandInput,\n Sdk.CreateResourceDataSyncCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceDataSyncAlreadyExistsException\": Sdk.ResourceDataSyncAlreadyExistsException,\n \"ResourceDataSyncCountExceededException\": Sdk.ResourceDataSyncCountExceededException,\n \"ResourceDataSyncInvalidConfigurationException\": Sdk.ResourceDataSyncInvalidConfigurationException\n }\n ]\n delete_activation: [\n Sdk.DeleteActivationCommandInput,\n Sdk.DeleteActivationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidActivation\": Sdk.InvalidActivation,\n \"InvalidActivationId\": Sdk.InvalidActivationId,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n delete_association: [\n Sdk.DeleteAssociationCommandInput,\n Sdk.DeleteAssociationCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n delete_document: [\n Sdk.DeleteDocumentCommandInput,\n Sdk.DeleteDocumentCommandOutput,\n {\n \"AssociatedInstances\": Sdk.AssociatedInstances,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentOperation\": Sdk.InvalidDocumentOperation,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n delete_inventory: [\n Sdk.DeleteInventoryCommandInput,\n Sdk.DeleteInventoryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDeleteInventoryParametersException\": Sdk.InvalidDeleteInventoryParametersException,\n \"InvalidInventoryRequestException\": Sdk.InvalidInventoryRequestException,\n \"InvalidOptionException\": Sdk.InvalidOptionException,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException\n }\n ]\n delete_maintenance_window: [\n Sdk.DeleteMaintenanceWindowCommandInput,\n Sdk.DeleteMaintenanceWindowCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n delete_ops_item: [\n Sdk.DeleteOpsItemCommandInput,\n Sdk.DeleteOpsItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException\n }\n ]\n delete_ops_metadata: [\n Sdk.DeleteOpsMetadataCommandInput,\n Sdk.DeleteOpsMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsMetadataInvalidArgumentException\": Sdk.OpsMetadataInvalidArgumentException,\n \"OpsMetadataNotFoundException\": Sdk.OpsMetadataNotFoundException\n }\n ]\n delete_parameter: [\n Sdk.DeleteParameterCommandInput,\n Sdk.DeleteParameterCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ParameterNotFound\": Sdk.ParameterNotFound\n }\n ]\n delete_parameters: [\n Sdk.DeleteParametersCommandInput,\n Sdk.DeleteParametersCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n delete_patch_baseline: [\n Sdk.DeletePatchBaselineCommandInput,\n Sdk.DeletePatchBaselineCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceInUseException\": Sdk.ResourceInUseException\n }\n ]\n delete_resource_data_sync: [\n Sdk.DeleteResourceDataSyncCommandInput,\n Sdk.DeleteResourceDataSyncCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceDataSyncInvalidConfigurationException\": Sdk.ResourceDataSyncInvalidConfigurationException,\n \"ResourceDataSyncNotFoundException\": Sdk.ResourceDataSyncNotFoundException\n }\n ]\n delete_resource_policy: [\n Sdk.DeleteResourcePolicyCommandInput,\n Sdk.DeleteResourcePolicyCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"MalformedResourcePolicyDocumentException\": Sdk.MalformedResourcePolicyDocumentException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ResourcePolicyConflictException\": Sdk.ResourcePolicyConflictException,\n \"ResourcePolicyInvalidParameterException\": Sdk.ResourcePolicyInvalidParameterException,\n \"ResourcePolicyNotFoundException\": Sdk.ResourcePolicyNotFoundException\n }\n ]\n deregister_managed_instance: [\n Sdk.DeregisterManagedInstanceCommandInput,\n Sdk.DeregisterManagedInstanceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId\n }\n ]\n deregister_patch_baseline_for_patch_group: [\n Sdk.DeregisterPatchBaselineForPatchGroupCommandInput,\n Sdk.DeregisterPatchBaselineForPatchGroupCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId\n }\n ]\n deregister_target_from_maintenance_window: [\n Sdk.DeregisterTargetFromMaintenanceWindowCommandInput,\n Sdk.DeregisterTargetFromMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"TargetInUseException\": Sdk.TargetInUseException\n }\n ]\n deregister_task_from_maintenance_window: [\n Sdk.DeregisterTaskFromMaintenanceWindowCommandInput,\n Sdk.DeregisterTaskFromMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_activations: [\n Sdk.DescribeActivationsCommandInput,\n Sdk.DescribeActivationsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_association: [\n Sdk.DescribeAssociationCommandInput,\n Sdk.DescribeAssociationCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAssociationVersion\": Sdk.InvalidAssociationVersion,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId\n }\n ]\n describe_association_execution_targets: [\n Sdk.DescribeAssociationExecutionTargetsCommandInput,\n Sdk.DescribeAssociationExecutionTargetsCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"AssociationExecutionDoesNotExist\": Sdk.AssociationExecutionDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_association_executions: [\n Sdk.DescribeAssociationExecutionsCommandInput,\n Sdk.DescribeAssociationExecutionsCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_automation_executions: [\n Sdk.DescribeAutomationExecutionsCommandInput,\n Sdk.DescribeAutomationExecutionsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidFilterValue\": Sdk.InvalidFilterValue,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_automation_step_executions: [\n Sdk.DescribeAutomationStepExecutionsCommandInput,\n Sdk.DescribeAutomationStepExecutionsCommandOutput,\n {\n \"AutomationExecutionNotFoundException\": Sdk.AutomationExecutionNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidFilterValue\": Sdk.InvalidFilterValue,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_available_patches: [\n Sdk.DescribeAvailablePatchesCommandInput,\n Sdk.DescribeAvailablePatchesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_document: [\n Sdk.DescribeDocumentCommandInput,\n Sdk.DescribeDocumentCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion\n }\n ]\n describe_document_permission: [\n Sdk.DescribeDocumentPermissionCommandInput,\n Sdk.DescribeDocumentPermissionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentOperation\": Sdk.InvalidDocumentOperation,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidPermissionType\": Sdk.InvalidPermissionType\n }\n ]\n describe_effective_instance_associations: [\n Sdk.DescribeEffectiveInstanceAssociationsCommandInput,\n Sdk.DescribeEffectiveInstanceAssociationsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_effective_patches_for_patch_baseline: [\n Sdk.DescribeEffectivePatchesForPatchBaselineCommandInput,\n Sdk.DescribeEffectivePatchesForPatchBaselineCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"UnsupportedOperatingSystem\": Sdk.UnsupportedOperatingSystem\n }\n ]\n describe_instance_associations_status: [\n Sdk.DescribeInstanceAssociationsStatusCommandInput,\n Sdk.DescribeInstanceAssociationsStatusCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_instance_information: [\n Sdk.DescribeInstanceInformationCommandInput,\n Sdk.DescribeInstanceInformationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidInstanceInformationFilterValue\": Sdk.InvalidInstanceInformationFilterValue,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_instance_patch_states: [\n Sdk.DescribeInstancePatchStatesCommandInput,\n Sdk.DescribeInstancePatchStatesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_instance_patch_states_for_patch_group: [\n Sdk.DescribeInstancePatchStatesForPatchGroupCommandInput,\n Sdk.DescribeInstancePatchStatesForPatchGroupCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_instance_patches: [\n Sdk.DescribeInstancePatchesCommandInput,\n Sdk.DescribeInstancePatchesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_instance_properties: [\n Sdk.DescribeInstancePropertiesCommandInput,\n Sdk.DescribeInstancePropertiesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidActivationId\": Sdk.InvalidActivationId,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidInstancePropertyFilterValue\": Sdk.InvalidInstancePropertyFilterValue,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_inventory_deletions: [\n Sdk.DescribeInventoryDeletionsCommandInput,\n Sdk.DescribeInventoryDeletionsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDeletionIdException\": Sdk.InvalidDeletionIdException,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_maintenance_window_execution_task_invocations: [\n Sdk.DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput,\n Sdk.DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_window_execution_tasks: [\n Sdk.DescribeMaintenanceWindowExecutionTasksCommandInput,\n Sdk.DescribeMaintenanceWindowExecutionTasksCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_window_executions: [\n Sdk.DescribeMaintenanceWindowExecutionsCommandInput,\n Sdk.DescribeMaintenanceWindowExecutionsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_window_schedule: [\n Sdk.DescribeMaintenanceWindowScheduleCommandInput,\n Sdk.DescribeMaintenanceWindowScheduleCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_window_targets: [\n Sdk.DescribeMaintenanceWindowTargetsCommandInput,\n Sdk.DescribeMaintenanceWindowTargetsCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_window_tasks: [\n Sdk.DescribeMaintenanceWindowTasksCommandInput,\n Sdk.DescribeMaintenanceWindowTasksCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_windows: [\n Sdk.DescribeMaintenanceWindowsCommandInput,\n Sdk.DescribeMaintenanceWindowsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_maintenance_windows_for_target: [\n Sdk.DescribeMaintenanceWindowsForTargetCommandInput,\n Sdk.DescribeMaintenanceWindowsForTargetCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_ops_items: [\n Sdk.DescribeOpsItemsCommandInput,\n Sdk.DescribeOpsItemsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_parameters: [\n Sdk.DescribeParametersCommandInput,\n Sdk.DescribeParametersCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidFilterOption\": Sdk.InvalidFilterOption,\n \"InvalidFilterValue\": Sdk.InvalidFilterValue,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_patch_baselines: [\n Sdk.DescribePatchBaselinesCommandInput,\n Sdk.DescribePatchBaselinesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_patch_group_state: [\n Sdk.DescribePatchGroupStateCommandInput,\n Sdk.DescribePatchGroupStateCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n describe_patch_groups: [\n Sdk.DescribePatchGroupsCommandInput,\n Sdk.DescribePatchGroupsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_patch_properties: [\n Sdk.DescribePatchPropertiesCommandInput,\n Sdk.DescribePatchPropertiesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n describe_sessions: [\n Sdk.DescribeSessionsCommandInput,\n Sdk.DescribeSessionsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n disassociate_ops_item_related_item: [\n Sdk.DisassociateOpsItemRelatedItemCommandInput,\n Sdk.DisassociateOpsItemRelatedItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemConflictException\": Sdk.OpsItemConflictException,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException,\n \"OpsItemNotFoundException\": Sdk.OpsItemNotFoundException,\n \"OpsItemRelatedItemAssociationNotFoundException\": Sdk.OpsItemRelatedItemAssociationNotFoundException\n }\n ]\n get_access_token: [\n Sdk.GetAccessTokenCommandInput,\n Sdk.GetAccessTokenCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n get_automation_execution: [\n Sdk.GetAutomationExecutionCommandInput,\n Sdk.GetAutomationExecutionCommandOutput,\n {\n \"AutomationExecutionNotFoundException\": Sdk.AutomationExecutionNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_calendar_state: [\n Sdk.GetCalendarStateCommandInput,\n Sdk.GetCalendarStateCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentType\": Sdk.InvalidDocumentType,\n \"UnsupportedCalendarException\": Sdk.UnsupportedCalendarException\n }\n ]\n get_command_invocation: [\n Sdk.GetCommandInvocationCommandInput,\n Sdk.GetCommandInvocationCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidCommandId\": Sdk.InvalidCommandId,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidPluginName\": Sdk.InvalidPluginName,\n \"InvocationDoesNotExist\": Sdk.InvocationDoesNotExist\n }\n ]\n get_connection_status: [\n Sdk.GetConnectionStatusCommandInput,\n Sdk.GetConnectionStatusCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_default_patch_baseline: [\n Sdk.GetDefaultPatchBaselineCommandInput,\n Sdk.GetDefaultPatchBaselineCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_deployable_patch_snapshot_for_instance: [\n Sdk.GetDeployablePatchSnapshotForInstanceCommandInput,\n Sdk.GetDeployablePatchSnapshotForInstanceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"UnsupportedFeatureRequiredException\": Sdk.UnsupportedFeatureRequiredException,\n \"UnsupportedOperatingSystem\": Sdk.UnsupportedOperatingSystem\n }\n ]\n get_document: [\n Sdk.GetDocumentCommandInput,\n Sdk.GetDocumentCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion\n }\n ]\n get_execution_preview: [\n Sdk.GetExecutionPreviewCommandInput,\n Sdk.GetExecutionPreviewCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException\n }\n ]\n get_inventory: [\n Sdk.GetInventoryCommandInput,\n Sdk.GetInventoryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAggregatorException\": Sdk.InvalidAggregatorException,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidInventoryGroupException\": Sdk.InvalidInventoryGroupException,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidResultAttributeException\": Sdk.InvalidResultAttributeException,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException\n }\n ]\n get_inventory_schema: [\n Sdk.GetInventorySchemaCommandInput,\n Sdk.GetInventorySchemaCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException\n }\n ]\n get_maintenance_window: [\n Sdk.GetMaintenanceWindowCommandInput,\n Sdk.GetMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_maintenance_window_execution: [\n Sdk.GetMaintenanceWindowExecutionCommandInput,\n Sdk.GetMaintenanceWindowExecutionCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_maintenance_window_execution_task: [\n Sdk.GetMaintenanceWindowExecutionTaskCommandInput,\n Sdk.GetMaintenanceWindowExecutionTaskCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_maintenance_window_execution_task_invocation: [\n Sdk.GetMaintenanceWindowExecutionTaskInvocationCommandInput,\n Sdk.GetMaintenanceWindowExecutionTaskInvocationCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_maintenance_window_task: [\n Sdk.GetMaintenanceWindowTaskCommandInput,\n Sdk.GetMaintenanceWindowTaskCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_ops_item: [\n Sdk.GetOpsItemCommandInput,\n Sdk.GetOpsItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemAccessDeniedException\": Sdk.OpsItemAccessDeniedException,\n \"OpsItemNotFoundException\": Sdk.OpsItemNotFoundException\n }\n ]\n get_ops_metadata: [\n Sdk.GetOpsMetadataCommandInput,\n Sdk.GetOpsMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsMetadataInvalidArgumentException\": Sdk.OpsMetadataInvalidArgumentException,\n \"OpsMetadataNotFoundException\": Sdk.OpsMetadataNotFoundException\n }\n ]\n get_ops_summary: [\n Sdk.GetOpsSummaryCommandInput,\n Sdk.GetOpsSummaryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAggregatorException\": Sdk.InvalidAggregatorException,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException,\n \"ResourceDataSyncNotFoundException\": Sdk.ResourceDataSyncNotFoundException\n }\n ]\n get_parameter: [\n Sdk.GetParameterCommandInput,\n Sdk.GetParameterCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidKeyId\": Sdk.InvalidKeyId,\n \"ParameterNotFound\": Sdk.ParameterNotFound,\n \"ParameterVersionNotFound\": Sdk.ParameterVersionNotFound\n }\n ]\n get_parameter_history: [\n Sdk.GetParameterHistoryCommandInput,\n Sdk.GetParameterHistoryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidKeyId\": Sdk.InvalidKeyId,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"ParameterNotFound\": Sdk.ParameterNotFound\n }\n ]\n get_parameters: [\n Sdk.GetParametersCommandInput,\n Sdk.GetParametersCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidKeyId\": Sdk.InvalidKeyId\n }\n ]\n get_parameters_by_path: [\n Sdk.GetParametersByPathCommandInput,\n Sdk.GetParametersByPathCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidFilterOption\": Sdk.InvalidFilterOption,\n \"InvalidFilterValue\": Sdk.InvalidFilterValue,\n \"InvalidKeyId\": Sdk.InvalidKeyId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n get_patch_baseline: [\n Sdk.GetPatchBaselineCommandInput,\n Sdk.GetPatchBaselineCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId\n }\n ]\n get_patch_baseline_for_patch_group: [\n Sdk.GetPatchBaselineForPatchGroupCommandInput,\n Sdk.GetPatchBaselineForPatchGroupCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n get_resource_policies: [\n Sdk.GetResourcePoliciesCommandInput,\n Sdk.GetResourcePoliciesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ResourcePolicyInvalidParameterException\": Sdk.ResourcePolicyInvalidParameterException\n }\n ]\n get_service_setting: [\n Sdk.GetServiceSettingCommandInput,\n Sdk.GetServiceSettingCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ServiceSettingNotFound\": Sdk.ServiceSettingNotFound\n }\n ]\n label_parameter_version: [\n Sdk.LabelParameterVersionCommandInput,\n Sdk.LabelParameterVersionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ParameterNotFound\": Sdk.ParameterNotFound,\n \"ParameterVersionLabelLimitExceeded\": Sdk.ParameterVersionLabelLimitExceeded,\n \"ParameterVersionNotFound\": Sdk.ParameterVersionNotFound,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n list_association_versions: [\n Sdk.ListAssociationVersionsCommandInput,\n Sdk.ListAssociationVersionsCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_associations: [\n Sdk.ListAssociationsCommandInput,\n Sdk.ListAssociationsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_command_invocations: [\n Sdk.ListCommandInvocationsCommandInput,\n Sdk.ListCommandInvocationsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidCommandId\": Sdk.InvalidCommandId,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_commands: [\n Sdk.ListCommandsCommandInput,\n Sdk.ListCommandsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidCommandId\": Sdk.InvalidCommandId,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_compliance_items: [\n Sdk.ListComplianceItemsCommandInput,\n Sdk.ListComplianceItemsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"InvalidResourceType\": Sdk.InvalidResourceType\n }\n ]\n list_compliance_summaries: [\n Sdk.ListComplianceSummariesCommandInput,\n Sdk.ListComplianceSummariesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_document_metadata_history: [\n Sdk.ListDocumentMetadataHistoryCommandInput,\n Sdk.ListDocumentMetadataHistoryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_document_versions: [\n Sdk.ListDocumentVersionsCommandInput,\n Sdk.ListDocumentVersionsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_documents: [\n Sdk.ListDocumentsCommandInput,\n Sdk.ListDocumentsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilterKey\": Sdk.InvalidFilterKey,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_inventory_entries: [\n Sdk.ListInventoryEntriesCommandInput,\n Sdk.ListInventoryEntriesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException\n }\n ]\n list_nodes: [\n Sdk.ListNodesCommandInput,\n Sdk.ListNodesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"ResourceDataSyncNotFoundException\": Sdk.ResourceDataSyncNotFoundException,\n \"UnsupportedOperationException\": Sdk.UnsupportedOperationException\n }\n ]\n list_nodes_summary: [\n Sdk.ListNodesSummaryCommandInput,\n Sdk.ListNodesSummaryCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAggregatorException\": Sdk.InvalidAggregatorException,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"ResourceDataSyncNotFoundException\": Sdk.ResourceDataSyncNotFoundException,\n \"UnsupportedOperationException\": Sdk.UnsupportedOperationException\n }\n ]\n list_ops_item_events: [\n Sdk.ListOpsItemEventsCommandInput,\n Sdk.ListOpsItemEventsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException,\n \"OpsItemLimitExceededException\": Sdk.OpsItemLimitExceededException,\n \"OpsItemNotFoundException\": Sdk.OpsItemNotFoundException\n }\n ]\n list_ops_item_related_items: [\n Sdk.ListOpsItemRelatedItemsCommandInput,\n Sdk.ListOpsItemRelatedItemsCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException\n }\n ]\n list_ops_metadata: [\n Sdk.ListOpsMetadataCommandInput,\n Sdk.ListOpsMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsMetadataInvalidArgumentException\": Sdk.OpsMetadataInvalidArgumentException\n }\n ]\n list_resource_compliance_summaries: [\n Sdk.ListResourceComplianceSummariesCommandInput,\n Sdk.ListResourceComplianceSummariesCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidFilter\": Sdk.InvalidFilter,\n \"InvalidNextToken\": Sdk.InvalidNextToken\n }\n ]\n list_resource_data_sync: [\n Sdk.ListResourceDataSyncCommandInput,\n Sdk.ListResourceDataSyncCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidNextToken\": Sdk.InvalidNextToken,\n \"ResourceDataSyncInvalidConfigurationException\": Sdk.ResourceDataSyncInvalidConfigurationException\n }\n ]\n list_tags_for_resource: [\n Sdk.ListTagsForResourceCommandInput,\n Sdk.ListTagsForResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"InvalidResourceType\": Sdk.InvalidResourceType\n }\n ]\n modify_document_permission: [\n Sdk.ModifyDocumentPermissionCommandInput,\n Sdk.ModifyDocumentPermissionCommandOutput,\n {\n \"DocumentLimitExceeded\": Sdk.DocumentLimitExceeded,\n \"DocumentPermissionLimit\": Sdk.DocumentPermissionLimit,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidPermissionType\": Sdk.InvalidPermissionType\n }\n ]\n put_compliance_items: [\n Sdk.PutComplianceItemsCommandInput,\n Sdk.PutComplianceItemsCommandOutput,\n {\n \"ComplianceTypeCountLimitExceededException\": Sdk.ComplianceTypeCountLimitExceededException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidItemContentException\": Sdk.InvalidItemContentException,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"InvalidResourceType\": Sdk.InvalidResourceType,\n \"ItemSizeLimitExceededException\": Sdk.ItemSizeLimitExceededException,\n \"TotalSizeLimitExceededException\": Sdk.TotalSizeLimitExceededException\n }\n ]\n put_inventory: [\n Sdk.PutInventoryCommandInput,\n Sdk.PutInventoryCommandOutput,\n {\n \"CustomSchemaCountLimitExceededException\": Sdk.CustomSchemaCountLimitExceededException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidInventoryItemContextException\": Sdk.InvalidInventoryItemContextException,\n \"InvalidItemContentException\": Sdk.InvalidItemContentException,\n \"InvalidTypeNameException\": Sdk.InvalidTypeNameException,\n \"ItemContentMismatchException\": Sdk.ItemContentMismatchException,\n \"ItemSizeLimitExceededException\": Sdk.ItemSizeLimitExceededException,\n \"SubTypeCountLimitExceededException\": Sdk.SubTypeCountLimitExceededException,\n \"TotalSizeLimitExceededException\": Sdk.TotalSizeLimitExceededException,\n \"UnsupportedInventoryItemContextException\": Sdk.UnsupportedInventoryItemContextException,\n \"UnsupportedInventorySchemaVersionException\": Sdk.UnsupportedInventorySchemaVersionException\n }\n ]\n put_parameter: [\n Sdk.PutParameterCommandInput,\n Sdk.PutParameterCommandOutput,\n {\n \"HierarchyLevelLimitExceededException\": Sdk.HierarchyLevelLimitExceededException,\n \"HierarchyTypeMismatchException\": Sdk.HierarchyTypeMismatchException,\n \"IncompatiblePolicyException\": Sdk.IncompatiblePolicyException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAllowedPatternException\": Sdk.InvalidAllowedPatternException,\n \"InvalidKeyId\": Sdk.InvalidKeyId,\n \"InvalidPolicyAttributeException\": Sdk.InvalidPolicyAttributeException,\n \"InvalidPolicyTypeException\": Sdk.InvalidPolicyTypeException,\n \"ParameterAlreadyExists\": Sdk.ParameterAlreadyExists,\n \"ParameterLimitExceeded\": Sdk.ParameterLimitExceeded,\n \"ParameterMaxVersionLimitExceeded\": Sdk.ParameterMaxVersionLimitExceeded,\n \"ParameterPatternMismatchException\": Sdk.ParameterPatternMismatchException,\n \"PoliciesLimitExceededException\": Sdk.PoliciesLimitExceededException,\n \"TooManyUpdates\": Sdk.TooManyUpdates,\n \"UnsupportedParameterType\": Sdk.UnsupportedParameterType\n }\n ]\n put_resource_policy: [\n Sdk.PutResourcePolicyCommandInput,\n Sdk.PutResourcePolicyCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"MalformedResourcePolicyDocumentException\": Sdk.MalformedResourcePolicyDocumentException,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ResourcePolicyConflictException\": Sdk.ResourcePolicyConflictException,\n \"ResourcePolicyInvalidParameterException\": Sdk.ResourcePolicyInvalidParameterException,\n \"ResourcePolicyLimitExceededException\": Sdk.ResourcePolicyLimitExceededException,\n \"ResourcePolicyNotFoundException\": Sdk.ResourcePolicyNotFoundException\n }\n ]\n register_default_patch_baseline: [\n Sdk.RegisterDefaultPatchBaselineCommandInput,\n Sdk.RegisterDefaultPatchBaselineCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId\n }\n ]\n register_patch_baseline_for_patch_group: [\n Sdk.RegisterPatchBaselineForPatchGroupCommandInput,\n Sdk.RegisterPatchBaselineForPatchGroupCommandOutput,\n {\n \"AlreadyExistsException\": Sdk.AlreadyExistsException,\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"ResourceLimitExceededException\": Sdk.ResourceLimitExceededException\n }\n ]\n register_target_with_maintenance_window: [\n Sdk.RegisterTargetWithMaintenanceWindowCommandInput,\n Sdk.RegisterTargetWithMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceLimitExceededException\": Sdk.ResourceLimitExceededException\n }\n ]\n register_task_with_maintenance_window: [\n Sdk.RegisterTaskWithMaintenanceWindowCommandInput,\n Sdk.RegisterTaskWithMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"FeatureNotAvailableException\": Sdk.FeatureNotAvailableException,\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceLimitExceededException\": Sdk.ResourceLimitExceededException\n }\n ]\n remove_tags_from_resource: [\n Sdk.RemoveTagsFromResourceCommandInput,\n Sdk.RemoveTagsFromResourceCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidResourceId\": Sdk.InvalidResourceId,\n \"InvalidResourceType\": Sdk.InvalidResourceType,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n reset_service_setting: [\n Sdk.ResetServiceSettingCommandInput,\n Sdk.ResetServiceSettingCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ServiceSettingNotFound\": Sdk.ServiceSettingNotFound,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n resume_session: [\n Sdk.ResumeSessionCommandInput,\n Sdk.ResumeSessionCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n send_automation_signal: [\n Sdk.SendAutomationSignalCommandInput,\n Sdk.SendAutomationSignalCommandOutput,\n {\n \"AutomationExecutionNotFoundException\": Sdk.AutomationExecutionNotFoundException,\n \"AutomationStepNotFoundException\": Sdk.AutomationStepNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAutomationSignalException\": Sdk.InvalidAutomationSignalException\n }\n ]\n send_command: [\n Sdk.SendCommandCommandInput,\n Sdk.SendCommandCommandOutput,\n {\n \"DuplicateInstanceId\": Sdk.DuplicateInstanceId,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"InvalidNotificationConfig\": Sdk.InvalidNotificationConfig,\n \"InvalidOutputFolder\": Sdk.InvalidOutputFolder,\n \"InvalidParameters\": Sdk.InvalidParameters,\n \"InvalidRole\": Sdk.InvalidRole,\n \"MaxDocumentSizeExceeded\": Sdk.MaxDocumentSizeExceeded,\n \"UnsupportedPlatformType\": Sdk.UnsupportedPlatformType\n }\n ]\n start_access_request: [\n Sdk.StartAccessRequestCommandInput,\n Sdk.StartAccessRequestCommandOutput,\n {\n \"AccessDeniedException\": Sdk.AccessDeniedException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceNotFoundException\": Sdk.ResourceNotFoundException,\n \"ServiceQuotaExceededException\": Sdk.ServiceQuotaExceededException,\n \"ThrottlingException\": Sdk.ThrottlingException,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n start_associations_once: [\n Sdk.StartAssociationsOnceCommandInput,\n Sdk.StartAssociationsOnceCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InvalidAssociation\": Sdk.InvalidAssociation\n }\n ]\n start_automation_execution: [\n Sdk.StartAutomationExecutionCommandInput,\n Sdk.StartAutomationExecutionCommandOutput,\n {\n \"AutomationDefinitionNotFoundException\": Sdk.AutomationDefinitionNotFoundException,\n \"AutomationDefinitionVersionNotFoundException\": Sdk.AutomationDefinitionVersionNotFoundException,\n \"AutomationExecutionLimitExceededException\": Sdk.AutomationExecutionLimitExceededException,\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAutomationExecutionParametersException\": Sdk.InvalidAutomationExecutionParametersException,\n \"InvalidTarget\": Sdk.InvalidTarget\n }\n ]\n start_change_request_execution: [\n Sdk.StartChangeRequestExecutionCommandInput,\n Sdk.StartChangeRequestExecutionCommandOutput,\n {\n \"AutomationDefinitionNotApprovedException\": Sdk.AutomationDefinitionNotApprovedException,\n \"AutomationDefinitionNotFoundException\": Sdk.AutomationDefinitionNotFoundException,\n \"AutomationDefinitionVersionNotFoundException\": Sdk.AutomationDefinitionVersionNotFoundException,\n \"AutomationExecutionLimitExceededException\": Sdk.AutomationExecutionLimitExceededException,\n \"IdempotentParameterMismatch\": Sdk.IdempotentParameterMismatch,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAutomationExecutionParametersException\": Sdk.InvalidAutomationExecutionParametersException,\n \"NoLongerSupportedException\": Sdk.NoLongerSupportedException\n }\n ]\n start_execution_preview: [\n Sdk.StartExecutionPreviewCommandInput,\n Sdk.StartExecutionPreviewCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ValidationException\": Sdk.ValidationException\n }\n ]\n start_session: [\n Sdk.StartSessionCommandInput,\n Sdk.StartSessionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"TargetNotConnected\": Sdk.TargetNotConnected\n }\n ]\n stop_automation_execution: [\n Sdk.StopAutomationExecutionCommandInput,\n Sdk.StopAutomationExecutionCommandOutput,\n {\n \"AutomationExecutionNotFoundException\": Sdk.AutomationExecutionNotFoundException,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAutomationStatusUpdateException\": Sdk.InvalidAutomationStatusUpdateException\n }\n ]\n terminate_session: [\n Sdk.TerminateSessionCommandInput,\n Sdk.TerminateSessionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n unlabel_parameter_version: [\n Sdk.UnlabelParameterVersionCommandInput,\n Sdk.UnlabelParameterVersionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ParameterNotFound\": Sdk.ParameterNotFound,\n \"ParameterVersionNotFound\": Sdk.ParameterVersionNotFound,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n update_association: [\n Sdk.UpdateAssociationCommandInput,\n Sdk.UpdateAssociationCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"AssociationVersionLimitExceeded\": Sdk.AssociationVersionLimitExceeded,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidAssociationVersion\": Sdk.InvalidAssociationVersion,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"InvalidOutputLocation\": Sdk.InvalidOutputLocation,\n \"InvalidParameters\": Sdk.InvalidParameters,\n \"InvalidSchedule\": Sdk.InvalidSchedule,\n \"InvalidTarget\": Sdk.InvalidTarget,\n \"InvalidTargetMaps\": Sdk.InvalidTargetMaps,\n \"InvalidUpdate\": Sdk.InvalidUpdate,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n update_association_status: [\n Sdk.UpdateAssociationStatusCommandInput,\n Sdk.UpdateAssociationStatusCommandOutput,\n {\n \"AssociationDoesNotExist\": Sdk.AssociationDoesNotExist,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId,\n \"StatusUnchanged\": Sdk.StatusUnchanged,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n update_document: [\n Sdk.UpdateDocumentCommandInput,\n Sdk.UpdateDocumentCommandOutput,\n {\n \"DocumentVersionLimitExceeded\": Sdk.DocumentVersionLimitExceeded,\n \"DuplicateDocumentContent\": Sdk.DuplicateDocumentContent,\n \"DuplicateDocumentVersionName\": Sdk.DuplicateDocumentVersionName,\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentContent\": Sdk.InvalidDocumentContent,\n \"InvalidDocumentOperation\": Sdk.InvalidDocumentOperation,\n \"InvalidDocumentSchemaVersion\": Sdk.InvalidDocumentSchemaVersion,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"MaxDocumentSizeExceeded\": Sdk.MaxDocumentSizeExceeded\n }\n ]\n update_document_default_version: [\n Sdk.UpdateDocumentDefaultVersionCommandInput,\n Sdk.UpdateDocumentDefaultVersionCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentSchemaVersion\": Sdk.InvalidDocumentSchemaVersion,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion\n }\n ]\n update_document_metadata: [\n Sdk.UpdateDocumentMetadataCommandInput,\n Sdk.UpdateDocumentMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidDocument\": Sdk.InvalidDocument,\n \"InvalidDocumentOperation\": Sdk.InvalidDocumentOperation,\n \"InvalidDocumentVersion\": Sdk.InvalidDocumentVersion,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n update_maintenance_window: [\n Sdk.UpdateMaintenanceWindowCommandInput,\n Sdk.UpdateMaintenanceWindowCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n update_maintenance_window_target: [\n Sdk.UpdateMaintenanceWindowTargetCommandInput,\n Sdk.UpdateMaintenanceWindowTargetCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n update_maintenance_window_task: [\n Sdk.UpdateMaintenanceWindowTaskCommandInput,\n Sdk.UpdateMaintenanceWindowTaskCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n update_managed_instance_role: [\n Sdk.UpdateManagedInstanceRoleCommandInput,\n Sdk.UpdateManagedInstanceRoleCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"InvalidInstanceId\": Sdk.InvalidInstanceId\n }\n ]\n update_ops_item: [\n Sdk.UpdateOpsItemCommandInput,\n Sdk.UpdateOpsItemCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsItemAccessDeniedException\": Sdk.OpsItemAccessDeniedException,\n \"OpsItemAlreadyExistsException\": Sdk.OpsItemAlreadyExistsException,\n \"OpsItemConflictException\": Sdk.OpsItemConflictException,\n \"OpsItemInvalidParameterException\": Sdk.OpsItemInvalidParameterException,\n \"OpsItemLimitExceededException\": Sdk.OpsItemLimitExceededException,\n \"OpsItemNotFoundException\": Sdk.OpsItemNotFoundException\n }\n ]\n update_ops_metadata: [\n Sdk.UpdateOpsMetadataCommandInput,\n Sdk.UpdateOpsMetadataCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"OpsMetadataInvalidArgumentException\": Sdk.OpsMetadataInvalidArgumentException,\n \"OpsMetadataKeyLimitExceededException\": Sdk.OpsMetadataKeyLimitExceededException,\n \"OpsMetadataNotFoundException\": Sdk.OpsMetadataNotFoundException,\n \"OpsMetadataTooManyUpdatesException\": Sdk.OpsMetadataTooManyUpdatesException\n }\n ]\n update_patch_baseline: [\n Sdk.UpdatePatchBaselineCommandInput,\n Sdk.UpdatePatchBaselineCommandOutput,\n {\n \"DoesNotExistException\": Sdk.DoesNotExistException,\n \"InternalServerError\": Sdk.InternalServerError\n }\n ]\n update_resource_data_sync: [\n Sdk.UpdateResourceDataSyncCommandInput,\n Sdk.UpdateResourceDataSyncCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ResourceDataSyncConflictException\": Sdk.ResourceDataSyncConflictException,\n \"ResourceDataSyncInvalidConfigurationException\": Sdk.ResourceDataSyncInvalidConfigurationException,\n \"ResourceDataSyncNotFoundException\": Sdk.ResourceDataSyncNotFoundException\n }\n ]\n update_service_setting: [\n Sdk.UpdateServiceSettingCommandInput,\n Sdk.UpdateServiceSettingCommandOutput,\n {\n \"InternalServerError\": Sdk.InternalServerError,\n \"ServiceSettingNotFound\": Sdk.ServiceSettingNotFound,\n \"TooManyUpdates\": Sdk.TooManyUpdates\n }\n ]\n};\n\nconst SSMCommandFactory: { [M in keyof SSMApi]: new (args: SSMApi[M][0]) => unknown } = {\n add_tags_to_resource: Sdk.AddTagsToResourceCommand,\n associate_ops_item_related_item: Sdk.AssociateOpsItemRelatedItemCommand,\n cancel_command: Sdk.CancelCommandCommand,\n cancel_maintenance_window_execution: Sdk.CancelMaintenanceWindowExecutionCommand,\n create_activation: Sdk.CreateActivationCommand,\n create_association: Sdk.CreateAssociationCommand,\n create_association_batch: Sdk.CreateAssociationBatchCommand,\n create_document: Sdk.CreateDocumentCommand,\n create_maintenance_window: Sdk.CreateMaintenanceWindowCommand,\n create_ops_item: Sdk.CreateOpsItemCommand,\n create_ops_metadata: Sdk.CreateOpsMetadataCommand,\n create_patch_baseline: Sdk.CreatePatchBaselineCommand,\n create_resource_data_sync: Sdk.CreateResourceDataSyncCommand,\n delete_activation: Sdk.DeleteActivationCommand,\n delete_association: Sdk.DeleteAssociationCommand,\n delete_document: Sdk.DeleteDocumentCommand,\n delete_inventory: Sdk.DeleteInventoryCommand,\n delete_maintenance_window: Sdk.DeleteMaintenanceWindowCommand,\n delete_ops_item: Sdk.DeleteOpsItemCommand,\n delete_ops_metadata: Sdk.DeleteOpsMetadataCommand,\n delete_parameter: Sdk.DeleteParameterCommand,\n delete_parameters: Sdk.DeleteParametersCommand,\n delete_patch_baseline: Sdk.DeletePatchBaselineCommand,\n delete_resource_data_sync: Sdk.DeleteResourceDataSyncCommand,\n delete_resource_policy: Sdk.DeleteResourcePolicyCommand,\n deregister_managed_instance: Sdk.DeregisterManagedInstanceCommand,\n deregister_patch_baseline_for_patch_group: Sdk.DeregisterPatchBaselineForPatchGroupCommand,\n deregister_target_from_maintenance_window: Sdk.DeregisterTargetFromMaintenanceWindowCommand,\n deregister_task_from_maintenance_window: Sdk.DeregisterTaskFromMaintenanceWindowCommand,\n describe_activations: Sdk.DescribeActivationsCommand,\n describe_association: Sdk.DescribeAssociationCommand,\n describe_association_execution_targets: Sdk.DescribeAssociationExecutionTargetsCommand,\n describe_association_executions: Sdk.DescribeAssociationExecutionsCommand,\n describe_automation_executions: Sdk.DescribeAutomationExecutionsCommand,\n describe_automation_step_executions: Sdk.DescribeAutomationStepExecutionsCommand,\n describe_available_patches: Sdk.DescribeAvailablePatchesCommand,\n describe_document: Sdk.DescribeDocumentCommand,\n describe_document_permission: Sdk.DescribeDocumentPermissionCommand,\n describe_effective_instance_associations: Sdk.DescribeEffectiveInstanceAssociationsCommand,\n describe_effective_patches_for_patch_baseline: Sdk.DescribeEffectivePatchesForPatchBaselineCommand,\n describe_instance_associations_status: Sdk.DescribeInstanceAssociationsStatusCommand,\n describe_instance_information: Sdk.DescribeInstanceInformationCommand,\n describe_instance_patch_states: Sdk.DescribeInstancePatchStatesCommand,\n describe_instance_patch_states_for_patch_group: Sdk.DescribeInstancePatchStatesForPatchGroupCommand,\n describe_instance_patches: Sdk.DescribeInstancePatchesCommand,\n describe_instance_properties: Sdk.DescribeInstancePropertiesCommand,\n describe_inventory_deletions: Sdk.DescribeInventoryDeletionsCommand,\n describe_maintenance_window_execution_task_invocations: Sdk.DescribeMaintenanceWindowExecutionTaskInvocationsCommand,\n describe_maintenance_window_execution_tasks: Sdk.DescribeMaintenanceWindowExecutionTasksCommand,\n describe_maintenance_window_executions: Sdk.DescribeMaintenanceWindowExecutionsCommand,\n describe_maintenance_window_schedule: Sdk.DescribeMaintenanceWindowScheduleCommand,\n describe_maintenance_window_targets: Sdk.DescribeMaintenanceWindowTargetsCommand,\n describe_maintenance_window_tasks: Sdk.DescribeMaintenanceWindowTasksCommand,\n describe_maintenance_windows: Sdk.DescribeMaintenanceWindowsCommand,\n describe_maintenance_windows_for_target: Sdk.DescribeMaintenanceWindowsForTargetCommand,\n describe_ops_items: Sdk.DescribeOpsItemsCommand,\n describe_parameters: Sdk.DescribeParametersCommand,\n describe_patch_baselines: Sdk.DescribePatchBaselinesCommand,\n describe_patch_group_state: Sdk.DescribePatchGroupStateCommand,\n describe_patch_groups: Sdk.DescribePatchGroupsCommand,\n describe_patch_properties: Sdk.DescribePatchPropertiesCommand,\n describe_sessions: Sdk.DescribeSessionsCommand,\n disassociate_ops_item_related_item: Sdk.DisassociateOpsItemRelatedItemCommand,\n get_access_token: Sdk.GetAccessTokenCommand,\n get_automation_execution: Sdk.GetAutomationExecutionCommand,\n get_calendar_state: Sdk.GetCalendarStateCommand,\n get_command_invocation: Sdk.GetCommandInvocationCommand,\n get_connection_status: Sdk.GetConnectionStatusCommand,\n get_default_patch_baseline: Sdk.GetDefaultPatchBaselineCommand,\n get_deployable_patch_snapshot_for_instance: Sdk.GetDeployablePatchSnapshotForInstanceCommand,\n get_document: Sdk.GetDocumentCommand,\n get_execution_preview: Sdk.GetExecutionPreviewCommand,\n get_inventory: Sdk.GetInventoryCommand,\n get_inventory_schema: Sdk.GetInventorySchemaCommand,\n get_maintenance_window: Sdk.GetMaintenanceWindowCommand,\n get_maintenance_window_execution: Sdk.GetMaintenanceWindowExecutionCommand,\n get_maintenance_window_execution_task: Sdk.GetMaintenanceWindowExecutionTaskCommand,\n get_maintenance_window_execution_task_invocation: Sdk.GetMaintenanceWindowExecutionTaskInvocationCommand,\n get_maintenance_window_task: Sdk.GetMaintenanceWindowTaskCommand,\n get_ops_item: Sdk.GetOpsItemCommand,\n get_ops_metadata: Sdk.GetOpsMetadataCommand,\n get_ops_summary: Sdk.GetOpsSummaryCommand,\n get_parameter: Sdk.GetParameterCommand,\n get_parameter_history: Sdk.GetParameterHistoryCommand,\n get_parameters: Sdk.GetParametersCommand,\n get_parameters_by_path: Sdk.GetParametersByPathCommand,\n get_patch_baseline: Sdk.GetPatchBaselineCommand,\n get_patch_baseline_for_patch_group: Sdk.GetPatchBaselineForPatchGroupCommand,\n get_resource_policies: Sdk.GetResourcePoliciesCommand,\n get_service_setting: Sdk.GetServiceSettingCommand,\n label_parameter_version: Sdk.LabelParameterVersionCommand,\n list_association_versions: Sdk.ListAssociationVersionsCommand,\n list_associations: Sdk.ListAssociationsCommand,\n list_command_invocations: Sdk.ListCommandInvocationsCommand,\n list_commands: Sdk.ListCommandsCommand,\n list_compliance_items: Sdk.ListComplianceItemsCommand,\n list_compliance_summaries: Sdk.ListComplianceSummariesCommand,\n list_document_metadata_history: Sdk.ListDocumentMetadataHistoryCommand,\n list_document_versions: Sdk.ListDocumentVersionsCommand,\n list_documents: Sdk.ListDocumentsCommand,\n list_inventory_entries: Sdk.ListInventoryEntriesCommand,\n list_nodes: Sdk.ListNodesCommand,\n list_nodes_summary: Sdk.ListNodesSummaryCommand,\n list_ops_item_events: Sdk.ListOpsItemEventsCommand,\n list_ops_item_related_items: Sdk.ListOpsItemRelatedItemsCommand,\n list_ops_metadata: Sdk.ListOpsMetadataCommand,\n list_resource_compliance_summaries: Sdk.ListResourceComplianceSummariesCommand,\n list_resource_data_sync: Sdk.ListResourceDataSyncCommand,\n list_tags_for_resource: Sdk.ListTagsForResourceCommand,\n modify_document_permission: Sdk.ModifyDocumentPermissionCommand,\n put_compliance_items: Sdk.PutComplianceItemsCommand,\n put_inventory: Sdk.PutInventoryCommand,\n put_parameter: Sdk.PutParameterCommand,\n put_resource_policy: Sdk.PutResourcePolicyCommand,\n register_default_patch_baseline: Sdk.RegisterDefaultPatchBaselineCommand,\n register_patch_baseline_for_patch_group: Sdk.RegisterPatchBaselineForPatchGroupCommand,\n register_target_with_maintenance_window: Sdk.RegisterTargetWithMaintenanceWindowCommand,\n register_task_with_maintenance_window: Sdk.RegisterTaskWithMaintenanceWindowCommand,\n remove_tags_from_resource: Sdk.RemoveTagsFromResourceCommand,\n reset_service_setting: Sdk.ResetServiceSettingCommand,\n resume_session: Sdk.ResumeSessionCommand,\n send_automation_signal: Sdk.SendAutomationSignalCommand,\n send_command: Sdk.SendCommandCommand,\n start_access_request: Sdk.StartAccessRequestCommand,\n start_associations_once: Sdk.StartAssociationsOnceCommand,\n start_automation_execution: Sdk.StartAutomationExecutionCommand,\n start_change_request_execution: Sdk.StartChangeRequestExecutionCommand,\n start_execution_preview: Sdk.StartExecutionPreviewCommand,\n start_session: Sdk.StartSessionCommand,\n stop_automation_execution: Sdk.StopAutomationExecutionCommand,\n terminate_session: Sdk.TerminateSessionCommand,\n unlabel_parameter_version: Sdk.UnlabelParameterVersionCommand,\n update_association: Sdk.UpdateAssociationCommand,\n update_association_status: Sdk.UpdateAssociationStatusCommand,\n update_document: Sdk.UpdateDocumentCommand,\n update_document_default_version: Sdk.UpdateDocumentDefaultVersionCommand,\n update_document_metadata: Sdk.UpdateDocumentMetadataCommand,\n update_maintenance_window: Sdk.UpdateMaintenanceWindowCommand,\n update_maintenance_window_target: Sdk.UpdateMaintenanceWindowTargetCommand,\n update_maintenance_window_task: Sdk.UpdateMaintenanceWindowTaskCommand,\n update_managed_instance_role: Sdk.UpdateManagedInstanceRoleCommand,\n update_ops_item: Sdk.UpdateOpsItemCommand,\n update_ops_metadata: Sdk.UpdateOpsMetadataCommand,\n update_patch_baseline: Sdk.UpdatePatchBaselineCommand,\n update_resource_data_sync: Sdk.UpdateResourceDataSyncCommand,\n update_service_setting: Sdk.UpdateServiceSettingCommand,\n};\n","import { Effect } from \"effect\";\nimport { iam } from \"./clients\";\nimport { toAwsTagList } from \"./tags\";\n\nconst LAMBDA_ASSUME_ROLE_POLICY = JSON.stringify({\n Version: \"2012-10-17\",\n Statement: [\n {\n Effect: \"Allow\",\n Principal: {\n Service: \"lambda.amazonaws.com\"\n },\n Action: \"sts:AssumeRole\"\n }\n ]\n});\n\nconst BASIC_EXECUTION_POLICY_ARN = \"arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole\";\n\nexport const ensureRole = (\n project: string,\n stage: string,\n name: string,\n additionalActions?: string[],\n tags?: Record<string, string>\n) =>\n Effect.gen(function* () {\n const roleName = `${project}-${stage}-${name}-role`;\n\n const existingRole = yield* iam.make(\"get_role\", { RoleName: roleName }).pipe(\n Effect.map(r => r.Role),\n Effect.catchIf(\n e => e._tag === \"IAMError\" && e.is(\"NoSuchEntityException\"),\n () => Effect.succeed(undefined)\n )\n );\n\n if (existingRole) {\n yield* Effect.logDebug(`Using existing role: ${roleName}`);\n\n if (additionalActions && additionalActions.length > 0) {\n yield* ensureInlinePolicy(roleName, name, additionalActions);\n }\n\n // Sync tags on existing role\n if (tags) {\n yield* iam.make(\"tag_role\", {\n RoleName: roleName,\n Tags: toAwsTagList(tags)\n });\n }\n\n return existingRole.Arn!;\n }\n\n yield* Effect.logDebug(`Creating role: ${roleName}`);\n\n const createResult = yield* iam.make(\"create_role\", {\n RoleName: roleName,\n AssumeRolePolicyDocument: LAMBDA_ASSUME_ROLE_POLICY,\n Description: `Execution role for Lambda function ${name}`,\n Tags: tags ? toAwsTagList(tags) : undefined\n });\n\n yield* iam.make(\"attach_role_policy\", {\n RoleName: roleName,\n PolicyArn: BASIC_EXECUTION_POLICY_ARN\n });\n\n if (additionalActions && additionalActions.length > 0) {\n yield* ensureInlinePolicy(roleName, name, additionalActions);\n }\n\n yield* Effect.sleep(\"10 seconds\");\n\n return createResult.Role!.Arn!;\n });\n\nconst ensureInlinePolicy = (roleName: string, functionName: string, actions: string[]) =>\n Effect.gen(function* () {\n const policyName = `${functionName}-inline-policy`;\n const policyDocument = JSON.stringify({\n Version: \"2012-10-17\",\n Statement: [\n {\n Effect: \"Allow\",\n Action: actions,\n Resource: \"*\"\n }\n ]\n });\n\n yield* iam.make(\"put_role_policy\", {\n RoleName: roleName,\n PolicyName: policyName,\n PolicyDocument: policyDocument\n });\n });\n\nexport const deleteRole = (roleName: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting IAM role: ${roleName}`);\n\n // Delete inline policies\n const inlinePolicies = yield* iam.make(\"list_role_policies\", { RoleName: roleName }).pipe(\n Effect.map(r => r.PolicyNames ?? []),\n Effect.catchIf(\n e => e._tag === \"IAMError\" && e.is(\"NoSuchEntityException\"),\n () => Effect.succeed([] as string[])\n )\n );\n\n for (const policyName of inlinePolicies) {\n yield* iam.make(\"delete_role_policy\", {\n RoleName: roleName,\n PolicyName: policyName\n });\n }\n\n // Detach managed policies\n const attachedPolicies = yield* iam.make(\"list_attached_role_policies\", { RoleName: roleName }).pipe(\n Effect.map(r => r.AttachedPolicies ?? []),\n Effect.catchIf(\n e => e._tag === \"IAMError\" && e.is(\"NoSuchEntityException\"),\n () => Effect.succeed([] as Array<{ PolicyArn?: string }>)\n )\n );\n\n for (const policy of attachedPolicies) {\n if (policy.PolicyArn) {\n yield* iam.make(\"detach_role_policy\", {\n RoleName: roleName,\n PolicyArn: policy.PolicyArn\n });\n }\n }\n\n // Delete the role\n yield* iam.make(\"delete_role\", { RoleName: roleName }).pipe(\n Effect.catchIf(\n e => e._tag === \"IAMError\" && e.is(\"NoSuchEntityException\"),\n () => Effect.logDebug(`Role ${roleName} not found, skipping`)\n )\n );\n });\n\nexport type EffortlessRole = {\n name: string;\n arn: string;\n project?: string;\n stage?: string;\n handler?: string;\n};\n\nexport const listEffortlessRoles = () =>\n Effect.gen(function* () {\n const roles: EffortlessRole[] = [];\n let marker: string | undefined;\n\n do {\n const result = yield* iam.make(\"list_roles\", {\n PathPrefix: \"/\",\n Marker: marker,\n MaxItems: 100\n });\n\n for (const role of result.Roles ?? []) {\n if (role.RoleName?.endsWith(\"-role\")) {\n // Get tags to find project/stage/handler\n const tagsResult = yield* iam.make(\"list_role_tags\", { RoleName: role.RoleName }).pipe(\n Effect.catchAll(() => Effect.succeed({ Tags: [] }))\n );\n\n const tags = tagsResult.Tags ?? [];\n const roleInfo: EffortlessRole = {\n name: role.RoleName,\n arn: role.Arn!,\n };\n const project = tags.find(t => t.Key === \"effortless:project\")?.Value;\n const stage = tags.find(t => t.Key === \"effortless:stage\")?.Value;\n const handler = tags.find(t => t.Key === \"effortless:handler\")?.Value;\n if (project) roleInfo.project = project;\n if (stage) roleInfo.stage = stage;\n if (handler) roleInfo.handler = handler;\n roles.push(roleInfo);\n }\n }\n\n marker = result.Marker;\n } while (marker);\n\n return roles;\n });\n","import { Effect } from \"effect\";\nimport type { ResourceTagMapping } from \"@aws-sdk/client-resource-groups-tagging-api\";\nimport { resource_groups_tagging_api as tagging } from \"./clients\";\n\nexport type ResourceType = \"lambda\" | \"iam-role\" | \"dynamodb\" | \"api-gateway\" | \"lambda-layer\" | \"s3-bucket\" | \"cloudfront-distribution\" | \"sqs\";\n\nexport type TagContext = {\n project: string;\n stage: string;\n handler: string;\n};\n\n/**\n * Generate standard effortless tags for a resource.\n */\nexport const makeTags = (ctx: TagContext, type: ResourceType): Record<string, string> => ({\n \"effortless:project\": ctx.project,\n \"effortless:stage\": ctx.stage,\n \"effortless:handler\": ctx.handler,\n \"effortless:type\": type,\n});\n\n/**\n * Convert Record<string, string> to AWS tag list format: { Key, Value }[]\n */\nexport const toAwsTagList = (tags: Record<string, string>) =>\n Object.entries(tags).map(([Key, Value]) => ({ Key, Value }));\n\n/**\n * Resolve stage from input, environment variable, or default.\n * Priority: input > EFFORTLESS_STAGE env > \"dev\"\n */\nexport const resolveStage = (input?: string): string =>\n input ?? process.env.EFFORTLESS_STAGE ?? \"dev\";\n\n/**\n * Query all resources for a project/stage using Resource Groups Tagging API.\n */\nexport const getResourcesByTags = (project: string, stage: string) =>\n Effect.gen(function* () {\n const result = yield* tagging.make(\"get_resources\", {\n TagFilters: [\n { Key: \"effortless:project\", Values: [project] },\n { Key: \"effortless:stage\", Values: [stage] },\n ],\n });\n return result.ResourceTagMappingList ?? [];\n });\n\n/**\n * Query all resources including global ones (CloudFront, IAM).\n * Makes a regional query via the injected client + a separate us-east-1 query for global resources.\n * Deduplicates by ARN.\n */\nexport const getAllResourcesByTags = (project: string, stage: string, region: string) =>\n Effect.gen(function* () {\n const tagFilters = [\n { Key: \"effortless:project\", Values: [project] },\n { Key: \"effortless:stage\", Values: [stage] },\n ];\n\n // Regional resources via injected client\n const regional = yield* getResourcesByTags(project, stage);\n\n // Skip global query if already in us-east-1\n if (region === \"us-east-1\") return regional;\n\n // Global resources (CloudFront, IAM) via us-east-1 layer\n const globalResult = yield* tagging.make(\"get_resources\", {\n TagFilters: tagFilters,\n }).pipe(\n Effect.provide(tagging.ResourceGroupsTaggingAPIClient.Default({ region: \"us-east-1\" })),\n Effect.catchAll(() => Effect.succeed({ ResourceTagMappingList: [] as ResourceTagMapping[] })),\n );\n const global = globalResult.ResourceTagMappingList ?? [];\n\n // Merge and deduplicate by ARN\n const seen = new Set(regional.map(r => r.ResourceARN));\n return [...regional, ...global.filter(r => !seen.has(r.ResourceARN))];\n });\n\n/**\n * Find orphaned resources - resources in AWS that don't match any current handler.\n */\nexport const findOrphanedResources = (\n project: string,\n stage: string,\n currentHandlers: string[]\n) =>\n Effect.gen(function* () {\n const resources = yield* getResourcesByTags(project, stage);\n return resources.filter(r => {\n const handlerTag = r.Tags?.find(t => t.Key === \"effortless:handler\");\n return handlerTag && !currentHandlers.includes(handlerTag.Value ?? \"\");\n });\n });\n\n/**\n * Group resources by handler name.\n */\nexport const groupResourcesByHandler = (\n resources: ResourceTagMapping[]\n) => {\n const grouped = new Map<string, ResourceTagMapping[]>();\n\n for (const resource of resources) {\n const handlerTag = resource.Tags?.find(t => t.Key === \"effortless:handler\");\n const handler = handlerTag?.Value ?? \"unknown\";\n\n if (!grouped.has(handler)) {\n grouped.set(handler, []);\n }\n grouped.get(handler)!.push(resource);\n }\n\n return grouped;\n};\n","import { Effect, Schedule } from \"effect\";\nimport { dynamodb, lambda } from \"./clients\";\n\nimport { toAwsTagList } from \"./tags\";\n\n// Types from define-table (duplicated to avoid circular dependency)\nexport type KeyType = \"string\" | \"number\" | \"binary\";\nexport type StreamView = \"NEW_IMAGE\" | \"OLD_IMAGE\" | \"NEW_AND_OLD_IMAGES\" | \"KEYS_ONLY\";\nexport type BillingMode = \"PAY_PER_REQUEST\" | \"PROVISIONED\";\nexport type KeyDefinition = { name: string; type: KeyType };\n\nconst keyTypeToDynamoDB = (type: KeyType): \"S\" | \"N\" | \"B\" => {\n switch (type) {\n case \"string\": return \"S\";\n case \"number\": return \"N\";\n case \"binary\": return \"B\";\n default: return type satisfies never;\n }\n};\n\nconst streamViewToSpec = (view: StreamView) => ({\n StreamEnabled: true,\n StreamViewType: view\n});\n\nexport type EnsureTableInput = {\n name: string;\n pk: KeyDefinition;\n sk?: KeyDefinition;\n billingMode?: BillingMode;\n streamView?: StreamView;\n tags?: Record<string, string>;\n ttlAttribute?: string;\n};\n\nexport type EnsureTableResult = {\n tableArn: string;\n streamArn: string;\n};\n\nconst waitForTableActive = (tableName: string) =>\n Effect.retry(\n dynamodb.make(\"describe_table\", { TableName: tableName }).pipe(\n Effect.flatMap(r => {\n const status = r.Table?.TableStatus;\n if (status === \"ACTIVE\") return Effect.succeed(r.Table!);\n if (status === \"CREATING\" || status === \"UPDATING\") {\n return Effect.fail(new Error(`Table ${tableName} status: ${status}`));\n }\n return Effect.die(new Error(`Table ${tableName} is in unexpected state: ${status}`));\n })\n ),\n {\n times: 15,\n schedule: Schedule.spaced(\"2 seconds\"),\n }\n );\n\nconst ensureTimeToLive = (tableName: string, attributeName: string) =>\n Effect.gen(function* () {\n const current = yield* dynamodb.make(\"describe_time_to_live\", {\n TableName: tableName,\n });\n\n const status = current.TimeToLiveDescription?.TimeToLiveStatus;\n const currentAttr = current.TimeToLiveDescription?.AttributeName;\n\n if (status === \"ENABLED\" && currentAttr === attributeName) {\n return;\n }\n\n if (status === \"ENABLING\") {\n yield* Effect.logInfo(`TTL is being enabled on ${tableName}, waiting...`);\n yield* Effect.sleep(5000);\n return;\n }\n\n yield* Effect.logInfo(`Enabling TTL on ${tableName} (attribute: ${attributeName})`);\n yield* dynamodb.make(\"update_time_to_live\", {\n TableName: tableName,\n TimeToLiveSpecification: {\n Enabled: true,\n AttributeName: attributeName,\n },\n });\n });\n\nexport const ensureTable = (input: EnsureTableInput) =>\n Effect.gen(function* () {\n const { name, pk, sk, billingMode = \"PAY_PER_REQUEST\", streamView = \"NEW_AND_OLD_IMAGES\", tags, ttlAttribute } = input;\n\n const existingTable = yield* dynamodb.make(\"describe_table\", { TableName: name }).pipe(\n Effect.map(result => result.Table),\n Effect.catchIf(\n (error) => error instanceof dynamodb.DynamoDBError && error.cause.name === \"ResourceNotFoundException\",\n () => Effect.succeed(undefined)\n )\n );\n\n let result: EnsureTableResult;\n\n if (!existingTable) {\n yield* Effect.logInfo(`Creating table ${name}...`);\n\n const keySchema: Array<{ AttributeName: string; KeyType: \"HASH\" | \"RANGE\" }> = [\n { AttributeName: pk.name, KeyType: \"HASH\" }\n ];\n const attributeDefinitions: Array<{ AttributeName: string; AttributeType: \"S\" | \"N\" | \"B\" }> = [\n { AttributeName: pk.name, AttributeType: keyTypeToDynamoDB(pk.type) }\n ];\n\n if (sk) {\n keySchema.push({ AttributeName: sk.name, KeyType: \"RANGE\" });\n attributeDefinitions.push({ AttributeName: sk.name, AttributeType: keyTypeToDynamoDB(sk.type) });\n }\n\n yield* dynamodb.make(\"create_table\", {\n TableName: name,\n KeySchema: keySchema,\n AttributeDefinitions: attributeDefinitions,\n BillingMode: billingMode,\n StreamSpecification: streamViewToSpec(streamView),\n Tags: tags ? toAwsTagList(tags) : undefined\n });\n\n const table = yield* waitForTableActive(name);\n result = {\n tableArn: table!.TableArn!,\n streamArn: table!.LatestStreamArn!\n };\n } else {\n yield* Effect.logInfo(`Table ${name} already exists`);\n\n // Sync tags on existing table\n if (tags) {\n yield* dynamodb.make(\"tag_resource\", {\n ResourceArn: existingTable.TableArn!,\n Tags: toAwsTagList(tags)\n });\n }\n\n if (!existingTable.StreamSpecification?.StreamEnabled) {\n yield* Effect.logInfo(`Enabling stream on table ${name}...`);\n yield* dynamodb.make(\"update_table\", {\n TableName: name,\n StreamSpecification: streamViewToSpec(streamView)\n });\n const table = yield* waitForTableActive(name);\n result = {\n tableArn: table!.TableArn!,\n streamArn: table!.LatestStreamArn!\n };\n } else {\n result = {\n tableArn: existingTable.TableArn!,\n streamArn: existingTable.LatestStreamArn!\n };\n }\n }\n\n if (ttlAttribute) {\n yield* ensureTimeToLive(name, ttlAttribute);\n }\n\n return result;\n });\n\nexport type EnsureEventSourceMappingInput = {\n functionArn: string;\n streamArn: string;\n batchSize?: number;\n batchWindow?: number;\n startingPosition?: \"LATEST\" | \"TRIM_HORIZON\";\n};\n\nexport const ensureEventSourceMapping = (input: EnsureEventSourceMappingInput) =>\n Effect.gen(function* () {\n const { functionArn, streamArn, batchSize = 100, batchWindow, startingPosition = \"LATEST\" } = input;\n\n const existingMappings = yield* lambda.make(\"list_event_source_mappings\", {\n FunctionName: functionArn,\n EventSourceArn: streamArn\n });\n\n const existing = existingMappings.EventSourceMappings?.[0];\n\n if (existing) {\n yield* Effect.logInfo(`Updating event source mapping...`);\n yield* lambda.make(\"update_event_source_mapping\", {\n UUID: existing.UUID!,\n FunctionName: functionArn,\n BatchSize: batchSize,\n ...(batchWindow !== undefined ? { MaximumBatchingWindowInSeconds: batchWindow } : {}),\n Enabled: true\n });\n return existing.UUID!;\n }\n\n yield* Effect.logInfo(`Creating event source mapping...`);\n const result = yield* lambda.make(\"create_event_source_mapping\", {\n FunctionName: functionArn,\n EventSourceArn: streamArn,\n BatchSize: batchSize,\n ...(batchWindow !== undefined ? { MaximumBatchingWindowInSeconds: batchWindow } : {}),\n StartingPosition: startingPosition,\n Enabled: true\n });\n\n return result.UUID!;\n });\n\nexport const deleteTable = (tableName: string) =>\n Effect.gen(function* () {\n yield* Effect.logInfo(`Deleting DynamoDB table: ${tableName}`);\n\n yield* dynamodb.make(\"delete_table\", {\n TableName: tableName\n }).pipe(\n Effect.catchIf(\n (error) => error instanceof dynamodb.DynamoDBError && error.cause.name === \"ResourceNotFoundException\",\n () => Effect.logDebug(`Table ${tableName} not found, skipping`)\n )\n );\n });\n","import { Effect } from \"effect\";\nimport { apigatewayv2, lambda } from \"./clients\";\n\n// Type from define-http (duplicated to avoid circular dependency)\nexport type HttpMethod = \"GET\" | \"POST\" | \"PUT\" | \"DELETE\" | \"PATCH\" | \"OPTIONS\" | \"HEAD\" | \"ANY\";\n\nexport type ProjectApiConfig = {\n projectName: string;\n stage: string;\n region: string;\n tags?: Record<string, string>;\n};\n\nexport type RouteConfig = {\n apiId: string;\n region: string;\n functionArn: string;\n method: HttpMethod;\n path: string;\n};\n\nexport const ensureProjectApi = (config: ProjectApiConfig) =>\n Effect.gen(function* () {\n const apiName = `${config.projectName}-${config.stage}`;\n\n const existingApis = yield* apigatewayv2.make(\"get_apis\", {});\n const existingApi = existingApis.Items?.find(api => api.Name === apiName);\n\n let apiId: string;\n\n if (existingApi) {\n yield* Effect.logDebug(`Using existing API Gateway: ${apiName}`);\n apiId = existingApi.ApiId!;\n\n if (config.tags) {\n const apiArn = `arn:aws:apigateway:${config.region}::/apis/${apiId}`;\n yield* apigatewayv2.make(\"tag_resource\", {\n ResourceArn: apiArn,\n Tags: config.tags\n });\n }\n } else {\n yield* Effect.logDebug(`Creating API Gateway: ${apiName}`);\n\n const createResult = yield* apigatewayv2.make(\"create_api\", {\n Name: apiName,\n ProtocolType: \"HTTP\",\n CorsConfiguration: {\n AllowOrigins: [\"*\"],\n AllowMethods: [\"*\"],\n AllowHeaders: [\"*\"]\n },\n Tags: config.tags\n });\n\n apiId = createResult.ApiId!;\n\n // Create default stage with auto-deploy\n yield* apigatewayv2.make(\"create_stage\", {\n ApiId: apiId,\n StageName: \"$default\",\n AutoDeploy: true\n });\n }\n\n return { apiId };\n });\n\nexport const addRouteToApi = (config: RouteConfig) =>\n Effect.gen(function* () {\n const integrationUri = `arn:aws:apigateway:${config.region}:lambda:path/2015-03-31/functions/${config.functionArn}/invocations`;\n\n // Find or create integration\n const existingIntegrations = yield* apigatewayv2.make(\"get_integrations\", { ApiId: config.apiId });\n let integrationId = existingIntegrations.Items?.find(\n i => i.IntegrationUri === integrationUri\n )?.IntegrationId;\n\n if (!integrationId) {\n yield* Effect.logDebug(\"Creating integration\");\n\n const integrationResult = yield* apigatewayv2.make(\"create_integration\", {\n ApiId: config.apiId,\n IntegrationType: \"AWS_PROXY\",\n IntegrationUri: integrationUri,\n IntegrationMethod: \"POST\",\n PayloadFormatVersion: \"2.0\"\n });\n\n integrationId = integrationResult.IntegrationId!;\n }\n\n // Find or create route\n const routeKey = `${config.method} ${config.path}`;\n const existingRoutes = yield* apigatewayv2.make(\"get_routes\", { ApiId: config.apiId });\n const existingRoute = existingRoutes.Items?.find(r => r.RouteKey === routeKey);\n\n const target = `integrations/${integrationId}`;\n\n if (!existingRoute) {\n yield* Effect.logDebug(`Creating route: ${routeKey}`);\n\n yield* apigatewayv2.make(\"create_route\", {\n ApiId: config.apiId,\n RouteKey: routeKey,\n Target: target\n });\n } else if (existingRoute.Target !== target) {\n yield* Effect.logDebug(`Updating route target: ${routeKey}`);\n\n yield* apigatewayv2.make(\"update_route\", {\n ApiId: config.apiId,\n RouteId: existingRoute.RouteId!,\n RouteKey: routeKey,\n Target: target\n });\n } else {\n yield* Effect.logDebug(`Route already exists: ${routeKey}`);\n }\n\n // Add Lambda permission\n yield* addLambdaPermission(config.functionArn, config.apiId, config.region);\n\n const apiUrl = `https://${config.apiId}.execute-api.${config.region}.amazonaws.com${config.path}`;\n\n return { apiUrl };\n });\n\nconst addLambdaPermission = (\n functionArn: string,\n apiId: string,\n region: string\n) =>\n Effect.gen(function* () {\n const statementId = `apigateway-${apiId}`;\n\n const accountId = functionArn.split(\":\")[4];\n const sourceArn = `arn:aws:execute-api:${region}:${accountId}:${apiId}/*/*`;\n\n yield* lambda.make(\"add_permission\", {\n FunctionName: functionArn,\n StatementId: statementId,\n Action: \"lambda:InvokeFunction\",\n Principal: \"apigateway.amazonaws.com\",\n SourceArn: sourceArn\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceConflictException\"),\n () => {\n return Effect.logDebug(\"Permission already exists\");\n }\n )\n );\n });\n\nexport const removeStaleRoutes = (apiId: string, activeRouteKeys: Set<string>) =>\n Effect.gen(function* () {\n const existingRoutes = yield* apigatewayv2.make(\"get_routes\", { ApiId: apiId });\n\n for (const route of existingRoutes.Items ?? []) {\n if (route.RouteKey && !activeRouteKeys.has(route.RouteKey)) {\n yield* Effect.logDebug(`Removing stale route: ${route.RouteKey}`);\n\n yield* apigatewayv2.make(\"delete_route\", {\n ApiId: apiId,\n RouteId: route.RouteId!\n });\n\n // Clean up the integration if it's no longer used by any other route\n const integrationId = route.Target?.replace(\"integrations/\", \"\");\n if (integrationId) {\n const remainingRoutes = yield* apigatewayv2.make(\"get_routes\", { ApiId: apiId });\n const stillUsed = remainingRoutes.Items?.some(r => r.Target === route.Target);\n if (!stillUsed) {\n yield* Effect.logDebug(`Removing orphaned integration: ${integrationId}`);\n yield* apigatewayv2.make(\"delete_integration\", {\n ApiId: apiId,\n IntegrationId: integrationId\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"ApiGatewayV2Error\" && e.is(\"NotFoundException\"),\n () => Effect.logDebug(`Integration ${integrationId} already removed`)\n )\n );\n }\n }\n }\n }\n });\n\nexport const deleteApi = (apiId: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting API Gateway: ${apiId}`);\n\n yield* apigatewayv2.make(\"delete_api\", {\n ApiId: apiId\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"ApiGatewayV2Error\" && e.is(\"NotFoundException\"),\n () => Effect.logDebug(`API ${apiId} not found, skipping`)\n )\n );\n });\n","import { Effect } from \"effect\";\nimport { Architecture, Runtime } from \"@aws-sdk/client-lambda\";\nimport * as crypto from \"crypto\";\nimport * as fs from \"fs/promises\";\nimport * as fsSync from \"fs\";\nimport * as path from \"path\";\nimport archiver from \"archiver\";\nimport { lambda } from \"./clients\";\n\n// Fixed date for deterministic zip (same content = same hash)\nconst FIXED_DATE = new Date(0);\n\nexport type LayerConfig = {\n project: string;\n stage: string;\n region: string;\n projectDir: string;\n tags?: Record<string, string>;\n};\n\nexport type LayerStatus = \"created\" | \"cached\";\n\nexport type LayerResult = {\n layerArn: string;\n layerVersionArn: string;\n version: number;\n lockfileHash: string;\n status: LayerStatus;\n};\n\n/**\n * Get version of a package from its package.json\n */\nconst getPackageVersion = (pkgPath: string): string | null => {\n const pkgJsonPath = path.join(pkgPath, \"package.json\");\n if (!fsSync.existsSync(pkgJsonPath)) return null;\n\n try {\n const pkgJson = JSON.parse(fsSync.readFileSync(pkgJsonPath, \"utf-8\"));\n return pkgJson.version ?? null;\n } catch {\n return null;\n }\n};\n\n/**\n * Compute hash based on production dependencies only.\n * This ensures the layer is only recreated when prod deps change,\n * not when dev deps are updated.\n */\nexport const computeLockfileHash = (projectDir: string) =>\n Effect.gen(function* () {\n const prodDeps = yield* readProductionDependencies(projectDir);\n\n if (prodDeps.length === 0) {\n return yield* Effect.fail(new Error(\"No production dependencies\"));\n }\n\n // Collect all transitive production packages\n const { packages: allPackages, resolvedPaths } = collectTransitiveDeps(projectDir, prodDeps);\n\n // Build a sorted list of package@version pairs\n const packageVersions: string[] = [];\n for (const pkgName of Array.from(allPackages).sort()) {\n const pkgPath = resolvedPaths.get(pkgName)\n ?? findInPnpmStore(projectDir, pkgName)\n ?? getPackageRealPath(projectDir, pkgName);\n\n if (pkgPath) {\n const version = getPackageVersion(pkgPath);\n if (version) {\n packageVersions.push(`${pkgName}@${version}`);\n }\n }\n }\n\n if (packageVersions.length === 0) {\n return yield* Effect.fail(new Error(\"No package versions found\"));\n }\n\n // Hash the sorted package versions\n const content = packageVersions.join(\"\\n\");\n return crypto.createHash(\"sha256\").update(content).digest(\"hex\").substring(0, 8);\n });\n\n/**\n * Read production dependencies from package.json\n */\nexport const readProductionDependencies = (projectDir: string) =>\n Effect.gen(function* () {\n const pkgPath = path.join(projectDir, \"package.json\");\n const content = yield* Effect.tryPromise({\n try: () => fs.readFile(pkgPath, \"utf-8\"),\n catch: () => new Error(`Cannot read package.json at ${pkgPath}`)\n });\n const pkg = JSON.parse(content);\n return Object.keys(pkg.dependencies ?? {});\n });\n\n\n/**\n * Get the real path of a package in node_modules, following symlinks (pnpm support)\n */\nconst getPackageRealPath = (projectDir: string, pkgName: string): string | null => {\n const pkgPath = path.join(projectDir, \"node_modules\", pkgName);\n if (!fsSync.existsSync(pkgPath)) return null;\n\n try {\n return fsSync.realpathSync(pkgPath);\n } catch {\n return null;\n }\n};\n\n\ntype PackageDeps = {\n required: string[];\n optional: string[];\n all: string[];\n};\n\nconst EMPTY_DEPS: PackageDeps = { required: [], optional: [], all: [] };\n\n/**\n * Get all dependencies from a package's package.json, categorized by type.\n * `required` = dependencies, `optional` = optionalDependencies + peerDependencies.\n */\nconst getPackageDeps = (pkgPath: string): PackageDeps => {\n const pkgJsonPath = path.join(pkgPath, \"package.json\");\n if (!fsSync.existsSync(pkgJsonPath)) return EMPTY_DEPS;\n\n try {\n const pkgJson = JSON.parse(fsSync.readFileSync(pkgJsonPath, \"utf-8\"));\n const required = Object.keys(pkgJson.dependencies ?? {});\n const optionalDeps = Object.keys(pkgJson.optionalDependencies ?? {});\n const peerDeps = Object.keys(pkgJson.peerDependencies ?? {});\n const optional = [...new Set([...optionalDeps, ...peerDeps])];\n const all = [...new Set([...required, ...optional])];\n return { required, optional, all };\n } catch {\n return EMPTY_DEPS;\n }\n};\n\n/**\n * Find a package in the pnpm store (.pnpm directory).\n * This is needed because pnpm doesn't hoist dependencies to root node_modules.\n */\nconst findInPnpmStore = (projectDir: string, pkgName: string): string | null => {\n const pnpmDir = path.join(projectDir, \"node_modules\", \".pnpm\");\n if (!fsSync.existsSync(pnpmDir)) return null;\n\n // Convert package name to pnpm format: @scope/name -> @scope+name\n const pnpmPkgName = pkgName.replace(\"/\", \"+\");\n\n try {\n const entries = fsSync.readdirSync(pnpmDir);\n for (const entry of entries) {\n // Match entries like \"@smithy+config-resolver@3.0.0\" or \"lodash@4.17.21\"\n if (entry.startsWith(pnpmPkgName + \"@\")) {\n const pkgPath = path.join(pnpmDir, entry, \"node_modules\", pkgName);\n if (fsSync.existsSync(pkgPath)) {\n try {\n return fsSync.realpathSync(pkgPath);\n } catch {\n // ignore\n }\n }\n }\n }\n } catch {\n // ignore\n }\n\n return null;\n};\n\nexport type CollectResult = {\n packages: Set<string>;\n resolvedPaths: Map<string, string>;\n warnings: string[];\n};\n\n/**\n * Recursively collect all packages including their declared dependencies.\n * This handles bundled packages (like those built with tsup) where\n * @vercel/nft can't trace statically due to external deps.\n *\n * Supports pnpm's isolated node_modules structure by looking for\n * nested dependencies in the package's own node_modules directory,\n * and falling back to searching the pnpm store.\n */\nconst collectTransitiveDeps = (\n projectDir: string,\n rootDeps: string[],\n searchPath: string = path.join(projectDir, \"node_modules\"),\n visited = new Set<string>(),\n resolvedPaths = new Map<string, string>(),\n warnings: string[] = [],\n /** Names of deps that are optional/peer — missing ones are silently skipped */\n optionalNames = new Set<string>()\n): CollectResult => {\n const rootNodeModules = path.join(projectDir, \"node_modules\");\n\n for (const dep of rootDeps) {\n if (visited.has(dep)) continue;\n\n // Try to find the package in the current search path\n let pkgPath = path.join(searchPath, dep);\n let realPath: string | null = null;\n\n if (fsSync.existsSync(pkgPath)) {\n try {\n realPath = fsSync.realpathSync(pkgPath);\n } catch (err) {\n warnings.push(`realpathSync failed for \"${dep}\" at ${pkgPath}: ${err instanceof Error ? err.message : String(err)}`);\n }\n }\n\n // Fallback to root node_modules (for npm/yarn hoisted deps)\n if (!realPath && searchPath !== rootNodeModules) {\n pkgPath = path.join(rootNodeModules, dep);\n if (fsSync.existsSync(pkgPath)) {\n try {\n realPath = fsSync.realpathSync(pkgPath);\n } catch (err) {\n warnings.push(`realpathSync failed for \"${dep}\" at ${pkgPath}: ${err instanceof Error ? err.message : String(err)}`);\n }\n }\n }\n\n // Fallback to pnpm store search\n if (!realPath) {\n realPath = findInPnpmStore(projectDir, dep);\n }\n\n if (!realPath) {\n // Only warn for required deps; optional/peer deps that aren't installed are expected\n if (!optionalNames.has(dep)) {\n warnings.push(`Package \"${dep}\" not found (searched: ${searchPath}, root node_modules, pnpm store) — entire subtree skipped`);\n }\n continue;\n }\n\n visited.add(dep);\n resolvedPaths.set(dep, realPath);\n\n // Get this package's dependencies\n const pkgDeps = getPackageDeps(realPath);\n if (pkgDeps.all.length > 0) {\n // For pnpm, nested deps live in the same node_modules as the package itself\n // e.g., .pnpm/@aws-sdk+client-dynamodb@3.x.x/node_modules/@aws-sdk/client-dynamodb\n // -> nested deps at .pnpm/@aws-sdk+client-dynamodb@3.x.x/node_modules/\n const isScoped = dep.startsWith(\"@\");\n const pkgNodeModules = isScoped\n ? path.dirname(path.dirname(realPath))\n : path.dirname(realPath);\n\n const nextOptional = new Set(optionalNames);\n for (const name of pkgDeps.optional) nextOptional.add(name);\n\n collectTransitiveDeps(projectDir, pkgDeps.all, pkgNodeModules, visited, resolvedPaths, warnings, nextOptional);\n }\n }\n\n return { packages: visited, resolvedPaths, warnings };\n};\n\n/** AWS packages available in the Lambda runtime — excluded from layer */\nconst isAwsRuntime = (pkg: string) =>\n pkg.startsWith(\"@aws-sdk/\") || pkg.startsWith(\"@smithy/\");\n\nexport type CollectLayerResult = {\n packages: string[];\n resolvedPaths: Map<string, string>;\n warnings: string[];\n};\n\n/**\n * Collect all packages needed by production dependencies.\n * Uses package.json declarations recursively, then verifies completeness\n * and auto-adds any missing transitive deps as a safety net.\n */\nexport const collectLayerPackages = (projectDir: string, dependencies: string[]): CollectLayerResult => {\n if (dependencies.length === 0) return { packages: [], resolvedPaths: new Map(), warnings: [] };\n\n // Phase 1: collect all transitive deps from package.json declarations\n const { packages, resolvedPaths, warnings } = collectTransitiveDeps(projectDir, dependencies);\n\n // Phase 2: verify completeness — ensure all deps of included packages are also included\n // Check both Phase 1 resolved path and findPackagePath result, since pnpm may have\n // multiple versions of a package with different dependency sets.\n // Loop until no new packages are discovered (handles multi-level gaps)\n let changed = true;\n while (changed) {\n changed = false;\n for (const pkg of [...packages]) {\n if (isAwsRuntime(pkg)) continue;\n\n // Collect all known locations for this package (may differ when multiple versions exist)\n const pkgPaths = new Set<string>();\n const resolved = resolvedPaths.get(pkg);\n if (resolved) pkgPaths.add(resolved);\n const found = findPackagePath(projectDir, pkg);\n if (found) pkgPaths.add(found);\n\n if (pkgPaths.size === 0) continue;\n\n for (const pkgPath of pkgPaths) {\n const pkgDeps = getPackageDeps(pkgPath);\n const optionalSet = new Set(pkgDeps.optional);\n for (const dep of pkgDeps.all) {\n if (!packages.has(dep) && !isAwsRuntime(dep)) {\n // Resolve the dep's path\n let depPath = findPackagePath(projectDir, dep);\n // Fallback: look in parent package's node_modules (pnpm nested structure)\n if (!depPath) {\n const isScoped = pkg.startsWith(\"@\");\n const parentNodeModules = isScoped\n ? path.dirname(path.dirname(pkgPath))\n : path.dirname(pkgPath);\n const depInParent = path.join(parentNodeModules, dep);\n if (fsSync.existsSync(depInParent)) {\n try {\n depPath = fsSync.realpathSync(depInParent);\n } catch {}\n }\n }\n\n // Skip optional/peer deps that aren't installed\n if (!depPath && optionalSet.has(dep)) continue;\n\n packages.add(dep);\n changed = true;\n if (depPath) resolvedPaths.set(dep, depPath);\n }\n }\n }\n }\n }\n\n return { packages: Array.from(packages), resolvedPaths, warnings };\n};\n\n/**\n * Find package path, checking both root node_modules and pnpm store\n */\nconst findPackagePath = (projectDir: string, pkgName: string): string | null => {\n // First try root node_modules\n const rootPath = getPackageRealPath(projectDir, pkgName);\n if (rootPath) return rootPath;\n\n // Fallback to pnpm store\n return findInPnpmStore(projectDir, pkgName);\n};\n\nexport type CreateLayerZipResult = {\n buffer: Buffer;\n includedPackages: string[];\n skippedPackages: string[];\n};\n\n/**\n * Create layer zip with nodejs/node_modules structure.\n * Uses @vercel/nft traced packages.\n */\nexport const createLayerZip = (projectDir: string, packages: string[], resolvedPaths?: Map<string, string>) =>\n Effect.async<CreateLayerZipResult, Error>((resume) => {\n const chunks: Buffer[] = [];\n const archive = archiver(\"zip\", { zlib: { level: 9 } });\n\n const addedPaths = new Set<string>();\n const includedPackages: string[] = [];\n const skippedPackages: string[] = [];\n\n archive.on(\"data\", (chunk: Buffer) => chunks.push(chunk));\n archive.on(\"end\", () => resume(Effect.succeed({\n buffer: Buffer.concat(chunks),\n includedPackages,\n skippedPackages\n })));\n archive.on(\"error\", (err) => resume(Effect.fail(err)));\n\n for (const pkgName of packages) {\n const realPath = resolvedPaths?.get(pkgName) ?? findPackagePath(projectDir, pkgName);\n if (typeof realPath === \"string\" && realPath.length > 0 && !addedPaths.has(realPath)) {\n addedPaths.add(realPath);\n includedPackages.push(pkgName);\n archive.directory(realPath, `nodejs/node_modules/${pkgName}`, { date: FIXED_DATE });\n } else {\n skippedPackages.push(pkgName);\n }\n }\n\n archive.finalize();\n });\n\n/**\n * Find existing layer version by hash in description\n */\nexport const getExistingLayerByHash = (layerName: string, expectedHash: string) =>\n Effect.gen(function* () {\n const versions = yield* lambda.make(\"list_layer_versions\", {\n LayerName: layerName\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceNotFoundException\"),\n () => Effect.succeed({ LayerVersions: [] })\n )\n );\n\n const matchingVersion = versions.LayerVersions?.find(v =>\n v.Description?.includes(`hash:${expectedHash}`)\n );\n\n if (!matchingVersion) {\n return null;\n }\n\n return {\n layerArn: matchingVersion.LayerVersionArn!,\n layerVersionArn: matchingVersion.LayerVersionArn!,\n version: matchingVersion.Version!,\n lockfileHash: expectedHash,\n status: \"cached\"\n } satisfies LayerResult;\n });\n\n/**\n * Ensure layer exists with current dependencies.\n * Returns null if no production dependencies.\n */\nexport const ensureLayer = (config: LayerConfig) =>\n Effect.gen(function* () {\n const dependencies = yield* readProductionDependencies(config.projectDir).pipe(\n Effect.catchAll(() => Effect.succeed([] as string[]))\n );\n\n if (dependencies.length === 0) {\n yield* Effect.logDebug(\"No production dependencies, skipping layer creation\");\n return null;\n }\n\n const hash = yield* computeLockfileHash(config.projectDir).pipe(\n Effect.catchAll((e) => {\n const message = e instanceof Error ? e.message : String(e);\n return Effect.logWarning(`Cannot compute lockfile hash: ${message}, skipping layer`).pipe(\n Effect.andThen(Effect.succeed(null))\n );\n })\n );\n\n if (!hash) {\n return null;\n }\n\n const layerName = `${config.project}-${config.stage}-deps`;\n\n // Check for existing layer with same hash\n const existing = yield* getExistingLayerByHash(layerName, hash);\n if (existing) {\n yield* Effect.logDebug(`Layer ${layerName} with hash ${hash} already exists (version ${existing.version})`);\n return existing;\n }\n\n // Collect all packages via transitive dep walking + completeness verification\n const { packages: allPackages, resolvedPaths, warnings: layerWarnings } = yield* Effect.sync(() => collectLayerPackages(config.projectDir, dependencies));\n\n // Surface all warnings so issues are visible, not silently swallowed\n for (const warning of layerWarnings) {\n yield* Effect.logWarning(`[layer] ${warning}`);\n }\n\n yield* Effect.logDebug(`Creating layer ${layerName} with ${allPackages.length} packages (hash: ${hash})`);\n yield* Effect.logDebug(`Layer packages: ${allPackages.join(\", \")}`);\n\n // Create layer zip\n const { buffer: layerZip, includedPackages, skippedPackages } = yield* createLayerZip(config.projectDir, allPackages, resolvedPaths);\n\n if (skippedPackages.length > 0) {\n yield* Effect.logWarning(`Skipped ${skippedPackages.length} packages (not found): ${skippedPackages.slice(0, 10).join(\", \")}${skippedPackages.length > 10 ? \"...\" : \"\"}`);\n }\n yield* Effect.logDebug(`Layer zip size: ${(layerZip.length / 1024 / 1024).toFixed(2)} MB (${includedPackages.length} packages)`);\n\n // Publish layer\n const result = yield* lambda.make(\"publish_layer_version\", {\n LayerName: layerName,\n Description: `effortless deps layer hash:${hash}`,\n Content: { ZipFile: layerZip },\n CompatibleRuntimes: [Runtime.nodejs24x],\n CompatibleArchitectures: [Architecture.arm64]\n });\n\n yield* Effect.logDebug(`Published layer version ${result.Version}`);\n\n return {\n layerArn: result.LayerVersionArn!,\n layerVersionArn: result.LayerVersionArn!,\n version: result.Version!,\n lockfileHash: hash,\n status: \"created\"\n } satisfies LayerResult;\n });\n\n/**\n * Delete a specific layer version\n */\nexport const deleteLayerVersion = (layerName: string, versionNumber: number) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting layer ${layerName} version ${versionNumber}`);\n\n yield* lambda.make(\"delete_layer_version\", {\n LayerName: layerName,\n VersionNumber: versionNumber\n });\n });\n\nexport type LayerVersionInfo = {\n layerName: string;\n version: number;\n description: string | undefined;\n createdDate: string | undefined;\n arn: string;\n};\n\n/**\n * List all versions of a layer\n */\nexport const listLayerVersions = (layerName: string) =>\n Effect.gen(function* () {\n const result = yield* lambda.make(\"list_layer_versions\", {\n LayerName: layerName\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"LambdaError\" && e.is(\"ResourceNotFoundException\"),\n () => Effect.succeed({ LayerVersions: [] })\n )\n );\n\n return (result.LayerVersions ?? []).map(v => ({\n layerName,\n version: v.Version!,\n description: v.Description,\n createdDate: v.CreatedDate,\n arn: v.LayerVersionArn!\n } satisfies LayerVersionInfo));\n });\n\n/**\n * Delete all versions of a layer\n */\nexport const deleteAllLayerVersions = (layerName: string) =>\n Effect.gen(function* () {\n const versions = yield* listLayerVersions(layerName);\n\n if (versions.length === 0) {\n yield* Effect.logDebug(`No versions found for layer ${layerName}`);\n return 0;\n }\n\n for (const v of versions) {\n yield* deleteLayerVersion(layerName, v.version);\n }\n\n return versions.length;\n });\n","import { Effect } from \"effect\";\nimport * as fs from \"fs\";\nimport * as path from \"path\";\nimport * as crypto from \"crypto\";\nimport { s3 } from \"./clients\";\nimport { toAwsTagList } from \"./tags\";\n\n// Reuse the same content-type map as wrap-app.ts\nconst CONTENT_TYPES: Record<string, string> = {\n \".html\": \"text/html; charset=utf-8\",\n \".htm\": \"text/html; charset=utf-8\",\n \".css\": \"text/css; charset=utf-8\",\n \".js\": \"application/javascript; charset=utf-8\",\n \".mjs\": \"application/javascript; charset=utf-8\",\n \".json\": \"application/json; charset=utf-8\",\n \".xml\": \"application/xml; charset=utf-8\",\n \".txt\": \"text/plain; charset=utf-8\",\n \".csv\": \"text/csv; charset=utf-8\",\n \".md\": \"text/markdown; charset=utf-8\",\n \".svg\": \"image/svg+xml; charset=utf-8\",\n \".png\": \"image/png\",\n \".jpg\": \"image/jpeg\",\n \".jpeg\": \"image/jpeg\",\n \".gif\": \"image/gif\",\n \".webp\": \"image/webp\",\n \".avif\": \"image/avif\",\n \".ico\": \"image/x-icon\",\n \".bmp\": \"image/bmp\",\n \".woff\": \"font/woff\",\n \".woff2\": \"font/woff2\",\n \".ttf\": \"font/ttf\",\n \".otf\": \"font/otf\",\n \".eot\": \"application/vnd.ms-fontobject\",\n \".mp4\": \"video/mp4\",\n \".webm\": \"video/webm\",\n \".mp3\": \"audio/mpeg\",\n \".ogg\": \"audio/ogg\",\n \".pdf\": \"application/pdf\",\n \".wasm\": \"application/wasm\",\n \".map\": \"application/json\",\n \".gz\": \"application/gzip\",\n \".zip\": \"application/zip\",\n};\n\nexport type EnsureBucketInput = {\n name: string;\n region: string;\n tags: Record<string, string>;\n};\n\nexport const ensureBucket = (input: EnsureBucketInput) =>\n Effect.gen(function* () {\n const { name, region, tags } = input;\n\n // Check if bucket exists\n const exists = yield* s3.make(\"head_bucket\", { Bucket: name }).pipe(\n Effect.map(() => true),\n Effect.catchIf(\n e => e._tag === \"S3Error\",\n () => Effect.succeed(false)\n )\n );\n\n if (!exists) {\n yield* Effect.logDebug(`Creating S3 bucket: ${name}`);\n yield* s3.make(\"create_bucket\", {\n Bucket: name,\n ...(region !== \"us-east-1\"\n ? { CreateBucketConfiguration: { LocationConstraint: region as any } }\n : {}),\n });\n } else {\n yield* Effect.logDebug(`S3 bucket ${name} already exists`);\n }\n\n // Block all public access\n yield* s3.make(\"put_public_access_block\", {\n Bucket: name,\n PublicAccessBlockConfiguration: {\n BlockPublicAcls: true,\n IgnorePublicAcls: true,\n BlockPublicPolicy: true,\n RestrictPublicBuckets: true,\n },\n });\n\n // Apply tags\n yield* s3.make(\"put_bucket_tagging\", {\n Bucket: name,\n Tagging: { TagSet: toAwsTagList(tags) },\n });\n\n return { bucketName: name, bucketArn: `arn:aws:s3:::${name}` };\n });\n\nexport type SyncFilesInput = {\n bucketName: string;\n sourceDir: string;\n};\n\nexport type SyncFilesResult = {\n uploaded: number;\n deleted: number;\n unchanged: number;\n};\n\nexport const syncFiles = (input: SyncFilesInput) =>\n Effect.gen(function* () {\n const { bucketName, sourceDir } = input;\n\n // List existing objects in bucket\n const existingObjects = new Map<string, string>(); // key -> ETag\n let continuationToken: string | undefined;\n\n do {\n const result = yield* s3.make(\"list_objects_v2\", {\n Bucket: bucketName,\n ContinuationToken: continuationToken,\n });\n for (const obj of result.Contents ?? []) {\n if (obj.Key && obj.ETag) {\n existingObjects.set(obj.Key, obj.ETag);\n }\n }\n continuationToken = result.IsTruncated ? result.NextContinuationToken : undefined;\n } while (continuationToken);\n\n // Walk local directory\n const localFiles = new Map<string, string>(); // key -> absolute path\n const walkDir = (dir: string, prefix: string) => {\n for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {\n const fullPath = path.join(dir, entry.name);\n const key = prefix ? `${prefix}/${entry.name}` : entry.name;\n if (entry.isDirectory()) {\n walkDir(fullPath, key);\n } else {\n localFiles.set(key, fullPath);\n }\n }\n };\n walkDir(sourceDir, \"\");\n\n let uploaded = 0;\n let unchanged = 0;\n\n // Upload new/changed files\n for (const [key, filePath] of localFiles) {\n const content = fs.readFileSync(filePath);\n const md5 = crypto.createHash(\"md5\").update(content).digest(\"hex\");\n const etag = `\"${md5}\"`;\n\n if (existingObjects.get(key) === etag) {\n unchanged++;\n continue;\n }\n\n const ext = path.extname(key).toLowerCase();\n const contentType = CONTENT_TYPES[ext] ?? \"application/octet-stream\";\n const isHtml = ext === \".html\" || ext === \".htm\";\n const cacheControl = isHtml\n ? \"public, max-age=0, must-revalidate\"\n : \"public, max-age=31536000, immutable\";\n\n yield* s3.make(\"put_object\", {\n Bucket: bucketName,\n Key: key,\n Body: content,\n ContentType: contentType,\n CacheControl: cacheControl,\n });\n uploaded++;\n }\n\n // Delete files that no longer exist locally\n const keysToDelete = [...existingObjects.keys()].filter(k => !localFiles.has(k));\n let deleted = 0;\n\n if (keysToDelete.length > 0) {\n // Batch delete, up to 1000 at a time\n for (let i = 0; i < keysToDelete.length; i += 1000) {\n const batch = keysToDelete.slice(i, i + 1000);\n yield* s3.make(\"delete_objects\", {\n Bucket: bucketName,\n Delete: {\n Objects: batch.map(Key => ({ Key })),\n Quiet: true,\n },\n });\n deleted += batch.length;\n }\n }\n\n yield* Effect.logDebug(`S3 sync: ${uploaded} uploaded, ${deleted} deleted, ${unchanged} unchanged`);\n return { uploaded, deleted, unchanged } satisfies SyncFilesResult;\n });\n\nexport const putBucketPolicyForOAC = (bucketName: string, distributionArn: string) =>\n Effect.gen(function* () {\n const policy = JSON.stringify({\n Version: \"2012-10-17\",\n Statement: [\n {\n Sid: \"AllowCloudFrontServicePrincipalReadOnly\",\n Effect: \"Allow\",\n Principal: { Service: \"cloudfront.amazonaws.com\" },\n Action: \"s3:GetObject\",\n Resource: `arn:aws:s3:::${bucketName}/*`,\n Condition: {\n StringEquals: {\n \"AWS:SourceArn\": distributionArn,\n },\n },\n },\n ],\n });\n\n yield* s3.make(\"put_bucket_policy\", {\n Bucket: bucketName,\n Policy: policy,\n });\n });\n\nexport const emptyBucket = (bucketName: string) =>\n Effect.gen(function* () {\n let continuationToken: string | undefined;\n\n do {\n const result = yield* s3.make(\"list_objects_v2\", {\n Bucket: bucketName,\n ContinuationToken: continuationToken,\n });\n\n const objects = result.Contents ?? [];\n if (objects.length > 0) {\n yield* s3.make(\"delete_objects\", {\n Bucket: bucketName,\n Delete: {\n Objects: objects.map(o => ({ Key: o.Key! })),\n Quiet: true,\n },\n });\n }\n\n continuationToken = result.IsTruncated ? result.NextContinuationToken : undefined;\n } while (continuationToken);\n });\n\nexport const deleteBucket = (bucketName: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting S3 bucket: ${bucketName}`);\n\n yield* emptyBucket(bucketName).pipe(\n Effect.catchIf(\n e => e._tag === \"S3Error\" && e.is(\"NoSuchBucket\"),\n () => Effect.logDebug(`Bucket ${bucketName} not found, skipping`)\n )\n );\n\n yield* s3.make(\"delete_bucket\", { Bucket: bucketName }).pipe(\n Effect.catchIf(\n e => e._tag === \"S3Error\" && e.is(\"NoSuchBucket\"),\n () => Effect.logDebug(`Bucket ${bucketName} not found, skipping`)\n )\n );\n });\n","import { Effect, Schedule } from \"effect\";\nimport { cloudfront } from \"./clients\";\nimport { toAwsTagList, getResourcesByTags } from \"./tags\";\n\n// AWS managed CachingOptimized policy\nconst CACHING_OPTIMIZED_POLICY_ID = \"658327ea-f89d-4fab-a63d-7e88639e58f6\";\n\nexport type EnsureOACInput = {\n name: string;\n};\n\nexport const ensureOAC = (input: EnsureOACInput) =>\n Effect.gen(function* () {\n const { name } = input;\n\n // Check if OAC already exists\n const result = yield* cloudfront.make(\"list_origin_access_controls\", {});\n const existing = result.OriginAccessControlList?.Items?.find(\n oac => oac.Name === name\n );\n\n if (existing) {\n yield* Effect.logDebug(`OAC ${name} already exists: ${existing.Id}`);\n return { oacId: existing.Id! };\n }\n\n yield* Effect.logDebug(`Creating Origin Access Control: ${name}`);\n const createResult = yield* cloudfront.make(\"create_origin_access_control\", {\n OriginAccessControlConfig: {\n Name: name,\n Description: `OAC for effortless-aws: ${name}`,\n SigningProtocol: \"sigv4\",\n SigningBehavior: \"always\",\n OriginAccessControlOriginType: \"s3\",\n },\n });\n\n return { oacId: createResult.OriginAccessControl!.Id! };\n });\n\n// CloudFront Function that rewrites /path/ → /path/index.html for static sites\nconst URL_REWRITE_FUNCTION_CODE = `\\\nfunction handler(event) {\n var request = event.request;\n var uri = request.uri;\n if (uri.endsWith('/')) {\n request.uri += 'index.html';\n } else if (!uri.includes('.')) {\n request.uri += '/index.html';\n }\n return request;\n}`;\n\nexport const ensureUrlRewriteFunction = (name: string) =>\n Effect.gen(function* () {\n // Check if function already exists\n const list = yield* cloudfront.make(\"list_functions\", {});\n const existing = list.FunctionList?.Items?.find(f => f.Name === name);\n\n if (existing) {\n yield* Effect.logDebug(`CloudFront Function ${name} already exists`);\n return { functionArn: existing.FunctionMetadata!.FunctionARN! };\n }\n\n yield* Effect.logDebug(`Creating CloudFront Function: ${name}`);\n const result = yield* cloudfront.make(\"create_function\", {\n Name: name,\n FunctionConfig: {\n Comment: \"URL rewrite: append index.html for directory paths\",\n Runtime: \"cloudfront-js-2.0\",\n },\n FunctionCode: new TextEncoder().encode(URL_REWRITE_FUNCTION_CODE),\n });\n\n const etag = result.ETag!;\n\n // Publish the function to make it available for association\n yield* cloudfront.make(\"publish_function\", {\n Name: name,\n IfMatch: etag,\n });\n\n return { functionArn: result.FunctionSummary!.FunctionMetadata!.FunctionARN! };\n });\n\nexport type EnsureDistributionInput = {\n project: string;\n stage: string;\n handlerName: string;\n bucketName: string;\n bucketRegion: string;\n oacId: string;\n spa: boolean;\n index: string;\n tags: Record<string, string>;\n urlRewriteFunctionArn?: string;\n};\n\nexport type DistributionResult = {\n distributionId: string;\n distributionArn: string;\n domainName: string;\n};\n\nconst makeDistComment = (project: string, stage: string, handlerName: string) =>\n `effortless: ${project}/${stage}/${handlerName}`;\n\nexport const ensureDistribution = (input: EnsureDistributionInput) =>\n Effect.gen(function* () {\n const { project, stage, handlerName, bucketName, bucketRegion, oacId, spa, index, tags, urlRewriteFunctionArn } = input;\n const functionAssociations = urlRewriteFunctionArn\n ? { Quantity: 1, Items: [{ FunctionARN: urlRewriteFunctionArn, EventType: \"viewer-request\" as const }] }\n : { Quantity: 0, Items: [] };\n const comment = makeDistComment(project, stage, handlerName);\n const originId = `S3-${bucketName}`;\n const originDomain = `${bucketName}.s3.${bucketRegion}.amazonaws.com`;\n\n const customErrorResponses = spa\n ? {\n Quantity: 2,\n Items: [\n {\n ErrorCode: 403,\n ResponseCode: \"200\",\n ResponsePagePath: `/${index}`,\n ErrorCachingMinTTL: 0,\n },\n {\n ErrorCode: 404,\n ResponseCode: \"200\",\n ResponsePagePath: `/${index}`,\n ErrorCachingMinTTL: 0,\n },\n ],\n }\n : { Quantity: 0, Items: [] };\n\n // Find existing distribution by tags\n const existing = yield* findDistributionByTags(project, stage, handlerName);\n\n if (existing) {\n // Get current config to check if update is needed\n const configResult = yield* cloudfront.make(\"get_distribution_config\", {\n Id: existing.Id,\n });\n const currentConfig = configResult.DistributionConfig!;\n\n const distResult = yield* cloudfront.make(\"get_distribution\", { Id: existing.Id });\n const distributionArn = distResult.Distribution!.ARN!;\n\n // Check if distribution config needs updating\n const currentOrigin = currentConfig.Origins?.Items?.[0];\n const needsUpdate =\n currentOrigin?.DomainName !== originDomain ||\n currentOrigin?.OriginAccessControlId !== oacId ||\n currentConfig.DefaultRootObject !== index ||\n currentConfig.DefaultCacheBehavior?.CachePolicyId !== CACHING_OPTIMIZED_POLICY_ID ||\n (currentConfig.CustomErrorResponses?.Quantity ?? 0) !== customErrorResponses.Quantity ||\n (currentConfig.DefaultCacheBehavior?.FunctionAssociations?.Quantity ?? 0) !== functionAssociations.Quantity;\n\n if (needsUpdate) {\n yield* Effect.logDebug(`CloudFront distribution ${existing.Id} config changed, updating...`);\n const etag = configResult.ETag!;\n\n yield* cloudfront.make(\"update_distribution\", {\n Id: existing.Id,\n IfMatch: etag,\n DistributionConfig: {\n ...currentConfig,\n Comment: comment,\n Origins: {\n Quantity: 1,\n Items: [\n {\n Id: originId,\n DomainName: originDomain,\n OriginAccessControlId: oacId,\n S3OriginConfig: { OriginAccessIdentity: \"\" },\n CustomHeaders: { Quantity: 0, Items: [] },\n },\n ],\n },\n DefaultCacheBehavior: {\n ...currentConfig.DefaultCacheBehavior,\n TargetOriginId: originId,\n ViewerProtocolPolicy: \"redirect-to-https\",\n AllowedMethods: {\n Quantity: 2,\n Items: [\"GET\", \"HEAD\"],\n CachedMethods: { Quantity: 2, Items: [\"GET\", \"HEAD\"] },\n },\n Compress: true,\n CachePolicyId: CACHING_OPTIMIZED_POLICY_ID,\n FunctionAssociations: functionAssociations,\n ForwardedValues: undefined,\n },\n DefaultRootObject: index,\n CustomErrorResponses: customErrorResponses,\n Enabled: true,\n },\n });\n\n yield* cloudfront.make(\"tag_resource\", {\n Resource: distributionArn,\n Tags: { Items: toAwsTagList(tags) },\n });\n } else {\n yield* Effect.logDebug(`CloudFront distribution ${existing.Id} is up to date, skipping update`);\n }\n\n return {\n distributionId: existing.Id!,\n distributionArn,\n domainName: existing.DomainName!,\n } satisfies DistributionResult;\n }\n\n // Create new distribution\n yield* Effect.logDebug(\"Creating CloudFront distribution (first deploy may take 5-15 minutes)...\");\n\n const createResult = yield* cloudfront.make(\"create_distribution_with_tags\", {\n DistributionConfigWithTags: {\n DistributionConfig: {\n CallerReference: `${project}-${stage}-${handlerName}-${Date.now()}`,\n Comment: comment,\n Origins: {\n Quantity: 1,\n Items: [\n {\n Id: originId,\n DomainName: originDomain,\n OriginAccessControlId: oacId,\n S3OriginConfig: { OriginAccessIdentity: \"\" },\n },\n ],\n },\n DefaultCacheBehavior: {\n TargetOriginId: originId,\n ViewerProtocolPolicy: \"redirect-to-https\",\n AllowedMethods: {\n Quantity: 2,\n Items: [\"GET\", \"HEAD\"],\n CachedMethods: { Quantity: 2, Items: [\"GET\", \"HEAD\"] },\n },\n Compress: true,\n CachePolicyId: CACHING_OPTIMIZED_POLICY_ID,\n FunctionAssociations: functionAssociations,\n },\n DefaultRootObject: index,\n Enabled: true,\n CustomErrorResponses: customErrorResponses,\n PriceClass: \"PriceClass_All\",\n HttpVersion: \"http2and3\",\n },\n Tags: { Items: toAwsTagList(tags) },\n },\n });\n\n const dist = createResult.Distribution!;\n return {\n distributionId: dist.Id!,\n distributionArn: dist.ARN!,\n domainName: dist.DomainName!,\n } satisfies DistributionResult;\n });\n\nconst findDistributionByTags = (project: string, stage: string, handlerName: string) =>\n Effect.gen(function* () {\n const resources = yield* getResourcesByTags(project, stage);\n const dist = resources.find(r => {\n const isDistribution = r.ResourceARN?.includes(\":distribution/\");\n const handlerTag = r.Tags?.find(t => t.Key === \"effortless:handler\");\n return isDistribution && handlerTag?.Value === handlerName;\n });\n\n if (!dist?.ResourceARN) return undefined;\n\n const distributionId = dist.ResourceARN.split(\"/\").pop()!;\n const result = yield* cloudfront.make(\"get_distribution\", { Id: distributionId });\n return {\n Id: distributionId,\n DomainName: result.Distribution!.DomainName!,\n };\n });\n\nexport const invalidateDistribution = (distributionId: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Invalidating CloudFront distribution: ${distributionId}`);\n\n yield* cloudfront.make(\"create_invalidation\", {\n DistributionId: distributionId,\n InvalidationBatch: {\n CallerReference: Date.now().toString(),\n Paths: {\n Quantity: 1,\n Items: [\"/*\"],\n },\n },\n });\n });\n\nexport const disableAndDeleteDistribution = (distributionId: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Disabling CloudFront distribution: ${distributionId}`);\n\n // Get current config\n const configResult = yield* cloudfront.make(\"get_distribution_config\", {\n Id: distributionId,\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"CloudFrontError\" && e.is(\"NoSuchDistribution\"),\n () => Effect.succeed(undefined)\n )\n );\n\n if (!configResult) {\n yield* Effect.logDebug(`Distribution ${distributionId} not found, skipping`);\n return;\n }\n\n const currentConfig = configResult.DistributionConfig!;\n\n // Disable if enabled\n if (currentConfig.Enabled) {\n const disableResult = yield* cloudfront.make(\"update_distribution\", {\n Id: distributionId,\n IfMatch: configResult.ETag!,\n DistributionConfig: {\n ...currentConfig,\n Enabled: false,\n },\n });\n\n // Wait for distribution to be deployed (disabled)\n yield* waitForDistributionDeployed(distributionId);\n\n // Delete with the new ETag\n yield* cloudfront.make(\"delete_distribution\", {\n Id: distributionId,\n IfMatch: disableResult.ETag!,\n });\n } else {\n // Already disabled, just delete\n yield* cloudfront.make(\"delete_distribution\", {\n Id: distributionId,\n IfMatch: configResult.ETag!,\n });\n }\n\n yield* Effect.logDebug(`Deleted CloudFront distribution: ${distributionId}`);\n });\n\nconst waitForDistributionDeployed = (distributionId: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Waiting for distribution ${distributionId} to deploy (this may take several minutes)...`);\n\n yield* Effect.retry(\n cloudfront.make(\"get_distribution\", { Id: distributionId }).pipe(\n Effect.flatMap(r => {\n const status = r.Distribution?.Status;\n if (status === \"Deployed\") {\n return Effect.succeed(r);\n }\n return Effect.fail(new Error(`Distribution status: ${status}`));\n })\n ),\n {\n times: 45,\n schedule: Schedule.spaced(\"10 seconds\"),\n }\n );\n });\n\nexport const deleteOAC = (oacId: string) =>\n Effect.gen(function* () {\n yield* Effect.logDebug(`Deleting Origin Access Control: ${oacId}`);\n\n // Get ETag first\n const result = yield* cloudfront.make(\"list_origin_access_controls\", {});\n const oac = result.OriginAccessControlList?.Items?.find(o => o.Id === oacId);\n\n if (!oac) {\n yield* Effect.logDebug(`OAC ${oacId} not found, skipping`);\n return;\n }\n\n // Need to get the full OAC to get ETag\n // OAC deletion requires going through get_origin_access_control first\n // but we don't have that command easily. Use the list to check existence,\n // and try delete directly — CloudFront will error if in use.\n yield* cloudfront.make(\"delete_origin_access_control\", {\n Id: oacId,\n IfMatch: \"*\", // Not ideal but works for cleanup\n }).pipe(\n Effect.catchIf(\n e => e._tag === \"CloudFrontError\",\n (e) => Effect.logDebug(`Could not delete OAC ${oacId}: ${e.cause.message}`)\n )\n );\n });\n","import { Effect } from \"effect\";\nimport { sqs, lambda } from \"./clients\";\nimport { toAwsTagList } from \"./tags\";\n\nexport type EnsureFifoQueueInput = {\n name: string;\n visibilityTimeout?: number;\n retentionPeriod?: number;\n contentBasedDeduplication?: boolean;\n tags?: Record<string, string>;\n};\n\nexport type EnsureFifoQueueResult = {\n queueUrl: string;\n queueArn: string;\n};\n\nexport const ensureFifoQueue = (input: EnsureFifoQueueInput) =>\n Effect.gen(function* () {\n const {\n name,\n visibilityTimeout = 30,\n retentionPeriod = 345600,\n contentBasedDeduplication = true,\n tags\n } = input;\n\n const queueName = `${name}.fifo`;\n\n // Check if queue already exists\n const existingUrl = yield* sqs.make(\"get_queue_url\", {\n QueueName: queueName,\n }).pipe(\n Effect.map(result => result.QueueUrl),\n Effect.catchIf(\n (error) => error instanceof sqs.SQSError && error.cause.name === \"QueueDoesNotExist\",\n () => Effect.succeed(undefined)\n )\n );\n\n let queueUrl: string;\n\n if (!existingUrl) {\n yield* Effect.logDebug(`Creating FIFO queue ${queueName}...`);\n const result = yield* sqs.make(\"create_queue\", {\n QueueName: queueName,\n Attributes: {\n FifoQueue: \"true\",\n ContentBasedDeduplication: String(contentBasedDeduplication),\n VisibilityTimeout: String(visibilityTimeout),\n MessageRetentionPeriod: String(retentionPeriod),\n },\n ...(tags ? { tags } : {}),\n });\n queueUrl = result.QueueUrl!;\n } else {\n yield* Effect.logDebug(`FIFO queue ${queueName} already exists`);\n queueUrl = existingUrl;\n\n // Update attributes if needed\n yield* sqs.make(\"set_queue_attributes\", {\n QueueUrl: queueUrl,\n Attributes: {\n ContentBasedDeduplication: String(contentBasedDeduplication),\n VisibilityTimeout: String(visibilityTimeout),\n MessageRetentionPeriod: String(retentionPeriod),\n },\n });\n\n // Sync tags\n if (tags) {\n yield* sqs.make(\"tag_queue\", {\n QueueUrl: queueUrl,\n Tags: tags,\n });\n }\n }\n\n // Get queue ARN\n const attrs = yield* sqs.make(\"get_queue_attributes\", {\n QueueUrl: queueUrl,\n AttributeNames: [\"QueueArn\"],\n });\n const queueArn = attrs.Attributes?.QueueArn;\n if (!queueArn) {\n return yield* Effect.fail(new Error(`Could not resolve ARN for queue ${queueName}`));\n }\n\n return { queueUrl, queueArn } satisfies EnsureFifoQueueResult;\n });\n\nexport type EnsureSqsEventSourceMappingInput = {\n functionArn: string;\n queueArn: string;\n batchSize?: number;\n batchWindow?: number;\n};\n\nexport const ensureSqsEventSourceMapping = (input: EnsureSqsEventSourceMappingInput) =>\n Effect.gen(function* () {\n const { functionArn, queueArn, batchSize = 10, batchWindow } = input;\n\n const existingMappings = yield* lambda.make(\"list_event_source_mappings\", {\n FunctionName: functionArn,\n EventSourceArn: queueArn,\n });\n\n const existing = existingMappings.EventSourceMappings?.[0];\n\n if (existing) {\n yield* Effect.logDebug(\"Updating SQS event source mapping...\");\n yield* lambda.make(\"update_event_source_mapping\", {\n UUID: existing.UUID!,\n FunctionName: functionArn,\n BatchSize: batchSize,\n ...(batchWindow !== undefined ? { MaximumBatchingWindowInSeconds: batchWindow } : {}),\n FunctionResponseTypes: [\"ReportBatchItemFailures\"],\n Enabled: true,\n });\n return existing.UUID!;\n }\n\n yield* Effect.logDebug(\"Creating SQS event source mapping...\");\n const result = yield* lambda.make(\"create_event_source_mapping\", {\n FunctionName: functionArn,\n EventSourceArn: queueArn,\n BatchSize: batchSize,\n ...(batchWindow !== undefined ? { MaximumBatchingWindowInSeconds: batchWindow } : {}),\n FunctionResponseTypes: [\"ReportBatchItemFailures\"],\n Enabled: true,\n });\n\n return result.UUID!;\n });\n\nexport const deleteFifoQueue = (queueName: string) =>\n Effect.gen(function* () {\n const name = queueName.endsWith(\".fifo\") ? queueName : `${queueName}.fifo`;\n\n yield* Effect.logDebug(`Deleting SQS queue: ${name}`);\n\n const urlResult = yield* sqs.make(\"get_queue_url\", {\n QueueName: name,\n }).pipe(\n Effect.catchIf(\n (error) => error instanceof sqs.SQSError && error.cause.name === \"QueueDoesNotExist\",\n () => {\n Effect.logDebug(`Queue ${name} not found, skipping`);\n return Effect.succeed(undefined);\n }\n )\n );\n\n if (urlResult?.QueueUrl) {\n yield* sqs.make(\"delete_queue\", {\n QueueUrl: urlResult.QueueUrl,\n });\n }\n });\n","// Lambda\nexport { ensureLambda, deleteLambda } from \"./lambda\";\nexport type { LambdaConfig, LambdaStatus } from \"./lambda\";\n\n// IAM\nexport { ensureRole, deleteRole, listEffortlessRoles } from \"./iam\";\nexport type { EffortlessRole } from \"./iam\";\n\n// DynamoDB\nexport { ensureTable, deleteTable, ensureEventSourceMapping } from \"./dynamodb\";\nexport type { EnsureTableInput, EnsureTableResult, EnsureEventSourceMappingInput, KeyType, StreamView } from \"./dynamodb\";\n\n// API Gateway\nexport { ensureProjectApi, addRouteToApi, removeStaleRoutes, deleteApi } from \"./apigateway\";\nexport type { ProjectApiConfig, RouteConfig, HttpMethod } from \"./apigateway\";\n\n// Layer\nexport { ensureLayer, readProductionDependencies, computeLockfileHash, collectLayerPackages, listLayerVersions, deleteAllLayerVersions, deleteLayerVersion } from \"./layer\";\nexport type { LayerConfig, LayerResult, LayerStatus, LayerVersionInfo } from \"./layer\";\n\n// S3\nexport { ensureBucket, syncFiles, putBucketPolicyForOAC, emptyBucket, deleteBucket } from \"./s3\";\nexport type { EnsureBucketInput, SyncFilesInput, SyncFilesResult } from \"./s3\";\n\n// CloudFront\nexport { ensureOAC, ensureUrlRewriteFunction, ensureDistribution, invalidateDistribution, disableAndDeleteDistribution, deleteOAC } from \"./cloudfront\";\nexport type { EnsureOACInput, EnsureDistributionInput, DistributionResult } from \"./cloudfront\";\n\n// SQS\nexport { ensureFifoQueue, ensureSqsEventSourceMapping, deleteFifoQueue } from \"./sqs\";\nexport type { EnsureFifoQueueInput, EnsureFifoQueueResult, EnsureSqsEventSourceMappingInput } from \"./sqs\";\n\n// Tags\nexport { makeTags, toAwsTagList, resolveStage, getResourcesByTags, getAllResourcesByTags, findOrphanedResources, groupResourcesByHandler } from \"./tags\";\nexport type { ResourceType, TagContext } from \"./tags\";\n\n// Clients\nexport * as Aws from \"./clients/index\";\n\n// Re-export useful utilities from AWS SDK\nexport { unmarshall, marshall } from \"@aws-sdk/util-dynamodb\";\nexport type { ResourceTagMapping } from \"@aws-sdk/client-resource-groups-tagging-api\";\n","import { Effect } from \"effect\";\nimport * as esbuild from \"esbuild\";\nimport * as fsSync from \"fs\";\nimport * as path from \"path\";\nimport { fileURLToPath } from \"url\";\nimport archiver from \"archiver\";\nimport { globSync } from \"glob\";\nimport { generateEntryPoint, extractHandlerConfigs, type HandlerType, type ExtractedConfig } from \"./handler-registry\";\nimport type { HttpConfig } from \"~/handlers/define-http\";\nimport type { TableConfig } from \"~/handlers/define-table\";\nimport type { AppConfig } from \"~/handlers/define-app\";\nimport type { StaticSiteConfig } from \"~/handlers/define-static-site\";\nimport type { FifoQueueConfig } from \"~/handlers/define-fifo-queue\";\n\nexport type BundleInput = {\n projectDir: string;\n format?: \"esm\" | \"cjs\";\n file: string;\n};\n\n// ============ Config extraction (uses registry) ============\n\nexport type ExtractedFunction = ExtractedConfig<HttpConfig>;\nexport type ExtractedTableFunction = ExtractedConfig<TableConfig>;\nexport type ExtractedAppFunction = ExtractedConfig<AppConfig>;\nexport type ExtractedStaticSiteFunction = ExtractedConfig<StaticSiteConfig>;\n\nexport const extractConfigs = (source: string): ExtractedFunction[] =>\n extractHandlerConfigs<HttpConfig>(source, \"http\");\n\nexport const extractTableConfigs = (source: string): ExtractedTableFunction[] =>\n extractHandlerConfigs<TableConfig>(source, \"table\");\n\nexport const extractAppConfigs = (source: string): ExtractedAppFunction[] =>\n extractHandlerConfigs<AppConfig>(source, \"app\");\n\nexport const extractStaticSiteConfigs = (source: string): ExtractedStaticSiteFunction[] =>\n extractHandlerConfigs<StaticSiteConfig>(source, \"staticSite\");\n\nexport type ExtractedFifoQueueFunction = ExtractedConfig<FifoQueueConfig>;\n\nexport const extractFifoQueueConfigs = (source: string): ExtractedFifoQueueFunction[] =>\n extractHandlerConfigs<FifoQueueConfig>(source, \"fifoQueue\");\n\nexport const extractConfig = (source: string): HttpConfig | null => {\n const configs = extractConfigs(source);\n return configs.length > 0 ? configs[0]?.config ?? null : null;\n};\n\n// ============ Bundle (uses registry) ============\n\nconst runtimeDir = path.resolve(path.dirname(fileURLToPath(import.meta.url)), \"../../dist/runtime\");\n\nexport const bundle = (input: BundleInput & { exportName?: string; external?: string[]; type?: HandlerType }) =>\n Effect.gen(function* () {\n const exportName = input.exportName ?? \"default\";\n const type = input.type ?? \"http\";\n const externals = input.external ?? [];\n\n // Get source path for import statement\n const sourcePath = path.isAbsolute(input.file) ? input.file : `./${input.file}`;\n\n const entryPoint = generateEntryPoint(sourcePath, exportName, type, runtimeDir);\n\n // AWS SDK v3 is available in the Lambda Node.js runtime — never bundle it\n const awsExternals = [\"@aws-sdk/*\", \"@smithy/*\"];\n const allExternals = [...new Set([...awsExternals, ...externals])];\n\n const result = yield* Effect.tryPromise({\n try: () => esbuild.build({\n stdin: {\n contents: entryPoint,\n loader: \"ts\",\n resolveDir: input.projectDir\n },\n bundle: true,\n platform: \"node\",\n target: \"node22\",\n write: false,\n minify: false,\n sourcemap: false,\n format: input.format ?? \"esm\",\n external: allExternals\n }),\n catch: (error) => new Error(`esbuild failed: ${error}`)\n });\n\n const output = result.outputFiles?.[0];\n if (!output) {\n throw new Error(\"esbuild produced no output\");\n }\n return output.text;\n });\n\nexport type StaticFile = {\n content: Buffer;\n zipPath: string;\n};\n\nexport type ZipInput = {\n content: string;\n filename?: string;\n staticFiles?: StaticFile[];\n};\n\n// Fixed date for deterministic zip (same content = same hash)\nconst FIXED_DATE = new Date(0);\n\nexport const zip = (input: ZipInput) =>\n Effect.async<Buffer, Error>((resume) => {\n const chunks: Buffer[] = [];\n const archive = archiver(\"zip\", { zlib: { level: 9 } });\n\n archive.on(\"data\", (chunk: Buffer) => chunks.push(chunk));\n archive.on(\"end\", () => resume(Effect.succeed(Buffer.concat(chunks))));\n archive.on(\"error\", (err) => resume(Effect.fail(err)));\n\n archive.append(input.content, { name: input.filename ?? \"index.mjs\", date: FIXED_DATE });\n if (input.staticFiles) {\n for (const file of input.staticFiles) {\n archive.append(file.content, { name: file.zipPath, date: FIXED_DATE });\n }\n }\n archive.finalize();\n });\n\n// ============ Static file resolution ============\n\nexport const resolveStaticFiles = (globs: string[], projectDir: string): StaticFile[] => {\n const files: StaticFile[] = [];\n for (const pattern of globs) {\n const matches = globSync(pattern, { cwd: projectDir, nodir: true });\n for (const match of matches) {\n const absPath = path.join(projectDir, match);\n files.push({\n content: fsSync.readFileSync(absPath),\n zipPath: match\n });\n }\n }\n return files;\n};\n\n// ============ File discovery ============\n\nexport const findHandlerFiles = (patterns: string[], cwd: string): string[] => {\n const files = new Set<string>();\n for (const pattern of patterns) {\n const matches = globSync(pattern, { cwd, absolute: true });\n matches.forEach(f => files.add(f));\n }\n return Array.from(files);\n};\n\nexport type DiscoveredHandlers = {\n httpHandlers: { file: string; exports: ExtractedFunction[] }[];\n tableHandlers: { file: string; exports: ExtractedTableFunction[] }[];\n appHandlers: { file: string; exports: ExtractedAppFunction[] }[];\n staticSiteHandlers: { file: string; exports: ExtractedStaticSiteFunction[] }[];\n fifoQueueHandlers: { file: string; exports: ExtractedFifoQueueFunction[] }[];\n};\n\nexport const discoverHandlers = (files: string[]): DiscoveredHandlers => {\n const httpHandlers: { file: string; exports: ExtractedFunction[] }[] = [];\n const tableHandlers: { file: string; exports: ExtractedTableFunction[] }[] = [];\n const appHandlers: { file: string; exports: ExtractedAppFunction[] }[] = [];\n const staticSiteHandlers: { file: string; exports: ExtractedStaticSiteFunction[] }[] = [];\n const fifoQueueHandlers: { file: string; exports: ExtractedFifoQueueFunction[] }[] = [];\n\n for (const file of files) {\n // Skip directories\n if (!fsSync.statSync(file).isFile()) continue;\n\n const source = fsSync.readFileSync(file, \"utf-8\");\n const http = extractConfigs(source);\n const table = extractTableConfigs(source);\n const app = extractAppConfigs(source);\n const staticSite = extractStaticSiteConfigs(source);\n const fifoQueue = extractFifoQueueConfigs(source);\n\n if (http.length > 0) httpHandlers.push({ file, exports: http });\n if (table.length > 0) tableHandlers.push({ file, exports: table });\n if (app.length > 0) appHandlers.push({ file, exports: app });\n if (staticSite.length > 0) staticSiteHandlers.push({ file, exports: staticSite });\n if (fifoQueue.length > 0) fifoQueueHandlers.push({ file, exports: fifoQueue });\n }\n\n return { httpHandlers, tableHandlers, appHandlers, staticSiteHandlers, fifoQueueHandlers };\n};\n","import { Project, SyntaxKind, type ObjectLiteralExpression, type PropertyAssignment, type CallExpression, type ArrayLiteralExpression } from \"ts-morph\";\n\n// ============ Shared utilities ============\n\nconst parseSource = (source: string) => {\n const project = new Project({ useInMemoryFileSystem: true });\n return project.createSourceFile(\"input.ts\", source);\n};\n\nconst RUNTIME_PROPS = [\"onRequest\", \"onRecord\", \"onBatchComplete\", \"onBatch\", \"onMessage\", \"context\", \"schema\", \"onError\", \"deps\", \"params\", \"static\"];\n\nconst buildConfigWithoutRuntime = (obj: ObjectLiteralExpression): string => {\n const props = obj.getProperties()\n .filter(p => {\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n const propAssign = p as PropertyAssignment;\n return !RUNTIME_PROPS.includes(propAssign.getName());\n }\n return true;\n })\n .map(p => p.getText())\n .join(\", \");\n return `{ ${props} }`;\n};\n\nconst extractPropertyFromObject = (obj: ObjectLiteralExpression, propName: string): string | undefined => {\n const prop = obj.getProperties().find(p => {\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n return (p as PropertyAssignment).getName() === propName;\n }\n return false;\n });\n\n if (prop && prop.getKind() === SyntaxKind.PropertyAssignment) {\n const propAssign = prop as PropertyAssignment;\n return propAssign.getInitializer()?.getText();\n }\n return undefined;\n};\n\n/**\n * Extract dependency key names from the deps property of a handler config.\n * Handles: deps: { orders, users } (ShorthandPropertyAssignment)\n * And: deps: { orders: orders } (PropertyAssignment)\n */\nconst extractDepsKeys = (obj: ObjectLiteralExpression): string[] => {\n const depsProp = obj.getProperties().find(p => {\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n return (p as PropertyAssignment).getName() === \"deps\";\n }\n return false;\n });\n\n if (!depsProp || depsProp.getKind() !== SyntaxKind.PropertyAssignment) return [];\n\n const init = (depsProp as PropertyAssignment).getInitializer();\n if (!init || init.getKind() !== SyntaxKind.ObjectLiteralExpression) return [];\n\n const depsObj = init as ObjectLiteralExpression;\n return depsObj.getProperties()\n .map(p => {\n if (p.getKind() === SyntaxKind.ShorthandPropertyAssignment) {\n return p.asKindOrThrow(SyntaxKind.ShorthandPropertyAssignment).getName();\n }\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n return (p as PropertyAssignment).getName();\n }\n return \"\";\n })\n .filter(Boolean);\n};\n\n/**\n * Extract param entries from the params property of a handler config.\n * Reads: params: { dbUrl: param(\"database-url\"), config: param(\"app-config\", TOML.parse) }\n * Returns: [{ propName: \"dbUrl\", ssmKey: \"database-url\" }, { propName: \"config\", ssmKey: \"app-config\" }]\n */\nexport type ParamEntry = { propName: string; ssmKey: string };\n\nconst extractParamEntries = (obj: ObjectLiteralExpression): ParamEntry[] => {\n const paramsProp = obj.getProperties().find(p => {\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n return (p as PropertyAssignment).getName() === \"params\";\n }\n return false;\n });\n\n if (!paramsProp || paramsProp.getKind() !== SyntaxKind.PropertyAssignment) return [];\n\n const init = (paramsProp as PropertyAssignment).getInitializer();\n if (!init || init.getKind() !== SyntaxKind.ObjectLiteralExpression) return [];\n\n const paramsObj = init as ObjectLiteralExpression;\n const entries: ParamEntry[] = [];\n\n for (const p of paramsObj.getProperties()) {\n if (p.getKind() !== SyntaxKind.PropertyAssignment) continue;\n\n const propAssign = p as PropertyAssignment;\n const propName = propAssign.getName();\n const propInit = propAssign.getInitializer();\n\n // Expect: param(\"some-key\") or param(\"some-key\", transform)\n if (!propInit || propInit.getKind() !== SyntaxKind.CallExpression) continue;\n\n const callExpr = propInit as CallExpression;\n const callArgs = callExpr.getArguments();\n if (callArgs.length === 0) continue;\n\n const firstArg = callArgs[0]!;\n // Extract string literal value\n if (firstArg.getKind() === SyntaxKind.StringLiteral) {\n const ssmKey = firstArg.asKindOrThrow(SyntaxKind.StringLiteral).getLiteralValue();\n entries.push({ propName, ssmKey });\n }\n }\n\n return entries;\n};\n\n/**\n * Extract static file glob patterns from the static property of a handler config.\n * Reads: static: [\"src/templates/*.ejs\", \"src/assets/*.css\"]\n * Returns: [\"src/templates/*.ejs\", \"src/assets/*.css\"]\n */\nconst extractStaticGlobs = (obj: ObjectLiteralExpression): string[] => {\n const staticProp = obj.getProperties().find(p => {\n if (p.getKind() === SyntaxKind.PropertyAssignment) {\n return (p as PropertyAssignment).getName() === \"static\";\n }\n return false;\n });\n\n if (!staticProp || staticProp.getKind() !== SyntaxKind.PropertyAssignment) return [];\n\n const init = (staticProp as PropertyAssignment).getInitializer();\n if (!init || init.getKind() !== SyntaxKind.ArrayLiteralExpression) return [];\n\n const arrayLiteral = init as ArrayLiteralExpression;\n return arrayLiteral.getElements()\n .filter(e => e.getKind() === SyntaxKind.StringLiteral)\n .map(e => e.asKindOrThrow(SyntaxKind.StringLiteral).getLiteralValue());\n};\n\n// ============ Handler Registry ============\n\nexport type HandlerDefinition = {\n defineFn: string;\n handlerProps: readonly string[];\n wrapperFn: string;\n};\n\nexport const handlerRegistry = {\n http: {\n defineFn: \"defineHttp\",\n handlerProps: [\"onRequest\"],\n wrapperFn: \"wrapHttp\",\n wrapperPath: \"~/runtime/wrap-http\",\n },\n table: {\n defineFn: \"defineTable\",\n handlerProps: [\"onRecord\", \"onBatch\"],\n wrapperFn: \"wrapTableStream\",\n wrapperPath: \"~/runtime/wrap-table-stream\",\n },\n app: {\n defineFn: \"defineApp\",\n handlerProps: [],\n wrapperFn: \"wrapApp\",\n wrapperPath: \"~/runtime/wrap-app\",\n },\n staticSite: {\n defineFn: \"defineStaticSite\",\n handlerProps: [],\n wrapperFn: \"\",\n wrapperPath: \"\",\n },\n fifoQueue: {\n defineFn: \"defineFifoQueue\",\n handlerProps: [\"onMessage\", \"onBatch\"],\n wrapperFn: \"wrapFifoQueue\",\n wrapperPath: \"~/runtime/wrap-fifo-queue\",\n },\n} as const;\n\nexport type HandlerType = keyof typeof handlerRegistry;\n\n// ============ Config extraction ============\n\nexport type ExtractedConfig<T = unknown> = {\n exportName: string;\n config: T;\n hasHandler: boolean;\n depsKeys: string[];\n paramEntries: ParamEntry[];\n staticGlobs: string[];\n};\n\nexport const extractHandlerConfigs = <T>(source: string, type: HandlerType): ExtractedConfig<T>[] => {\n const { defineFn, handlerProps } = handlerRegistry[type];\n const sourceFile = parseSource(source);\n const results: ExtractedConfig<T>[] = [];\n\n const exportDefault = sourceFile.getExportAssignment(e => !e.isExportEquals());\n if (exportDefault) {\n const expr = exportDefault.getExpression();\n if (expr.getKind() === SyntaxKind.CallExpression) {\n const callExpr = expr.asKindOrThrow(SyntaxKind.CallExpression);\n if (callExpr.getExpression().getText() === defineFn) {\n const args = callExpr.getArguments();\n const firstArg = args[0];\n if (firstArg && firstArg.getKind() === SyntaxKind.ObjectLiteralExpression) {\n const objLiteral = firstArg as ObjectLiteralExpression;\n const configText = buildConfigWithoutRuntime(objLiteral);\n const configObj = new Function(`return ${configText}`)() as T;\n const hasHandler = handlerProps.some(p => extractPropertyFromObject(objLiteral, p) !== undefined);\n const depsKeys = extractDepsKeys(objLiteral);\n const paramEntries = extractParamEntries(objLiteral);\n const staticGlobs = extractStaticGlobs(objLiteral);\n results.push({ exportName: \"default\", config: configObj, hasHandler, depsKeys, paramEntries, staticGlobs });\n }\n }\n }\n }\n\n sourceFile.getVariableStatements().forEach(stmt => {\n if (!stmt.isExported()) return;\n\n stmt.getDeclarations().forEach(decl => {\n const initializer = decl.getInitializer();\n if (!initializer || initializer.getKind() !== SyntaxKind.CallExpression) return;\n\n const callExpr = initializer.asKindOrThrow(SyntaxKind.CallExpression);\n if (callExpr.getExpression().getText() !== defineFn) return;\n\n const args = callExpr.getArguments();\n const firstArg = args[0];\n if (firstArg && firstArg.getKind() === SyntaxKind.ObjectLiteralExpression) {\n const objLiteral = firstArg as ObjectLiteralExpression;\n const configText = buildConfigWithoutRuntime(objLiteral);\n const configObj = new Function(`return ${configText}`)() as T;\n const hasHandler = handlerProps.some(p => extractPropertyFromObject(objLiteral, p) !== undefined);\n const depsKeys = extractDepsKeys(objLiteral);\n const paramEntries = extractParamEntries(objLiteral);\n const staticGlobs = extractStaticGlobs(objLiteral);\n results.push({ exportName: decl.getName(), config: configObj, hasHandler, depsKeys, paramEntries, staticGlobs });\n }\n });\n });\n\n return results;\n};\n\n// ============ Entry point generation ============\n\nexport const generateEntryPoint = (\n sourcePath: string,\n exportName: string,\n type: HandlerType,\n runtimeDir?: string\n): string => {\n const { wrapperFn, wrapperPath } = handlerRegistry[type];\n\n const resolvedWrapperPath = runtimeDir\n ? wrapperPath.replace(\"~/runtime\", runtimeDir)\n : wrapperPath;\n\n const importName = exportName === \"default\" ? \"__handler\" : exportName;\n const importStmt = exportName === \"default\"\n ? `import __handler from \"${sourcePath}\";`\n : `import { ${exportName} } from \"${sourcePath}\";`;\n\n return `${importStmt}\nimport { ${wrapperFn} } from \"${resolvedWrapperPath}\";\nexport const handler = ${wrapperFn}(${importName});\n`;\n};\n"],"mappings":"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","names":["Effect","Effect","Layer","ApiGatewayV2Client","Layer","Effect","Context","Sdk","CloudFrontClient","make","Layer","Effect","Context","Sdk","CloudWatchLogsClient","make","Layer","Effect","Context","Sdk","DynamoDBClient","make","Layer","Effect","Context","Sdk","IAMClient","make","Layer","Effect","Context","Sdk","LambdaClient","make","Layer","Effect","Context","Sdk","ResourceGroupsTaggingAPIClient","make","Layer","Effect","Context","Sdk","S3Client","make","Layer","Effect","Context","Sdk","SQSClient","make","Layer","Effect","Context","Sdk","SSMClient","make","ApiGatewayV2Client","CloudFrontClient","CloudWatchLogsClient","DynamoDBClient","IAMClient","LambdaClient","ResourceGroupsTaggingAPIClient","S3Client","SQSClient","SSMClient","Effect","Effect","Effect","Schedule","Effect","Effect","Architecture","Runtime","Effect","Effect","Schedule","Effect","Effect","archiver"]}
|