diff --git a/.gitignore b/.gitignore
index 1bf2c1e..38a2748 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,5 +48,6 @@ jspm_packages/
!/vitest.workspace.json
.direnv/
docs/
+generated/
!/pnpm-workspace.yaml
!/.projenrc.ts
diff --git a/.projen/deps.json b/.projen/deps.json
index a450faa..f1237c2 100644
--- a/.projen/deps.json
+++ b/.projen/deps.json
@@ -113,6 +113,26 @@
"version": "latest",
"type": "runtime"
},
+ {
+ "name": "@aws-sdk/client-polly",
+ "version": "^3.535.0",
+ "type": "runtime"
+ },
+ {
+ "name": "@aws-sdk/client-s3",
+ "version": "^3.535.0",
+ "type": "runtime"
+ },
+ {
+ "name": "@aws-sdk/polly-request-presigner",
+ "version": "^3.535.0",
+ "type": "runtime"
+ },
+ {
+ "name": "@aws-sdk/s3-request-presigner",
+ "version": "^3.535.0",
+ "type": "runtime"
+ },
{
"name": "aws-cdk-lib",
"type": "runtime"
diff --git a/.projenrc.ts b/.projenrc.ts
index bdbaebc..41e32e2 100644
--- a/.projenrc.ts
+++ b/.projenrc.ts
@@ -32,12 +32,17 @@ new Docgen(project);
new Vitest(project);
project.addScripts({
- "codegen-client": "tsx ./scripts/codegen-client.ts",
+ "codegen-clients": "tsx ./scripts/codegen-clients.ts",
});
-project.addDeps("effect@^2.3.1", "enquirer@^2.4.1");
+project.addDeps(
+ "effect@^2.3.1",
+ "enquirer@^2.4.1",
+ "@aws-sdk/client-s3@^3.535.0",
+ "@aws-sdk/s3-request-presigner@^3.535.0",
+ "@aws-sdk/client-polly@^3.535.0",
+ "@aws-sdk/polly-request-presigner@^3.535.0",
+);
-const commonDeps = ["@aws-sdk/types@^3"];
-const commonDevDeps = ["aws-sdk-client-mock", "aws-sdk-client-mock-jest"];
const commonPeerDeps = ["effect@>=2.3.1 <2.5.0"];
new TypeScriptLibProject({
@@ -52,118 +57,27 @@ new TypeScriptLibProject({
new TypeScriptLibProject({
parent: project,
- name: "client-api-gateway-management-api",
- deps: [...commonDeps, "@aws-sdk/client-apigatewaymanagementapi@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-const dynamodbClient = new TypeScriptLibProject({
- parent: project,
- name: "client-dynamodb",
- deps: [...commonDeps, "@aws-sdk/client-dynamodb@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-const dynamodbLib = new TypeScriptLibProject({
- parent: project,
- name: "lib-dynamodb",
- deps: [
- ...commonDeps,
- "@aws-sdk/client-dynamodb@^3",
- "@aws-sdk/lib-dynamodb@^3",
- ],
- devDeps: commonDevDeps,
- peerDeps: [...commonPeerDeps, dynamodbClient.package.packageName],
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-eventbridge",
- deps: [...commonDeps, "@aws-sdk/client-eventbridge@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-lambda",
- deps: [...commonDeps, "@aws-sdk/client-lambda@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-s3",
- deps: [
- ...commonDeps,
- "@aws-sdk/client-s3@^3",
- "@aws-sdk/s3-request-presigner@^3",
- ],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-sns",
- deps: [...commonDeps, "@aws-sdk/client-sns@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-sqs",
- deps: [...commonDeps, "@aws-sdk/client-sqs@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-sfn",
- deps: [...commonDeps, "@aws-sdk/client-sfn@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-iam",
- deps: [...commonDeps, "@aws-sdk/client-iam@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
-});
-
-new TypeScriptLibProject({
- parent: project,
- name: "client-elasticache",
- deps: [...commonDeps, "@aws-sdk/client-elasticache@^3"],
- devDeps: commonDevDeps,
+ name: "lambda",
+ devDeps: ["@types/aws-lambda"],
peerDeps: commonPeerDeps,
});
new TypeScriptLibProject({
parent: project,
- name: "client-ec2",
- deps: [...commonDeps, "@aws-sdk/client-ec2@^3"],
- devDeps: commonDevDeps,
- peerDeps: commonPeerDeps,
+ name: "s3-request-presigner",
+ devDeps: ["@types/aws-lambda"],
+ peerDeps: [...commonPeerDeps, "@aws-sdk/client-s3", "@aws-sdk/s3-request-presigner"],
});
new TypeScriptLibProject({
parent: project,
- name: "lambda",
+ name: "polly-request-presigner",
devDeps: ["@types/aws-lambda"],
- peerDeps: commonPeerDeps,
+ peerDeps: [...commonPeerDeps, "@aws-sdk/client-polly", "@aws-sdk/polly-request-presigner"],
});
-project.addImplicitDependency(dynamodbLib, dynamodbClient);
-
project.addGitIgnore(".direnv/"); // flake environment creates .direnv folder
project.addGitIgnore("docs/"); // docs are generated
+project.addGitIgnore("generated/"); // clients are generated
project.synth();
diff --git a/README.md b/README.md
index 48d8798..17b4aa4 100644
--- a/README.md
+++ b/README.md
@@ -6,17 +6,11 @@ Effect Docs: https://www.effect.website
# Roadmap
-- [x] PowerTools Logger
-- [x] S3 Client
-- [x] IAM Client
-- [x] DynamoDB Client
-- [x] DynamoDB Document Client (lib-dynamodb)
-- [x] SQS Client
-- [x] SNS Client
-- [x] EventBridge Client
-- [x] Lambda Client
-- [x] Step Functions Client
-- [ ] Other AWS Clients (By Request)
+- [x] All AWS clients are generated and wrapped with Effect, with correctly typed Exceptions and Errors
+- [x] Effect runtime for writing lambda handlers
+- [x] PowerTools based effect logger
+- [x] Effect Presigned S3 Client, for generating presigning s3 commands
+- [x] Effect Presigned Polly Client, for generating presigning polly commands
# Contributing Guidelines
diff --git a/package.json b/package.json
index c16537e..b451844 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"install:ci": "pnpm exec projen install:ci",
"synth-workspace": "pnpm exec projen",
"changeset": "changeset",
- "codegen-client": "tsx ./scripts/codegen-client.ts"
+ "codegen-clients": "tsx ./scripts/codegen-clients.ts"
},
"author": {
"name": "Victor Korzunin",
@@ -57,6 +57,10 @@
},
"dependencies": {
"@aws-cdk/aws-cognito-identitypool-alpha": "latest",
+ "@aws-sdk/client-polly": "^3.535.0",
+ "@aws-sdk/client-s3": "^3.535.0",
+ "@aws-sdk/polly-request-presigner": "^3.535.0",
+ "@aws-sdk/s3-request-presigner": "^3.535.0",
"aws-cdk-lib": "^2.126.0",
"cdk-nag": "^2.28.27",
"effect": "^2.3.1",
@@ -81,20 +85,10 @@
"private": true,
"workspaces": {
"packages": [
- "packages/client-api-gateway-management-api",
- "packages/client-dynamodb",
- "packages/client-ec2",
- "packages/client-elasticache",
- "packages/client-eventbridge",
- "packages/client-iam",
- "packages/client-lambda",
- "packages/client-s3",
- "packages/client-sfn",
- "packages/client-sns",
- "packages/client-sqs",
"packages/lambda",
- "packages/lib-dynamodb",
- "packages/powertools-logger"
+ "packages/polly-request-presigner",
+ "packages/powertools-logger",
+ "packages/s3-request-presigner"
]
},
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"pnpm exec projen\"."
diff --git a/packages/client-api-gateway-management-api/.projen/deps.json b/packages/client-api-gateway-management-api/.projen/deps.json
deleted file mode 100644
index 18613ad..0000000
--- a/packages/client-api-gateway-management-api/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-apigatewaymanagementapi",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-api-gateway-management-api/CHANGELOG.md b/packages/client-api-gateway-management-api/CHANGELOG.md
deleted file mode 100644
index ba49540..0000000
--- a/packages/client-api-gateway-management-api/CHANGELOG.md
+++ /dev/null
@@ -1,79 +0,0 @@
-# @effect-aws/client-api-gateway-management-api
-
-## 1.1.1
-
-### Patch Changes
-
-- [`b2f00db`](https://github.com/floydspace/effect-aws/commit/b2f00db5fdffaa74bcb124324db7313bd4f218df) Thanks [@floydspace](https://github.com/floydspace)! - update effect peer version
-
-## 1.1.0
-
-### Minor Changes
-
-- [`82eaea7`](https://github.com/floydspace/effect-aws/commit/82eaea778048c9ebba98682196448b0aa1586d2e) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect to v2.3 and fix breaking changes
-
-## 1.0.2
-
-### Patch Changes
-
-- [`88676ae`](https://github.com/floydspace/effect-aws/commit/88676ae3a5f7fa514cab58ba83a50a0774be1aa1) Thanks [@floydspace](https://github.com/floydspace)! - use effect@~2.2 as maximum allowed peer version
-
-## 1.0.1
-
-### Patch Changes
-
-- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag
-
-## 1.0.0
-
-### Major Changes
-
-- [`3e5d0b3`](https://github.com/floydspace/effect-aws/commit/3e5d0b3b3882e0aa6d07bc06432990551316ac30) Thanks [@floydspace](https://github.com/floydspace)! - Upgrade to effect v2 and release stable version
-
-## 0.5.0
-
-### Minor Changes
-
-- [`744df3c`](https://github.com/floydspace/effect-aws/commit/744df3ca6406b3a35e3066d5fe11ca7082c4c454) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect dependency
-
-## 0.4.0
-
-### Minor Changes
-
-- [`0a969d8`](https://github.com/floydspace/effect-aws/commit/0a969d8a74c3bf1b87ff6a1c8bf689af849797e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect peer version
-
-## 0.3.2
-
-### Patch Changes
-
-- [`280d8bd`](https://github.com/floydspace/effect-aws/commit/280d8bd6686d6e7a2b73322a047e8eb22263b1e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade dependencies
-
-## 0.3.1
-
-### Patch Changes
-
-- [`6b99904`](https://github.com/floydspace/effect-aws/commit/6b9990497bdb20f240d8261b6382db421e9a3ec2) Thanks [@floydspace](https://github.com/floydspace)! - as @mikearnaldi said: "we should really never do tacit passing"
-
-## 0.3.0
-
-### Minor Changes
-
-- [#14](https://github.com/floydspace/effect-aws/pull/14) [`cddfb74`](https://github.com/floydspace/effect-aws/commit/cddfb74a00b10a13ccfe3749e90961119c4f0906) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect version to the next one
-
-## 0.2.1
-
-### Patch Changes
-
-- [`643a9ba`](https://github.com/floydspace/effect-aws/commit/643a9ba924e5a9513188bbcd942ebc4c9dc3a7bb) Thanks [@floydspace](https://github.com/floydspace)! - return tagged errors in the failure channel
-
-## 0.2.0
-
-### Minor Changes
-
-- [`bd7db85`](https://github.com/floydspace/effect-aws/commit/bd7db853adfd431f83863d51750dd662b9879667) Thanks [@floydspace](https://github.com/floydspace)! - return tagged errors in the failure channel
-
-## 0.1.0
-
-### Minor Changes
-
-- [`073bc7e`](https://github.com/floydspace/effect-aws/commit/073bc7e7e39ffc2927ec4e4ba7eb6579337ed152) Thanks [@floydspace](https://github.com/floydspace)! - implement api-gateway-management-api effectful client
diff --git a/packages/client-api-gateway-management-api/package.json b/packages/client-api-gateway-management-api/package.json
deleted file mode 100644
index d9565b4..0000000
--- a/packages/client-api-gateway-management-api/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "@effect-aws/client-api-gateway-management-api",
- "scripts": {
- "build": "npx projen build",
- "compile": "npx projen compile",
- "default": "npx projen default",
- "eslint": "npx projen eslint",
- "package": "npx projen package",
- "post-compile": "npx projen post-compile",
- "pre-compile": "npx projen pre-compile",
- "test": "npx projen test",
- "test:watch": "npx projen test:watch",
- "watch": "npx projen watch",
- "docgen": "docgen"
- },
- "author": {
- "name": "Victor Korzunin",
- "email": "ifloydrose@gmail.com",
- "organization": false
- },
- "devDependencies": {
- "@types/node": "^18",
- "@typescript-eslint/eslint-plugin": "^6",
- "@typescript-eslint/parser": "^6",
- "aws-sdk-client-mock": "^3.0.0",
- "aws-sdk-client-mock-jest": "^3.0.0",
- "constructs": "^10.0.0",
- "effect": "2.3.1",
- "eslint": "^8",
- "eslint-config-prettier": "^9.0.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-prettier": "^5.0.0",
- "prettier": "^3.0.3",
- "projen": "^0.79.6",
- "typescript": "^5.2.2"
- },
- "peerDependencies": {
- "effect": ">=2.3.1 <2.5.0"
- },
- "dependencies": {
- "@aws-sdk/client-apigatewaymanagementapi": "^3",
- "@aws-sdk/types": "^3"
- },
- "main": "lib/index.js",
- "license": "MIT",
- "homepage": "https://floydspace.github.io/effect-aws",
- "publishConfig": {
- "access": "public"
- },
- "version": "1.1.1",
- "types": "lib/index.d.ts",
- "module": "lib/esm/index.js",
- "sideEffects": [],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-api-gateway-management-api/project.json b/packages/client-api-gateway-management-api/project.json
deleted file mode 100644
index 138deba..0000000
--- a/packages/client-api-gateway-management-api/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "@effect-aws/client-api-gateway-management-api",
- "root": "packages/client-api-gateway-management-api",
- "targets": {
- "default": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen default",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "pre-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen pre-compile",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen compile",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "post-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen post-compile",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "test": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "package": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen package",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "build": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen build",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen watch",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "eslint": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen eslint",
- "cwd": "packages/client-api-gateway-management-api"
- }
- },
- "test:watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test:watch",
- "cwd": "packages/client-api-gateway-management-api"
- }
- }
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstance.ts b/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstance.ts
deleted file mode 100644
index a63fab2..0000000
--- a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstance.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { ApiGatewayManagementApiClient } from "@aws-sdk/client-apigatewaymanagementapi";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- ApiGatewayManagementApiClientInstanceConfig,
- DefaultApiGatewayManagementApiClientConfigLayer,
-} from "./ApiGatewayManagementApiClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class ApiGatewayManagementApiClientInstance extends Context.Tag(
- "@effect-aws/client-api-gateway-management-api/ApiGatewayManagementApiClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeApiGatewayManagementApiClientInstance = Effect.map(
- ApiGatewayManagementApiClientInstanceConfig,
- (config) => new ApiGatewayManagementApiClient(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const ApiGatewayManagementApiClientInstanceLayer = Layer.effect(
- ApiGatewayManagementApiClientInstance,
- makeApiGatewayManagementApiClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultApiGatewayManagementApiClientInstanceLayer =
- ApiGatewayManagementApiClientInstanceLayer.pipe(
- Layer.provide(DefaultApiGatewayManagementApiClientConfigLayer),
- );
diff --git a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstanceConfig.ts b/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstanceConfig.ts
deleted file mode 100644
index 7478000..0000000
--- a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiClientInstanceConfig.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { ApiGatewayManagementApiClientConfig } from "@aws-sdk/client-apigatewaymanagementapi";
-import { Context, Effect, Layer, Runtime } from "effect";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class ApiGatewayManagementApiClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-api-gateway-management-api/ApiGatewayManagementApiClientInstanceConfig",
-)<
- ApiGatewayManagementApiClientInstanceConfig,
- ApiGatewayManagementApiClientConfig
->() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultApiGatewayManagementApiClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info: (m) => Effect.logInfo(m).pipe(runSync),
- warn: (m) => Effect.logWarning(m).pipe(runSync),
- error: (m) => Effect.logError(m).pipe(runSync),
- debug: (m) => Effect.logDebug(m).pipe(runSync),
- trace: (m) => Effect.logTrace(m).pipe(runSync),
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultApiGatewayManagementApiClientConfigLayer = Layer.effect(
- ApiGatewayManagementApiClientInstanceConfig,
- makeDefaultApiGatewayManagementApiClientInstanceConfig,
-);
diff --git a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiService.ts b/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiService.ts
deleted file mode 100644
index ac7fbab..0000000
--- a/packages/client-api-gateway-management-api/src/ApiGatewayManagementApiService.ts
+++ /dev/null
@@ -1,188 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- ApiGatewayManagementApiServiceException,
- DeleteConnectionCommand,
- DeleteConnectionCommandInput,
- DeleteConnectionCommandOutput,
- GetConnectionCommand,
- GetConnectionCommandInput,
- GetConnectionCommandOutput,
- PostToConnectionCommand,
- PostToConnectionCommandInput,
- PostToConnectionCommandOutput,
-} from "@aws-sdk/client-apigatewaymanagementapi";
-import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Data, Effect, Layer, ReadonlyRecord } from "effect";
-import {
- ApiGatewayManagementApiClientInstance,
- ApiGatewayManagementApiClientInstanceLayer,
- DefaultApiGatewayManagementApiClientInstanceLayer,
-} from "./ApiGatewayManagementApiClientInstance";
-import { DefaultApiGatewayManagementApiClientConfigLayer } from "./ApiGatewayManagementApiClientInstanceConfig";
-import {
- ForbiddenError,
- GoneError,
- LimitExceededError,
- PayloadTooLargeError,
- SdkError,
- TaggedException,
-} from "./Errors";
-
-const commands = {
- DeleteConnectionCommand,
- GetConnectionCommand,
- PostToConnectionCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export interface ApiGatewayManagementApiService {
- readonly _: unique symbol;
-
- /**
- * @see {@link DeleteConnectionCommand}
- */
- deleteConnection(
- args: DeleteConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteConnectionCommandOutput,
- SdkError | GoneError | ForbiddenError | LimitExceededError
- >;
-
- /**
- * @see {@link GetConnectionCommand}
- */
- getConnection(
- args: GetConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- GetConnectionCommandOutput,
- SdkError | GoneError | ForbiddenError | LimitExceededError
- >;
-
- /**
- * @see {@link PostToConnectionCommand}
- */
- postToConnection(
- args: PostToConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PostToConnectionCommandOutput,
- | SdkError
- | GoneError
- | ForbiddenError
- | LimitExceededError
- | PayloadTooLargeError
- >;
-}
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const ApiGatewayManagementApiService =
- Context.GenericTag(
- "@effect-aws/client-api-gateway-management-api/ApiGatewayManagementApiService",
- );
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeApiGatewayManagementApiService = Effect.gen(function* (_) {
- const client = yield* _(ApiGatewayManagementApiClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof ApiGatewayManagementApiServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as ApiGatewayManagementApiService;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseApiGatewayManagementApiServiceLayer = Layer.effect(
- ApiGatewayManagementApiService,
- makeApiGatewayManagementApiService,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const ApiGatewayManagementApiServiceLayer =
- BaseApiGatewayManagementApiServiceLayer.pipe(
- Layer.provide(ApiGatewayManagementApiClientInstanceLayer),
- );
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultApiGatewayManagementApiServiceLayer =
- ApiGatewayManagementApiServiceLayer.pipe(
- Layer.provide(DefaultApiGatewayManagementApiClientConfigLayer),
- );
-
-// -------------------- Danger Zone --------------------
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const BaseApiGatewayManagementApiServiceEffect =
- makeApiGatewayManagementApiService;
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const ApiGatewayManagementApiServiceEffect =
- BaseApiGatewayManagementApiServiceEffect.pipe(
- Effect.provide(ApiGatewayManagementApiClientInstanceLayer),
- );
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const DefaultApiGatewayManagementApiServiceEffect =
- BaseApiGatewayManagementApiServiceEffect.pipe(
- Effect.provide(DefaultApiGatewayManagementApiClientInstanceLayer),
- );
diff --git a/packages/client-api-gateway-management-api/src/Errors.ts b/packages/client-api-gateway-management-api/src/Errors.ts
deleted file mode 100644
index 52c0ca9..0000000
--- a/packages/client-api-gateway-management-api/src/Errors.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import type {
- ForbiddenException,
- GoneException,
- LimitExceededException,
- PayloadTooLargeException,
-} from "@aws-sdk/client-apigatewaymanagementapi";
-import { Data } from "effect";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type ForbiddenError = TaggedException;
-export type GoneError = TaggedException;
-export type LimitExceededError = TaggedException;
-export type PayloadTooLargeError = TaggedException;
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-api-gateway-management-api/src/index.ts b/packages/client-api-gateway-management-api/src/index.ts
deleted file mode 100644
index d6d69d3..0000000
--- a/packages/client-api-gateway-management-api/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./ApiGatewayManagementApiClientInstance";
-export * from "./ApiGatewayManagementApiClientInstanceConfig";
-export * from "./ApiGatewayManagementApiService";
-export * from "./Errors";
diff --git a/packages/client-api-gateway-management-api/test/ApiGatewayManagementApi.test.ts b/packages/client-api-gateway-management-api/test/ApiGatewayManagementApi.test.ts
deleted file mode 100644
index b65eb07..0000000
--- a/packages/client-api-gateway-management-api/test/ApiGatewayManagementApi.test.ts
+++ /dev/null
@@ -1,182 +0,0 @@
-import {
- ApiGatewayManagementApiClient,
- PostToConnectionCommand,
- PostToConnectionCommandInput,
-} from "@aws-sdk/client-apigatewaymanagementapi";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- ApiGatewayManagementApiClientInstance,
- ApiGatewayManagementApiClientInstanceConfig,
- ApiGatewayManagementApiService,
- ApiGatewayManagementApiServiceLayer,
- BaseApiGatewayManagementApiServiceLayer,
- DefaultApiGatewayManagementApiClientConfigLayer,
- DefaultApiGatewayManagementApiServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const apiMock = mockClient(ApiGatewayManagementApiClient);
-const { postToConnection } = Effect.serviceFunctions(
- ApiGatewayManagementApiService,
-);
-
-describe("ApiGatewayManagementApiClientImpl", () => {
- it("default", async () => {
- apiMock.reset().on(PostToConnectionCommand).resolves({});
-
- const args: PostToConnectionCommandInput = {
- ConnectionId: "test",
- Data: "test",
- };
-
- const program = postToConnection(args);
-
- const result = await pipe(
- program,
- Effect.provide(DefaultApiGatewayManagementApiServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(apiMock).toHaveReceivedCommandTimes(PostToConnectionCommand, 1);
- expect(apiMock).toHaveReceivedCommandWith(PostToConnectionCommand, args);
- });
-
- it("configurable", async () => {
- apiMock.reset().on(PostToConnectionCommand).resolves({});
-
- const args: PostToConnectionCommandInput = {
- ConnectionId: "test",
- Data: "test",
- };
-
- const program = postToConnection(args);
-
- const ApiGatewayManagementApiClientConfigLayer = Layer.succeed(
- ApiGatewayManagementApiClientInstanceConfig,
- { region: "eu-central-1" },
- );
- const CustomApiGatewayManagementApiServiceLayer =
- ApiGatewayManagementApiServiceLayer.pipe(
- Layer.provide(ApiGatewayManagementApiClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomApiGatewayManagementApiServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(apiMock).toHaveReceivedCommandTimes(PostToConnectionCommand, 1);
- expect(apiMock).toHaveReceivedCommandWith(PostToConnectionCommand, args);
- });
-
- it("base", async () => {
- apiMock.reset().on(PostToConnectionCommand).resolves({});
-
- const args: PostToConnectionCommandInput = {
- ConnectionId: "test",
- Data: "test",
- };
-
- const program = postToConnection(args);
-
- const ApiGatewayManagementApiClientInstanceLayer = Layer.succeed(
- ApiGatewayManagementApiClientInstance,
- new ApiGatewayManagementApiClient({ region: "eu-central-1" }),
- );
- const CustomApiGatewayManagementApiServiceLayer =
- BaseApiGatewayManagementApiServiceLayer.pipe(
- Layer.provide(ApiGatewayManagementApiClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomApiGatewayManagementApiServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(apiMock).toHaveReceivedCommandTimes(PostToConnectionCommand, 1);
- expect(apiMock).toHaveReceivedCommandWith(PostToConnectionCommand, args);
- });
-
- it("extended", async () => {
- apiMock.reset().on(PostToConnectionCommand).resolves({});
-
- const args: PostToConnectionCommandInput = {
- ConnectionId: "test",
- Data: "test",
- };
-
- const program = postToConnection(args);
-
- const ApiGatewayManagementApiClientInstanceLayer = Layer.effect(
- ApiGatewayManagementApiClientInstance,
- Effect.map(
- ApiGatewayManagementApiClientInstanceConfig,
- (config) =>
- new ApiGatewayManagementApiClient({
- ...config,
- region: "eu-central-1",
- }),
- ),
- );
- const CustomApiGatewayManagementApiServiceLayer =
- BaseApiGatewayManagementApiServiceLayer.pipe(
- Layer.provide(ApiGatewayManagementApiClientInstanceLayer),
- Layer.provide(DefaultApiGatewayManagementApiClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomApiGatewayManagementApiServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(apiMock).toHaveReceivedCommandTimes(PostToConnectionCommand, 1);
- expect(apiMock).toHaveReceivedCommandWith(PostToConnectionCommand, args);
- });
-
- it("fail", async () => {
- apiMock.reset().on(PostToConnectionCommand).rejects(new Error("test"));
-
- const args: PostToConnectionCommandInput = {
- ConnectionId: "test",
- Data: "test",
- };
-
- const program = Effect.flatMap(ApiGatewayManagementApiService, (api) =>
- api.postToConnection(args, {
- requestTimeout: 1000,
- }),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultApiGatewayManagementApiServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(apiMock).toHaveReceivedCommandTimes(PostToConnectionCommand, 1);
- expect(apiMock).toHaveReceivedCommandWith(PostToConnectionCommand, args);
- });
-});
diff --git a/packages/client-dynamodb/.projen/deps.json b/packages/client-dynamodb/.projen/deps.json
deleted file mode 100644
index 205b766..0000000
--- a/packages/client-dynamodb/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-dynamodb",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-dynamodb/CHANGELOG.md b/packages/client-dynamodb/CHANGELOG.md
deleted file mode 100644
index ef0a7f9..0000000
--- a/packages/client-dynamodb/CHANGELOG.md
+++ /dev/null
@@ -1,79 +0,0 @@
-# @effect-aws/client-dynamodb
-
-## 1.1.2
-
-### Patch Changes
-
-- [#43](https://github.com/floydspace/effect-aws/pull/43) [`6e6c0a0`](https://github.com/floydspace/effect-aws/commit/6e6c0a00078c38b4575c1bac1015949b478428c0) Thanks [@godu](https://github.com/godu)! - new dynamodb client method, typed errors in sqs service
-
-## 1.1.1
-
-### Patch Changes
-
-- [`b2f00db`](https://github.com/floydspace/effect-aws/commit/b2f00db5fdffaa74bcb124324db7313bd4f218df) Thanks [@floydspace](https://github.com/floydspace)! - update effect peer version
-
-## 1.1.0
-
-### Minor Changes
-
-- [`82eaea7`](https://github.com/floydspace/effect-aws/commit/82eaea778048c9ebba98682196448b0aa1586d2e) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect to v2.3 and fix breaking changes
-
-## 1.0.2
-
-### Patch Changes
-
-- [`88676ae`](https://github.com/floydspace/effect-aws/commit/88676ae3a5f7fa514cab58ba83a50a0774be1aa1) Thanks [@floydspace](https://github.com/floydspace)! - use effect@~2.2 as maximum allowed peer version
-
-## 1.0.1
-
-### Patch Changes
-
-- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag
-
-## 1.0.0
-
-### Major Changes
-
-- [`3e5d0b3`](https://github.com/floydspace/effect-aws/commit/3e5d0b3b3882e0aa6d07bc06432990551316ac30) Thanks [@floydspace](https://github.com/floydspace)! - Upgrade to effect v2 and release stable version
-
-## 0.5.0
-
-### Minor Changes
-
-- [`744df3c`](https://github.com/floydspace/effect-aws/commit/744df3ca6406b3a35e3066d5fe11ca7082c4c454) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect dependency
-
-## 0.4.0
-
-### Minor Changes
-
-- [`0a969d8`](https://github.com/floydspace/effect-aws/commit/0a969d8a74c3bf1b87ff6a1c8bf689af849797e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect peer version
-
-## 0.3.2
-
-### Patch Changes
-
-- [`280d8bd`](https://github.com/floydspace/effect-aws/commit/280d8bd6686d6e7a2b73322a047e8eb22263b1e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade dependencies
-
-## 0.3.1
-
-### Patch Changes
-
-- [`6b99904`](https://github.com/floydspace/effect-aws/commit/6b9990497bdb20f240d8261b6382db421e9a3ec2) Thanks [@floydspace](https://github.com/floydspace)! - as @mikearnaldi said: "we should really never do tacit passing"
-
-## 0.3.0
-
-### Minor Changes
-
-- [#14](https://github.com/floydspace/effect-aws/pull/14) [`cddfb74`](https://github.com/floydspace/effect-aws/commit/cddfb74a00b10a13ccfe3749e90961119c4f0906) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect version to the next one
-
-## 0.2.0
-
-### Minor Changes
-
-- [`643a9ba`](https://github.com/floydspace/effect-aws/commit/643a9ba924e5a9513188bbcd942ebc4c9dc3a7bb) Thanks [@floydspace](https://github.com/floydspace)! - return tagged errors in the failure channel
-
-## 0.1.0
-
-### Minor Changes
-
-- [`243882e`](https://github.com/floydspace/effect-aws/commit/243882e1bf71fa2c019f52f9d974f8cf1c433912) Thanks [@floydspace](https://github.com/floydspace)! - implement effectful dynamodb, eventbridge and lambda clients
diff --git a/packages/client-dynamodb/package.json b/packages/client-dynamodb/package.json
deleted file mode 100644
index 612edf8..0000000
--- a/packages/client-dynamodb/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "@effect-aws/client-dynamodb",
- "scripts": {
- "build": "npx projen build",
- "compile": "npx projen compile",
- "default": "npx projen default",
- "eslint": "npx projen eslint",
- "package": "npx projen package",
- "post-compile": "npx projen post-compile",
- "pre-compile": "npx projen pre-compile",
- "test": "npx projen test",
- "test:watch": "npx projen test:watch",
- "watch": "npx projen watch",
- "docgen": "docgen"
- },
- "author": {
- "name": "Victor Korzunin",
- "email": "ifloydrose@gmail.com",
- "organization": false
- },
- "devDependencies": {
- "@types/node": "^18",
- "@typescript-eslint/eslint-plugin": "^6",
- "@typescript-eslint/parser": "^6",
- "aws-sdk-client-mock": "^3.0.0",
- "aws-sdk-client-mock-jest": "^3.0.0",
- "constructs": "^10.0.0",
- "effect": "2.3.1",
- "eslint": "^8",
- "eslint-config-prettier": "^9.0.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-prettier": "^5.0.0",
- "prettier": "^3.0.3",
- "projen": "^0.79.6",
- "typescript": "^5.2.2"
- },
- "peerDependencies": {
- "effect": ">=2.3.1 <2.5.0"
- },
- "dependencies": {
- "@aws-sdk/client-dynamodb": "^3",
- "@aws-sdk/types": "^3"
- },
- "main": "lib/index.js",
- "license": "MIT",
- "homepage": "https://floydspace.github.io/effect-aws",
- "publishConfig": {
- "access": "public"
- },
- "version": "1.1.2",
- "types": "lib/index.d.ts",
- "module": "lib/esm/index.js",
- "sideEffects": [],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-dynamodb/project.json b/packages/client-dynamodb/project.json
deleted file mode 100644
index 98a8c66..0000000
--- a/packages/client-dynamodb/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "@effect-aws/client-dynamodb",
- "root": "packages/client-dynamodb",
- "targets": {
- "default": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen default",
- "cwd": "packages/client-dynamodb"
- }
- },
- "pre-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen pre-compile",
- "cwd": "packages/client-dynamodb"
- }
- },
- "compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen compile",
- "cwd": "packages/client-dynamodb"
- }
- },
- "post-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen post-compile",
- "cwd": "packages/client-dynamodb"
- }
- },
- "test": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test",
- "cwd": "packages/client-dynamodb"
- }
- },
- "package": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen package",
- "cwd": "packages/client-dynamodb"
- }
- },
- "build": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen build",
- "cwd": "packages/client-dynamodb"
- }
- },
- "watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen watch",
- "cwd": "packages/client-dynamodb"
- }
- },
- "eslint": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen eslint",
- "cwd": "packages/client-dynamodb"
- }
- },
- "test:watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test:watch",
- "cwd": "packages/client-dynamodb"
- }
- }
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-dynamodb/src/DynamoDBClientInstance.ts b/packages/client-dynamodb/src/DynamoDBClientInstance.ts
deleted file mode 100644
index 2252e54..0000000
--- a/packages/client-dynamodb/src/DynamoDBClientInstance.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- DefaultDynamoDBClientConfigLayer,
- DynamoDBClientInstanceConfig,
-} from "./DynamoDBClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class DynamoDBClientInstance extends Context.Tag(
- "@effect-aws/client-dynamodb/DynamoDBClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDynamoDBClientInstance = Effect.map(
- DynamoDBClientInstanceConfig,
- (config) => new DynamoDBClient(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DynamoDBClientInstanceLayer = Layer.effect(
- DynamoDBClientInstance,
- makeDynamoDBClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultDynamoDBClientInstanceLayer =
- DynamoDBClientInstanceLayer.pipe(
- Layer.provide(DefaultDynamoDBClientConfigLayer),
- );
diff --git a/packages/client-dynamodb/src/DynamoDBClientInstanceConfig.ts b/packages/client-dynamodb/src/DynamoDBClientInstanceConfig.ts
deleted file mode 100644
index d9fec1b..0000000
--- a/packages/client-dynamodb/src/DynamoDBClientInstanceConfig.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Runtime from "effect/Runtime";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class DynamoDBClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-dynamodb/DynamoDBClientInstanceConfig",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultDynamoDBClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info(m) {
- Effect.logInfo(m).pipe(runSync);
- },
- warn(m) {
- Effect.logWarning(m).pipe(runSync);
- },
- error(m) {
- Effect.logError(m).pipe(runSync);
- },
- debug(m) {
- Effect.logDebug(m).pipe(runSync);
- },
- trace(m) {
- Effect.logTrace(m).pipe(runSync);
- },
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultDynamoDBClientConfigLayer = Layer.effect(
- DynamoDBClientInstanceConfig,
- makeDefaultDynamoDBClientInstanceConfig,
-);
diff --git a/packages/client-dynamodb/src/DynamoDBService.ts b/packages/client-dynamodb/src/DynamoDBService.ts
deleted file mode 100644
index 9d31e8a..0000000
--- a/packages/client-dynamodb/src/DynamoDBService.ts
+++ /dev/null
@@ -1,1162 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- DynamoDBServiceException,
- BatchExecuteStatementCommand,
- type BatchExecuteStatementCommandInput,
- type BatchExecuteStatementCommandOutput,
- BatchGetItemCommand,
- type BatchGetItemCommandInput,
- type BatchGetItemCommandOutput,
- BatchWriteItemCommand,
- type BatchWriteItemCommandInput,
- type BatchWriteItemCommandOutput,
- CreateBackupCommand,
- type CreateBackupCommandInput,
- type CreateBackupCommandOutput,
- CreateGlobalTableCommand,
- type CreateGlobalTableCommandInput,
- type CreateGlobalTableCommandOutput,
- CreateTableCommand,
- type CreateTableCommandInput,
- type CreateTableCommandOutput,
- DeleteBackupCommand,
- type DeleteBackupCommandInput,
- type DeleteBackupCommandOutput,
- DeleteItemCommand,
- type DeleteItemCommandInput,
- type DeleteItemCommandOutput,
- DeleteTableCommand,
- type DeleteTableCommandInput,
- type DeleteTableCommandOutput,
- DescribeBackupCommand,
- type DescribeBackupCommandInput,
- type DescribeBackupCommandOutput,
- DescribeContinuousBackupsCommand,
- type DescribeContinuousBackupsCommandInput,
- type DescribeContinuousBackupsCommandOutput,
- DescribeContributorInsightsCommand,
- type DescribeContributorInsightsCommandInput,
- type DescribeContributorInsightsCommandOutput,
- DescribeEndpointsCommand,
- type DescribeEndpointsCommandInput,
- type DescribeEndpointsCommandOutput,
- DescribeExportCommand,
- type DescribeExportCommandInput,
- type DescribeExportCommandOutput,
- DescribeGlobalTableCommand,
- type DescribeGlobalTableCommandInput,
- type DescribeGlobalTableCommandOutput,
- DescribeGlobalTableSettingsCommand,
- type DescribeGlobalTableSettingsCommandInput,
- type DescribeGlobalTableSettingsCommandOutput,
- DescribeImportCommand,
- type DescribeImportCommandInput,
- type DescribeImportCommandOutput,
- DescribeKinesisStreamingDestinationCommand,
- type DescribeKinesisStreamingDestinationCommandInput,
- type DescribeKinesisStreamingDestinationCommandOutput,
- DescribeLimitsCommand,
- type DescribeLimitsCommandInput,
- type DescribeLimitsCommandOutput,
- DescribeTableCommand,
- type DescribeTableCommandInput,
- type DescribeTableCommandOutput,
- DescribeTableReplicaAutoScalingCommand,
- type DescribeTableReplicaAutoScalingCommandInput,
- type DescribeTableReplicaAutoScalingCommandOutput,
- DescribeTimeToLiveCommand,
- type DescribeTimeToLiveCommandInput,
- type DescribeTimeToLiveCommandOutput,
- DisableKinesisStreamingDestinationCommand,
- type DisableKinesisStreamingDestinationCommandInput,
- type DisableKinesisStreamingDestinationCommandOutput,
- EnableKinesisStreamingDestinationCommand,
- type EnableKinesisStreamingDestinationCommandInput,
- type EnableKinesisStreamingDestinationCommandOutput,
- ExecuteStatementCommand,
- type ExecuteStatementCommandInput,
- type ExecuteStatementCommandOutput,
- ExecuteTransactionCommand,
- type ExecuteTransactionCommandInput,
- type ExecuteTransactionCommandOutput,
- ExportTableToPointInTimeCommand,
- type ExportTableToPointInTimeCommandInput,
- type ExportTableToPointInTimeCommandOutput,
- GetItemCommand,
- type GetItemCommandInput,
- type GetItemCommandOutput,
- ImportTableCommand,
- type ImportTableCommandInput,
- type ImportTableCommandOutput,
- ListBackupsCommand,
- type ListBackupsCommandInput,
- type ListBackupsCommandOutput,
- ListContributorInsightsCommand,
- type ListContributorInsightsCommandInput,
- type ListContributorInsightsCommandOutput,
- ListExportsCommand,
- type ListExportsCommandInput,
- type ListExportsCommandOutput,
- ListGlobalTablesCommand,
- type ListGlobalTablesCommandInput,
- type ListGlobalTablesCommandOutput,
- ListImportsCommand,
- type ListImportsCommandInput,
- type ListImportsCommandOutput,
- ListTablesCommand,
- type ListTablesCommandInput,
- type ListTablesCommandOutput,
- ListTagsOfResourceCommand,
- type ListTagsOfResourceCommandInput,
- type ListTagsOfResourceCommandOutput,
- PutItemCommand,
- type PutItemCommandInput,
- type PutItemCommandOutput,
- QueryCommand,
- type QueryCommandInput,
- type QueryCommandOutput,
- RestoreTableFromBackupCommand,
- type RestoreTableFromBackupCommandInput,
- type RestoreTableFromBackupCommandOutput,
- RestoreTableToPointInTimeCommand,
- type RestoreTableToPointInTimeCommandInput,
- type RestoreTableToPointInTimeCommandOutput,
- ScanCommand,
- type ScanCommandInput,
- type ScanCommandOutput,
- TagResourceCommand,
- type TagResourceCommandInput,
- type TagResourceCommandOutput,
- TransactGetItemsCommand,
- type TransactGetItemsCommandInput,
- type TransactGetItemsCommandOutput,
- TransactWriteItemsCommand,
- type TransactWriteItemsCommandInput,
- type TransactWriteItemsCommandOutput,
- UntagResourceCommand,
- type UntagResourceCommandInput,
- type UntagResourceCommandOutput,
- UpdateContinuousBackupsCommand,
- type UpdateContinuousBackupsCommandInput,
- type UpdateContinuousBackupsCommandOutput,
- UpdateContributorInsightsCommand,
- type UpdateContributorInsightsCommandInput,
- type UpdateContributorInsightsCommandOutput,
- UpdateGlobalTableCommand,
- type UpdateGlobalTableCommandInput,
- type UpdateGlobalTableCommandOutput,
- UpdateGlobalTableSettingsCommand,
- type UpdateGlobalTableSettingsCommandInput,
- type UpdateGlobalTableSettingsCommandOutput,
- UpdateItemCommand,
- type UpdateItemCommandInput,
- type UpdateItemCommandOutput,
- UpdateKinesisStreamingDestinationCommand,
- type UpdateKinesisStreamingDestinationCommandInput,
- type UpdateKinesisStreamingDestinationCommandOutput,
- UpdateTableCommand,
- type UpdateTableCommandInput,
- type UpdateTableCommandOutput,
- UpdateTableReplicaAutoScalingCommand,
- type UpdateTableReplicaAutoScalingCommandInput,
- type UpdateTableReplicaAutoScalingCommandOutput,
- UpdateTimeToLiveCommand,
- type UpdateTimeToLiveCommandInput,
- type UpdateTimeToLiveCommandOutput,
-} from "@aws-sdk/client-dynamodb";
-import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Effect, Layer, ReadonlyRecord, Data } from "effect";
-import {
- DefaultDynamoDBClientInstanceLayer,
- DynamoDBClientInstance,
- DynamoDBClientInstanceLayer,
-} from "./DynamoDBClientInstance";
-import { DefaultDynamoDBClientConfigLayer } from "./DynamoDBClientInstanceConfig";
-import {
- BackupInUseError,
- BackupNotFoundError,
- ConditionalCheckFailedError,
- ContinuousBackupsUnavailableError,
- DuplicateItemError,
- ExportConflictError,
- ExportNotFoundError,
- GlobalTableAlreadyExistsError,
- GlobalTableNotFoundError,
- IdempotentParameterMismatchError,
- ImportConflictError,
- ImportNotFoundError,
- IndexNotFoundError,
- InternalServerError,
- InvalidEndpointError,
- InvalidExportTimeError,
- InvalidRestoreTimeError,
- ItemCollectionSizeLimitExceededError,
- LimitExceededError,
- PointInTimeRecoveryUnavailableError,
- ProvisionedThroughputExceededError,
- ReplicaAlreadyExistsError,
- ReplicaNotFoundError,
- RequestLimitExceededError,
- ResourceInUseError,
- ResourceNotFoundError,
- TableAlreadyExistsError,
- TableInUseError,
- TableNotFoundError,
- TransactionCanceledError,
- TransactionConflictError,
- TransactionInProgressError,
- SdkError,
- TaggedException,
-} from "./Errors";
-
-const commands = {
- BatchExecuteStatementCommand,
- BatchGetItemCommand,
- BatchWriteItemCommand,
- CreateBackupCommand,
- CreateGlobalTableCommand,
- CreateTableCommand,
- DeleteBackupCommand,
- DeleteItemCommand,
- DeleteTableCommand,
- DescribeBackupCommand,
- DescribeContinuousBackupsCommand,
- DescribeContributorInsightsCommand,
- DescribeEndpointsCommand,
- DescribeExportCommand,
- DescribeGlobalTableCommand,
- DescribeGlobalTableSettingsCommand,
- DescribeImportCommand,
- DescribeKinesisStreamingDestinationCommand,
- DescribeLimitsCommand,
- DescribeTableCommand,
- DescribeTableReplicaAutoScalingCommand,
- DescribeTimeToLiveCommand,
- DisableKinesisStreamingDestinationCommand,
- EnableKinesisStreamingDestinationCommand,
- ExecuteStatementCommand,
- ExecuteTransactionCommand,
- ExportTableToPointInTimeCommand,
- GetItemCommand,
- ImportTableCommand,
- ListBackupsCommand,
- ListContributorInsightsCommand,
- ListExportsCommand,
- ListGlobalTablesCommand,
- ListImportsCommand,
- ListTablesCommand,
- ListTagsOfResourceCommand,
- PutItemCommand,
- QueryCommand,
- RestoreTableFromBackupCommand,
- RestoreTableToPointInTimeCommand,
- ScanCommand,
- TagResourceCommand,
- TransactGetItemsCommand,
- TransactWriteItemsCommand,
- UntagResourceCommand,
- UpdateContinuousBackupsCommand,
- UpdateContributorInsightsCommand,
- UpdateGlobalTableCommand,
- UpdateGlobalTableSettingsCommand,
- UpdateItemCommand,
- UpdateKinesisStreamingDestinationCommand,
- UpdateTableCommand,
- UpdateTableReplicaAutoScalingCommand,
- UpdateTimeToLiveCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export interface DynamoDBService {
- readonly _: unique symbol;
-
- /**
- * @see {@link BatchExecuteStatementCommand}
- */
- batchExecuteStatement(
- args: BatchExecuteStatementCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- BatchExecuteStatementCommandOutput,
- SdkError | InternalServerError | RequestLimitExceededError
- >;
-
- /**
- * @see {@link BatchGetItemCommand}
- */
- batchGetItem(
- args: BatchGetItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- BatchGetItemCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link BatchWriteItemCommand}
- */
- batchWriteItem(
- args: BatchWriteItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- BatchWriteItemCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ItemCollectionSizeLimitExceededError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CreateBackupCommand}
- */
- createBackup(
- args: CreateBackupCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateBackupCommandOutput,
- | SdkError
- | BackupInUseError
- | ContinuousBackupsUnavailableError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | TableInUseError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link CreateGlobalTableCommand}
- */
- createGlobalTable(
- args: CreateGlobalTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateGlobalTableCommandOutput,
- | SdkError
- | GlobalTableAlreadyExistsError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link CreateTableCommand}
- */
- createTable(
- args: CreateTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateTableCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- >;
-
- /**
- * @see {@link DeleteBackupCommand}
- */
- deleteBackup(
- args: DeleteBackupCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteBackupCommandOutput,
- | SdkError
- | BackupInUseError
- | BackupNotFoundError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- >;
-
- /**
- * @see {@link DeleteItemCommand}
- */
- deleteItem(
- args: DeleteItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteItemCommandOutput,
- | SdkError
- | ConditionalCheckFailedError
- | InternalServerError
- | InvalidEndpointError
- | ItemCollectionSizeLimitExceededError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionConflictError
- >;
-
- /**
- * @see {@link DeleteTableCommand}
- */
- deleteTable(
- args: DeleteTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteTableCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeBackupCommand}
- */
- describeBackup(
- args: DescribeBackupCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeBackupCommandOutput,
- SdkError | BackupNotFoundError | InternalServerError | InvalidEndpointError
- >;
-
- /**
- * @see {@link DescribeContinuousBackupsCommand}
- */
- describeContinuousBackups(
- args: DescribeContinuousBackupsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeContinuousBackupsCommandOutput,
- SdkError | InternalServerError | InvalidEndpointError | TableNotFoundError
- >;
-
- /**
- * @see {@link DescribeContributorInsightsCommand}
- */
- describeContributorInsights(
- args: DescribeContributorInsightsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeContributorInsightsCommandOutput,
- SdkError | InternalServerError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeEndpointsCommand}
- */
- describeEndpoints(
- args: DescribeEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link DescribeExportCommand}
- */
- describeExport(
- args: DescribeExportCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeExportCommandOutput,
- SdkError | ExportNotFoundError | InternalServerError | LimitExceededError
- >;
-
- /**
- * @see {@link DescribeGlobalTableCommand}
- */
- describeGlobalTable(
- args: DescribeGlobalTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeGlobalTableCommandOutput,
- | SdkError
- | GlobalTableNotFoundError
- | InternalServerError
- | InvalidEndpointError
- >;
-
- /**
- * @see {@link DescribeGlobalTableSettingsCommand}
- */
- describeGlobalTableSettings(
- args: DescribeGlobalTableSettingsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeGlobalTableSettingsCommandOutput,
- | SdkError
- | GlobalTableNotFoundError
- | InternalServerError
- | InvalidEndpointError
- >;
-
- /**
- * @see {@link DescribeImportCommand}
- */
- describeImport(
- args: DescribeImportCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link DescribeKinesisStreamingDestinationCommand}
- */
- describeKinesisStreamingDestination(
- args: DescribeKinesisStreamingDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeKinesisStreamingDestinationCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeLimitsCommand}
- */
- describeLimits(
- args: DescribeLimitsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeLimitsCommandOutput,
- SdkError | InternalServerError | InvalidEndpointError
- >;
-
- /**
- * @see {@link DescribeTableCommand}
- */
- describeTable(
- args: DescribeTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeTableCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeTableReplicaAutoScalingCommand}
- */
- describeTableReplicaAutoScaling(
- args: DescribeTableReplicaAutoScalingCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeTableReplicaAutoScalingCommandOutput,
- SdkError | InternalServerError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeTimeToLiveCommand}
- */
- describeTimeToLive(
- args: DescribeTimeToLiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeTimeToLiveCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DisableKinesisStreamingDestinationCommand}
- */
- disableKinesisStreamingDestination(
- args: DisableKinesisStreamingDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DisableKinesisStreamingDestinationCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link EnableKinesisStreamingDestinationCommand}
- */
- enableKinesisStreamingDestination(
- args: EnableKinesisStreamingDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- EnableKinesisStreamingDestinationCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ExecuteStatementCommand}
- */
- executeStatement(
- args: ExecuteStatementCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ExecuteStatementCommandOutput,
- | SdkError
- | ConditionalCheckFailedError
- | DuplicateItemError
- | InternalServerError
- | ItemCollectionSizeLimitExceededError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionConflictError
- >;
-
- /**
- * @see {@link ExecuteTransactionCommand}
- */
- executeTransaction(
- args: ExecuteTransactionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ExecuteTransactionCommandOutput,
- | SdkError
- | IdempotentParameterMismatchError
- | InternalServerError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionCanceledError
- | TransactionInProgressError
- >;
-
- /**
- * @see {@link ExportTableToPointInTimeCommand}
- */
- exportTableToPointInTime(
- args: ExportTableToPointInTimeCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ExportTableToPointInTimeCommandOutput,
- | SdkError
- | ExportConflictError
- | InternalServerError
- | InvalidExportTimeError
- | LimitExceededError
- | PointInTimeRecoveryUnavailableError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link GetItemCommand}
- */
- getItem(
- args: GetItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- GetItemCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ImportTableCommand}
- */
- importTable(
- args: ImportTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ImportTableCommandOutput,
- SdkError | ImportConflictError | LimitExceededError | ResourceInUseError
- >;
-
- /**
- * @see {@link ListBackupsCommand}
- */
- listBackups(
- args: ListBackupsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListBackupsCommandOutput,
- SdkError | InternalServerError | InvalidEndpointError
- >;
-
- /**
- * @see {@link ListContributorInsightsCommand}
- */
- listContributorInsights(
- args: ListContributorInsightsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListContributorInsightsCommandOutput,
- SdkError | InternalServerError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListExportsCommand}
- */
- listExports(
- args: ListExportsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListExportsCommandOutput,
- SdkError | InternalServerError | LimitExceededError
- >;
-
- /**
- * @see {@link ListGlobalTablesCommand}
- */
- listGlobalTables(
- args: ListGlobalTablesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListGlobalTablesCommandOutput,
- SdkError | InternalServerError | InvalidEndpointError
- >;
-
- /**
- * @see {@link ListImportsCommand}
- */
- listImports(
- args: ListImportsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListTablesCommand}
- */
- listTables(
- args: ListTablesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListTablesCommandOutput,
- SdkError | InternalServerError | InvalidEndpointError
- >;
-
- /**
- * @see {@link ListTagsOfResourceCommand}
- */
- listTagsOfResource(
- args: ListTagsOfResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListTagsOfResourceCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link PutItemCommand}
- */
- putItem(
- args: PutItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PutItemCommandOutput,
- | SdkError
- | ConditionalCheckFailedError
- | InternalServerError
- | InvalidEndpointError
- | ItemCollectionSizeLimitExceededError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionConflictError
- >;
-
- /**
- * @see {@link QueryCommand}
- */
- query(
- args: QueryCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- QueryCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link RestoreTableFromBackupCommand}
- */
- restoreTableFromBackup(
- args: RestoreTableFromBackupCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- RestoreTableFromBackupCommandOutput,
- | SdkError
- | BackupInUseError
- | BackupNotFoundError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | TableAlreadyExistsError
- | TableInUseError
- >;
-
- /**
- * @see {@link RestoreTableToPointInTimeCommand}
- */
- restoreTableToPointInTime(
- args: RestoreTableToPointInTimeCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- RestoreTableToPointInTimeCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | InvalidRestoreTimeError
- | LimitExceededError
- | PointInTimeRecoveryUnavailableError
- | TableAlreadyExistsError
- | TableInUseError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link ScanCommand}
- */
- scan(
- args: ScanCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ScanCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link TagResourceCommand}
- */
- tagResource(
- args: TagResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- TagResourceCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link TransactGetItemsCommand}
- */
- transactGetItems(
- args: TransactGetItemsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- TransactGetItemsCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionCanceledError
- >;
-
- /**
- * @see {@link TransactWriteItemsCommand}
- */
- transactWriteItems(
- args: TransactWriteItemsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- TransactWriteItemsCommandOutput,
- | SdkError
- | IdempotentParameterMismatchError
- | InternalServerError
- | InvalidEndpointError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionCanceledError
- | TransactionInProgressError
- >;
-
- /**
- * @see {@link UntagResourceCommand}
- */
- untagResource(
- args: UntagResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UntagResourceCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateContinuousBackupsCommand}
- */
- updateContinuousBackups(
- args: UpdateContinuousBackupsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateContinuousBackupsCommandOutput,
- | SdkError
- | ContinuousBackupsUnavailableError
- | InternalServerError
- | InvalidEndpointError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link UpdateContributorInsightsCommand}
- */
- updateContributorInsights(
- args: UpdateContributorInsightsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateContributorInsightsCommandOutput,
- SdkError | InternalServerError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateGlobalTableCommand}
- */
- updateGlobalTable(
- args: UpdateGlobalTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateGlobalTableCommandOutput,
- | SdkError
- | GlobalTableNotFoundError
- | InternalServerError
- | InvalidEndpointError
- | ReplicaAlreadyExistsError
- | ReplicaNotFoundError
- | TableNotFoundError
- >;
-
- /**
- * @see {@link UpdateGlobalTableSettingsCommand}
- */
- updateGlobalTableSettings(
- args: UpdateGlobalTableSettingsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateGlobalTableSettingsCommandOutput,
- | SdkError
- | GlobalTableNotFoundError
- | IndexNotFoundError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ReplicaNotFoundError
- | ResourceInUseError
- >;
-
- /**
- * @see {@link UpdateItemCommand}
- */
- updateItem(
- args: UpdateItemCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateItemCommandOutput,
- | SdkError
- | ConditionalCheckFailedError
- | InternalServerError
- | InvalidEndpointError
- | ItemCollectionSizeLimitExceededError
- | ProvisionedThroughputExceededError
- | RequestLimitExceededError
- | ResourceNotFoundError
- | TransactionConflictError
- >;
-
- /**
- * @see {@link UpdateKinesisStreamingDestinationCommand}
- */
- updateKinesisStreamingDestination(
- args: UpdateKinesisStreamingDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateKinesisStreamingDestinationCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateTableCommand}
- */
- updateTable(
- args: UpdateTableCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateTableCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateTableReplicaAutoScalingCommand}
- */
- updateTableReplicaAutoScaling(
- args: UpdateTableReplicaAutoScalingCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateTableReplicaAutoScalingCommandOutput,
- | SdkError
- | InternalServerError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateTimeToLiveCommand}
- */
- updateTimeToLive(
- args: UpdateTimeToLiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateTimeToLiveCommandOutput,
- | SdkError
- | InternalServerError
- | InvalidEndpointError
- | LimitExceededError
- | ResourceInUseError
- | ResourceNotFoundError
- >;
-}
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const DynamoDBService = Context.GenericTag(
- "@effect-aws/client-dynamodb/DynamoDBService",
-);
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDynamoDBService = Effect.gen(function* (_) {
- const client = yield* _(DynamoDBClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof DynamoDBServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as DynamoDBService;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseDynamoDBServiceLayer = Layer.effect(
- DynamoDBService,
- makeDynamoDBService,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DynamoDBServiceLayer = BaseDynamoDBServiceLayer.pipe(
- Layer.provide(DynamoDBClientInstanceLayer),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultDynamoDBServiceLayer = DynamoDBServiceLayer.pipe(
- Layer.provide(DefaultDynamoDBClientConfigLayer),
-);
-
-// -------------------- Danger Zone --------------------
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const BaseDynamoDBServiceEffect = makeDynamoDBService;
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const DynamoDBServiceEffect = BaseDynamoDBServiceEffect.pipe(
- Effect.provide(DynamoDBClientInstanceLayer),
-);
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const DefaultDynamoDBServiceEffect = BaseDynamoDBServiceEffect.pipe(
- Effect.provide(DefaultDynamoDBClientInstanceLayer),
-);
diff --git a/packages/client-dynamodb/src/Errors.ts b/packages/client-dynamodb/src/Errors.ts
deleted file mode 100644
index 26181ca..0000000
--- a/packages/client-dynamodb/src/Errors.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import type {
- BackupInUseException,
- BackupNotFoundException,
- ConditionalCheckFailedException,
- ContinuousBackupsUnavailableException,
- DuplicateItemException,
- ExportConflictException,
- ExportNotFoundException,
- GlobalTableAlreadyExistsException,
- GlobalTableNotFoundException,
- IdempotentParameterMismatchException,
- ImportConflictException,
- ImportNotFoundException,
- IndexNotFoundException,
- InternalServerError as InternalServerException,
- InvalidEndpointException,
- InvalidExportTimeException,
- InvalidRestoreTimeException,
- ItemCollectionSizeLimitExceededException,
- LimitExceededException,
- PointInTimeRecoveryUnavailableException,
- ProvisionedThroughputExceededException,
- ReplicaAlreadyExistsException,
- ReplicaNotFoundException,
- RequestLimitExceeded,
- ResourceInUseException,
- ResourceNotFoundException,
- TableAlreadyExistsException,
- TableInUseException,
- TableNotFoundException,
- TransactionCanceledException,
- TransactionConflictException,
- TransactionInProgressException,
-} from "@aws-sdk/client-dynamodb";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type BackupInUseError = TaggedException;
-export type BackupNotFoundError = TaggedException;
-export type InternalServerError = TaggedException;
-export type RequestLimitExceededError = TaggedException;
-export type InvalidEndpointError = TaggedException;
-export type ProvisionedThroughputExceededError =
- TaggedException;
-export type ResourceNotFoundError = TaggedException;
-export type ItemCollectionSizeLimitExceededError =
- TaggedException;
-export type ContinuousBackupsUnavailableError =
- TaggedException;
-export type LimitExceededError = TaggedException;
-export type TableInUseError = TaggedException;
-export type TableNotFoundError = TaggedException;
-export type GlobalTableAlreadyExistsError =
- TaggedException;
-export type ResourceInUseError = TaggedException;
-export type TransactionConflictError =
- TaggedException;
-export type ExportNotFoundError = TaggedException;
-export type GlobalTableNotFoundError =
- TaggedException;
-export type ImportNotFoundError = TaggedException;
-export type DuplicateItemError = TaggedException;
-export type IdempotentParameterMismatchError =
- TaggedException;
-export type TransactionInProgressError =
- TaggedException;
-export type ExportConflictError = TaggedException;
-export type InvalidExportTimeError =
- TaggedException;
-export type PointInTimeRecoveryUnavailableError =
- TaggedException;
-export type ImportConflictError = TaggedException;
-export type TableAlreadyExistsError =
- TaggedException;
-export type InvalidRestoreTimeError =
- TaggedException;
-export type ReplicaAlreadyExistsError =
- TaggedException;
-export type ReplicaNotFoundError = TaggedException;
-export type IndexNotFoundError = TaggedException;
-export type ConditionalCheckFailedError =
- TaggedException;
-export type TransactionCanceledError =
- TaggedException;
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-dynamodb/src/index.ts b/packages/client-dynamodb/src/index.ts
deleted file mode 100644
index 318f2dd..0000000
--- a/packages/client-dynamodb/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./DynamoDBClientInstance";
-export * from "./DynamoDBClientInstanceConfig";
-export * from "./DynamoDBService";
-export * from "./Errors";
diff --git a/packages/client-dynamodb/test/DynamoDB.test.ts b/packages/client-dynamodb/test/DynamoDB.test.ts
deleted file mode 100644
index 4e645fb..0000000
--- a/packages/client-dynamodb/test/DynamoDB.test.ts
+++ /dev/null
@@ -1,169 +0,0 @@
-import {
- PutItemCommand,
- DynamoDBClient,
- PutItemCommandInput,
-} from "@aws-sdk/client-dynamodb";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- BaseDynamoDBServiceLayer,
- DefaultDynamoDBClientConfigLayer,
- DefaultDynamoDBServiceLayer,
- DynamoDBClientInstance,
- DynamoDBClientInstanceConfig,
- DynamoDBService,
- DynamoDBServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const dynamodbMock = mockClient(DynamoDBClient);
-const { putItem } = Effect.serviceFunctions(DynamoDBService);
-
-describe("DynamoDBClientImpl", () => {
- it("default", async () => {
- dynamodbMock.reset().on(PutItemCommand).resolves({});
-
- const args: PutItemCommandInput = {
- TableName: "test",
- Item: { testAttr: { S: "test" } },
- };
-
- const program = putItem(args);
-
- const result = await pipe(
- program,
- Effect.provide(DefaultDynamoDBServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(dynamodbMock).toHaveReceivedCommandTimes(PutItemCommand, 1);
- expect(dynamodbMock).toHaveReceivedCommandWith(PutItemCommand, args);
- });
-
- it("configurable", async () => {
- dynamodbMock.reset().on(PutItemCommand).resolves({});
-
- const args: PutItemCommandInput = {
- TableName: "test",
- Item: { testAttr: { S: "test" } },
- };
-
- const program = putItem(args);
-
- const DynamoDBClientConfigLayer = Layer.succeed(
- DynamoDBClientInstanceConfig,
- { region: "eu-central-1" },
- );
- const CustomDynamoDBServiceLayer = DynamoDBServiceLayer.pipe(
- Layer.provide(DynamoDBClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomDynamoDBServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(dynamodbMock).toHaveReceivedCommandTimes(PutItemCommand, 1);
- expect(dynamodbMock).toHaveReceivedCommandWith(PutItemCommand, args);
- });
-
- it("base", async () => {
- dynamodbMock.reset().on(PutItemCommand).resolves({});
-
- const args: PutItemCommandInput = {
- TableName: "test",
- Item: { testAttr: { S: "test" } },
- };
-
- const program = putItem(args);
-
- const DynamoDBClientInstanceLayer = Layer.succeed(
- DynamoDBClientInstance,
- new DynamoDBClient({ region: "eu-central-1" }),
- );
- const CustomDynamoDBServiceLayer = BaseDynamoDBServiceLayer.pipe(
- Layer.provide(DynamoDBClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomDynamoDBServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(dynamodbMock).toHaveReceivedCommandTimes(PutItemCommand, 1);
- expect(dynamodbMock).toHaveReceivedCommandWith(PutItemCommand, args);
- });
-
- it("extended", async () => {
- dynamodbMock.reset().on(PutItemCommand).resolves({});
-
- const args: PutItemCommandInput = {
- TableName: "test",
- Item: { testAttr: { S: "test" } },
- };
-
- const program = putItem(args);
-
- const DynamoDBClientInstanceLayer = Layer.effect(
- DynamoDBClientInstance,
- Effect.map(
- DynamoDBClientInstanceConfig,
- (config) => new DynamoDBClient({ ...config, region: "eu-central-1" }),
- ),
- );
- const CustomDynamoDBServiceLayer = BaseDynamoDBServiceLayer.pipe(
- Layer.provide(DynamoDBClientInstanceLayer),
- Layer.provide(DefaultDynamoDBClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomDynamoDBServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(dynamodbMock).toHaveReceivedCommandTimes(PutItemCommand, 1);
- expect(dynamodbMock).toHaveReceivedCommandWith(PutItemCommand, args);
- });
-
- it("fail", async () => {
- dynamodbMock.reset().on(PutItemCommand).rejects(new Error("test"));
-
- const args: PutItemCommandInput = {
- TableName: "test",
- Item: { testAttr: { S: "test" } },
- };
-
- const program = putItem(args, { requestTimeout: 1000 });
-
- const result = await pipe(
- program,
- Effect.provide(DefaultDynamoDBServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(dynamodbMock).toHaveReceivedCommandTimes(PutItemCommand, 1);
- expect(dynamodbMock).toHaveReceivedCommandWith(PutItemCommand, args);
- });
-});
diff --git a/packages/client-ec2/.eslintrc.json b/packages/client-ec2/.eslintrc.json
deleted file mode 100644
index c31c44d..0000000
--- a/packages/client-ec2/.eslintrc.json
+++ /dev/null
@@ -1,126 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "env": {
- "jest": true,
- "node": true
- },
- "root": true,
- "plugins": [
- "@typescript-eslint",
- "import"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "project": "./tsconfig.dev.json"
- },
- "extends": [
- "plugin:import/typescript",
- "plugin:prettier/recommended"
- ],
- "settings": {
- "import/parsers": {
- "@typescript-eslint/parser": [
- ".ts",
- ".tsx"
- ]
- },
- "import/resolver": {
- "node": {},
- "typescript": {
- "project": "./tsconfig.dev.json",
- "alwaysTryTypes": true
- }
- }
- },
- "ignorePatterns": [
- "*.js",
- "*.d.ts",
- "node_modules/",
- "*.generated.ts",
- "coverage"
- ],
- "rules": {
- "@typescript-eslint/no-require-imports": [
- "error"
- ],
- "import/no-extraneous-dependencies": [
- "error",
- {
- "devDependencies": [
- "**/test/**",
- "**/build-tools/**"
- ],
- "optionalDependencies": false,
- "peerDependencies": true
- }
- ],
- "import/no-unresolved": [
- "error"
- ],
- "import/order": [
- "warn",
- {
- "groups": [
- "builtin",
- "external"
- ],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ],
- "no-duplicate-imports": [
- "error"
- ],
- "no-shadow": [
- "off"
- ],
- "@typescript-eslint/no-shadow": [
- "error"
- ],
- "key-spacing": [
- "error"
- ],
- "no-multiple-empty-lines": [
- "error"
- ],
- "@typescript-eslint/no-floating-promises": [
- "error"
- ],
- "no-return-await": [
- "off"
- ],
- "@typescript-eslint/return-await": [
- "error"
- ],
- "no-trailing-spaces": [
- "error"
- ],
- "dot-notation": [
- "error"
- ],
- "no-bitwise": [
- "error"
- ],
- "@typescript-eslint/member-ordering": [
- "error",
- {
- "default": [
- "public-static-field",
- "public-static-method",
- "protected-static-field",
- "protected-static-method",
- "private-static-field",
- "private-static-method",
- "field",
- "constructor",
- "method"
- ]
- }
- ]
- },
- "overrides": []
-}
diff --git a/packages/client-ec2/.gitattributes b/packages/client-ec2/.gitattributes
deleted file mode 100644
index 1c2be5a..0000000
--- a/packages/client-ec2/.gitattributes
+++ /dev/null
@@ -1,21 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-
-/./tsconfig.esm.json linguist-generated
-/.eslintrc.json linguist-generated
-/.gitattributes linguist-generated
-/.gitignore linguist-generated
-/.npmignore linguist-generated
-/.npmrc linguist-generated
-/.prettierignore linguist-generated
-/.prettierrc.json linguist-generated
-/.projen/** linguist-generated
-/.projen/deps.json linguist-generated
-/.projen/files.json linguist-generated
-/.projen/tasks.json linguist-generated
-/docgen.json linguist-generated
-/LICENSE linguist-generated
-/package.json linguist-generated
-/pnpm-lock.yaml linguist-generated
-/project.json linguist-generated
-/tsconfig.dev.json linguist-generated
-/tsconfig.json linguist-generated
\ No newline at end of file
diff --git a/packages/client-ec2/.gitignore b/packages/client-ec2/.gitignore
deleted file mode 100644
index e4fdd83..0000000
--- a/packages/client-ec2/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-!/.gitattributes
-!/.projen/tasks.json
-!/.projen/deps.json
-!/.projen/files.json
-!/package.json
-!/LICENSE
-!/.npmignore
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-pids
-*.pid
-*.seed
-*.pid.lock
-lib-cov
-coverage
-*.lcov
-.nyc_output
-build/Release
-node_modules/
-jspm_packages/
-*.tsbuildinfo
-.eslintcache
-*.tgz
-.yarn-integrity
-.cache
-!/.prettierignore
-!/.prettierrc.json
-!/.npmrc
-!/test/
-!/tsconfig.json
-!/tsconfig.dev.json
-!/src/
-/lib
-/dist/
-!/.eslintrc.json
-!/tsconfig.esm.json
-!/project.json
-!/docgen.json
-docs/
diff --git a/packages/client-ec2/.npmignore b/packages/client-ec2/.npmignore
deleted file mode 100644
index 277d62e..0000000
--- a/packages/client-ec2/.npmignore
+++ /dev/null
@@ -1,20 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-/.projen/
-/.prettierignore
-/.prettierrc.json
-/test/
-/tsconfig.dev.json
-/src/
-!/lib/
-!/lib/**/*.js
-!/lib/**/*.d.ts
-dist
-/tsconfig.json
-/.github/
-/.vscode/
-/.idea/
-/.projenrc.js
-tsconfig.tsbuildinfo
-/.eslintrc.json
-/tsconfig.esm.json
-/.gitattributes
diff --git a/packages/client-ec2/.prettierignore b/packages/client-ec2/.prettierignore
deleted file mode 100644
index 46704c7..0000000
--- a/packages/client-ec2/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
diff --git a/packages/client-ec2/.prettierrc.json b/packages/client-ec2/.prettierrc.json
deleted file mode 100644
index 84c85a3..0000000
--- a/packages/client-ec2/.prettierrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "overrides": []
-}
diff --git a/packages/client-ec2/.projen/deps.json b/packages/client-ec2/.projen/deps.json
deleted file mode 100644
index 6690589..0000000
--- a/packages/client-ec2/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-ec2",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-ec2/.projen/files.json b/packages/client-ec2/.projen/files.json
deleted file mode 100644
index c38792b..0000000
--- a/packages/client-ec2/.projen/files.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "files": [
- ".eslintrc.json",
- ".gitattributes",
- ".gitignore",
- ".npmignore",
- ".prettierignore",
- ".prettierrc.json",
- ".projen/deps.json",
- ".projen/files.json",
- ".projen/tasks.json",
- "docgen.json",
- "LICENSE",
- "project.json",
- "tsconfig.dev.json",
- "tsconfig.esm.json",
- "tsconfig.json"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-ec2/.projen/tasks.json b/packages/client-ec2/.projen/tasks.json
deleted file mode 100644
index 6ecb00a..0000000
--- a/packages/client-ec2/.projen/tasks.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "tasks": {
- "build": {
- "name": "build",
- "description": "Full release build",
- "steps": [
- {
- "spawn": "pre-compile"
- },
- {
- "spawn": "compile"
- },
- {
- "spawn": "post-compile"
- },
- {
- "spawn": "test"
- },
- {
- "spawn": "package"
- }
- ]
- },
- "compile": {
- "name": "compile",
- "description": "Only compile",
- "steps": [
- {
- "exec": "tsc -b ./tsconfig.json ./tsconfig.esm.json"
- }
- ]
- },
- "default": {
- "name": "default",
- "description": "Synthesize project files"
- },
- "eslint": {
- "name": "eslint",
- "description": "Runs eslint against the codebase",
- "steps": [
- {
- "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools",
- "receiveArgs": true
- }
- ]
- },
- "install": {
- "name": "install",
- "description": "Install project dependencies and update lockfile (non-frozen)",
- "steps": [
- {
- "exec": "pnpm i --no-frozen-lockfile"
- }
- ]
- },
- "install:ci": {
- "name": "install:ci",
- "description": "Install project dependencies using frozen lockfile",
- "steps": [
- {
- "exec": "pnpm i --frozen-lockfile"
- }
- ]
- },
- "package": {
- "name": "package",
- "description": "Creates the distribution package"
- },
- "post-compile": {
- "name": "post-compile",
- "description": "Runs after successful compilation"
- },
- "pre-compile": {
- "name": "pre-compile",
- "description": "Prepare the project for compilation"
- },
- "test": {
- "name": "test",
- "description": "Run tests",
- "steps": [
- {
- "exec": "vitest run --globals --reporter verbose",
- "receiveArgs": true
- },
- {
- "spawn": "eslint"
- }
- ]
- },
- "test:watch": {
- "name": "test:watch",
- "description": "Run tests in watch mode",
- "steps": [
- {
- "exec": "vitest --globals --reporter verbose"
- }
- ]
- },
- "watch": {
- "name": "watch",
- "description": "Watch & compile in the background",
- "steps": [
- {
- "exec": "tsc --build -w"
- }
- ]
- }
- },
- "env": {
- "PATH": "$(pnpm -c exec \"node --print process.env.PATH\")"
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-ec2/CHANGELOG.md b/packages/client-ec2/CHANGELOG.md
deleted file mode 100644
index fbe3050..0000000
--- a/packages/client-ec2/CHANGELOG.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# @effect-aws/client-ec2
-
-## 1.0.0
-
-### Major Changes
-
-- [`e4fe0f9`](https://github.com/floydspace/effect-aws/commit/e4fe0f987cfebb9db05b266a3fb80d06f60a9890) Thanks [@godu](https://github.com/godu)! - implement effectful ec2 client
diff --git a/packages/client-ec2/LICENSE b/packages/client-ec2/LICENSE
deleted file mode 100644
index 7afce46..0000000
--- a/packages/client-ec2/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2024 Victor Korzunin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/client-ec2/README.md b/packages/client-ec2/README.md
deleted file mode 100644
index b3fa7dd..0000000
--- a/packages/client-ec2/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# replace this
\ No newline at end of file
diff --git a/packages/client-ec2/docgen.json b/packages/client-ec2/docgen.json
deleted file mode 100644
index b359fc7..0000000
--- a/packages/client-ec2/docgen.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "$schema": "../../node_modules/@effect/docgen/schema.json",
- "exclude": [
- "src/index.ts",
- "src/Errors.ts"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-ec2/src/EC2ClientInstance.ts b/packages/client-ec2/src/EC2ClientInstance.ts
deleted file mode 100644
index 2d7a02d..0000000
--- a/packages/client-ec2/src/EC2ClientInstance.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { EC2Client } from "@aws-sdk/client-ec2";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- DefaultEC2ClientConfigLayer,
- EC2ClientInstanceConfig,
-} from "./EC2ClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class EC2ClientInstance extends Context.Tag(
- "@effect-aws/client-ec2/EC2ClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeEC2ClientInstance = Effect.map(
- EC2ClientInstanceConfig,
- (config) => new EC2Client(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const EC2ClientInstanceLayer = Layer.effect(
- EC2ClientInstance,
- makeEC2ClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEC2ClientInstanceLayer = EC2ClientInstanceLayer.pipe(
- Layer.provide(DefaultEC2ClientConfigLayer),
-);
diff --git a/packages/client-ec2/src/EC2ClientInstanceConfig.ts b/packages/client-ec2/src/EC2ClientInstanceConfig.ts
deleted file mode 100644
index 67de4f4..0000000
--- a/packages/client-ec2/src/EC2ClientInstanceConfig.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Runtime from "effect/Runtime";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class EC2ClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-ec2/EC2ClientInstanceConfig",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultEC2ClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info(m) {
- Effect.logInfo(m).pipe(runSync);
- },
- warn(m) {
- Effect.logWarning(m).pipe(runSync);
- },
- error(m) {
- Effect.logError(m).pipe(runSync);
- },
- debug(m) {
- Effect.logDebug(m).pipe(runSync);
- },
- trace(m) {
- Effect.logTrace(m).pipe(runSync);
- },
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEC2ClientConfigLayer = Layer.effect(
- EC2ClientInstanceConfig,
- makeDefaultEC2ClientInstanceConfig,
-);
diff --git a/packages/client-ec2/src/EC2Service.ts b/packages/client-ec2/src/EC2Service.ts
deleted file mode 100644
index d2d8d55..0000000
--- a/packages/client-ec2/src/EC2Service.ts
+++ /dev/null
@@ -1,9008 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- EC2ServiceException,
- AcceptAddressTransferCommand,
- type AcceptAddressTransferCommandInput,
- type AcceptAddressTransferCommandOutput,
- AcceptReservedInstancesExchangeQuoteCommand,
- type AcceptReservedInstancesExchangeQuoteCommandInput,
- type AcceptReservedInstancesExchangeQuoteCommandOutput,
- AcceptTransitGatewayMulticastDomainAssociationsCommand,
- type AcceptTransitGatewayMulticastDomainAssociationsCommandInput,
- type AcceptTransitGatewayMulticastDomainAssociationsCommandOutput,
- AcceptTransitGatewayPeeringAttachmentCommand,
- type AcceptTransitGatewayPeeringAttachmentCommandInput,
- type AcceptTransitGatewayPeeringAttachmentCommandOutput,
- AcceptTransitGatewayVpcAttachmentCommand,
- type AcceptTransitGatewayVpcAttachmentCommandInput,
- type AcceptTransitGatewayVpcAttachmentCommandOutput,
- AcceptVpcEndpointConnectionsCommand,
- type AcceptVpcEndpointConnectionsCommandInput,
- type AcceptVpcEndpointConnectionsCommandOutput,
- AcceptVpcPeeringConnectionCommand,
- type AcceptVpcPeeringConnectionCommandInput,
- type AcceptVpcPeeringConnectionCommandOutput,
- AdvertiseByoipCidrCommand,
- type AdvertiseByoipCidrCommandInput,
- type AdvertiseByoipCidrCommandOutput,
- AllocateAddressCommand,
- type AllocateAddressCommandInput,
- type AllocateAddressCommandOutput,
- AllocateHostsCommand,
- type AllocateHostsCommandInput,
- type AllocateHostsCommandOutput,
- AllocateIpamPoolCidrCommand,
- type AllocateIpamPoolCidrCommandInput,
- type AllocateIpamPoolCidrCommandOutput,
- ApplySecurityGroupsToClientVpnTargetNetworkCommand,
- type ApplySecurityGroupsToClientVpnTargetNetworkCommandInput,
- type ApplySecurityGroupsToClientVpnTargetNetworkCommandOutput,
- AssignIpv6AddressesCommand,
- type AssignIpv6AddressesCommandInput,
- type AssignIpv6AddressesCommandOutput,
- AssignPrivateIpAddressesCommand,
- type AssignPrivateIpAddressesCommandInput,
- type AssignPrivateIpAddressesCommandOutput,
- AssignPrivateNatGatewayAddressCommand,
- type AssignPrivateNatGatewayAddressCommandInput,
- type AssignPrivateNatGatewayAddressCommandOutput,
- AssociateAddressCommand,
- type AssociateAddressCommandInput,
- type AssociateAddressCommandOutput,
- AssociateClientVpnTargetNetworkCommand,
- type AssociateClientVpnTargetNetworkCommandInput,
- type AssociateClientVpnTargetNetworkCommandOutput,
- AssociateDhcpOptionsCommand,
- type AssociateDhcpOptionsCommandInput,
- type AssociateDhcpOptionsCommandOutput,
- AssociateEnclaveCertificateIamRoleCommand,
- type AssociateEnclaveCertificateIamRoleCommandInput,
- type AssociateEnclaveCertificateIamRoleCommandOutput,
- AssociateIamInstanceProfileCommand,
- type AssociateIamInstanceProfileCommandInput,
- type AssociateIamInstanceProfileCommandOutput,
- AssociateInstanceEventWindowCommand,
- type AssociateInstanceEventWindowCommandInput,
- type AssociateInstanceEventWindowCommandOutput,
- AssociateIpamByoasnCommand,
- type AssociateIpamByoasnCommandInput,
- type AssociateIpamByoasnCommandOutput,
- AssociateIpamResourceDiscoveryCommand,
- type AssociateIpamResourceDiscoveryCommandInput,
- type AssociateIpamResourceDiscoveryCommandOutput,
- AssociateNatGatewayAddressCommand,
- type AssociateNatGatewayAddressCommandInput,
- type AssociateNatGatewayAddressCommandOutput,
- AssociateRouteTableCommand,
- type AssociateRouteTableCommandInput,
- type AssociateRouteTableCommandOutput,
- AssociateSubnetCidrBlockCommand,
- type AssociateSubnetCidrBlockCommandInput,
- type AssociateSubnetCidrBlockCommandOutput,
- AssociateTransitGatewayMulticastDomainCommand,
- type AssociateTransitGatewayMulticastDomainCommandInput,
- type AssociateTransitGatewayMulticastDomainCommandOutput,
- AssociateTransitGatewayPolicyTableCommand,
- type AssociateTransitGatewayPolicyTableCommandInput,
- type AssociateTransitGatewayPolicyTableCommandOutput,
- AssociateTransitGatewayRouteTableCommand,
- type AssociateTransitGatewayRouteTableCommandInput,
- type AssociateTransitGatewayRouteTableCommandOutput,
- AssociateTrunkInterfaceCommand,
- type AssociateTrunkInterfaceCommandInput,
- type AssociateTrunkInterfaceCommandOutput,
- AssociateVpcCidrBlockCommand,
- type AssociateVpcCidrBlockCommandInput,
- type AssociateVpcCidrBlockCommandOutput,
- AttachClassicLinkVpcCommand,
- type AttachClassicLinkVpcCommandInput,
- type AttachClassicLinkVpcCommandOutput,
- AttachInternetGatewayCommand,
- type AttachInternetGatewayCommandInput,
- type AttachInternetGatewayCommandOutput,
- AttachNetworkInterfaceCommand,
- type AttachNetworkInterfaceCommandInput,
- type AttachNetworkInterfaceCommandOutput,
- AttachVerifiedAccessTrustProviderCommand,
- type AttachVerifiedAccessTrustProviderCommandInput,
- type AttachVerifiedAccessTrustProviderCommandOutput,
- AttachVolumeCommand,
- type AttachVolumeCommandInput,
- type AttachVolumeCommandOutput,
- AttachVpnGatewayCommand,
- type AttachVpnGatewayCommandInput,
- type AttachVpnGatewayCommandOutput,
- AuthorizeClientVpnIngressCommand,
- type AuthorizeClientVpnIngressCommandInput,
- type AuthorizeClientVpnIngressCommandOutput,
- AuthorizeSecurityGroupEgressCommand,
- type AuthorizeSecurityGroupEgressCommandInput,
- type AuthorizeSecurityGroupEgressCommandOutput,
- AuthorizeSecurityGroupIngressCommand,
- type AuthorizeSecurityGroupIngressCommandInput,
- type AuthorizeSecurityGroupIngressCommandOutput,
- BundleInstanceCommand,
- type BundleInstanceCommandInput,
- type BundleInstanceCommandOutput,
- CancelBundleTaskCommand,
- type CancelBundleTaskCommandInput,
- type CancelBundleTaskCommandOutput,
- CancelCapacityReservationCommand,
- type CancelCapacityReservationCommandInput,
- type CancelCapacityReservationCommandOutput,
- CancelCapacityReservationFleetsCommand,
- type CancelCapacityReservationFleetsCommandInput,
- type CancelCapacityReservationFleetsCommandOutput,
- CancelConversionTaskCommand,
- type CancelConversionTaskCommandInput,
- type CancelConversionTaskCommandOutput,
- CancelExportTaskCommand,
- type CancelExportTaskCommandInput,
- type CancelExportTaskCommandOutput,
- CancelImageLaunchPermissionCommand,
- type CancelImageLaunchPermissionCommandInput,
- type CancelImageLaunchPermissionCommandOutput,
- CancelImportTaskCommand,
- type CancelImportTaskCommandInput,
- type CancelImportTaskCommandOutput,
- CancelReservedInstancesListingCommand,
- type CancelReservedInstancesListingCommandInput,
- type CancelReservedInstancesListingCommandOutput,
- CancelSpotFleetRequestsCommand,
- type CancelSpotFleetRequestsCommandInput,
- type CancelSpotFleetRequestsCommandOutput,
- CancelSpotInstanceRequestsCommand,
- type CancelSpotInstanceRequestsCommandInput,
- type CancelSpotInstanceRequestsCommandOutput,
- ConfirmProductInstanceCommand,
- type ConfirmProductInstanceCommandInput,
- type ConfirmProductInstanceCommandOutput,
- CopyFpgaImageCommand,
- type CopyFpgaImageCommandInput,
- type CopyFpgaImageCommandOutput,
- CopyImageCommand,
- type CopyImageCommandInput,
- type CopyImageCommandOutput,
- CopySnapshotCommand,
- type CopySnapshotCommandInput,
- type CopySnapshotCommandOutput,
- CreateCapacityReservationCommand,
- type CreateCapacityReservationCommandInput,
- type CreateCapacityReservationCommandOutput,
- CreateCapacityReservationFleetCommand,
- type CreateCapacityReservationFleetCommandInput,
- type CreateCapacityReservationFleetCommandOutput,
- CreateCarrierGatewayCommand,
- type CreateCarrierGatewayCommandInput,
- type CreateCarrierGatewayCommandOutput,
- CreateClientVpnEndpointCommand,
- type CreateClientVpnEndpointCommandInput,
- type CreateClientVpnEndpointCommandOutput,
- CreateClientVpnRouteCommand,
- type CreateClientVpnRouteCommandInput,
- type CreateClientVpnRouteCommandOutput,
- CreateCoipCidrCommand,
- type CreateCoipCidrCommandInput,
- type CreateCoipCidrCommandOutput,
- CreateCoipPoolCommand,
- type CreateCoipPoolCommandInput,
- type CreateCoipPoolCommandOutput,
- CreateCustomerGatewayCommand,
- type CreateCustomerGatewayCommandInput,
- type CreateCustomerGatewayCommandOutput,
- CreateDefaultSubnetCommand,
- type CreateDefaultSubnetCommandInput,
- type CreateDefaultSubnetCommandOutput,
- CreateDefaultVpcCommand,
- type CreateDefaultVpcCommandInput,
- type CreateDefaultVpcCommandOutput,
- CreateDhcpOptionsCommand,
- type CreateDhcpOptionsCommandInput,
- type CreateDhcpOptionsCommandOutput,
- CreateEgressOnlyInternetGatewayCommand,
- type CreateEgressOnlyInternetGatewayCommandInput,
- type CreateEgressOnlyInternetGatewayCommandOutput,
- CreateFleetCommand,
- type CreateFleetCommandInput,
- type CreateFleetCommandOutput,
- CreateFlowLogsCommand,
- type CreateFlowLogsCommandInput,
- type CreateFlowLogsCommandOutput,
- CreateFpgaImageCommand,
- type CreateFpgaImageCommandInput,
- type CreateFpgaImageCommandOutput,
- CreateImageCommand,
- type CreateImageCommandInput,
- type CreateImageCommandOutput,
- CreateInstanceConnectEndpointCommand,
- type CreateInstanceConnectEndpointCommandInput,
- type CreateInstanceConnectEndpointCommandOutput,
- CreateInstanceEventWindowCommand,
- type CreateInstanceEventWindowCommandInput,
- type CreateInstanceEventWindowCommandOutput,
- CreateInstanceExportTaskCommand,
- type CreateInstanceExportTaskCommandInput,
- type CreateInstanceExportTaskCommandOutput,
- CreateInternetGatewayCommand,
- type CreateInternetGatewayCommandInput,
- type CreateInternetGatewayCommandOutput,
- CreateIpamCommand,
- type CreateIpamCommandInput,
- type CreateIpamCommandOutput,
- CreateIpamPoolCommand,
- type CreateIpamPoolCommandInput,
- type CreateIpamPoolCommandOutput,
- CreateIpamResourceDiscoveryCommand,
- type CreateIpamResourceDiscoveryCommandInput,
- type CreateIpamResourceDiscoveryCommandOutput,
- CreateIpamScopeCommand,
- type CreateIpamScopeCommandInput,
- type CreateIpamScopeCommandOutput,
- CreateKeyPairCommand,
- type CreateKeyPairCommandInput,
- type CreateKeyPairCommandOutput,
- CreateLaunchTemplateCommand,
- type CreateLaunchTemplateCommandInput,
- type CreateLaunchTemplateCommandOutput,
- CreateLaunchTemplateVersionCommand,
- type CreateLaunchTemplateVersionCommandInput,
- type CreateLaunchTemplateVersionCommandOutput,
- CreateLocalGatewayRouteCommand,
- type CreateLocalGatewayRouteCommandInput,
- type CreateLocalGatewayRouteCommandOutput,
- CreateLocalGatewayRouteTableCommand,
- type CreateLocalGatewayRouteTableCommandInput,
- type CreateLocalGatewayRouteTableCommandOutput,
- CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
- type CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
- type CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
- CreateLocalGatewayRouteTableVpcAssociationCommand,
- type CreateLocalGatewayRouteTableVpcAssociationCommandInput,
- type CreateLocalGatewayRouteTableVpcAssociationCommandOutput,
- CreateManagedPrefixListCommand,
- type CreateManagedPrefixListCommandInput,
- type CreateManagedPrefixListCommandOutput,
- CreateNatGatewayCommand,
- type CreateNatGatewayCommandInput,
- type CreateNatGatewayCommandOutput,
- CreateNetworkAclCommand,
- type CreateNetworkAclCommandInput,
- type CreateNetworkAclCommandOutput,
- CreateNetworkAclEntryCommand,
- type CreateNetworkAclEntryCommandInput,
- type CreateNetworkAclEntryCommandOutput,
- CreateNetworkInsightsAccessScopeCommand,
- type CreateNetworkInsightsAccessScopeCommandInput,
- type CreateNetworkInsightsAccessScopeCommandOutput,
- CreateNetworkInsightsPathCommand,
- type CreateNetworkInsightsPathCommandInput,
- type CreateNetworkInsightsPathCommandOutput,
- CreateNetworkInterfaceCommand,
- type CreateNetworkInterfaceCommandInput,
- type CreateNetworkInterfaceCommandOutput,
- CreateNetworkInterfacePermissionCommand,
- type CreateNetworkInterfacePermissionCommandInput,
- type CreateNetworkInterfacePermissionCommandOutput,
- CreatePlacementGroupCommand,
- type CreatePlacementGroupCommandInput,
- type CreatePlacementGroupCommandOutput,
- CreatePublicIpv4PoolCommand,
- type CreatePublicIpv4PoolCommandInput,
- type CreatePublicIpv4PoolCommandOutput,
- CreateReplaceRootVolumeTaskCommand,
- type CreateReplaceRootVolumeTaskCommandInput,
- type CreateReplaceRootVolumeTaskCommandOutput,
- CreateReservedInstancesListingCommand,
- type CreateReservedInstancesListingCommandInput,
- type CreateReservedInstancesListingCommandOutput,
- CreateRestoreImageTaskCommand,
- type CreateRestoreImageTaskCommandInput,
- type CreateRestoreImageTaskCommandOutput,
- CreateRouteCommand,
- type CreateRouteCommandInput,
- type CreateRouteCommandOutput,
- CreateRouteTableCommand,
- type CreateRouteTableCommandInput,
- type CreateRouteTableCommandOutput,
- CreateSecurityGroupCommand,
- type CreateSecurityGroupCommandInput,
- type CreateSecurityGroupCommandOutput,
- CreateSnapshotCommand,
- type CreateSnapshotCommandInput,
- type CreateSnapshotCommandOutput,
- CreateSnapshotsCommand,
- type CreateSnapshotsCommandInput,
- type CreateSnapshotsCommandOutput,
- CreateSpotDatafeedSubscriptionCommand,
- type CreateSpotDatafeedSubscriptionCommandInput,
- type CreateSpotDatafeedSubscriptionCommandOutput,
- CreateStoreImageTaskCommand,
- type CreateStoreImageTaskCommandInput,
- type CreateStoreImageTaskCommandOutput,
- CreateSubnetCommand,
- type CreateSubnetCommandInput,
- type CreateSubnetCommandOutput,
- CreateSubnetCidrReservationCommand,
- type CreateSubnetCidrReservationCommandInput,
- type CreateSubnetCidrReservationCommandOutput,
- CreateTagsCommand,
- type CreateTagsCommandInput,
- type CreateTagsCommandOutput,
- CreateTrafficMirrorFilterCommand,
- type CreateTrafficMirrorFilterCommandInput,
- type CreateTrafficMirrorFilterCommandOutput,
- CreateTrafficMirrorFilterRuleCommand,
- type CreateTrafficMirrorFilterRuleCommandInput,
- type CreateTrafficMirrorFilterRuleCommandOutput,
- CreateTrafficMirrorSessionCommand,
- type CreateTrafficMirrorSessionCommandInput,
- type CreateTrafficMirrorSessionCommandOutput,
- CreateTrafficMirrorTargetCommand,
- type CreateTrafficMirrorTargetCommandInput,
- type CreateTrafficMirrorTargetCommandOutput,
- CreateTransitGatewayCommand,
- type CreateTransitGatewayCommandInput,
- type CreateTransitGatewayCommandOutput,
- CreateTransitGatewayConnectCommand,
- type CreateTransitGatewayConnectCommandInput,
- type CreateTransitGatewayConnectCommandOutput,
- CreateTransitGatewayConnectPeerCommand,
- type CreateTransitGatewayConnectPeerCommandInput,
- type CreateTransitGatewayConnectPeerCommandOutput,
- CreateTransitGatewayMulticastDomainCommand,
- type CreateTransitGatewayMulticastDomainCommandInput,
- type CreateTransitGatewayMulticastDomainCommandOutput,
- CreateTransitGatewayPeeringAttachmentCommand,
- type CreateTransitGatewayPeeringAttachmentCommandInput,
- type CreateTransitGatewayPeeringAttachmentCommandOutput,
- CreateTransitGatewayPolicyTableCommand,
- type CreateTransitGatewayPolicyTableCommandInput,
- type CreateTransitGatewayPolicyTableCommandOutput,
- CreateTransitGatewayPrefixListReferenceCommand,
- type CreateTransitGatewayPrefixListReferenceCommandInput,
- type CreateTransitGatewayPrefixListReferenceCommandOutput,
- CreateTransitGatewayRouteCommand,
- type CreateTransitGatewayRouteCommandInput,
- type CreateTransitGatewayRouteCommandOutput,
- CreateTransitGatewayRouteTableCommand,
- type CreateTransitGatewayRouteTableCommandInput,
- type CreateTransitGatewayRouteTableCommandOutput,
- CreateTransitGatewayRouteTableAnnouncementCommand,
- type CreateTransitGatewayRouteTableAnnouncementCommandInput,
- type CreateTransitGatewayRouteTableAnnouncementCommandOutput,
- CreateTransitGatewayVpcAttachmentCommand,
- type CreateTransitGatewayVpcAttachmentCommandInput,
- type CreateTransitGatewayVpcAttachmentCommandOutput,
- CreateVerifiedAccessEndpointCommand,
- type CreateVerifiedAccessEndpointCommandInput,
- type CreateVerifiedAccessEndpointCommandOutput,
- CreateVerifiedAccessGroupCommand,
- type CreateVerifiedAccessGroupCommandInput,
- type CreateVerifiedAccessGroupCommandOutput,
- CreateVerifiedAccessInstanceCommand,
- type CreateVerifiedAccessInstanceCommandInput,
- type CreateVerifiedAccessInstanceCommandOutput,
- CreateVerifiedAccessTrustProviderCommand,
- type CreateVerifiedAccessTrustProviderCommandInput,
- type CreateVerifiedAccessTrustProviderCommandOutput,
- CreateVolumeCommand,
- type CreateVolumeCommandInput,
- type CreateVolumeCommandOutput,
- CreateVpcCommand,
- type CreateVpcCommandInput,
- type CreateVpcCommandOutput,
- CreateVpcEndpointCommand,
- type CreateVpcEndpointCommandInput,
- type CreateVpcEndpointCommandOutput,
- CreateVpcEndpointConnectionNotificationCommand,
- type CreateVpcEndpointConnectionNotificationCommandInput,
- type CreateVpcEndpointConnectionNotificationCommandOutput,
- CreateVpcEndpointServiceConfigurationCommand,
- type CreateVpcEndpointServiceConfigurationCommandInput,
- type CreateVpcEndpointServiceConfigurationCommandOutput,
- CreateVpcPeeringConnectionCommand,
- type CreateVpcPeeringConnectionCommandInput,
- type CreateVpcPeeringConnectionCommandOutput,
- CreateVpnConnectionCommand,
- type CreateVpnConnectionCommandInput,
- type CreateVpnConnectionCommandOutput,
- CreateVpnConnectionRouteCommand,
- type CreateVpnConnectionRouteCommandInput,
- type CreateVpnConnectionRouteCommandOutput,
- CreateVpnGatewayCommand,
- type CreateVpnGatewayCommandInput,
- type CreateVpnGatewayCommandOutput,
- DeleteCarrierGatewayCommand,
- type DeleteCarrierGatewayCommandInput,
- type DeleteCarrierGatewayCommandOutput,
- DeleteClientVpnEndpointCommand,
- type DeleteClientVpnEndpointCommandInput,
- type DeleteClientVpnEndpointCommandOutput,
- DeleteClientVpnRouteCommand,
- type DeleteClientVpnRouteCommandInput,
- type DeleteClientVpnRouteCommandOutput,
- DeleteCoipCidrCommand,
- type DeleteCoipCidrCommandInput,
- type DeleteCoipCidrCommandOutput,
- DeleteCoipPoolCommand,
- type DeleteCoipPoolCommandInput,
- type DeleteCoipPoolCommandOutput,
- DeleteCustomerGatewayCommand,
- type DeleteCustomerGatewayCommandInput,
- type DeleteCustomerGatewayCommandOutput,
- DeleteDhcpOptionsCommand,
- type DeleteDhcpOptionsCommandInput,
- type DeleteDhcpOptionsCommandOutput,
- DeleteEgressOnlyInternetGatewayCommand,
- type DeleteEgressOnlyInternetGatewayCommandInput,
- type DeleteEgressOnlyInternetGatewayCommandOutput,
- DeleteFleetsCommand,
- type DeleteFleetsCommandInput,
- type DeleteFleetsCommandOutput,
- DeleteFlowLogsCommand,
- type DeleteFlowLogsCommandInput,
- type DeleteFlowLogsCommandOutput,
- DeleteFpgaImageCommand,
- type DeleteFpgaImageCommandInput,
- type DeleteFpgaImageCommandOutput,
- DeleteInstanceConnectEndpointCommand,
- type DeleteInstanceConnectEndpointCommandInput,
- type DeleteInstanceConnectEndpointCommandOutput,
- DeleteInstanceEventWindowCommand,
- type DeleteInstanceEventWindowCommandInput,
- type DeleteInstanceEventWindowCommandOutput,
- DeleteInternetGatewayCommand,
- type DeleteInternetGatewayCommandInput,
- type DeleteInternetGatewayCommandOutput,
- DeleteIpamCommand,
- type DeleteIpamCommandInput,
- type DeleteIpamCommandOutput,
- DeleteIpamPoolCommand,
- type DeleteIpamPoolCommandInput,
- type DeleteIpamPoolCommandOutput,
- DeleteIpamResourceDiscoveryCommand,
- type DeleteIpamResourceDiscoveryCommandInput,
- type DeleteIpamResourceDiscoveryCommandOutput,
- DeleteIpamScopeCommand,
- type DeleteIpamScopeCommandInput,
- type DeleteIpamScopeCommandOutput,
- DeleteKeyPairCommand,
- type DeleteKeyPairCommandInput,
- type DeleteKeyPairCommandOutput,
- DeleteLaunchTemplateCommand,
- type DeleteLaunchTemplateCommandInput,
- type DeleteLaunchTemplateCommandOutput,
- DeleteLaunchTemplateVersionsCommand,
- type DeleteLaunchTemplateVersionsCommandInput,
- type DeleteLaunchTemplateVersionsCommandOutput,
- DeleteLocalGatewayRouteCommand,
- type DeleteLocalGatewayRouteCommandInput,
- type DeleteLocalGatewayRouteCommandOutput,
- DeleteLocalGatewayRouteTableCommand,
- type DeleteLocalGatewayRouteTableCommandInput,
- type DeleteLocalGatewayRouteTableCommandOutput,
- DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
- type DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
- type DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
- DeleteLocalGatewayRouteTableVpcAssociationCommand,
- type DeleteLocalGatewayRouteTableVpcAssociationCommandInput,
- type DeleteLocalGatewayRouteTableVpcAssociationCommandOutput,
- DeleteManagedPrefixListCommand,
- type DeleteManagedPrefixListCommandInput,
- type DeleteManagedPrefixListCommandOutput,
- DeleteNatGatewayCommand,
- type DeleteNatGatewayCommandInput,
- type DeleteNatGatewayCommandOutput,
- DeleteNetworkAclCommand,
- type DeleteNetworkAclCommandInput,
- type DeleteNetworkAclCommandOutput,
- DeleteNetworkAclEntryCommand,
- type DeleteNetworkAclEntryCommandInput,
- type DeleteNetworkAclEntryCommandOutput,
- DeleteNetworkInsightsAccessScopeCommand,
- type DeleteNetworkInsightsAccessScopeCommandInput,
- type DeleteNetworkInsightsAccessScopeCommandOutput,
- DeleteNetworkInsightsAccessScopeAnalysisCommand,
- type DeleteNetworkInsightsAccessScopeAnalysisCommandInput,
- type DeleteNetworkInsightsAccessScopeAnalysisCommandOutput,
- DeleteNetworkInsightsAnalysisCommand,
- type DeleteNetworkInsightsAnalysisCommandInput,
- type DeleteNetworkInsightsAnalysisCommandOutput,
- DeleteNetworkInsightsPathCommand,
- type DeleteNetworkInsightsPathCommandInput,
- type DeleteNetworkInsightsPathCommandOutput,
- DeleteNetworkInterfaceCommand,
- type DeleteNetworkInterfaceCommandInput,
- type DeleteNetworkInterfaceCommandOutput,
- DeleteNetworkInterfacePermissionCommand,
- type DeleteNetworkInterfacePermissionCommandInput,
- type DeleteNetworkInterfacePermissionCommandOutput,
- DeletePlacementGroupCommand,
- type DeletePlacementGroupCommandInput,
- type DeletePlacementGroupCommandOutput,
- DeletePublicIpv4PoolCommand,
- type DeletePublicIpv4PoolCommandInput,
- type DeletePublicIpv4PoolCommandOutput,
- DeleteQueuedReservedInstancesCommand,
- type DeleteQueuedReservedInstancesCommandInput,
- type DeleteQueuedReservedInstancesCommandOutput,
- DeleteRouteCommand,
- type DeleteRouteCommandInput,
- type DeleteRouteCommandOutput,
- DeleteRouteTableCommand,
- type DeleteRouteTableCommandInput,
- type DeleteRouteTableCommandOutput,
- DeleteSecurityGroupCommand,
- type DeleteSecurityGroupCommandInput,
- type DeleteSecurityGroupCommandOutput,
- DeleteSnapshotCommand,
- type DeleteSnapshotCommandInput,
- type DeleteSnapshotCommandOutput,
- DeleteSpotDatafeedSubscriptionCommand,
- type DeleteSpotDatafeedSubscriptionCommandInput,
- type DeleteSpotDatafeedSubscriptionCommandOutput,
- DeleteSubnetCommand,
- type DeleteSubnetCommandInput,
- type DeleteSubnetCommandOutput,
- DeleteSubnetCidrReservationCommand,
- type DeleteSubnetCidrReservationCommandInput,
- type DeleteSubnetCidrReservationCommandOutput,
- DeleteTagsCommand,
- type DeleteTagsCommandInput,
- type DeleteTagsCommandOutput,
- DeleteTrafficMirrorFilterCommand,
- type DeleteTrafficMirrorFilterCommandInput,
- type DeleteTrafficMirrorFilterCommandOutput,
- DeleteTrafficMirrorFilterRuleCommand,
- type DeleteTrafficMirrorFilterRuleCommandInput,
- type DeleteTrafficMirrorFilterRuleCommandOutput,
- DeleteTrafficMirrorSessionCommand,
- type DeleteTrafficMirrorSessionCommandInput,
- type DeleteTrafficMirrorSessionCommandOutput,
- DeleteTrafficMirrorTargetCommand,
- type DeleteTrafficMirrorTargetCommandInput,
- type DeleteTrafficMirrorTargetCommandOutput,
- DeleteTransitGatewayCommand,
- type DeleteTransitGatewayCommandInput,
- type DeleteTransitGatewayCommandOutput,
- DeleteTransitGatewayConnectCommand,
- type DeleteTransitGatewayConnectCommandInput,
- type DeleteTransitGatewayConnectCommandOutput,
- DeleteTransitGatewayConnectPeerCommand,
- type DeleteTransitGatewayConnectPeerCommandInput,
- type DeleteTransitGatewayConnectPeerCommandOutput,
- DeleteTransitGatewayMulticastDomainCommand,
- type DeleteTransitGatewayMulticastDomainCommandInput,
- type DeleteTransitGatewayMulticastDomainCommandOutput,
- DeleteTransitGatewayPeeringAttachmentCommand,
- type DeleteTransitGatewayPeeringAttachmentCommandInput,
- type DeleteTransitGatewayPeeringAttachmentCommandOutput,
- DeleteTransitGatewayPolicyTableCommand,
- type DeleteTransitGatewayPolicyTableCommandInput,
- type DeleteTransitGatewayPolicyTableCommandOutput,
- DeleteTransitGatewayPrefixListReferenceCommand,
- type DeleteTransitGatewayPrefixListReferenceCommandInput,
- type DeleteTransitGatewayPrefixListReferenceCommandOutput,
- DeleteTransitGatewayRouteCommand,
- type DeleteTransitGatewayRouteCommandInput,
- type DeleteTransitGatewayRouteCommandOutput,
- DeleteTransitGatewayRouteTableCommand,
- type DeleteTransitGatewayRouteTableCommandInput,
- type DeleteTransitGatewayRouteTableCommandOutput,
- DeleteTransitGatewayRouteTableAnnouncementCommand,
- type DeleteTransitGatewayRouteTableAnnouncementCommandInput,
- type DeleteTransitGatewayRouteTableAnnouncementCommandOutput,
- DeleteTransitGatewayVpcAttachmentCommand,
- type DeleteTransitGatewayVpcAttachmentCommandInput,
- type DeleteTransitGatewayVpcAttachmentCommandOutput,
- DeleteVerifiedAccessEndpointCommand,
- type DeleteVerifiedAccessEndpointCommandInput,
- type DeleteVerifiedAccessEndpointCommandOutput,
- DeleteVerifiedAccessGroupCommand,
- type DeleteVerifiedAccessGroupCommandInput,
- type DeleteVerifiedAccessGroupCommandOutput,
- DeleteVerifiedAccessInstanceCommand,
- type DeleteVerifiedAccessInstanceCommandInput,
- type DeleteVerifiedAccessInstanceCommandOutput,
- DeleteVerifiedAccessTrustProviderCommand,
- type DeleteVerifiedAccessTrustProviderCommandInput,
- type DeleteVerifiedAccessTrustProviderCommandOutput,
- DeleteVolumeCommand,
- type DeleteVolumeCommandInput,
- type DeleteVolumeCommandOutput,
- DeleteVpcCommand,
- type DeleteVpcCommandInput,
- type DeleteVpcCommandOutput,
- DeleteVpcEndpointConnectionNotificationsCommand,
- type DeleteVpcEndpointConnectionNotificationsCommandInput,
- type DeleteVpcEndpointConnectionNotificationsCommandOutput,
- DeleteVpcEndpointsCommand,
- type DeleteVpcEndpointsCommandInput,
- type DeleteVpcEndpointsCommandOutput,
- DeleteVpcEndpointServiceConfigurationsCommand,
- type DeleteVpcEndpointServiceConfigurationsCommandInput,
- type DeleteVpcEndpointServiceConfigurationsCommandOutput,
- DeleteVpcPeeringConnectionCommand,
- type DeleteVpcPeeringConnectionCommandInput,
- type DeleteVpcPeeringConnectionCommandOutput,
- DeleteVpnConnectionCommand,
- type DeleteVpnConnectionCommandInput,
- type DeleteVpnConnectionCommandOutput,
- DeleteVpnConnectionRouteCommand,
- type DeleteVpnConnectionRouteCommandInput,
- type DeleteVpnConnectionRouteCommandOutput,
- DeleteVpnGatewayCommand,
- type DeleteVpnGatewayCommandInput,
- type DeleteVpnGatewayCommandOutput,
- DeprovisionByoipCidrCommand,
- type DeprovisionByoipCidrCommandInput,
- type DeprovisionByoipCidrCommandOutput,
- DeprovisionIpamByoasnCommand,
- type DeprovisionIpamByoasnCommandInput,
- type DeprovisionIpamByoasnCommandOutput,
- DeprovisionIpamPoolCidrCommand,
- type DeprovisionIpamPoolCidrCommandInput,
- type DeprovisionIpamPoolCidrCommandOutput,
- DeprovisionPublicIpv4PoolCidrCommand,
- type DeprovisionPublicIpv4PoolCidrCommandInput,
- type DeprovisionPublicIpv4PoolCidrCommandOutput,
- DeregisterImageCommand,
- type DeregisterImageCommandInput,
- type DeregisterImageCommandOutput,
- DeregisterInstanceEventNotificationAttributesCommand,
- type DeregisterInstanceEventNotificationAttributesCommandInput,
- type DeregisterInstanceEventNotificationAttributesCommandOutput,
- DeregisterTransitGatewayMulticastGroupMembersCommand,
- type DeregisterTransitGatewayMulticastGroupMembersCommandInput,
- type DeregisterTransitGatewayMulticastGroupMembersCommandOutput,
- DeregisterTransitGatewayMulticastGroupSourcesCommand,
- type DeregisterTransitGatewayMulticastGroupSourcesCommandInput,
- type DeregisterTransitGatewayMulticastGroupSourcesCommandOutput,
- DescribeAccountAttributesCommand,
- type DescribeAccountAttributesCommandInput,
- type DescribeAccountAttributesCommandOutput,
- DescribeAddressesCommand,
- type DescribeAddressesCommandInput,
- type DescribeAddressesCommandOutput,
- DescribeAddressesAttributeCommand,
- type DescribeAddressesAttributeCommandInput,
- type DescribeAddressesAttributeCommandOutput,
- DescribeAddressTransfersCommand,
- type DescribeAddressTransfersCommandInput,
- type DescribeAddressTransfersCommandOutput,
- DescribeAggregateIdFormatCommand,
- type DescribeAggregateIdFormatCommandInput,
- type DescribeAggregateIdFormatCommandOutput,
- DescribeAvailabilityZonesCommand,
- type DescribeAvailabilityZonesCommandInput,
- type DescribeAvailabilityZonesCommandOutput,
- DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,
- type DescribeAwsNetworkPerformanceMetricSubscriptionsCommandInput,
- type DescribeAwsNetworkPerformanceMetricSubscriptionsCommandOutput,
- DescribeBundleTasksCommand,
- type DescribeBundleTasksCommandInput,
- type DescribeBundleTasksCommandOutput,
- DescribeByoipCidrsCommand,
- type DescribeByoipCidrsCommandInput,
- type DescribeByoipCidrsCommandOutput,
- DescribeCapacityBlockOfferingsCommand,
- type DescribeCapacityBlockOfferingsCommandInput,
- type DescribeCapacityBlockOfferingsCommandOutput,
- DescribeCapacityReservationFleetsCommand,
- type DescribeCapacityReservationFleetsCommandInput,
- type DescribeCapacityReservationFleetsCommandOutput,
- DescribeCapacityReservationsCommand,
- type DescribeCapacityReservationsCommandInput,
- type DescribeCapacityReservationsCommandOutput,
- DescribeCarrierGatewaysCommand,
- type DescribeCarrierGatewaysCommandInput,
- type DescribeCarrierGatewaysCommandOutput,
- DescribeClassicLinkInstancesCommand,
- type DescribeClassicLinkInstancesCommandInput,
- type DescribeClassicLinkInstancesCommandOutput,
- DescribeClientVpnAuthorizationRulesCommand,
- type DescribeClientVpnAuthorizationRulesCommandInput,
- type DescribeClientVpnAuthorizationRulesCommandOutput,
- DescribeClientVpnConnectionsCommand,
- type DescribeClientVpnConnectionsCommandInput,
- type DescribeClientVpnConnectionsCommandOutput,
- DescribeClientVpnEndpointsCommand,
- type DescribeClientVpnEndpointsCommandInput,
- type DescribeClientVpnEndpointsCommandOutput,
- DescribeClientVpnRoutesCommand,
- type DescribeClientVpnRoutesCommandInput,
- type DescribeClientVpnRoutesCommandOutput,
- DescribeClientVpnTargetNetworksCommand,
- type DescribeClientVpnTargetNetworksCommandInput,
- type DescribeClientVpnTargetNetworksCommandOutput,
- DescribeCoipPoolsCommand,
- type DescribeCoipPoolsCommandInput,
- type DescribeCoipPoolsCommandOutput,
- DescribeConversionTasksCommand,
- type DescribeConversionTasksCommandInput,
- type DescribeConversionTasksCommandOutput,
- DescribeCustomerGatewaysCommand,
- type DescribeCustomerGatewaysCommandInput,
- type DescribeCustomerGatewaysCommandOutput,
- DescribeDhcpOptionsCommand,
- type DescribeDhcpOptionsCommandInput,
- type DescribeDhcpOptionsCommandOutput,
- DescribeEgressOnlyInternetGatewaysCommand,
- type DescribeEgressOnlyInternetGatewaysCommandInput,
- type DescribeEgressOnlyInternetGatewaysCommandOutput,
- DescribeElasticGpusCommand,
- type DescribeElasticGpusCommandInput,
- type DescribeElasticGpusCommandOutput,
- DescribeExportImageTasksCommand,
- type DescribeExportImageTasksCommandInput,
- type DescribeExportImageTasksCommandOutput,
- DescribeExportTasksCommand,
- type DescribeExportTasksCommandInput,
- type DescribeExportTasksCommandOutput,
- DescribeFastLaunchImagesCommand,
- type DescribeFastLaunchImagesCommandInput,
- type DescribeFastLaunchImagesCommandOutput,
- DescribeFastSnapshotRestoresCommand,
- type DescribeFastSnapshotRestoresCommandInput,
- type DescribeFastSnapshotRestoresCommandOutput,
- DescribeFleetHistoryCommand,
- type DescribeFleetHistoryCommandInput,
- type DescribeFleetHistoryCommandOutput,
- DescribeFleetInstancesCommand,
- type DescribeFleetInstancesCommandInput,
- type DescribeFleetInstancesCommandOutput,
- DescribeFleetsCommand,
- type DescribeFleetsCommandInput,
- type DescribeFleetsCommandOutput,
- DescribeFlowLogsCommand,
- type DescribeFlowLogsCommandInput,
- type DescribeFlowLogsCommandOutput,
- DescribeFpgaImageAttributeCommand,
- type DescribeFpgaImageAttributeCommandInput,
- type DescribeFpgaImageAttributeCommandOutput,
- DescribeFpgaImagesCommand,
- type DescribeFpgaImagesCommandInput,
- type DescribeFpgaImagesCommandOutput,
- DescribeHostReservationOfferingsCommand,
- type DescribeHostReservationOfferingsCommandInput,
- type DescribeHostReservationOfferingsCommandOutput,
- DescribeHostReservationsCommand,
- type DescribeHostReservationsCommandInput,
- type DescribeHostReservationsCommandOutput,
- DescribeHostsCommand,
- type DescribeHostsCommandInput,
- type DescribeHostsCommandOutput,
- DescribeIamInstanceProfileAssociationsCommand,
- type DescribeIamInstanceProfileAssociationsCommandInput,
- type DescribeIamInstanceProfileAssociationsCommandOutput,
- DescribeIdentityIdFormatCommand,
- type DescribeIdentityIdFormatCommandInput,
- type DescribeIdentityIdFormatCommandOutput,
- DescribeIdFormatCommand,
- type DescribeIdFormatCommandInput,
- type DescribeIdFormatCommandOutput,
- DescribeImageAttributeCommand,
- type DescribeImageAttributeCommandInput,
- type DescribeImageAttributeCommandOutput,
- DescribeImagesCommand,
- type DescribeImagesCommandInput,
- type DescribeImagesCommandOutput,
- DescribeImportImageTasksCommand,
- type DescribeImportImageTasksCommandInput,
- type DescribeImportImageTasksCommandOutput,
- DescribeImportSnapshotTasksCommand,
- type DescribeImportSnapshotTasksCommandInput,
- type DescribeImportSnapshotTasksCommandOutput,
- DescribeInstanceAttributeCommand,
- type DescribeInstanceAttributeCommandInput,
- type DescribeInstanceAttributeCommandOutput,
- DescribeInstanceConnectEndpointsCommand,
- type DescribeInstanceConnectEndpointsCommandInput,
- type DescribeInstanceConnectEndpointsCommandOutput,
- DescribeInstanceCreditSpecificationsCommand,
- type DescribeInstanceCreditSpecificationsCommandInput,
- type DescribeInstanceCreditSpecificationsCommandOutput,
- DescribeInstanceEventNotificationAttributesCommand,
- type DescribeInstanceEventNotificationAttributesCommandInput,
- type DescribeInstanceEventNotificationAttributesCommandOutput,
- DescribeInstanceEventWindowsCommand,
- type DescribeInstanceEventWindowsCommandInput,
- type DescribeInstanceEventWindowsCommandOutput,
- DescribeInstancesCommand,
- type DescribeInstancesCommandInput,
- type DescribeInstancesCommandOutput,
- DescribeInstanceStatusCommand,
- type DescribeInstanceStatusCommandInput,
- type DescribeInstanceStatusCommandOutput,
- DescribeInstanceTopologyCommand,
- type DescribeInstanceTopologyCommandInput,
- type DescribeInstanceTopologyCommandOutput,
- DescribeInstanceTypeOfferingsCommand,
- type DescribeInstanceTypeOfferingsCommandInput,
- type DescribeInstanceTypeOfferingsCommandOutput,
- DescribeInstanceTypesCommand,
- type DescribeInstanceTypesCommandInput,
- type DescribeInstanceTypesCommandOutput,
- DescribeInternetGatewaysCommand,
- type DescribeInternetGatewaysCommandInput,
- type DescribeInternetGatewaysCommandOutput,
- DescribeIpamByoasnCommand,
- type DescribeIpamByoasnCommandInput,
- type DescribeIpamByoasnCommandOutput,
- DescribeIpamPoolsCommand,
- type DescribeIpamPoolsCommandInput,
- type DescribeIpamPoolsCommandOutput,
- DescribeIpamResourceDiscoveriesCommand,
- type DescribeIpamResourceDiscoveriesCommandInput,
- type DescribeIpamResourceDiscoveriesCommandOutput,
- DescribeIpamResourceDiscoveryAssociationsCommand,
- type DescribeIpamResourceDiscoveryAssociationsCommandInput,
- type DescribeIpamResourceDiscoveryAssociationsCommandOutput,
- DescribeIpamsCommand,
- type DescribeIpamsCommandInput,
- type DescribeIpamsCommandOutput,
- DescribeIpamScopesCommand,
- type DescribeIpamScopesCommandInput,
- type DescribeIpamScopesCommandOutput,
- DescribeIpv6PoolsCommand,
- type DescribeIpv6PoolsCommandInput,
- type DescribeIpv6PoolsCommandOutput,
- DescribeKeyPairsCommand,
- type DescribeKeyPairsCommandInput,
- type DescribeKeyPairsCommandOutput,
- DescribeLaunchTemplatesCommand,
- type DescribeLaunchTemplatesCommandInput,
- type DescribeLaunchTemplatesCommandOutput,
- DescribeLaunchTemplateVersionsCommand,
- type DescribeLaunchTemplateVersionsCommandInput,
- type DescribeLaunchTemplateVersionsCommandOutput,
- DescribeLocalGatewayRouteTablesCommand,
- type DescribeLocalGatewayRouteTablesCommandInput,
- type DescribeLocalGatewayRouteTablesCommandOutput,
- DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,
- type DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput,
- type DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput,
- DescribeLocalGatewayRouteTableVpcAssociationsCommand,
- type DescribeLocalGatewayRouteTableVpcAssociationsCommandInput,
- type DescribeLocalGatewayRouteTableVpcAssociationsCommandOutput,
- DescribeLocalGatewaysCommand,
- type DescribeLocalGatewaysCommandInput,
- type DescribeLocalGatewaysCommandOutput,
- DescribeLocalGatewayVirtualInterfaceGroupsCommand,
- type DescribeLocalGatewayVirtualInterfaceGroupsCommandInput,
- type DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput,
- DescribeLocalGatewayVirtualInterfacesCommand,
- type DescribeLocalGatewayVirtualInterfacesCommandInput,
- type DescribeLocalGatewayVirtualInterfacesCommandOutput,
- DescribeLockedSnapshotsCommand,
- type DescribeLockedSnapshotsCommandInput,
- type DescribeLockedSnapshotsCommandOutput,
- DescribeManagedPrefixListsCommand,
- type DescribeManagedPrefixListsCommandInput,
- type DescribeManagedPrefixListsCommandOutput,
- DescribeMovingAddressesCommand,
- type DescribeMovingAddressesCommandInput,
- type DescribeMovingAddressesCommandOutput,
- DescribeNatGatewaysCommand,
- type DescribeNatGatewaysCommandInput,
- type DescribeNatGatewaysCommandOutput,
- DescribeNetworkAclsCommand,
- type DescribeNetworkAclsCommandInput,
- type DescribeNetworkAclsCommandOutput,
- DescribeNetworkInsightsAccessScopeAnalysesCommand,
- type DescribeNetworkInsightsAccessScopeAnalysesCommandInput,
- type DescribeNetworkInsightsAccessScopeAnalysesCommandOutput,
- DescribeNetworkInsightsAccessScopesCommand,
- type DescribeNetworkInsightsAccessScopesCommandInput,
- type DescribeNetworkInsightsAccessScopesCommandOutput,
- DescribeNetworkInsightsAnalysesCommand,
- type DescribeNetworkInsightsAnalysesCommandInput,
- type DescribeNetworkInsightsAnalysesCommandOutput,
- DescribeNetworkInsightsPathsCommand,
- type DescribeNetworkInsightsPathsCommandInput,
- type DescribeNetworkInsightsPathsCommandOutput,
- DescribeNetworkInterfaceAttributeCommand,
- type DescribeNetworkInterfaceAttributeCommandInput,
- type DescribeNetworkInterfaceAttributeCommandOutput,
- DescribeNetworkInterfacePermissionsCommand,
- type DescribeNetworkInterfacePermissionsCommandInput,
- type DescribeNetworkInterfacePermissionsCommandOutput,
- DescribeNetworkInterfacesCommand,
- type DescribeNetworkInterfacesCommandInput,
- type DescribeNetworkInterfacesCommandOutput,
- DescribePlacementGroupsCommand,
- type DescribePlacementGroupsCommandInput,
- type DescribePlacementGroupsCommandOutput,
- DescribePrefixListsCommand,
- type DescribePrefixListsCommandInput,
- type DescribePrefixListsCommandOutput,
- DescribePrincipalIdFormatCommand,
- type DescribePrincipalIdFormatCommandInput,
- type DescribePrincipalIdFormatCommandOutput,
- DescribePublicIpv4PoolsCommand,
- type DescribePublicIpv4PoolsCommandInput,
- type DescribePublicIpv4PoolsCommandOutput,
- DescribeRegionsCommand,
- type DescribeRegionsCommandInput,
- type DescribeRegionsCommandOutput,
- DescribeReplaceRootVolumeTasksCommand,
- type DescribeReplaceRootVolumeTasksCommandInput,
- type DescribeReplaceRootVolumeTasksCommandOutput,
- DescribeReservedInstancesCommand,
- type DescribeReservedInstancesCommandInput,
- type DescribeReservedInstancesCommandOutput,
- DescribeReservedInstancesListingsCommand,
- type DescribeReservedInstancesListingsCommandInput,
- type DescribeReservedInstancesListingsCommandOutput,
- DescribeReservedInstancesModificationsCommand,
- type DescribeReservedInstancesModificationsCommandInput,
- type DescribeReservedInstancesModificationsCommandOutput,
- DescribeReservedInstancesOfferingsCommand,
- type DescribeReservedInstancesOfferingsCommandInput,
- type DescribeReservedInstancesOfferingsCommandOutput,
- DescribeRouteTablesCommand,
- type DescribeRouteTablesCommandInput,
- type DescribeRouteTablesCommandOutput,
- DescribeScheduledInstanceAvailabilityCommand,
- type DescribeScheduledInstanceAvailabilityCommandInput,
- type DescribeScheduledInstanceAvailabilityCommandOutput,
- DescribeScheduledInstancesCommand,
- type DescribeScheduledInstancesCommandInput,
- type DescribeScheduledInstancesCommandOutput,
- DescribeSecurityGroupReferencesCommand,
- type DescribeSecurityGroupReferencesCommandInput,
- type DescribeSecurityGroupReferencesCommandOutput,
- DescribeSecurityGroupRulesCommand,
- type DescribeSecurityGroupRulesCommandInput,
- type DescribeSecurityGroupRulesCommandOutput,
- DescribeSecurityGroupsCommand,
- type DescribeSecurityGroupsCommandInput,
- type DescribeSecurityGroupsCommandOutput,
- DescribeSnapshotAttributeCommand,
- type DescribeSnapshotAttributeCommandInput,
- type DescribeSnapshotAttributeCommandOutput,
- DescribeSnapshotsCommand,
- type DescribeSnapshotsCommandInput,
- type DescribeSnapshotsCommandOutput,
- DescribeSnapshotTierStatusCommand,
- type DescribeSnapshotTierStatusCommandInput,
- type DescribeSnapshotTierStatusCommandOutput,
- DescribeSpotDatafeedSubscriptionCommand,
- type DescribeSpotDatafeedSubscriptionCommandInput,
- type DescribeSpotDatafeedSubscriptionCommandOutput,
- DescribeSpotFleetInstancesCommand,
- type DescribeSpotFleetInstancesCommandInput,
- type DescribeSpotFleetInstancesCommandOutput,
- DescribeSpotFleetRequestHistoryCommand,
- type DescribeSpotFleetRequestHistoryCommandInput,
- type DescribeSpotFleetRequestHistoryCommandOutput,
- DescribeSpotFleetRequestsCommand,
- type DescribeSpotFleetRequestsCommandInput,
- type DescribeSpotFleetRequestsCommandOutput,
- DescribeSpotInstanceRequestsCommand,
- type DescribeSpotInstanceRequestsCommandInput,
- type DescribeSpotInstanceRequestsCommandOutput,
- DescribeSpotPriceHistoryCommand,
- type DescribeSpotPriceHistoryCommandInput,
- type DescribeSpotPriceHistoryCommandOutput,
- DescribeStaleSecurityGroupsCommand,
- type DescribeStaleSecurityGroupsCommandInput,
- type DescribeStaleSecurityGroupsCommandOutput,
- DescribeStoreImageTasksCommand,
- type DescribeStoreImageTasksCommandInput,
- type DescribeStoreImageTasksCommandOutput,
- DescribeSubnetsCommand,
- type DescribeSubnetsCommandInput,
- type DescribeSubnetsCommandOutput,
- DescribeTagsCommand,
- type DescribeTagsCommandInput,
- type DescribeTagsCommandOutput,
- DescribeTrafficMirrorFiltersCommand,
- type DescribeTrafficMirrorFiltersCommandInput,
- type DescribeTrafficMirrorFiltersCommandOutput,
- DescribeTrafficMirrorSessionsCommand,
- type DescribeTrafficMirrorSessionsCommandInput,
- type DescribeTrafficMirrorSessionsCommandOutput,
- DescribeTrafficMirrorTargetsCommand,
- type DescribeTrafficMirrorTargetsCommandInput,
- type DescribeTrafficMirrorTargetsCommandOutput,
- DescribeTransitGatewayAttachmentsCommand,
- type DescribeTransitGatewayAttachmentsCommandInput,
- type DescribeTransitGatewayAttachmentsCommandOutput,
- DescribeTransitGatewayConnectPeersCommand,
- type DescribeTransitGatewayConnectPeersCommandInput,
- type DescribeTransitGatewayConnectPeersCommandOutput,
- DescribeTransitGatewayConnectsCommand,
- type DescribeTransitGatewayConnectsCommandInput,
- type DescribeTransitGatewayConnectsCommandOutput,
- DescribeTransitGatewayMulticastDomainsCommand,
- type DescribeTransitGatewayMulticastDomainsCommandInput,
- type DescribeTransitGatewayMulticastDomainsCommandOutput,
- DescribeTransitGatewayPeeringAttachmentsCommand,
- type DescribeTransitGatewayPeeringAttachmentsCommandInput,
- type DescribeTransitGatewayPeeringAttachmentsCommandOutput,
- DescribeTransitGatewayPolicyTablesCommand,
- type DescribeTransitGatewayPolicyTablesCommandInput,
- type DescribeTransitGatewayPolicyTablesCommandOutput,
- DescribeTransitGatewayRouteTableAnnouncementsCommand,
- type DescribeTransitGatewayRouteTableAnnouncementsCommandInput,
- type DescribeTransitGatewayRouteTableAnnouncementsCommandOutput,
- DescribeTransitGatewayRouteTablesCommand,
- type DescribeTransitGatewayRouteTablesCommandInput,
- type DescribeTransitGatewayRouteTablesCommandOutput,
- DescribeTransitGatewaysCommand,
- type DescribeTransitGatewaysCommandInput,
- type DescribeTransitGatewaysCommandOutput,
- DescribeTransitGatewayVpcAttachmentsCommand,
- type DescribeTransitGatewayVpcAttachmentsCommandInput,
- type DescribeTransitGatewayVpcAttachmentsCommandOutput,
- DescribeTrunkInterfaceAssociationsCommand,
- type DescribeTrunkInterfaceAssociationsCommandInput,
- type DescribeTrunkInterfaceAssociationsCommandOutput,
- DescribeVerifiedAccessEndpointsCommand,
- type DescribeVerifiedAccessEndpointsCommandInput,
- type DescribeVerifiedAccessEndpointsCommandOutput,
- DescribeVerifiedAccessGroupsCommand,
- type DescribeVerifiedAccessGroupsCommandInput,
- type DescribeVerifiedAccessGroupsCommandOutput,
- DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,
- type DescribeVerifiedAccessInstanceLoggingConfigurationsCommandInput,
- type DescribeVerifiedAccessInstanceLoggingConfigurationsCommandOutput,
- DescribeVerifiedAccessInstancesCommand,
- type DescribeVerifiedAccessInstancesCommandInput,
- type DescribeVerifiedAccessInstancesCommandOutput,
- DescribeVerifiedAccessTrustProvidersCommand,
- type DescribeVerifiedAccessTrustProvidersCommandInput,
- type DescribeVerifiedAccessTrustProvidersCommandOutput,
- DescribeVolumeAttributeCommand,
- type DescribeVolumeAttributeCommandInput,
- type DescribeVolumeAttributeCommandOutput,
- DescribeVolumesCommand,
- type DescribeVolumesCommandInput,
- type DescribeVolumesCommandOutput,
- DescribeVolumesModificationsCommand,
- type DescribeVolumesModificationsCommandInput,
- type DescribeVolumesModificationsCommandOutput,
- DescribeVolumeStatusCommand,
- type DescribeVolumeStatusCommandInput,
- type DescribeVolumeStatusCommandOutput,
- DescribeVpcAttributeCommand,
- type DescribeVpcAttributeCommandInput,
- type DescribeVpcAttributeCommandOutput,
- DescribeVpcClassicLinkCommand,
- type DescribeVpcClassicLinkCommandInput,
- type DescribeVpcClassicLinkCommandOutput,
- DescribeVpcClassicLinkDnsSupportCommand,
- type DescribeVpcClassicLinkDnsSupportCommandInput,
- type DescribeVpcClassicLinkDnsSupportCommandOutput,
- DescribeVpcEndpointConnectionNotificationsCommand,
- type DescribeVpcEndpointConnectionNotificationsCommandInput,
- type DescribeVpcEndpointConnectionNotificationsCommandOutput,
- DescribeVpcEndpointConnectionsCommand,
- type DescribeVpcEndpointConnectionsCommandInput,
- type DescribeVpcEndpointConnectionsCommandOutput,
- DescribeVpcEndpointsCommand,
- type DescribeVpcEndpointsCommandInput,
- type DescribeVpcEndpointsCommandOutput,
- DescribeVpcEndpointServiceConfigurationsCommand,
- type DescribeVpcEndpointServiceConfigurationsCommandInput,
- type DescribeVpcEndpointServiceConfigurationsCommandOutput,
- DescribeVpcEndpointServicePermissionsCommand,
- type DescribeVpcEndpointServicePermissionsCommandInput,
- type DescribeVpcEndpointServicePermissionsCommandOutput,
- DescribeVpcEndpointServicesCommand,
- type DescribeVpcEndpointServicesCommandInput,
- type DescribeVpcEndpointServicesCommandOutput,
- DescribeVpcPeeringConnectionsCommand,
- type DescribeVpcPeeringConnectionsCommandInput,
- type DescribeVpcPeeringConnectionsCommandOutput,
- DescribeVpcsCommand,
- type DescribeVpcsCommandInput,
- type DescribeVpcsCommandOutput,
- DescribeVpnConnectionsCommand,
- type DescribeVpnConnectionsCommandInput,
- type DescribeVpnConnectionsCommandOutput,
- DescribeVpnGatewaysCommand,
- type DescribeVpnGatewaysCommandInput,
- type DescribeVpnGatewaysCommandOutput,
- DetachClassicLinkVpcCommand,
- type DetachClassicLinkVpcCommandInput,
- type DetachClassicLinkVpcCommandOutput,
- DetachInternetGatewayCommand,
- type DetachInternetGatewayCommandInput,
- type DetachInternetGatewayCommandOutput,
- DetachNetworkInterfaceCommand,
- type DetachNetworkInterfaceCommandInput,
- type DetachNetworkInterfaceCommandOutput,
- DetachVerifiedAccessTrustProviderCommand,
- type DetachVerifiedAccessTrustProviderCommandInput,
- type DetachVerifiedAccessTrustProviderCommandOutput,
- DetachVolumeCommand,
- type DetachVolumeCommandInput,
- type DetachVolumeCommandOutput,
- DetachVpnGatewayCommand,
- type DetachVpnGatewayCommandInput,
- type DetachVpnGatewayCommandOutput,
- DisableAddressTransferCommand,
- type DisableAddressTransferCommandInput,
- type DisableAddressTransferCommandOutput,
- DisableAwsNetworkPerformanceMetricSubscriptionCommand,
- type DisableAwsNetworkPerformanceMetricSubscriptionCommandInput,
- type DisableAwsNetworkPerformanceMetricSubscriptionCommandOutput,
- DisableEbsEncryptionByDefaultCommand,
- type DisableEbsEncryptionByDefaultCommandInput,
- type DisableEbsEncryptionByDefaultCommandOutput,
- DisableFastLaunchCommand,
- type DisableFastLaunchCommandInput,
- type DisableFastLaunchCommandOutput,
- DisableFastSnapshotRestoresCommand,
- type DisableFastSnapshotRestoresCommandInput,
- type DisableFastSnapshotRestoresCommandOutput,
- DisableImageCommand,
- type DisableImageCommandInput,
- type DisableImageCommandOutput,
- DisableImageBlockPublicAccessCommand,
- type DisableImageBlockPublicAccessCommandInput,
- type DisableImageBlockPublicAccessCommandOutput,
- DisableImageDeprecationCommand,
- type DisableImageDeprecationCommandInput,
- type DisableImageDeprecationCommandOutput,
- DisableIpamOrganizationAdminAccountCommand,
- type DisableIpamOrganizationAdminAccountCommandInput,
- type DisableIpamOrganizationAdminAccountCommandOutput,
- DisableSerialConsoleAccessCommand,
- type DisableSerialConsoleAccessCommandInput,
- type DisableSerialConsoleAccessCommandOutput,
- DisableSnapshotBlockPublicAccessCommand,
- type DisableSnapshotBlockPublicAccessCommandInput,
- type DisableSnapshotBlockPublicAccessCommandOutput,
- DisableTransitGatewayRouteTablePropagationCommand,
- type DisableTransitGatewayRouteTablePropagationCommandInput,
- type DisableTransitGatewayRouteTablePropagationCommandOutput,
- DisableVgwRoutePropagationCommand,
- type DisableVgwRoutePropagationCommandInput,
- type DisableVgwRoutePropagationCommandOutput,
- DisableVpcClassicLinkCommand,
- type DisableVpcClassicLinkCommandInput,
- type DisableVpcClassicLinkCommandOutput,
- DisableVpcClassicLinkDnsSupportCommand,
- type DisableVpcClassicLinkDnsSupportCommandInput,
- type DisableVpcClassicLinkDnsSupportCommandOutput,
- DisassociateAddressCommand,
- type DisassociateAddressCommandInput,
- type DisassociateAddressCommandOutput,
- DisassociateClientVpnTargetNetworkCommand,
- type DisassociateClientVpnTargetNetworkCommandInput,
- type DisassociateClientVpnTargetNetworkCommandOutput,
- DisassociateEnclaveCertificateIamRoleCommand,
- type DisassociateEnclaveCertificateIamRoleCommandInput,
- type DisassociateEnclaveCertificateIamRoleCommandOutput,
- DisassociateIamInstanceProfileCommand,
- type DisassociateIamInstanceProfileCommandInput,
- type DisassociateIamInstanceProfileCommandOutput,
- DisassociateInstanceEventWindowCommand,
- type DisassociateInstanceEventWindowCommandInput,
- type DisassociateInstanceEventWindowCommandOutput,
- DisassociateIpamByoasnCommand,
- type DisassociateIpamByoasnCommandInput,
- type DisassociateIpamByoasnCommandOutput,
- DisassociateIpamResourceDiscoveryCommand,
- type DisassociateIpamResourceDiscoveryCommandInput,
- type DisassociateIpamResourceDiscoveryCommandOutput,
- DisassociateNatGatewayAddressCommand,
- type DisassociateNatGatewayAddressCommandInput,
- type DisassociateNatGatewayAddressCommandOutput,
- DisassociateRouteTableCommand,
- type DisassociateRouteTableCommandInput,
- type DisassociateRouteTableCommandOutput,
- DisassociateSubnetCidrBlockCommand,
- type DisassociateSubnetCidrBlockCommandInput,
- type DisassociateSubnetCidrBlockCommandOutput,
- DisassociateTransitGatewayMulticastDomainCommand,
- type DisassociateTransitGatewayMulticastDomainCommandInput,
- type DisassociateTransitGatewayMulticastDomainCommandOutput,
- DisassociateTransitGatewayPolicyTableCommand,
- type DisassociateTransitGatewayPolicyTableCommandInput,
- type DisassociateTransitGatewayPolicyTableCommandOutput,
- DisassociateTransitGatewayRouteTableCommand,
- type DisassociateTransitGatewayRouteTableCommandInput,
- type DisassociateTransitGatewayRouteTableCommandOutput,
- DisassociateTrunkInterfaceCommand,
- type DisassociateTrunkInterfaceCommandInput,
- type DisassociateTrunkInterfaceCommandOutput,
- DisassociateVpcCidrBlockCommand,
- type DisassociateVpcCidrBlockCommandInput,
- type DisassociateVpcCidrBlockCommandOutput,
- EnableAddressTransferCommand,
- type EnableAddressTransferCommandInput,
- type EnableAddressTransferCommandOutput,
- EnableAwsNetworkPerformanceMetricSubscriptionCommand,
- type EnableAwsNetworkPerformanceMetricSubscriptionCommandInput,
- type EnableAwsNetworkPerformanceMetricSubscriptionCommandOutput,
- EnableEbsEncryptionByDefaultCommand,
- type EnableEbsEncryptionByDefaultCommandInput,
- type EnableEbsEncryptionByDefaultCommandOutput,
- EnableFastLaunchCommand,
- type EnableFastLaunchCommandInput,
- type EnableFastLaunchCommandOutput,
- EnableFastSnapshotRestoresCommand,
- type EnableFastSnapshotRestoresCommandInput,
- type EnableFastSnapshotRestoresCommandOutput,
- EnableImageCommand,
- type EnableImageCommandInput,
- type EnableImageCommandOutput,
- EnableImageBlockPublicAccessCommand,
- type EnableImageBlockPublicAccessCommandInput,
- type EnableImageBlockPublicAccessCommandOutput,
- EnableImageDeprecationCommand,
- type EnableImageDeprecationCommandInput,
- type EnableImageDeprecationCommandOutput,
- EnableIpamOrganizationAdminAccountCommand,
- type EnableIpamOrganizationAdminAccountCommandInput,
- type EnableIpamOrganizationAdminAccountCommandOutput,
- EnableReachabilityAnalyzerOrganizationSharingCommand,
- type EnableReachabilityAnalyzerOrganizationSharingCommandInput,
- type EnableReachabilityAnalyzerOrganizationSharingCommandOutput,
- EnableSerialConsoleAccessCommand,
- type EnableSerialConsoleAccessCommandInput,
- type EnableSerialConsoleAccessCommandOutput,
- EnableSnapshotBlockPublicAccessCommand,
- type EnableSnapshotBlockPublicAccessCommandInput,
- type EnableSnapshotBlockPublicAccessCommandOutput,
- EnableTransitGatewayRouteTablePropagationCommand,
- type EnableTransitGatewayRouteTablePropagationCommandInput,
- type EnableTransitGatewayRouteTablePropagationCommandOutput,
- EnableVgwRoutePropagationCommand,
- type EnableVgwRoutePropagationCommandInput,
- type EnableVgwRoutePropagationCommandOutput,
- EnableVolumeIOCommand,
- type EnableVolumeIOCommandInput,
- type EnableVolumeIOCommandOutput,
- EnableVpcClassicLinkCommand,
- type EnableVpcClassicLinkCommandInput,
- type EnableVpcClassicLinkCommandOutput,
- EnableVpcClassicLinkDnsSupportCommand,
- type EnableVpcClassicLinkDnsSupportCommandInput,
- type EnableVpcClassicLinkDnsSupportCommandOutput,
- ExportClientVpnClientCertificateRevocationListCommand,
- type ExportClientVpnClientCertificateRevocationListCommandInput,
- type ExportClientVpnClientCertificateRevocationListCommandOutput,
- ExportClientVpnClientConfigurationCommand,
- type ExportClientVpnClientConfigurationCommandInput,
- type ExportClientVpnClientConfigurationCommandOutput,
- ExportImageCommand,
- type ExportImageCommandInput,
- type ExportImageCommandOutput,
- ExportTransitGatewayRoutesCommand,
- type ExportTransitGatewayRoutesCommandInput,
- type ExportTransitGatewayRoutesCommandOutput,
- GetAssociatedEnclaveCertificateIamRolesCommand,
- type GetAssociatedEnclaveCertificateIamRolesCommandInput,
- type GetAssociatedEnclaveCertificateIamRolesCommandOutput,
- GetAssociatedIpv6PoolCidrsCommand,
- type GetAssociatedIpv6PoolCidrsCommandInput,
- type GetAssociatedIpv6PoolCidrsCommandOutput,
- GetAwsNetworkPerformanceDataCommand,
- type GetAwsNetworkPerformanceDataCommandInput,
- type GetAwsNetworkPerformanceDataCommandOutput,
- GetCapacityReservationUsageCommand,
- type GetCapacityReservationUsageCommandInput,
- type GetCapacityReservationUsageCommandOutput,
- GetCoipPoolUsageCommand,
- type GetCoipPoolUsageCommandInput,
- type GetCoipPoolUsageCommandOutput,
- GetConsoleOutputCommand,
- type GetConsoleOutputCommandInput,
- type GetConsoleOutputCommandOutput,
- GetConsoleScreenshotCommand,
- type GetConsoleScreenshotCommandInput,
- type GetConsoleScreenshotCommandOutput,
- GetDefaultCreditSpecificationCommand,
- type GetDefaultCreditSpecificationCommandInput,
- type GetDefaultCreditSpecificationCommandOutput,
- GetEbsDefaultKmsKeyIdCommand,
- type GetEbsDefaultKmsKeyIdCommandInput,
- type GetEbsDefaultKmsKeyIdCommandOutput,
- GetEbsEncryptionByDefaultCommand,
- type GetEbsEncryptionByDefaultCommandInput,
- type GetEbsEncryptionByDefaultCommandOutput,
- GetFlowLogsIntegrationTemplateCommand,
- type GetFlowLogsIntegrationTemplateCommandInput,
- type GetFlowLogsIntegrationTemplateCommandOutput,
- GetGroupsForCapacityReservationCommand,
- type GetGroupsForCapacityReservationCommandInput,
- type GetGroupsForCapacityReservationCommandOutput,
- GetHostReservationPurchasePreviewCommand,
- type GetHostReservationPurchasePreviewCommandInput,
- type GetHostReservationPurchasePreviewCommandOutput,
- GetImageBlockPublicAccessStateCommand,
- type GetImageBlockPublicAccessStateCommandInput,
- type GetImageBlockPublicAccessStateCommandOutput,
- GetInstanceTypesFromInstanceRequirementsCommand,
- type GetInstanceTypesFromInstanceRequirementsCommandInput,
- type GetInstanceTypesFromInstanceRequirementsCommandOutput,
- GetInstanceUefiDataCommand,
- type GetInstanceUefiDataCommandInput,
- type GetInstanceUefiDataCommandOutput,
- GetIpamAddressHistoryCommand,
- type GetIpamAddressHistoryCommandInput,
- type GetIpamAddressHistoryCommandOutput,
- GetIpamDiscoveredAccountsCommand,
- type GetIpamDiscoveredAccountsCommandInput,
- type GetIpamDiscoveredAccountsCommandOutput,
- GetIpamDiscoveredPublicAddressesCommand,
- type GetIpamDiscoveredPublicAddressesCommandInput,
- type GetIpamDiscoveredPublicAddressesCommandOutput,
- GetIpamDiscoveredResourceCidrsCommand,
- type GetIpamDiscoveredResourceCidrsCommandInput,
- type GetIpamDiscoveredResourceCidrsCommandOutput,
- GetIpamPoolAllocationsCommand,
- type GetIpamPoolAllocationsCommandInput,
- type GetIpamPoolAllocationsCommandOutput,
- GetIpamPoolCidrsCommand,
- type GetIpamPoolCidrsCommandInput,
- type GetIpamPoolCidrsCommandOutput,
- GetIpamResourceCidrsCommand,
- type GetIpamResourceCidrsCommandInput,
- type GetIpamResourceCidrsCommandOutput,
- GetLaunchTemplateDataCommand,
- type GetLaunchTemplateDataCommandInput,
- type GetLaunchTemplateDataCommandOutput,
- GetManagedPrefixListAssociationsCommand,
- type GetManagedPrefixListAssociationsCommandInput,
- type GetManagedPrefixListAssociationsCommandOutput,
- GetManagedPrefixListEntriesCommand,
- type GetManagedPrefixListEntriesCommandInput,
- type GetManagedPrefixListEntriesCommandOutput,
- GetNetworkInsightsAccessScopeAnalysisFindingsCommand,
- type GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput,
- type GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput,
- GetNetworkInsightsAccessScopeContentCommand,
- type GetNetworkInsightsAccessScopeContentCommandInput,
- type GetNetworkInsightsAccessScopeContentCommandOutput,
- GetPasswordDataCommand,
- type GetPasswordDataCommandInput,
- type GetPasswordDataCommandOutput,
- GetReservedInstancesExchangeQuoteCommand,
- type GetReservedInstancesExchangeQuoteCommandInput,
- type GetReservedInstancesExchangeQuoteCommandOutput,
- GetSecurityGroupsForVpcCommand,
- type GetSecurityGroupsForVpcCommandInput,
- type GetSecurityGroupsForVpcCommandOutput,
- GetSerialConsoleAccessStatusCommand,
- type GetSerialConsoleAccessStatusCommandInput,
- type GetSerialConsoleAccessStatusCommandOutput,
- GetSnapshotBlockPublicAccessStateCommand,
- type GetSnapshotBlockPublicAccessStateCommandInput,
- type GetSnapshotBlockPublicAccessStateCommandOutput,
- GetSpotPlacementScoresCommand,
- type GetSpotPlacementScoresCommandInput,
- type GetSpotPlacementScoresCommandOutput,
- GetSubnetCidrReservationsCommand,
- type GetSubnetCidrReservationsCommandInput,
- type GetSubnetCidrReservationsCommandOutput,
- GetTransitGatewayAttachmentPropagationsCommand,
- type GetTransitGatewayAttachmentPropagationsCommandInput,
- type GetTransitGatewayAttachmentPropagationsCommandOutput,
- GetTransitGatewayMulticastDomainAssociationsCommand,
- type GetTransitGatewayMulticastDomainAssociationsCommandInput,
- type GetTransitGatewayMulticastDomainAssociationsCommandOutput,
- GetTransitGatewayPolicyTableAssociationsCommand,
- type GetTransitGatewayPolicyTableAssociationsCommandInput,
- type GetTransitGatewayPolicyTableAssociationsCommandOutput,
- GetTransitGatewayPolicyTableEntriesCommand,
- type GetTransitGatewayPolicyTableEntriesCommandInput,
- type GetTransitGatewayPolicyTableEntriesCommandOutput,
- GetTransitGatewayPrefixListReferencesCommand,
- type GetTransitGatewayPrefixListReferencesCommandInput,
- type GetTransitGatewayPrefixListReferencesCommandOutput,
- GetTransitGatewayRouteTableAssociationsCommand,
- type GetTransitGatewayRouteTableAssociationsCommandInput,
- type GetTransitGatewayRouteTableAssociationsCommandOutput,
- GetTransitGatewayRouteTablePropagationsCommand,
- type GetTransitGatewayRouteTablePropagationsCommandInput,
- type GetTransitGatewayRouteTablePropagationsCommandOutput,
- GetVerifiedAccessEndpointPolicyCommand,
- type GetVerifiedAccessEndpointPolicyCommandInput,
- type GetVerifiedAccessEndpointPolicyCommandOutput,
- GetVerifiedAccessGroupPolicyCommand,
- type GetVerifiedAccessGroupPolicyCommandInput,
- type GetVerifiedAccessGroupPolicyCommandOutput,
- GetVpnConnectionDeviceSampleConfigurationCommand,
- type GetVpnConnectionDeviceSampleConfigurationCommandInput,
- type GetVpnConnectionDeviceSampleConfigurationCommandOutput,
- GetVpnConnectionDeviceTypesCommand,
- type GetVpnConnectionDeviceTypesCommandInput,
- type GetVpnConnectionDeviceTypesCommandOutput,
- GetVpnTunnelReplacementStatusCommand,
- type GetVpnTunnelReplacementStatusCommandInput,
- type GetVpnTunnelReplacementStatusCommandOutput,
- ImportClientVpnClientCertificateRevocationListCommand,
- type ImportClientVpnClientCertificateRevocationListCommandInput,
- type ImportClientVpnClientCertificateRevocationListCommandOutput,
- ImportImageCommand,
- type ImportImageCommandInput,
- type ImportImageCommandOutput,
- ImportInstanceCommand,
- type ImportInstanceCommandInput,
- type ImportInstanceCommandOutput,
- ImportKeyPairCommand,
- type ImportKeyPairCommandInput,
- type ImportKeyPairCommandOutput,
- ImportSnapshotCommand,
- type ImportSnapshotCommandInput,
- type ImportSnapshotCommandOutput,
- ImportVolumeCommand,
- type ImportVolumeCommandInput,
- type ImportVolumeCommandOutput,
- ListImagesInRecycleBinCommand,
- type ListImagesInRecycleBinCommandInput,
- type ListImagesInRecycleBinCommandOutput,
- ListSnapshotsInRecycleBinCommand,
- type ListSnapshotsInRecycleBinCommandInput,
- type ListSnapshotsInRecycleBinCommandOutput,
- LockSnapshotCommand,
- type LockSnapshotCommandInput,
- type LockSnapshotCommandOutput,
- ModifyAddressAttributeCommand,
- type ModifyAddressAttributeCommandInput,
- type ModifyAddressAttributeCommandOutput,
- ModifyAvailabilityZoneGroupCommand,
- type ModifyAvailabilityZoneGroupCommandInput,
- type ModifyAvailabilityZoneGroupCommandOutput,
- ModifyCapacityReservationCommand,
- type ModifyCapacityReservationCommandInput,
- type ModifyCapacityReservationCommandOutput,
- ModifyCapacityReservationFleetCommand,
- type ModifyCapacityReservationFleetCommandInput,
- type ModifyCapacityReservationFleetCommandOutput,
- ModifyClientVpnEndpointCommand,
- type ModifyClientVpnEndpointCommandInput,
- type ModifyClientVpnEndpointCommandOutput,
- ModifyDefaultCreditSpecificationCommand,
- type ModifyDefaultCreditSpecificationCommandInput,
- type ModifyDefaultCreditSpecificationCommandOutput,
- ModifyEbsDefaultKmsKeyIdCommand,
- type ModifyEbsDefaultKmsKeyIdCommandInput,
- type ModifyEbsDefaultKmsKeyIdCommandOutput,
- ModifyFleetCommand,
- type ModifyFleetCommandInput,
- type ModifyFleetCommandOutput,
- ModifyFpgaImageAttributeCommand,
- type ModifyFpgaImageAttributeCommandInput,
- type ModifyFpgaImageAttributeCommandOutput,
- ModifyHostsCommand,
- type ModifyHostsCommandInput,
- type ModifyHostsCommandOutput,
- ModifyIdentityIdFormatCommand,
- type ModifyIdentityIdFormatCommandInput,
- type ModifyIdentityIdFormatCommandOutput,
- ModifyIdFormatCommand,
- type ModifyIdFormatCommandInput,
- type ModifyIdFormatCommandOutput,
- ModifyImageAttributeCommand,
- type ModifyImageAttributeCommandInput,
- type ModifyImageAttributeCommandOutput,
- ModifyInstanceAttributeCommand,
- type ModifyInstanceAttributeCommandInput,
- type ModifyInstanceAttributeCommandOutput,
- ModifyInstanceCapacityReservationAttributesCommand,
- type ModifyInstanceCapacityReservationAttributesCommandInput,
- type ModifyInstanceCapacityReservationAttributesCommandOutput,
- ModifyInstanceCreditSpecificationCommand,
- type ModifyInstanceCreditSpecificationCommandInput,
- type ModifyInstanceCreditSpecificationCommandOutput,
- ModifyInstanceEventStartTimeCommand,
- type ModifyInstanceEventStartTimeCommandInput,
- type ModifyInstanceEventStartTimeCommandOutput,
- ModifyInstanceEventWindowCommand,
- type ModifyInstanceEventWindowCommandInput,
- type ModifyInstanceEventWindowCommandOutput,
- ModifyInstanceMaintenanceOptionsCommand,
- type ModifyInstanceMaintenanceOptionsCommandInput,
- type ModifyInstanceMaintenanceOptionsCommandOutput,
- ModifyInstanceMetadataOptionsCommand,
- type ModifyInstanceMetadataOptionsCommandInput,
- type ModifyInstanceMetadataOptionsCommandOutput,
- ModifyInstancePlacementCommand,
- type ModifyInstancePlacementCommandInput,
- type ModifyInstancePlacementCommandOutput,
- ModifyIpamCommand,
- type ModifyIpamCommandInput,
- type ModifyIpamCommandOutput,
- ModifyIpamPoolCommand,
- type ModifyIpamPoolCommandInput,
- type ModifyIpamPoolCommandOutput,
- ModifyIpamResourceCidrCommand,
- type ModifyIpamResourceCidrCommandInput,
- type ModifyIpamResourceCidrCommandOutput,
- ModifyIpamResourceDiscoveryCommand,
- type ModifyIpamResourceDiscoveryCommandInput,
- type ModifyIpamResourceDiscoveryCommandOutput,
- ModifyIpamScopeCommand,
- type ModifyIpamScopeCommandInput,
- type ModifyIpamScopeCommandOutput,
- ModifyLaunchTemplateCommand,
- type ModifyLaunchTemplateCommandInput,
- type ModifyLaunchTemplateCommandOutput,
- ModifyLocalGatewayRouteCommand,
- type ModifyLocalGatewayRouteCommandInput,
- type ModifyLocalGatewayRouteCommandOutput,
- ModifyManagedPrefixListCommand,
- type ModifyManagedPrefixListCommandInput,
- type ModifyManagedPrefixListCommandOutput,
- ModifyNetworkInterfaceAttributeCommand,
- type ModifyNetworkInterfaceAttributeCommandInput,
- type ModifyNetworkInterfaceAttributeCommandOutput,
- ModifyPrivateDnsNameOptionsCommand,
- type ModifyPrivateDnsNameOptionsCommandInput,
- type ModifyPrivateDnsNameOptionsCommandOutput,
- ModifyReservedInstancesCommand,
- type ModifyReservedInstancesCommandInput,
- type ModifyReservedInstancesCommandOutput,
- ModifySecurityGroupRulesCommand,
- type ModifySecurityGroupRulesCommandInput,
- type ModifySecurityGroupRulesCommandOutput,
- ModifySnapshotAttributeCommand,
- type ModifySnapshotAttributeCommandInput,
- type ModifySnapshotAttributeCommandOutput,
- ModifySnapshotTierCommand,
- type ModifySnapshotTierCommandInput,
- type ModifySnapshotTierCommandOutput,
- ModifySpotFleetRequestCommand,
- type ModifySpotFleetRequestCommandInput,
- type ModifySpotFleetRequestCommandOutput,
- ModifySubnetAttributeCommand,
- type ModifySubnetAttributeCommandInput,
- type ModifySubnetAttributeCommandOutput,
- ModifyTrafficMirrorFilterNetworkServicesCommand,
- type ModifyTrafficMirrorFilterNetworkServicesCommandInput,
- type ModifyTrafficMirrorFilterNetworkServicesCommandOutput,
- ModifyTrafficMirrorFilterRuleCommand,
- type ModifyTrafficMirrorFilterRuleCommandInput,
- type ModifyTrafficMirrorFilterRuleCommandOutput,
- ModifyTrafficMirrorSessionCommand,
- type ModifyTrafficMirrorSessionCommandInput,
- type ModifyTrafficMirrorSessionCommandOutput,
- ModifyTransitGatewayCommand,
- type ModifyTransitGatewayCommandInput,
- type ModifyTransitGatewayCommandOutput,
- ModifyTransitGatewayPrefixListReferenceCommand,
- type ModifyTransitGatewayPrefixListReferenceCommandInput,
- type ModifyTransitGatewayPrefixListReferenceCommandOutput,
- ModifyTransitGatewayVpcAttachmentCommand,
- type ModifyTransitGatewayVpcAttachmentCommandInput,
- type ModifyTransitGatewayVpcAttachmentCommandOutput,
- ModifyVerifiedAccessEndpointCommand,
- type ModifyVerifiedAccessEndpointCommandInput,
- type ModifyVerifiedAccessEndpointCommandOutput,
- ModifyVerifiedAccessEndpointPolicyCommand,
- type ModifyVerifiedAccessEndpointPolicyCommandInput,
- type ModifyVerifiedAccessEndpointPolicyCommandOutput,
- ModifyVerifiedAccessGroupCommand,
- type ModifyVerifiedAccessGroupCommandInput,
- type ModifyVerifiedAccessGroupCommandOutput,
- ModifyVerifiedAccessGroupPolicyCommand,
- type ModifyVerifiedAccessGroupPolicyCommandInput,
- type ModifyVerifiedAccessGroupPolicyCommandOutput,
- ModifyVerifiedAccessInstanceCommand,
- type ModifyVerifiedAccessInstanceCommandInput,
- type ModifyVerifiedAccessInstanceCommandOutput,
- ModifyVerifiedAccessInstanceLoggingConfigurationCommand,
- type ModifyVerifiedAccessInstanceLoggingConfigurationCommandInput,
- type ModifyVerifiedAccessInstanceLoggingConfigurationCommandOutput,
- ModifyVerifiedAccessTrustProviderCommand,
- type ModifyVerifiedAccessTrustProviderCommandInput,
- type ModifyVerifiedAccessTrustProviderCommandOutput,
- ModifyVolumeCommand,
- type ModifyVolumeCommandInput,
- type ModifyVolumeCommandOutput,
- ModifyVolumeAttributeCommand,
- type ModifyVolumeAttributeCommandInput,
- type ModifyVolumeAttributeCommandOutput,
- ModifyVpcAttributeCommand,
- type ModifyVpcAttributeCommandInput,
- type ModifyVpcAttributeCommandOutput,
- ModifyVpcEndpointCommand,
- type ModifyVpcEndpointCommandInput,
- type ModifyVpcEndpointCommandOutput,
- ModifyVpcEndpointConnectionNotificationCommand,
- type ModifyVpcEndpointConnectionNotificationCommandInput,
- type ModifyVpcEndpointConnectionNotificationCommandOutput,
- ModifyVpcEndpointServiceConfigurationCommand,
- type ModifyVpcEndpointServiceConfigurationCommandInput,
- type ModifyVpcEndpointServiceConfigurationCommandOutput,
- ModifyVpcEndpointServicePayerResponsibilityCommand,
- type ModifyVpcEndpointServicePayerResponsibilityCommandInput,
- type ModifyVpcEndpointServicePayerResponsibilityCommandOutput,
- ModifyVpcEndpointServicePermissionsCommand,
- type ModifyVpcEndpointServicePermissionsCommandInput,
- type ModifyVpcEndpointServicePermissionsCommandOutput,
- ModifyVpcPeeringConnectionOptionsCommand,
- type ModifyVpcPeeringConnectionOptionsCommandInput,
- type ModifyVpcPeeringConnectionOptionsCommandOutput,
- ModifyVpcTenancyCommand,
- type ModifyVpcTenancyCommandInput,
- type ModifyVpcTenancyCommandOutput,
- ModifyVpnConnectionCommand,
- type ModifyVpnConnectionCommandInput,
- type ModifyVpnConnectionCommandOutput,
- ModifyVpnConnectionOptionsCommand,
- type ModifyVpnConnectionOptionsCommandInput,
- type ModifyVpnConnectionOptionsCommandOutput,
- ModifyVpnTunnelCertificateCommand,
- type ModifyVpnTunnelCertificateCommandInput,
- type ModifyVpnTunnelCertificateCommandOutput,
- ModifyVpnTunnelOptionsCommand,
- type ModifyVpnTunnelOptionsCommandInput,
- type ModifyVpnTunnelOptionsCommandOutput,
- MonitorInstancesCommand,
- type MonitorInstancesCommandInput,
- type MonitorInstancesCommandOutput,
- MoveAddressToVpcCommand,
- type MoveAddressToVpcCommandInput,
- type MoveAddressToVpcCommandOutput,
- MoveByoipCidrToIpamCommand,
- type MoveByoipCidrToIpamCommandInput,
- type MoveByoipCidrToIpamCommandOutput,
- ProvisionByoipCidrCommand,
- type ProvisionByoipCidrCommandInput,
- type ProvisionByoipCidrCommandOutput,
- ProvisionIpamByoasnCommand,
- type ProvisionIpamByoasnCommandInput,
- type ProvisionIpamByoasnCommandOutput,
- ProvisionIpamPoolCidrCommand,
- type ProvisionIpamPoolCidrCommandInput,
- type ProvisionIpamPoolCidrCommandOutput,
- ProvisionPublicIpv4PoolCidrCommand,
- type ProvisionPublicIpv4PoolCidrCommandInput,
- type ProvisionPublicIpv4PoolCidrCommandOutput,
- PurchaseCapacityBlockCommand,
- type PurchaseCapacityBlockCommandInput,
- type PurchaseCapacityBlockCommandOutput,
- PurchaseHostReservationCommand,
- type PurchaseHostReservationCommandInput,
- type PurchaseHostReservationCommandOutput,
- PurchaseReservedInstancesOfferingCommand,
- type PurchaseReservedInstancesOfferingCommandInput,
- type PurchaseReservedInstancesOfferingCommandOutput,
- PurchaseScheduledInstancesCommand,
- type PurchaseScheduledInstancesCommandInput,
- type PurchaseScheduledInstancesCommandOutput,
- RebootInstancesCommand,
- type RebootInstancesCommandInput,
- type RebootInstancesCommandOutput,
- RegisterImageCommand,
- type RegisterImageCommandInput,
- type RegisterImageCommandOutput,
- RegisterInstanceEventNotificationAttributesCommand,
- type RegisterInstanceEventNotificationAttributesCommandInput,
- type RegisterInstanceEventNotificationAttributesCommandOutput,
- RegisterTransitGatewayMulticastGroupMembersCommand,
- type RegisterTransitGatewayMulticastGroupMembersCommandInput,
- type RegisterTransitGatewayMulticastGroupMembersCommandOutput,
- RegisterTransitGatewayMulticastGroupSourcesCommand,
- type RegisterTransitGatewayMulticastGroupSourcesCommandInput,
- type RegisterTransitGatewayMulticastGroupSourcesCommandOutput,
- RejectTransitGatewayMulticastDomainAssociationsCommand,
- type RejectTransitGatewayMulticastDomainAssociationsCommandInput,
- type RejectTransitGatewayMulticastDomainAssociationsCommandOutput,
- RejectTransitGatewayPeeringAttachmentCommand,
- type RejectTransitGatewayPeeringAttachmentCommandInput,
- type RejectTransitGatewayPeeringAttachmentCommandOutput,
- RejectTransitGatewayVpcAttachmentCommand,
- type RejectTransitGatewayVpcAttachmentCommandInput,
- type RejectTransitGatewayVpcAttachmentCommandOutput,
- RejectVpcEndpointConnectionsCommand,
- type RejectVpcEndpointConnectionsCommandInput,
- type RejectVpcEndpointConnectionsCommandOutput,
- RejectVpcPeeringConnectionCommand,
- type RejectVpcPeeringConnectionCommandInput,
- type RejectVpcPeeringConnectionCommandOutput,
- ReleaseAddressCommand,
- type ReleaseAddressCommandInput,
- type ReleaseAddressCommandOutput,
- ReleaseHostsCommand,
- type ReleaseHostsCommandInput,
- type ReleaseHostsCommandOutput,
- ReleaseIpamPoolAllocationCommand,
- type ReleaseIpamPoolAllocationCommandInput,
- type ReleaseIpamPoolAllocationCommandOutput,
- ReplaceIamInstanceProfileAssociationCommand,
- type ReplaceIamInstanceProfileAssociationCommandInput,
- type ReplaceIamInstanceProfileAssociationCommandOutput,
- ReplaceNetworkAclAssociationCommand,
- type ReplaceNetworkAclAssociationCommandInput,
- type ReplaceNetworkAclAssociationCommandOutput,
- ReplaceNetworkAclEntryCommand,
- type ReplaceNetworkAclEntryCommandInput,
- type ReplaceNetworkAclEntryCommandOutput,
- ReplaceRouteCommand,
- type ReplaceRouteCommandInput,
- type ReplaceRouteCommandOutput,
- ReplaceRouteTableAssociationCommand,
- type ReplaceRouteTableAssociationCommandInput,
- type ReplaceRouteTableAssociationCommandOutput,
- ReplaceTransitGatewayRouteCommand,
- type ReplaceTransitGatewayRouteCommandInput,
- type ReplaceTransitGatewayRouteCommandOutput,
- ReplaceVpnTunnelCommand,
- type ReplaceVpnTunnelCommandInput,
- type ReplaceVpnTunnelCommandOutput,
- ReportInstanceStatusCommand,
- type ReportInstanceStatusCommandInput,
- type ReportInstanceStatusCommandOutput,
- RequestSpotFleetCommand,
- type RequestSpotFleetCommandInput,
- type RequestSpotFleetCommandOutput,
- RequestSpotInstancesCommand,
- type RequestSpotInstancesCommandInput,
- type RequestSpotInstancesCommandOutput,
- ResetAddressAttributeCommand,
- type ResetAddressAttributeCommandInput,
- type ResetAddressAttributeCommandOutput,
- ResetEbsDefaultKmsKeyIdCommand,
- type ResetEbsDefaultKmsKeyIdCommandInput,
- type ResetEbsDefaultKmsKeyIdCommandOutput,
- ResetFpgaImageAttributeCommand,
- type ResetFpgaImageAttributeCommandInput,
- type ResetFpgaImageAttributeCommandOutput,
- ResetImageAttributeCommand,
- type ResetImageAttributeCommandInput,
- type ResetImageAttributeCommandOutput,
- ResetInstanceAttributeCommand,
- type ResetInstanceAttributeCommandInput,
- type ResetInstanceAttributeCommandOutput,
- ResetNetworkInterfaceAttributeCommand,
- type ResetNetworkInterfaceAttributeCommandInput,
- type ResetNetworkInterfaceAttributeCommandOutput,
- ResetSnapshotAttributeCommand,
- type ResetSnapshotAttributeCommandInput,
- type ResetSnapshotAttributeCommandOutput,
- RestoreAddressToClassicCommand,
- type RestoreAddressToClassicCommandInput,
- type RestoreAddressToClassicCommandOutput,
- RestoreImageFromRecycleBinCommand,
- type RestoreImageFromRecycleBinCommandInput,
- type RestoreImageFromRecycleBinCommandOutput,
- RestoreManagedPrefixListVersionCommand,
- type RestoreManagedPrefixListVersionCommandInput,
- type RestoreManagedPrefixListVersionCommandOutput,
- RestoreSnapshotFromRecycleBinCommand,
- type RestoreSnapshotFromRecycleBinCommandInput,
- type RestoreSnapshotFromRecycleBinCommandOutput,
- RestoreSnapshotTierCommand,
- type RestoreSnapshotTierCommandInput,
- type RestoreSnapshotTierCommandOutput,
- RevokeClientVpnIngressCommand,
- type RevokeClientVpnIngressCommandInput,
- type RevokeClientVpnIngressCommandOutput,
- RevokeSecurityGroupEgressCommand,
- type RevokeSecurityGroupEgressCommandInput,
- type RevokeSecurityGroupEgressCommandOutput,
- RevokeSecurityGroupIngressCommand,
- type RevokeSecurityGroupIngressCommandInput,
- type RevokeSecurityGroupIngressCommandOutput,
- RunInstancesCommand,
- type RunInstancesCommandInput,
- type RunInstancesCommandOutput,
- RunScheduledInstancesCommand,
- type RunScheduledInstancesCommandInput,
- type RunScheduledInstancesCommandOutput,
- SearchLocalGatewayRoutesCommand,
- type SearchLocalGatewayRoutesCommandInput,
- type SearchLocalGatewayRoutesCommandOutput,
- SearchTransitGatewayMulticastGroupsCommand,
- type SearchTransitGatewayMulticastGroupsCommandInput,
- type SearchTransitGatewayMulticastGroupsCommandOutput,
- SearchTransitGatewayRoutesCommand,
- type SearchTransitGatewayRoutesCommandInput,
- type SearchTransitGatewayRoutesCommandOutput,
- SendDiagnosticInterruptCommand,
- type SendDiagnosticInterruptCommandInput,
- type SendDiagnosticInterruptCommandOutput,
- StartInstancesCommand,
- type StartInstancesCommandInput,
- type StartInstancesCommandOutput,
- StartNetworkInsightsAccessScopeAnalysisCommand,
- type StartNetworkInsightsAccessScopeAnalysisCommandInput,
- type StartNetworkInsightsAccessScopeAnalysisCommandOutput,
- StartNetworkInsightsAnalysisCommand,
- type StartNetworkInsightsAnalysisCommandInput,
- type StartNetworkInsightsAnalysisCommandOutput,
- StartVpcEndpointServicePrivateDnsVerificationCommand,
- type StartVpcEndpointServicePrivateDnsVerificationCommandInput,
- type StartVpcEndpointServicePrivateDnsVerificationCommandOutput,
- StopInstancesCommand,
- type StopInstancesCommandInput,
- type StopInstancesCommandOutput,
- TerminateClientVpnConnectionsCommand,
- type TerminateClientVpnConnectionsCommandInput,
- type TerminateClientVpnConnectionsCommandOutput,
- TerminateInstancesCommand,
- type TerminateInstancesCommandInput,
- type TerminateInstancesCommandOutput,
- UnassignIpv6AddressesCommand,
- type UnassignIpv6AddressesCommandInput,
- type UnassignIpv6AddressesCommandOutput,
- UnassignPrivateIpAddressesCommand,
- type UnassignPrivateIpAddressesCommandInput,
- type UnassignPrivateIpAddressesCommandOutput,
- UnassignPrivateNatGatewayAddressCommand,
- type UnassignPrivateNatGatewayAddressCommandInput,
- type UnassignPrivateNatGatewayAddressCommandOutput,
- UnlockSnapshotCommand,
- type UnlockSnapshotCommandInput,
- type UnlockSnapshotCommandOutput,
- UnmonitorInstancesCommand,
- type UnmonitorInstancesCommandInput,
- type UnmonitorInstancesCommandOutput,
- UpdateSecurityGroupRuleDescriptionsEgressCommand,
- type UpdateSecurityGroupRuleDescriptionsEgressCommandInput,
- type UpdateSecurityGroupRuleDescriptionsEgressCommandOutput,
- UpdateSecurityGroupRuleDescriptionsIngressCommand,
- type UpdateSecurityGroupRuleDescriptionsIngressCommandInput,
- type UpdateSecurityGroupRuleDescriptionsIngressCommandOutput,
- WithdrawByoipCidrCommand,
- type WithdrawByoipCidrCommandInput,
- type WithdrawByoipCidrCommandOutput,
-} from "@aws-sdk/client-ec2";
-import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Effect, Layer, ReadonlyRecord, Data } from "effect";
-import { EC2ClientInstance, EC2ClientInstanceLayer } from "./EC2ClientInstance";
-import { DefaultEC2ClientConfigLayer } from "./EC2ClientInstanceConfig";
-import { EC2ServiceError, SdkError, TaggedException } from "./Errors";
-
-const commands = {
- AcceptAddressTransferCommand,
- AcceptReservedInstancesExchangeQuoteCommand,
- AcceptTransitGatewayMulticastDomainAssociationsCommand,
- AcceptTransitGatewayPeeringAttachmentCommand,
- AcceptTransitGatewayVpcAttachmentCommand,
- AcceptVpcEndpointConnectionsCommand,
- AcceptVpcPeeringConnectionCommand,
- AdvertiseByoipCidrCommand,
- AllocateAddressCommand,
- AllocateHostsCommand,
- AllocateIpamPoolCidrCommand,
- ApplySecurityGroupsToClientVpnTargetNetworkCommand,
- AssignIpv6AddressesCommand,
- AssignPrivateIpAddressesCommand,
- AssignPrivateNatGatewayAddressCommand,
- AssociateAddressCommand,
- AssociateClientVpnTargetNetworkCommand,
- AssociateDhcpOptionsCommand,
- AssociateEnclaveCertificateIamRoleCommand,
- AssociateIamInstanceProfileCommand,
- AssociateInstanceEventWindowCommand,
- AssociateIpamByoasnCommand,
- AssociateIpamResourceDiscoveryCommand,
- AssociateNatGatewayAddressCommand,
- AssociateRouteTableCommand,
- AssociateSubnetCidrBlockCommand,
- AssociateTransitGatewayMulticastDomainCommand,
- AssociateTransitGatewayPolicyTableCommand,
- AssociateTransitGatewayRouteTableCommand,
- AssociateTrunkInterfaceCommand,
- AssociateVpcCidrBlockCommand,
- AttachClassicLinkVpcCommand,
- AttachInternetGatewayCommand,
- AttachNetworkInterfaceCommand,
- AttachVerifiedAccessTrustProviderCommand,
- AttachVolumeCommand,
- AttachVpnGatewayCommand,
- AuthorizeClientVpnIngressCommand,
- AuthorizeSecurityGroupEgressCommand,
- AuthorizeSecurityGroupIngressCommand,
- BundleInstanceCommand,
- CancelBundleTaskCommand,
- CancelCapacityReservationCommand,
- CancelCapacityReservationFleetsCommand,
- CancelConversionTaskCommand,
- CancelExportTaskCommand,
- CancelImageLaunchPermissionCommand,
- CancelImportTaskCommand,
- CancelReservedInstancesListingCommand,
- CancelSpotFleetRequestsCommand,
- CancelSpotInstanceRequestsCommand,
- ConfirmProductInstanceCommand,
- CopyFpgaImageCommand,
- CopyImageCommand,
- CopySnapshotCommand,
- CreateCapacityReservationCommand,
- CreateCapacityReservationFleetCommand,
- CreateCarrierGatewayCommand,
- CreateClientVpnEndpointCommand,
- CreateClientVpnRouteCommand,
- CreateCoipCidrCommand,
- CreateCoipPoolCommand,
- CreateCustomerGatewayCommand,
- CreateDefaultSubnetCommand,
- CreateDefaultVpcCommand,
- CreateDhcpOptionsCommand,
- CreateEgressOnlyInternetGatewayCommand,
- CreateFleetCommand,
- CreateFlowLogsCommand,
- CreateFpgaImageCommand,
- CreateImageCommand,
- CreateInstanceConnectEndpointCommand,
- CreateInstanceEventWindowCommand,
- CreateInstanceExportTaskCommand,
- CreateInternetGatewayCommand,
- CreateIpamCommand,
- CreateIpamPoolCommand,
- CreateIpamResourceDiscoveryCommand,
- CreateIpamScopeCommand,
- CreateKeyPairCommand,
- CreateLaunchTemplateCommand,
- CreateLaunchTemplateVersionCommand,
- CreateLocalGatewayRouteCommand,
- CreateLocalGatewayRouteTableCommand,
- CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
- CreateLocalGatewayRouteTableVpcAssociationCommand,
- CreateManagedPrefixListCommand,
- CreateNatGatewayCommand,
- CreateNetworkAclCommand,
- CreateNetworkAclEntryCommand,
- CreateNetworkInsightsAccessScopeCommand,
- CreateNetworkInsightsPathCommand,
- CreateNetworkInterfaceCommand,
- CreateNetworkInterfacePermissionCommand,
- CreatePlacementGroupCommand,
- CreatePublicIpv4PoolCommand,
- CreateReplaceRootVolumeTaskCommand,
- CreateReservedInstancesListingCommand,
- CreateRestoreImageTaskCommand,
- CreateRouteCommand,
- CreateRouteTableCommand,
- CreateSecurityGroupCommand,
- CreateSnapshotCommand,
- CreateSnapshotsCommand,
- CreateSpotDatafeedSubscriptionCommand,
- CreateStoreImageTaskCommand,
- CreateSubnetCommand,
- CreateSubnetCidrReservationCommand,
- CreateTagsCommand,
- CreateTrafficMirrorFilterCommand,
- CreateTrafficMirrorFilterRuleCommand,
- CreateTrafficMirrorSessionCommand,
- CreateTrafficMirrorTargetCommand,
- CreateTransitGatewayCommand,
- CreateTransitGatewayConnectCommand,
- CreateTransitGatewayConnectPeerCommand,
- CreateTransitGatewayMulticastDomainCommand,
- CreateTransitGatewayPeeringAttachmentCommand,
- CreateTransitGatewayPolicyTableCommand,
- CreateTransitGatewayPrefixListReferenceCommand,
- CreateTransitGatewayRouteCommand,
- CreateTransitGatewayRouteTableCommand,
- CreateTransitGatewayRouteTableAnnouncementCommand,
- CreateTransitGatewayVpcAttachmentCommand,
- CreateVerifiedAccessEndpointCommand,
- CreateVerifiedAccessGroupCommand,
- CreateVerifiedAccessInstanceCommand,
- CreateVerifiedAccessTrustProviderCommand,
- CreateVolumeCommand,
- CreateVpcCommand,
- CreateVpcEndpointCommand,
- CreateVpcEndpointConnectionNotificationCommand,
- CreateVpcEndpointServiceConfigurationCommand,
- CreateVpcPeeringConnectionCommand,
- CreateVpnConnectionCommand,
- CreateVpnConnectionRouteCommand,
- CreateVpnGatewayCommand,
- DeleteCarrierGatewayCommand,
- DeleteClientVpnEndpointCommand,
- DeleteClientVpnRouteCommand,
- DeleteCoipCidrCommand,
- DeleteCoipPoolCommand,
- DeleteCustomerGatewayCommand,
- DeleteDhcpOptionsCommand,
- DeleteEgressOnlyInternetGatewayCommand,
- DeleteFleetsCommand,
- DeleteFlowLogsCommand,
- DeleteFpgaImageCommand,
- DeleteInstanceConnectEndpointCommand,
- DeleteInstanceEventWindowCommand,
- DeleteInternetGatewayCommand,
- DeleteIpamCommand,
- DeleteIpamPoolCommand,
- DeleteIpamResourceDiscoveryCommand,
- DeleteIpamScopeCommand,
- DeleteKeyPairCommand,
- DeleteLaunchTemplateCommand,
- DeleteLaunchTemplateVersionsCommand,
- DeleteLocalGatewayRouteCommand,
- DeleteLocalGatewayRouteTableCommand,
- DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand,
- DeleteLocalGatewayRouteTableVpcAssociationCommand,
- DeleteManagedPrefixListCommand,
- DeleteNatGatewayCommand,
- DeleteNetworkAclCommand,
- DeleteNetworkAclEntryCommand,
- DeleteNetworkInsightsAccessScopeCommand,
- DeleteNetworkInsightsAccessScopeAnalysisCommand,
- DeleteNetworkInsightsAnalysisCommand,
- DeleteNetworkInsightsPathCommand,
- DeleteNetworkInterfaceCommand,
- DeleteNetworkInterfacePermissionCommand,
- DeletePlacementGroupCommand,
- DeletePublicIpv4PoolCommand,
- DeleteQueuedReservedInstancesCommand,
- DeleteRouteCommand,
- DeleteRouteTableCommand,
- DeleteSecurityGroupCommand,
- DeleteSnapshotCommand,
- DeleteSpotDatafeedSubscriptionCommand,
- DeleteSubnetCommand,
- DeleteSubnetCidrReservationCommand,
- DeleteTagsCommand,
- DeleteTrafficMirrorFilterCommand,
- DeleteTrafficMirrorFilterRuleCommand,
- DeleteTrafficMirrorSessionCommand,
- DeleteTrafficMirrorTargetCommand,
- DeleteTransitGatewayCommand,
- DeleteTransitGatewayConnectCommand,
- DeleteTransitGatewayConnectPeerCommand,
- DeleteTransitGatewayMulticastDomainCommand,
- DeleteTransitGatewayPeeringAttachmentCommand,
- DeleteTransitGatewayPolicyTableCommand,
- DeleteTransitGatewayPrefixListReferenceCommand,
- DeleteTransitGatewayRouteCommand,
- DeleteTransitGatewayRouteTableCommand,
- DeleteTransitGatewayRouteTableAnnouncementCommand,
- DeleteTransitGatewayVpcAttachmentCommand,
- DeleteVerifiedAccessEndpointCommand,
- DeleteVerifiedAccessGroupCommand,
- DeleteVerifiedAccessInstanceCommand,
- DeleteVerifiedAccessTrustProviderCommand,
- DeleteVolumeCommand,
- DeleteVpcCommand,
- DeleteVpcEndpointConnectionNotificationsCommand,
- DeleteVpcEndpointsCommand,
- DeleteVpcEndpointServiceConfigurationsCommand,
- DeleteVpcPeeringConnectionCommand,
- DeleteVpnConnectionCommand,
- DeleteVpnConnectionRouteCommand,
- DeleteVpnGatewayCommand,
- DeprovisionByoipCidrCommand,
- DeprovisionIpamByoasnCommand,
- DeprovisionIpamPoolCidrCommand,
- DeprovisionPublicIpv4PoolCidrCommand,
- DeregisterImageCommand,
- DeregisterInstanceEventNotificationAttributesCommand,
- DeregisterTransitGatewayMulticastGroupMembersCommand,
- DeregisterTransitGatewayMulticastGroupSourcesCommand,
- DescribeAccountAttributesCommand,
- DescribeAddressesCommand,
- DescribeAddressesAttributeCommand,
- DescribeAddressTransfersCommand,
- DescribeAggregateIdFormatCommand,
- DescribeAvailabilityZonesCommand,
- DescribeAwsNetworkPerformanceMetricSubscriptionsCommand,
- DescribeBundleTasksCommand,
- DescribeByoipCidrsCommand,
- DescribeCapacityBlockOfferingsCommand,
- DescribeCapacityReservationFleetsCommand,
- DescribeCapacityReservationsCommand,
- DescribeCarrierGatewaysCommand,
- DescribeClassicLinkInstancesCommand,
- DescribeClientVpnAuthorizationRulesCommand,
- DescribeClientVpnConnectionsCommand,
- DescribeClientVpnEndpointsCommand,
- DescribeClientVpnRoutesCommand,
- DescribeClientVpnTargetNetworksCommand,
- DescribeCoipPoolsCommand,
- DescribeConversionTasksCommand,
- DescribeCustomerGatewaysCommand,
- DescribeDhcpOptionsCommand,
- DescribeEgressOnlyInternetGatewaysCommand,
- DescribeElasticGpusCommand,
- DescribeExportImageTasksCommand,
- DescribeExportTasksCommand,
- DescribeFastLaunchImagesCommand,
- DescribeFastSnapshotRestoresCommand,
- DescribeFleetHistoryCommand,
- DescribeFleetInstancesCommand,
- DescribeFleetsCommand,
- DescribeFlowLogsCommand,
- DescribeFpgaImageAttributeCommand,
- DescribeFpgaImagesCommand,
- DescribeHostReservationOfferingsCommand,
- DescribeHostReservationsCommand,
- DescribeHostsCommand,
- DescribeIamInstanceProfileAssociationsCommand,
- DescribeIdentityIdFormatCommand,
- DescribeIdFormatCommand,
- DescribeImageAttributeCommand,
- DescribeImagesCommand,
- DescribeImportImageTasksCommand,
- DescribeImportSnapshotTasksCommand,
- DescribeInstanceAttributeCommand,
- DescribeInstanceConnectEndpointsCommand,
- DescribeInstanceCreditSpecificationsCommand,
- DescribeInstanceEventNotificationAttributesCommand,
- DescribeInstanceEventWindowsCommand,
- DescribeInstancesCommand,
- DescribeInstanceStatusCommand,
- DescribeInstanceTopologyCommand,
- DescribeInstanceTypeOfferingsCommand,
- DescribeInstanceTypesCommand,
- DescribeInternetGatewaysCommand,
- DescribeIpamByoasnCommand,
- DescribeIpamPoolsCommand,
- DescribeIpamResourceDiscoveriesCommand,
- DescribeIpamResourceDiscoveryAssociationsCommand,
- DescribeIpamsCommand,
- DescribeIpamScopesCommand,
- DescribeIpv6PoolsCommand,
- DescribeKeyPairsCommand,
- DescribeLaunchTemplatesCommand,
- DescribeLaunchTemplateVersionsCommand,
- DescribeLocalGatewayRouteTablesCommand,
- DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand,
- DescribeLocalGatewayRouteTableVpcAssociationsCommand,
- DescribeLocalGatewaysCommand,
- DescribeLocalGatewayVirtualInterfaceGroupsCommand,
- DescribeLocalGatewayVirtualInterfacesCommand,
- DescribeLockedSnapshotsCommand,
- DescribeManagedPrefixListsCommand,
- DescribeMovingAddressesCommand,
- DescribeNatGatewaysCommand,
- DescribeNetworkAclsCommand,
- DescribeNetworkInsightsAccessScopeAnalysesCommand,
- DescribeNetworkInsightsAccessScopesCommand,
- DescribeNetworkInsightsAnalysesCommand,
- DescribeNetworkInsightsPathsCommand,
- DescribeNetworkInterfaceAttributeCommand,
- DescribeNetworkInterfacePermissionsCommand,
- DescribeNetworkInterfacesCommand,
- DescribePlacementGroupsCommand,
- DescribePrefixListsCommand,
- DescribePrincipalIdFormatCommand,
- DescribePublicIpv4PoolsCommand,
- DescribeRegionsCommand,
- DescribeReplaceRootVolumeTasksCommand,
- DescribeReservedInstancesCommand,
- DescribeReservedInstancesListingsCommand,
- DescribeReservedInstancesModificationsCommand,
- DescribeReservedInstancesOfferingsCommand,
- DescribeRouteTablesCommand,
- DescribeScheduledInstanceAvailabilityCommand,
- DescribeScheduledInstancesCommand,
- DescribeSecurityGroupReferencesCommand,
- DescribeSecurityGroupRulesCommand,
- DescribeSecurityGroupsCommand,
- DescribeSnapshotAttributeCommand,
- DescribeSnapshotsCommand,
- DescribeSnapshotTierStatusCommand,
- DescribeSpotDatafeedSubscriptionCommand,
- DescribeSpotFleetInstancesCommand,
- DescribeSpotFleetRequestHistoryCommand,
- DescribeSpotFleetRequestsCommand,
- DescribeSpotInstanceRequestsCommand,
- DescribeSpotPriceHistoryCommand,
- DescribeStaleSecurityGroupsCommand,
- DescribeStoreImageTasksCommand,
- DescribeSubnetsCommand,
- DescribeTagsCommand,
- DescribeTrafficMirrorFiltersCommand,
- DescribeTrafficMirrorSessionsCommand,
- DescribeTrafficMirrorTargetsCommand,
- DescribeTransitGatewayAttachmentsCommand,
- DescribeTransitGatewayConnectPeersCommand,
- DescribeTransitGatewayConnectsCommand,
- DescribeTransitGatewayMulticastDomainsCommand,
- DescribeTransitGatewayPeeringAttachmentsCommand,
- DescribeTransitGatewayPolicyTablesCommand,
- DescribeTransitGatewayRouteTableAnnouncementsCommand,
- DescribeTransitGatewayRouteTablesCommand,
- DescribeTransitGatewaysCommand,
- DescribeTransitGatewayVpcAttachmentsCommand,
- DescribeTrunkInterfaceAssociationsCommand,
- DescribeVerifiedAccessEndpointsCommand,
- DescribeVerifiedAccessGroupsCommand,
- DescribeVerifiedAccessInstanceLoggingConfigurationsCommand,
- DescribeVerifiedAccessInstancesCommand,
- DescribeVerifiedAccessTrustProvidersCommand,
- DescribeVolumeAttributeCommand,
- DescribeVolumesCommand,
- DescribeVolumesModificationsCommand,
- DescribeVolumeStatusCommand,
- DescribeVpcAttributeCommand,
- DescribeVpcClassicLinkCommand,
- DescribeVpcClassicLinkDnsSupportCommand,
- DescribeVpcEndpointConnectionNotificationsCommand,
- DescribeVpcEndpointConnectionsCommand,
- DescribeVpcEndpointsCommand,
- DescribeVpcEndpointServiceConfigurationsCommand,
- DescribeVpcEndpointServicePermissionsCommand,
- DescribeVpcEndpointServicesCommand,
- DescribeVpcPeeringConnectionsCommand,
- DescribeVpcsCommand,
- DescribeVpnConnectionsCommand,
- DescribeVpnGatewaysCommand,
- DetachClassicLinkVpcCommand,
- DetachInternetGatewayCommand,
- DetachNetworkInterfaceCommand,
- DetachVerifiedAccessTrustProviderCommand,
- DetachVolumeCommand,
- DetachVpnGatewayCommand,
- DisableAddressTransferCommand,
- DisableAwsNetworkPerformanceMetricSubscriptionCommand,
- DisableEbsEncryptionByDefaultCommand,
- DisableFastLaunchCommand,
- DisableFastSnapshotRestoresCommand,
- DisableImageCommand,
- DisableImageBlockPublicAccessCommand,
- DisableImageDeprecationCommand,
- DisableIpamOrganizationAdminAccountCommand,
- DisableSerialConsoleAccessCommand,
- DisableSnapshotBlockPublicAccessCommand,
- DisableTransitGatewayRouteTablePropagationCommand,
- DisableVgwRoutePropagationCommand,
- DisableVpcClassicLinkCommand,
- DisableVpcClassicLinkDnsSupportCommand,
- DisassociateAddressCommand,
- DisassociateClientVpnTargetNetworkCommand,
- DisassociateEnclaveCertificateIamRoleCommand,
- DisassociateIamInstanceProfileCommand,
- DisassociateInstanceEventWindowCommand,
- DisassociateIpamByoasnCommand,
- DisassociateIpamResourceDiscoveryCommand,
- DisassociateNatGatewayAddressCommand,
- DisassociateRouteTableCommand,
- DisassociateSubnetCidrBlockCommand,
- DisassociateTransitGatewayMulticastDomainCommand,
- DisassociateTransitGatewayPolicyTableCommand,
- DisassociateTransitGatewayRouteTableCommand,
- DisassociateTrunkInterfaceCommand,
- DisassociateVpcCidrBlockCommand,
- EnableAddressTransferCommand,
- EnableAwsNetworkPerformanceMetricSubscriptionCommand,
- EnableEbsEncryptionByDefaultCommand,
- EnableFastLaunchCommand,
- EnableFastSnapshotRestoresCommand,
- EnableImageCommand,
- EnableImageBlockPublicAccessCommand,
- EnableImageDeprecationCommand,
- EnableIpamOrganizationAdminAccountCommand,
- EnableReachabilityAnalyzerOrganizationSharingCommand,
- EnableSerialConsoleAccessCommand,
- EnableSnapshotBlockPublicAccessCommand,
- EnableTransitGatewayRouteTablePropagationCommand,
- EnableVgwRoutePropagationCommand,
- EnableVolumeIOCommand,
- EnableVpcClassicLinkCommand,
- EnableVpcClassicLinkDnsSupportCommand,
- ExportClientVpnClientCertificateRevocationListCommand,
- ExportClientVpnClientConfigurationCommand,
- ExportImageCommand,
- ExportTransitGatewayRoutesCommand,
- GetAssociatedEnclaveCertificateIamRolesCommand,
- GetAssociatedIpv6PoolCidrsCommand,
- GetAwsNetworkPerformanceDataCommand,
- GetCapacityReservationUsageCommand,
- GetCoipPoolUsageCommand,
- GetConsoleOutputCommand,
- GetConsoleScreenshotCommand,
- GetDefaultCreditSpecificationCommand,
- GetEbsDefaultKmsKeyIdCommand,
- GetEbsEncryptionByDefaultCommand,
- GetFlowLogsIntegrationTemplateCommand,
- GetGroupsForCapacityReservationCommand,
- GetHostReservationPurchasePreviewCommand,
- GetImageBlockPublicAccessStateCommand,
- GetInstanceTypesFromInstanceRequirementsCommand,
- GetInstanceUefiDataCommand,
- GetIpamAddressHistoryCommand,
- GetIpamDiscoveredAccountsCommand,
- GetIpamDiscoveredPublicAddressesCommand,
- GetIpamDiscoveredResourceCidrsCommand,
- GetIpamPoolAllocationsCommand,
- GetIpamPoolCidrsCommand,
- GetIpamResourceCidrsCommand,
- GetLaunchTemplateDataCommand,
- GetManagedPrefixListAssociationsCommand,
- GetManagedPrefixListEntriesCommand,
- GetNetworkInsightsAccessScopeAnalysisFindingsCommand,
- GetNetworkInsightsAccessScopeContentCommand,
- GetPasswordDataCommand,
- GetReservedInstancesExchangeQuoteCommand,
- GetSecurityGroupsForVpcCommand,
- GetSerialConsoleAccessStatusCommand,
- GetSnapshotBlockPublicAccessStateCommand,
- GetSpotPlacementScoresCommand,
- GetSubnetCidrReservationsCommand,
- GetTransitGatewayAttachmentPropagationsCommand,
- GetTransitGatewayMulticastDomainAssociationsCommand,
- GetTransitGatewayPolicyTableAssociationsCommand,
- GetTransitGatewayPolicyTableEntriesCommand,
- GetTransitGatewayPrefixListReferencesCommand,
- GetTransitGatewayRouteTableAssociationsCommand,
- GetTransitGatewayRouteTablePropagationsCommand,
- GetVerifiedAccessEndpointPolicyCommand,
- GetVerifiedAccessGroupPolicyCommand,
- GetVpnConnectionDeviceSampleConfigurationCommand,
- GetVpnConnectionDeviceTypesCommand,
- GetVpnTunnelReplacementStatusCommand,
- ImportClientVpnClientCertificateRevocationListCommand,
- ImportImageCommand,
- ImportInstanceCommand,
- ImportKeyPairCommand,
- ImportSnapshotCommand,
- ImportVolumeCommand,
- ListImagesInRecycleBinCommand,
- ListSnapshotsInRecycleBinCommand,
- LockSnapshotCommand,
- ModifyAddressAttributeCommand,
- ModifyAvailabilityZoneGroupCommand,
- ModifyCapacityReservationCommand,
- ModifyCapacityReservationFleetCommand,
- ModifyClientVpnEndpointCommand,
- ModifyDefaultCreditSpecificationCommand,
- ModifyEbsDefaultKmsKeyIdCommand,
- ModifyFleetCommand,
- ModifyFpgaImageAttributeCommand,
- ModifyHostsCommand,
- ModifyIdentityIdFormatCommand,
- ModifyIdFormatCommand,
- ModifyImageAttributeCommand,
- ModifyInstanceAttributeCommand,
- ModifyInstanceCapacityReservationAttributesCommand,
- ModifyInstanceCreditSpecificationCommand,
- ModifyInstanceEventStartTimeCommand,
- ModifyInstanceEventWindowCommand,
- ModifyInstanceMaintenanceOptionsCommand,
- ModifyInstanceMetadataOptionsCommand,
- ModifyInstancePlacementCommand,
- ModifyIpamCommand,
- ModifyIpamPoolCommand,
- ModifyIpamResourceCidrCommand,
- ModifyIpamResourceDiscoveryCommand,
- ModifyIpamScopeCommand,
- ModifyLaunchTemplateCommand,
- ModifyLocalGatewayRouteCommand,
- ModifyManagedPrefixListCommand,
- ModifyNetworkInterfaceAttributeCommand,
- ModifyPrivateDnsNameOptionsCommand,
- ModifyReservedInstancesCommand,
- ModifySecurityGroupRulesCommand,
- ModifySnapshotAttributeCommand,
- ModifySnapshotTierCommand,
- ModifySpotFleetRequestCommand,
- ModifySubnetAttributeCommand,
- ModifyTrafficMirrorFilterNetworkServicesCommand,
- ModifyTrafficMirrorFilterRuleCommand,
- ModifyTrafficMirrorSessionCommand,
- ModifyTransitGatewayCommand,
- ModifyTransitGatewayPrefixListReferenceCommand,
- ModifyTransitGatewayVpcAttachmentCommand,
- ModifyVerifiedAccessEndpointCommand,
- ModifyVerifiedAccessEndpointPolicyCommand,
- ModifyVerifiedAccessGroupCommand,
- ModifyVerifiedAccessGroupPolicyCommand,
- ModifyVerifiedAccessInstanceCommand,
- ModifyVerifiedAccessInstanceLoggingConfigurationCommand,
- ModifyVerifiedAccessTrustProviderCommand,
- ModifyVolumeCommand,
- ModifyVolumeAttributeCommand,
- ModifyVpcAttributeCommand,
- ModifyVpcEndpointCommand,
- ModifyVpcEndpointConnectionNotificationCommand,
- ModifyVpcEndpointServiceConfigurationCommand,
- ModifyVpcEndpointServicePayerResponsibilityCommand,
- ModifyVpcEndpointServicePermissionsCommand,
- ModifyVpcPeeringConnectionOptionsCommand,
- ModifyVpcTenancyCommand,
- ModifyVpnConnectionCommand,
- ModifyVpnConnectionOptionsCommand,
- ModifyVpnTunnelCertificateCommand,
- ModifyVpnTunnelOptionsCommand,
- MonitorInstancesCommand,
- MoveAddressToVpcCommand,
- MoveByoipCidrToIpamCommand,
- ProvisionByoipCidrCommand,
- ProvisionIpamByoasnCommand,
- ProvisionIpamPoolCidrCommand,
- ProvisionPublicIpv4PoolCidrCommand,
- PurchaseCapacityBlockCommand,
- PurchaseHostReservationCommand,
- PurchaseReservedInstancesOfferingCommand,
- PurchaseScheduledInstancesCommand,
- RebootInstancesCommand,
- RegisterImageCommand,
- RegisterInstanceEventNotificationAttributesCommand,
- RegisterTransitGatewayMulticastGroupMembersCommand,
- RegisterTransitGatewayMulticastGroupSourcesCommand,
- RejectTransitGatewayMulticastDomainAssociationsCommand,
- RejectTransitGatewayPeeringAttachmentCommand,
- RejectTransitGatewayVpcAttachmentCommand,
- RejectVpcEndpointConnectionsCommand,
- RejectVpcPeeringConnectionCommand,
- ReleaseAddressCommand,
- ReleaseHostsCommand,
- ReleaseIpamPoolAllocationCommand,
- ReplaceIamInstanceProfileAssociationCommand,
- ReplaceNetworkAclAssociationCommand,
- ReplaceNetworkAclEntryCommand,
- ReplaceRouteCommand,
- ReplaceRouteTableAssociationCommand,
- ReplaceTransitGatewayRouteCommand,
- ReplaceVpnTunnelCommand,
- ReportInstanceStatusCommand,
- RequestSpotFleetCommand,
- RequestSpotInstancesCommand,
- ResetAddressAttributeCommand,
- ResetEbsDefaultKmsKeyIdCommand,
- ResetFpgaImageAttributeCommand,
- ResetImageAttributeCommand,
- ResetInstanceAttributeCommand,
- ResetNetworkInterfaceAttributeCommand,
- ResetSnapshotAttributeCommand,
- RestoreAddressToClassicCommand,
- RestoreImageFromRecycleBinCommand,
- RestoreManagedPrefixListVersionCommand,
- RestoreSnapshotFromRecycleBinCommand,
- RestoreSnapshotTierCommand,
- RevokeClientVpnIngressCommand,
- RevokeSecurityGroupEgressCommand,
- RevokeSecurityGroupIngressCommand,
- RunInstancesCommand,
- RunScheduledInstancesCommand,
- SearchLocalGatewayRoutesCommand,
- SearchTransitGatewayMulticastGroupsCommand,
- SearchTransitGatewayRoutesCommand,
- SendDiagnosticInterruptCommand,
- StartInstancesCommand,
- StartNetworkInsightsAccessScopeAnalysisCommand,
- StartNetworkInsightsAnalysisCommand,
- StartVpcEndpointServicePrivateDnsVerificationCommand,
- StopInstancesCommand,
- TerminateClientVpnConnectionsCommand,
- TerminateInstancesCommand,
- UnassignIpv6AddressesCommand,
- UnassignPrivateIpAddressesCommand,
- UnassignPrivateNatGatewayAddressCommand,
- UnlockSnapshotCommand,
- UnmonitorInstancesCommand,
- UpdateSecurityGroupRuleDescriptionsEgressCommand,
- UpdateSecurityGroupRuleDescriptionsIngressCommand,
- WithdrawByoipCidrCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export type EC2Service = {
- readonly _: unique symbol;
-
- /**
- * @see {@link AcceptAddressTransferCommand}
- */
- readonly acceptAddressTransfer: (
- args: AcceptAddressTransferCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptAddressTransferCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptReservedInstancesExchangeQuoteCommand}
- */
- readonly acceptReservedInstancesExchangeQuote: (
- args: AcceptReservedInstancesExchangeQuoteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptReservedInstancesExchangeQuoteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptTransitGatewayMulticastDomainAssociationsCommand}
- */
- readonly acceptTransitGatewayMulticastDomainAssociations: (
- args: AcceptTransitGatewayMulticastDomainAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptTransitGatewayMulticastDomainAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptTransitGatewayPeeringAttachmentCommand}
- */
- readonly acceptTransitGatewayPeeringAttachment: (
- args: AcceptTransitGatewayPeeringAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptTransitGatewayPeeringAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptTransitGatewayVpcAttachmentCommand}
- */
- readonly acceptTransitGatewayVpcAttachment: (
- args: AcceptTransitGatewayVpcAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptTransitGatewayVpcAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptVpcEndpointConnectionsCommand}
- */
- readonly acceptVpcEndpointConnections: (
- args: AcceptVpcEndpointConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptVpcEndpointConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AcceptVpcPeeringConnectionCommand}
- */
- readonly acceptVpcPeeringConnection: (
- args: AcceptVpcPeeringConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AcceptVpcPeeringConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AdvertiseByoipCidrCommand}
- */
- readonly advertiseByoipCidr: (
- args: AdvertiseByoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AdvertiseByoipCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AllocateAddressCommand}
- */
- readonly allocateAddress: (
- args: AllocateAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link AllocateHostsCommand}
- */
- readonly allocateHosts: (
- args: AllocateHostsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link AllocateIpamPoolCidrCommand}
- */
- readonly allocateIpamPoolCidr: (
- args: AllocateIpamPoolCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AllocateIpamPoolCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ApplySecurityGroupsToClientVpnTargetNetworkCommand}
- */
- readonly applySecurityGroupsToClientVpnTargetNetwork: (
- args: ApplySecurityGroupsToClientVpnTargetNetworkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ApplySecurityGroupsToClientVpnTargetNetworkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssignIpv6AddressesCommand}
- */
- readonly assignIpv6Addresses: (
- args: AssignIpv6AddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssignIpv6AddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssignPrivateIpAddressesCommand}
- */
- readonly assignPrivateIpAddresses: (
- args: AssignPrivateIpAddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssignPrivateIpAddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssignPrivateNatGatewayAddressCommand}
- */
- readonly assignPrivateNatGatewayAddress: (
- args: AssignPrivateNatGatewayAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssignPrivateNatGatewayAddressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateAddressCommand}
- */
- readonly associateAddress: (
- args: AssociateAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link AssociateClientVpnTargetNetworkCommand}
- */
- readonly associateClientVpnTargetNetwork: (
- args: AssociateClientVpnTargetNetworkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateClientVpnTargetNetworkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateDhcpOptionsCommand}
- */
- readonly associateDhcpOptions: (
- args: AssociateDhcpOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateDhcpOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateEnclaveCertificateIamRoleCommand}
- */
- readonly associateEnclaveCertificateIamRole: (
- args: AssociateEnclaveCertificateIamRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateEnclaveCertificateIamRoleCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateIamInstanceProfileCommand}
- */
- readonly associateIamInstanceProfile: (
- args: AssociateIamInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateIamInstanceProfileCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateInstanceEventWindowCommand}
- */
- readonly associateInstanceEventWindow: (
- args: AssociateInstanceEventWindowCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateInstanceEventWindowCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateIpamByoasnCommand}
- */
- readonly associateIpamByoasn: (
- args: AssociateIpamByoasnCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateIpamByoasnCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateIpamResourceDiscoveryCommand}
- */
- readonly associateIpamResourceDiscovery: (
- args: AssociateIpamResourceDiscoveryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateIpamResourceDiscoveryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateNatGatewayAddressCommand}
- */
- readonly associateNatGatewayAddress: (
- args: AssociateNatGatewayAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateNatGatewayAddressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateRouteTableCommand}
- */
- readonly associateRouteTable: (
- args: AssociateRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateSubnetCidrBlockCommand}
- */
- readonly associateSubnetCidrBlock: (
- args: AssociateSubnetCidrBlockCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateSubnetCidrBlockCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateTransitGatewayMulticastDomainCommand}
- */
- readonly associateTransitGatewayMulticastDomain: (
- args: AssociateTransitGatewayMulticastDomainCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateTransitGatewayMulticastDomainCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateTransitGatewayPolicyTableCommand}
- */
- readonly associateTransitGatewayPolicyTable: (
- args: AssociateTransitGatewayPolicyTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateTransitGatewayPolicyTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateTransitGatewayRouteTableCommand}
- */
- readonly associateTransitGatewayRouteTable: (
- args: AssociateTransitGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateTransitGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateTrunkInterfaceCommand}
- */
- readonly associateTrunkInterface: (
- args: AssociateTrunkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateTrunkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AssociateVpcCidrBlockCommand}
- */
- readonly associateVpcCidrBlock: (
- args: AssociateVpcCidrBlockCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AssociateVpcCidrBlockCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AttachClassicLinkVpcCommand}
- */
- readonly attachClassicLinkVpc: (
- args: AttachClassicLinkVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachClassicLinkVpcCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AttachInternetGatewayCommand}
- */
- readonly attachInternetGateway: (
- args: AttachInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AttachNetworkInterfaceCommand}
- */
- readonly attachNetworkInterface: (
- args: AttachNetworkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachNetworkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AttachVerifiedAccessTrustProviderCommand}
- */
- readonly attachVerifiedAccessTrustProvider: (
- args: AttachVerifiedAccessTrustProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachVerifiedAccessTrustProviderCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AttachVolumeCommand}
- */
- readonly attachVolume: (
- args: AttachVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link AttachVpnGatewayCommand}
- */
- readonly attachVpnGateway: (
- args: AttachVpnGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link AuthorizeClientVpnIngressCommand}
- */
- readonly authorizeClientVpnIngress: (
- args: AuthorizeClientVpnIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AuthorizeClientVpnIngressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AuthorizeSecurityGroupEgressCommand}
- */
- readonly authorizeSecurityGroupEgress: (
- args: AuthorizeSecurityGroupEgressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AuthorizeSecurityGroupEgressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link AuthorizeSecurityGroupIngressCommand}
- */
- readonly authorizeSecurityGroupIngress: (
- args: AuthorizeSecurityGroupIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AuthorizeSecurityGroupIngressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link BundleInstanceCommand}
- */
- readonly bundleInstance: (
- args: BundleInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CancelBundleTaskCommand}
- */
- readonly cancelBundleTask: (
- args: CancelBundleTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CancelCapacityReservationCommand}
- */
- readonly cancelCapacityReservation: (
- args: CancelCapacityReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelCapacityReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelCapacityReservationFleetsCommand}
- */
- readonly cancelCapacityReservationFleets: (
- args: CancelCapacityReservationFleetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelCapacityReservationFleetsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelConversionTaskCommand}
- */
- readonly cancelConversionTask: (
- args: CancelConversionTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelConversionTaskCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelExportTaskCommand}
- */
- readonly cancelExportTask: (
- args: CancelExportTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CancelImageLaunchPermissionCommand}
- */
- readonly cancelImageLaunchPermission: (
- args: CancelImageLaunchPermissionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelImageLaunchPermissionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelImportTaskCommand}
- */
- readonly cancelImportTask: (
- args: CancelImportTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CancelReservedInstancesListingCommand}
- */
- readonly cancelReservedInstancesListing: (
- args: CancelReservedInstancesListingCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelReservedInstancesListingCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelSpotFleetRequestsCommand}
- */
- readonly cancelSpotFleetRequests: (
- args: CancelSpotFleetRequestsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelSpotFleetRequestsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CancelSpotInstanceRequestsCommand}
- */
- readonly cancelSpotInstanceRequests: (
- args: CancelSpotInstanceRequestsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CancelSpotInstanceRequestsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ConfirmProductInstanceCommand}
- */
- readonly confirmProductInstance: (
- args: ConfirmProductInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ConfirmProductInstanceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CopyFpgaImageCommand}
- */
- readonly copyFpgaImage: (
- args: CopyFpgaImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CopyImageCommand}
- */
- readonly copyImage: (
- args: CopyImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CopySnapshotCommand}
- */
- readonly copySnapshot: (
- args: CopySnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateCapacityReservationCommand}
- */
- readonly createCapacityReservation: (
- args: CreateCapacityReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateCapacityReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateCapacityReservationFleetCommand}
- */
- readonly createCapacityReservationFleet: (
- args: CreateCapacityReservationFleetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateCapacityReservationFleetCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateCarrierGatewayCommand}
- */
- readonly createCarrierGateway: (
- args: CreateCarrierGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateCarrierGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateClientVpnEndpointCommand}
- */
- readonly createClientVpnEndpoint: (
- args: CreateClientVpnEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateClientVpnEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateClientVpnRouteCommand}
- */
- readonly createClientVpnRoute: (
- args: CreateClientVpnRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateClientVpnRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateCoipCidrCommand}
- */
- readonly createCoipCidr: (
- args: CreateCoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateCoipPoolCommand}
- */
- readonly createCoipPool: (
- args: CreateCoipPoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateCustomerGatewayCommand}
- */
- readonly createCustomerGateway: (
- args: CreateCustomerGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateCustomerGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateDefaultSubnetCommand}
- */
- readonly createDefaultSubnet: (
- args: CreateDefaultSubnetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateDefaultSubnetCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateDefaultVpcCommand}
- */
- readonly createDefaultVpc: (
- args: CreateDefaultVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateDhcpOptionsCommand}
- */
- readonly createDhcpOptions: (
- args: CreateDhcpOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateDhcpOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateEgressOnlyInternetGatewayCommand}
- */
- readonly createEgressOnlyInternetGateway: (
- args: CreateEgressOnlyInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateEgressOnlyInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateFleetCommand}
- */
- readonly createFleet: (
- args: CreateFleetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateFlowLogsCommand}
- */
- readonly createFlowLogs: (
- args: CreateFlowLogsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateFpgaImageCommand}
- */
- readonly createFpgaImage: (
- args: CreateFpgaImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateImageCommand}
- */
- readonly createImage: (
- args: CreateImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateInstanceConnectEndpointCommand}
- */
- readonly createInstanceConnectEndpoint: (
- args: CreateInstanceConnectEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateInstanceConnectEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateInstanceEventWindowCommand}
- */
- readonly createInstanceEventWindow: (
- args: CreateInstanceEventWindowCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateInstanceEventWindowCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateInstanceExportTaskCommand}
- */
- readonly createInstanceExportTask: (
- args: CreateInstanceExportTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateInstanceExportTaskCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateInternetGatewayCommand}
- */
- readonly createInternetGateway: (
- args: CreateInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateIpamCommand}
- */
- readonly createIpam: (
- args: CreateIpamCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateIpamPoolCommand}
- */
- readonly createIpamPool: (
- args: CreateIpamPoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateIpamResourceDiscoveryCommand}
- */
- readonly createIpamResourceDiscovery: (
- args: CreateIpamResourceDiscoveryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateIpamResourceDiscoveryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateIpamScopeCommand}
- */
- readonly createIpamScope: (
- args: CreateIpamScopeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateKeyPairCommand}
- */
- readonly createKeyPair: (
- args: CreateKeyPairCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateLaunchTemplateCommand}
- */
- readonly createLaunchTemplate: (
- args: CreateLaunchTemplateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLaunchTemplateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateLaunchTemplateVersionCommand}
- */
- readonly createLaunchTemplateVersion: (
- args: CreateLaunchTemplateVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLaunchTemplateVersionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateLocalGatewayRouteCommand}
- */
- readonly createLocalGatewayRoute: (
- args: CreateLocalGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLocalGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateLocalGatewayRouteTableCommand}
- */
- readonly createLocalGatewayRouteTable: (
- args: CreateLocalGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLocalGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand}
- */
- readonly createLocalGatewayRouteTableVirtualInterfaceGroupAssociation: (
- args: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateLocalGatewayRouteTableVpcAssociationCommand}
- */
- readonly createLocalGatewayRouteTableVpcAssociation: (
- args: CreateLocalGatewayRouteTableVpcAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLocalGatewayRouteTableVpcAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateManagedPrefixListCommand}
- */
- readonly createManagedPrefixList: (
- args: CreateManagedPrefixListCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateManagedPrefixListCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateNatGatewayCommand}
- */
- readonly createNatGateway: (
- args: CreateNatGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateNetworkAclCommand}
- */
- readonly createNetworkAcl: (
- args: CreateNetworkAclCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateNetworkAclEntryCommand}
- */
- readonly createNetworkAclEntry: (
- args: CreateNetworkAclEntryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateNetworkAclEntryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateNetworkInsightsAccessScopeCommand}
- */
- readonly createNetworkInsightsAccessScope: (
- args: CreateNetworkInsightsAccessScopeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateNetworkInsightsAccessScopeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateNetworkInsightsPathCommand}
- */
- readonly createNetworkInsightsPath: (
- args: CreateNetworkInsightsPathCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateNetworkInsightsPathCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateNetworkInterfaceCommand}
- */
- readonly createNetworkInterface: (
- args: CreateNetworkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateNetworkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateNetworkInterfacePermissionCommand}
- */
- readonly createNetworkInterfacePermission: (
- args: CreateNetworkInterfacePermissionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateNetworkInterfacePermissionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreatePlacementGroupCommand}
- */
- readonly createPlacementGroup: (
- args: CreatePlacementGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreatePlacementGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreatePublicIpv4PoolCommand}
- */
- readonly createPublicIpv4Pool: (
- args: CreatePublicIpv4PoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreatePublicIpv4PoolCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateReplaceRootVolumeTaskCommand}
- */
- readonly createReplaceRootVolumeTask: (
- args: CreateReplaceRootVolumeTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateReplaceRootVolumeTaskCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateReservedInstancesListingCommand}
- */
- readonly createReservedInstancesListing: (
- args: CreateReservedInstancesListingCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateReservedInstancesListingCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateRestoreImageTaskCommand}
- */
- readonly createRestoreImageTask: (
- args: CreateRestoreImageTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateRestoreImageTaskCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateRouteCommand}
- */
- readonly createRoute: (
- args: CreateRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateRouteTableCommand}
- */
- readonly createRouteTable: (
- args: CreateRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateSecurityGroupCommand}
- */
- readonly createSecurityGroup: (
- args: CreateSecurityGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateSecurityGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateSnapshotCommand}
- */
- readonly createSnapshot: (
- args: CreateSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateSnapshotsCommand}
- */
- readonly createSnapshots: (
- args: CreateSnapshotsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateSpotDatafeedSubscriptionCommand}
- */
- readonly createSpotDatafeedSubscription: (
- args: CreateSpotDatafeedSubscriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateSpotDatafeedSubscriptionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateStoreImageTaskCommand}
- */
- readonly createStoreImageTask: (
- args: CreateStoreImageTaskCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateStoreImageTaskCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateSubnetCommand}
- */
- readonly createSubnet: (
- args: CreateSubnetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateSubnetCidrReservationCommand}
- */
- readonly createSubnetCidrReservation: (
- args: CreateSubnetCidrReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateSubnetCidrReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTagsCommand}
- */
- readonly createTags: (
- args: CreateTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateTrafficMirrorFilterCommand}
- */
- readonly createTrafficMirrorFilter: (
- args: CreateTrafficMirrorFilterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTrafficMirrorFilterCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTrafficMirrorFilterRuleCommand}
- */
- readonly createTrafficMirrorFilterRule: (
- args: CreateTrafficMirrorFilterRuleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTrafficMirrorFilterRuleCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTrafficMirrorSessionCommand}
- */
- readonly createTrafficMirrorSession: (
- args: CreateTrafficMirrorSessionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTrafficMirrorSessionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTrafficMirrorTargetCommand}
- */
- readonly createTrafficMirrorTarget: (
- args: CreateTrafficMirrorTargetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTrafficMirrorTargetCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayCommand}
- */
- readonly createTransitGateway: (
- args: CreateTransitGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayConnectCommand}
- */
- readonly createTransitGatewayConnect: (
- args: CreateTransitGatewayConnectCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayConnectCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayConnectPeerCommand}
- */
- readonly createTransitGatewayConnectPeer: (
- args: CreateTransitGatewayConnectPeerCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayConnectPeerCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayMulticastDomainCommand}
- */
- readonly createTransitGatewayMulticastDomain: (
- args: CreateTransitGatewayMulticastDomainCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayMulticastDomainCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayPeeringAttachmentCommand}
- */
- readonly createTransitGatewayPeeringAttachment: (
- args: CreateTransitGatewayPeeringAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayPeeringAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayPolicyTableCommand}
- */
- readonly createTransitGatewayPolicyTable: (
- args: CreateTransitGatewayPolicyTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayPolicyTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayPrefixListReferenceCommand}
- */
- readonly createTransitGatewayPrefixListReference: (
- args: CreateTransitGatewayPrefixListReferenceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayPrefixListReferenceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayRouteCommand}
- */
- readonly createTransitGatewayRoute: (
- args: CreateTransitGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayRouteTableCommand}
- */
- readonly createTransitGatewayRouteTable: (
- args: CreateTransitGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayRouteTableAnnouncementCommand}
- */
- readonly createTransitGatewayRouteTableAnnouncement: (
- args: CreateTransitGatewayRouteTableAnnouncementCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayRouteTableAnnouncementCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateTransitGatewayVpcAttachmentCommand}
- */
- readonly createTransitGatewayVpcAttachment: (
- args: CreateTransitGatewayVpcAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateTransitGatewayVpcAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVerifiedAccessEndpointCommand}
- */
- readonly createVerifiedAccessEndpoint: (
- args: CreateVerifiedAccessEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVerifiedAccessEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVerifiedAccessGroupCommand}
- */
- readonly createVerifiedAccessGroup: (
- args: CreateVerifiedAccessGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVerifiedAccessGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVerifiedAccessInstanceCommand}
- */
- readonly createVerifiedAccessInstance: (
- args: CreateVerifiedAccessInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVerifiedAccessInstanceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVerifiedAccessTrustProviderCommand}
- */
- readonly createVerifiedAccessTrustProvider: (
- args: CreateVerifiedAccessTrustProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVerifiedAccessTrustProviderCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVolumeCommand}
- */
- readonly createVolume: (
- args: CreateVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateVpcCommand}
- */
- readonly createVpc: (
- args: CreateVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link CreateVpcEndpointCommand}
- */
- readonly createVpcEndpoint: (
- args: CreateVpcEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpcEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpcEndpointConnectionNotificationCommand}
- */
- readonly createVpcEndpointConnectionNotification: (
- args: CreateVpcEndpointConnectionNotificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpcEndpointConnectionNotificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpcEndpointServiceConfigurationCommand}
- */
- readonly createVpcEndpointServiceConfiguration: (
- args: CreateVpcEndpointServiceConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpcEndpointServiceConfigurationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpcPeeringConnectionCommand}
- */
- readonly createVpcPeeringConnection: (
- args: CreateVpcPeeringConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpcPeeringConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpnConnectionCommand}
- */
- readonly createVpnConnection: (
- args: CreateVpnConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpnConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpnConnectionRouteCommand}
- */
- readonly createVpnConnectionRoute: (
- args: CreateVpnConnectionRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVpnConnectionRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link CreateVpnGatewayCommand}
- */
- readonly createVpnGateway: (
- args: CreateVpnGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteCarrierGatewayCommand}
- */
- readonly deleteCarrierGateway: (
- args: DeleteCarrierGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteCarrierGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteClientVpnEndpointCommand}
- */
- readonly deleteClientVpnEndpoint: (
- args: DeleteClientVpnEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteClientVpnEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteClientVpnRouteCommand}
- */
- readonly deleteClientVpnRoute: (
- args: DeleteClientVpnRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteClientVpnRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteCoipCidrCommand}
- */
- readonly deleteCoipCidr: (
- args: DeleteCoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteCoipPoolCommand}
- */
- readonly deleteCoipPool: (
- args: DeleteCoipPoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteCustomerGatewayCommand}
- */
- readonly deleteCustomerGateway: (
- args: DeleteCustomerGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteCustomerGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteDhcpOptionsCommand}
- */
- readonly deleteDhcpOptions: (
- args: DeleteDhcpOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteDhcpOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteEgressOnlyInternetGatewayCommand}
- */
- readonly deleteEgressOnlyInternetGateway: (
- args: DeleteEgressOnlyInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteEgressOnlyInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteFleetsCommand}
- */
- readonly deleteFleets: (
- args: DeleteFleetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteFlowLogsCommand}
- */
- readonly deleteFlowLogs: (
- args: DeleteFlowLogsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteFpgaImageCommand}
- */
- readonly deleteFpgaImage: (
- args: DeleteFpgaImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteInstanceConnectEndpointCommand}
- */
- readonly deleteInstanceConnectEndpoint: (
- args: DeleteInstanceConnectEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteInstanceConnectEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteInstanceEventWindowCommand}
- */
- readonly deleteInstanceEventWindow: (
- args: DeleteInstanceEventWindowCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteInstanceEventWindowCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteInternetGatewayCommand}
- */
- readonly deleteInternetGateway: (
- args: DeleteInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteIpamCommand}
- */
- readonly deleteIpam: (
- args: DeleteIpamCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteIpamPoolCommand}
- */
- readonly deleteIpamPool: (
- args: DeleteIpamPoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteIpamResourceDiscoveryCommand}
- */
- readonly deleteIpamResourceDiscovery: (
- args: DeleteIpamResourceDiscoveryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteIpamResourceDiscoveryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteIpamScopeCommand}
- */
- readonly deleteIpamScope: (
- args: DeleteIpamScopeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteKeyPairCommand}
- */
- readonly deleteKeyPair: (
- args: DeleteKeyPairCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteLaunchTemplateCommand}
- */
- readonly deleteLaunchTemplate: (
- args: DeleteLaunchTemplateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLaunchTemplateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteLaunchTemplateVersionsCommand}
- */
- readonly deleteLaunchTemplateVersions: (
- args: DeleteLaunchTemplateVersionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLaunchTemplateVersionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteLocalGatewayRouteCommand}
- */
- readonly deleteLocalGatewayRoute: (
- args: DeleteLocalGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLocalGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteLocalGatewayRouteTableCommand}
- */
- readonly deleteLocalGatewayRouteTable: (
- args: DeleteLocalGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLocalGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand}
- */
- readonly deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation: (
- args: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteLocalGatewayRouteTableVpcAssociationCommand}
- */
- readonly deleteLocalGatewayRouteTableVpcAssociation: (
- args: DeleteLocalGatewayRouteTableVpcAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLocalGatewayRouteTableVpcAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteManagedPrefixListCommand}
- */
- readonly deleteManagedPrefixList: (
- args: DeleteManagedPrefixListCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteManagedPrefixListCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNatGatewayCommand}
- */
- readonly deleteNatGateway: (
- args: DeleteNatGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteNetworkAclCommand}
- */
- readonly deleteNetworkAcl: (
- args: DeleteNetworkAclCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteNetworkAclEntryCommand}
- */
- readonly deleteNetworkAclEntry: (
- args: DeleteNetworkAclEntryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkAclEntryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInsightsAccessScopeCommand}
- */
- readonly deleteNetworkInsightsAccessScope: (
- args: DeleteNetworkInsightsAccessScopeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInsightsAccessScopeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInsightsAccessScopeAnalysisCommand}
- */
- readonly deleteNetworkInsightsAccessScopeAnalysis: (
- args: DeleteNetworkInsightsAccessScopeAnalysisCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInsightsAccessScopeAnalysisCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInsightsAnalysisCommand}
- */
- readonly deleteNetworkInsightsAnalysis: (
- args: DeleteNetworkInsightsAnalysisCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInsightsAnalysisCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInsightsPathCommand}
- */
- readonly deleteNetworkInsightsPath: (
- args: DeleteNetworkInsightsPathCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInsightsPathCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInterfaceCommand}
- */
- readonly deleteNetworkInterface: (
- args: DeleteNetworkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteNetworkInterfacePermissionCommand}
- */
- readonly deleteNetworkInterfacePermission: (
- args: DeleteNetworkInterfacePermissionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteNetworkInterfacePermissionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeletePlacementGroupCommand}
- */
- readonly deletePlacementGroup: (
- args: DeletePlacementGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeletePlacementGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeletePublicIpv4PoolCommand}
- */
- readonly deletePublicIpv4Pool: (
- args: DeletePublicIpv4PoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeletePublicIpv4PoolCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteQueuedReservedInstancesCommand}
- */
- readonly deleteQueuedReservedInstances: (
- args: DeleteQueuedReservedInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteQueuedReservedInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteRouteCommand}
- */
- readonly deleteRoute: (
- args: DeleteRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteRouteTableCommand}
- */
- readonly deleteRouteTable: (
- args: DeleteRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteSecurityGroupCommand}
- */
- readonly deleteSecurityGroup: (
- args: DeleteSecurityGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSecurityGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteSnapshotCommand}
- */
- readonly deleteSnapshot: (
- args: DeleteSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteSpotDatafeedSubscriptionCommand}
- */
- readonly deleteSpotDatafeedSubscription: (
- args: DeleteSpotDatafeedSubscriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSpotDatafeedSubscriptionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteSubnetCommand}
- */
- readonly deleteSubnet: (
- args: DeleteSubnetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteSubnetCidrReservationCommand}
- */
- readonly deleteSubnetCidrReservation: (
- args: DeleteSubnetCidrReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSubnetCidrReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTagsCommand}
- */
- readonly deleteTags: (
- args: DeleteTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteTrafficMirrorFilterCommand}
- */
- readonly deleteTrafficMirrorFilter: (
- args: DeleteTrafficMirrorFilterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTrafficMirrorFilterCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTrafficMirrorFilterRuleCommand}
- */
- readonly deleteTrafficMirrorFilterRule: (
- args: DeleteTrafficMirrorFilterRuleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTrafficMirrorFilterRuleCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTrafficMirrorSessionCommand}
- */
- readonly deleteTrafficMirrorSession: (
- args: DeleteTrafficMirrorSessionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTrafficMirrorSessionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTrafficMirrorTargetCommand}
- */
- readonly deleteTrafficMirrorTarget: (
- args: DeleteTrafficMirrorTargetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTrafficMirrorTargetCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayCommand}
- */
- readonly deleteTransitGateway: (
- args: DeleteTransitGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayConnectCommand}
- */
- readonly deleteTransitGatewayConnect: (
- args: DeleteTransitGatewayConnectCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayConnectCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayConnectPeerCommand}
- */
- readonly deleteTransitGatewayConnectPeer: (
- args: DeleteTransitGatewayConnectPeerCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayConnectPeerCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayMulticastDomainCommand}
- */
- readonly deleteTransitGatewayMulticastDomain: (
- args: DeleteTransitGatewayMulticastDomainCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayMulticastDomainCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayPeeringAttachmentCommand}
- */
- readonly deleteTransitGatewayPeeringAttachment: (
- args: DeleteTransitGatewayPeeringAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayPeeringAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayPolicyTableCommand}
- */
- readonly deleteTransitGatewayPolicyTable: (
- args: DeleteTransitGatewayPolicyTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayPolicyTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayPrefixListReferenceCommand}
- */
- readonly deleteTransitGatewayPrefixListReference: (
- args: DeleteTransitGatewayPrefixListReferenceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayPrefixListReferenceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayRouteCommand}
- */
- readonly deleteTransitGatewayRoute: (
- args: DeleteTransitGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayRouteTableCommand}
- */
- readonly deleteTransitGatewayRouteTable: (
- args: DeleteTransitGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayRouteTableAnnouncementCommand}
- */
- readonly deleteTransitGatewayRouteTableAnnouncement: (
- args: DeleteTransitGatewayRouteTableAnnouncementCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayRouteTableAnnouncementCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteTransitGatewayVpcAttachmentCommand}
- */
- readonly deleteTransitGatewayVpcAttachment: (
- args: DeleteTransitGatewayVpcAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteTransitGatewayVpcAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVerifiedAccessEndpointCommand}
- */
- readonly deleteVerifiedAccessEndpoint: (
- args: DeleteVerifiedAccessEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVerifiedAccessEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVerifiedAccessGroupCommand}
- */
- readonly deleteVerifiedAccessGroup: (
- args: DeleteVerifiedAccessGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVerifiedAccessGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVerifiedAccessInstanceCommand}
- */
- readonly deleteVerifiedAccessInstance: (
- args: DeleteVerifiedAccessInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVerifiedAccessInstanceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVerifiedAccessTrustProviderCommand}
- */
- readonly deleteVerifiedAccessTrustProvider: (
- args: DeleteVerifiedAccessTrustProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVerifiedAccessTrustProviderCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVolumeCommand}
- */
- readonly deleteVolume: (
- args: DeleteVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteVpcCommand}
- */
- readonly deleteVpc: (
- args: DeleteVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeleteVpcEndpointConnectionNotificationsCommand}
- */
- readonly deleteVpcEndpointConnectionNotifications: (
- args: DeleteVpcEndpointConnectionNotificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpcEndpointConnectionNotificationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpcEndpointsCommand}
- */
- readonly deleteVpcEndpoints: (
- args: DeleteVpcEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpcEndpointsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpcEndpointServiceConfigurationsCommand}
- */
- readonly deleteVpcEndpointServiceConfigurations: (
- args: DeleteVpcEndpointServiceConfigurationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpcEndpointServiceConfigurationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpcPeeringConnectionCommand}
- */
- readonly deleteVpcPeeringConnection: (
- args: DeleteVpcPeeringConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpcPeeringConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpnConnectionCommand}
- */
- readonly deleteVpnConnection: (
- args: DeleteVpnConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpnConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpnConnectionRouteCommand}
- */
- readonly deleteVpnConnectionRoute: (
- args: DeleteVpnConnectionRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVpnConnectionRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeleteVpnGatewayCommand}
- */
- readonly deleteVpnGateway: (
- args: DeleteVpnGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeprovisionByoipCidrCommand}
- */
- readonly deprovisionByoipCidr: (
- args: DeprovisionByoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeprovisionByoipCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeprovisionIpamByoasnCommand}
- */
- readonly deprovisionIpamByoasn: (
- args: DeprovisionIpamByoasnCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeprovisionIpamByoasnCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeprovisionIpamPoolCidrCommand}
- */
- readonly deprovisionIpamPoolCidr: (
- args: DeprovisionIpamPoolCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeprovisionIpamPoolCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeprovisionPublicIpv4PoolCidrCommand}
- */
- readonly deprovisionPublicIpv4PoolCidr: (
- args: DeprovisionPublicIpv4PoolCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeprovisionPublicIpv4PoolCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeregisterImageCommand}
- */
- readonly deregisterImage: (
- args: DeregisterImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DeregisterInstanceEventNotificationAttributesCommand}
- */
- readonly deregisterInstanceEventNotificationAttributes: (
- args: DeregisterInstanceEventNotificationAttributesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeregisterInstanceEventNotificationAttributesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeregisterTransitGatewayMulticastGroupMembersCommand}
- */
- readonly deregisterTransitGatewayMulticastGroupMembers: (
- args: DeregisterTransitGatewayMulticastGroupMembersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeregisterTransitGatewayMulticastGroupMembersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DeregisterTransitGatewayMulticastGroupSourcesCommand}
- */
- readonly deregisterTransitGatewayMulticastGroupSources: (
- args: DeregisterTransitGatewayMulticastGroupSourcesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeregisterTransitGatewayMulticastGroupSourcesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAccountAttributesCommand}
- */
- readonly describeAccountAttributes: (
- args: DescribeAccountAttributesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAccountAttributesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAddressesCommand}
- */
- readonly describeAddresses: (
- args: DescribeAddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAddressesAttributeCommand}
- */
- readonly describeAddressesAttribute: (
- args: DescribeAddressesAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAddressesAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAddressTransfersCommand}
- */
- readonly describeAddressTransfers: (
- args: DescribeAddressTransfersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAddressTransfersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAggregateIdFormatCommand}
- */
- readonly describeAggregateIdFormat: (
- args: DescribeAggregateIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAggregateIdFormatCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAvailabilityZonesCommand}
- */
- readonly describeAvailabilityZones: (
- args: DescribeAvailabilityZonesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAvailabilityZonesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeAwsNetworkPerformanceMetricSubscriptionsCommand}
- */
- readonly describeAwsNetworkPerformanceMetricSubscriptions: (
- args: DescribeAwsNetworkPerformanceMetricSubscriptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeAwsNetworkPerformanceMetricSubscriptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeBundleTasksCommand}
- */
- readonly describeBundleTasks: (
- args: DescribeBundleTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeBundleTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeByoipCidrsCommand}
- */
- readonly describeByoipCidrs: (
- args: DescribeByoipCidrsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeByoipCidrsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCapacityBlockOfferingsCommand}
- */
- readonly describeCapacityBlockOfferings: (
- args: DescribeCapacityBlockOfferingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCapacityBlockOfferingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCapacityReservationFleetsCommand}
- */
- readonly describeCapacityReservationFleets: (
- args: DescribeCapacityReservationFleetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCapacityReservationFleetsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCapacityReservationsCommand}
- */
- readonly describeCapacityReservations: (
- args: DescribeCapacityReservationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCapacityReservationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCarrierGatewaysCommand}
- */
- readonly describeCarrierGateways: (
- args: DescribeCarrierGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCarrierGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClassicLinkInstancesCommand}
- */
- readonly describeClassicLinkInstances: (
- args: DescribeClassicLinkInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClassicLinkInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClientVpnAuthorizationRulesCommand}
- */
- readonly describeClientVpnAuthorizationRules: (
- args: DescribeClientVpnAuthorizationRulesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClientVpnAuthorizationRulesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClientVpnConnectionsCommand}
- */
- readonly describeClientVpnConnections: (
- args: DescribeClientVpnConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClientVpnConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClientVpnEndpointsCommand}
- */
- readonly describeClientVpnEndpoints: (
- args: DescribeClientVpnEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClientVpnEndpointsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClientVpnRoutesCommand}
- */
- readonly describeClientVpnRoutes: (
- args: DescribeClientVpnRoutesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClientVpnRoutesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeClientVpnTargetNetworksCommand}
- */
- readonly describeClientVpnTargetNetworks: (
- args: DescribeClientVpnTargetNetworksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeClientVpnTargetNetworksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCoipPoolsCommand}
- */
- readonly describeCoipPools: (
- args: DescribeCoipPoolsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCoipPoolsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeConversionTasksCommand}
- */
- readonly describeConversionTasks: (
- args: DescribeConversionTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeConversionTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeCustomerGatewaysCommand}
- */
- readonly describeCustomerGateways: (
- args: DescribeCustomerGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCustomerGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeDhcpOptionsCommand}
- */
- readonly describeDhcpOptions: (
- args: DescribeDhcpOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeDhcpOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeEgressOnlyInternetGatewaysCommand}
- */
- readonly describeEgressOnlyInternetGateways: (
- args: DescribeEgressOnlyInternetGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeEgressOnlyInternetGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeElasticGpusCommand}
- */
- readonly describeElasticGpus: (
- args: DescribeElasticGpusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeElasticGpusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeExportImageTasksCommand}
- */
- readonly describeExportImageTasks: (
- args: DescribeExportImageTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeExportImageTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeExportTasksCommand}
- */
- readonly describeExportTasks: (
- args: DescribeExportTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeExportTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFastLaunchImagesCommand}
- */
- readonly describeFastLaunchImages: (
- args: DescribeFastLaunchImagesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFastLaunchImagesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFastSnapshotRestoresCommand}
- */
- readonly describeFastSnapshotRestores: (
- args: DescribeFastSnapshotRestoresCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFastSnapshotRestoresCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFleetHistoryCommand}
- */
- readonly describeFleetHistory: (
- args: DescribeFleetHistoryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFleetHistoryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFleetInstancesCommand}
- */
- readonly describeFleetInstances: (
- args: DescribeFleetInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFleetInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFleetsCommand}
- */
- readonly describeFleets: (
- args: DescribeFleetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeFlowLogsCommand}
- */
- readonly describeFlowLogs: (
- args: DescribeFlowLogsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeFpgaImageAttributeCommand}
- */
- readonly describeFpgaImageAttribute: (
- args: DescribeFpgaImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFpgaImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeFpgaImagesCommand}
- */
- readonly describeFpgaImages: (
- args: DescribeFpgaImagesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeFpgaImagesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeHostReservationOfferingsCommand}
- */
- readonly describeHostReservationOfferings: (
- args: DescribeHostReservationOfferingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeHostReservationOfferingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeHostReservationsCommand}
- */
- readonly describeHostReservations: (
- args: DescribeHostReservationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeHostReservationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeHostsCommand}
- */
- readonly describeHosts: (
- args: DescribeHostsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeIamInstanceProfileAssociationsCommand}
- */
- readonly describeIamInstanceProfileAssociations: (
- args: DescribeIamInstanceProfileAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIamInstanceProfileAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIdentityIdFormatCommand}
- */
- readonly describeIdentityIdFormat: (
- args: DescribeIdentityIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIdentityIdFormatCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIdFormatCommand}
- */
- readonly describeIdFormat: (
- args: DescribeIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeImageAttributeCommand}
- */
- readonly describeImageAttribute: (
- args: DescribeImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeImagesCommand}
- */
- readonly describeImages: (
- args: DescribeImagesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeImportImageTasksCommand}
- */
- readonly describeImportImageTasks: (
- args: DescribeImportImageTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeImportImageTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeImportSnapshotTasksCommand}
- */
- readonly describeImportSnapshotTasks: (
- args: DescribeImportSnapshotTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeImportSnapshotTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceAttributeCommand}
- */
- readonly describeInstanceAttribute: (
- args: DescribeInstanceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceConnectEndpointsCommand}
- */
- readonly describeInstanceConnectEndpoints: (
- args: DescribeInstanceConnectEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceConnectEndpointsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceCreditSpecificationsCommand}
- */
- readonly describeInstanceCreditSpecifications: (
- args: DescribeInstanceCreditSpecificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceCreditSpecificationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceEventNotificationAttributesCommand}
- */
- readonly describeInstanceEventNotificationAttributes: (
- args: DescribeInstanceEventNotificationAttributesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceEventNotificationAttributesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceEventWindowsCommand}
- */
- readonly describeInstanceEventWindows: (
- args: DescribeInstanceEventWindowsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceEventWindowsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstancesCommand}
- */
- readonly describeInstances: (
- args: DescribeInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceStatusCommand}
- */
- readonly describeInstanceStatus: (
- args: DescribeInstanceStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceTopologyCommand}
- */
- readonly describeInstanceTopology: (
- args: DescribeInstanceTopologyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceTopologyCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceTypeOfferingsCommand}
- */
- readonly describeInstanceTypeOfferings: (
- args: DescribeInstanceTypeOfferingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceTypeOfferingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInstanceTypesCommand}
- */
- readonly describeInstanceTypes: (
- args: DescribeInstanceTypesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInstanceTypesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeInternetGatewaysCommand}
- */
- readonly describeInternetGateways: (
- args: DescribeInternetGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeInternetGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpamByoasnCommand}
- */
- readonly describeIpamByoasn: (
- args: DescribeIpamByoasnCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpamByoasnCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpamPoolsCommand}
- */
- readonly describeIpamPools: (
- args: DescribeIpamPoolsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpamPoolsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpamResourceDiscoveriesCommand}
- */
- readonly describeIpamResourceDiscoveries: (
- args: DescribeIpamResourceDiscoveriesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpamResourceDiscoveriesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpamResourceDiscoveryAssociationsCommand}
- */
- readonly describeIpamResourceDiscoveryAssociations: (
- args: DescribeIpamResourceDiscoveryAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpamResourceDiscoveryAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpamsCommand}
- */
- readonly describeIpams: (
- args: DescribeIpamsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeIpamScopesCommand}
- */
- readonly describeIpamScopes: (
- args: DescribeIpamScopesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpamScopesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeIpv6PoolsCommand}
- */
- readonly describeIpv6Pools: (
- args: DescribeIpv6PoolsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeIpv6PoolsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeKeyPairsCommand}
- */
- readonly describeKeyPairs: (
- args: DescribeKeyPairsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeLaunchTemplatesCommand}
- */
- readonly describeLaunchTemplates: (
- args: DescribeLaunchTemplatesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLaunchTemplatesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLaunchTemplateVersionsCommand}
- */
- readonly describeLaunchTemplateVersions: (
- args: DescribeLaunchTemplateVersionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLaunchTemplateVersionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewayRouteTablesCommand}
- */
- readonly describeLocalGatewayRouteTables: (
- args: DescribeLocalGatewayRouteTablesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewayRouteTablesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand}
- */
- readonly describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations: (
- args: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewayRouteTableVpcAssociationsCommand}
- */
- readonly describeLocalGatewayRouteTableVpcAssociations: (
- args: DescribeLocalGatewayRouteTableVpcAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewayRouteTableVpcAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewaysCommand}
- */
- readonly describeLocalGateways: (
- args: DescribeLocalGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewayVirtualInterfaceGroupsCommand}
- */
- readonly describeLocalGatewayVirtualInterfaceGroups: (
- args: DescribeLocalGatewayVirtualInterfaceGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewayVirtualInterfaceGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLocalGatewayVirtualInterfacesCommand}
- */
- readonly describeLocalGatewayVirtualInterfaces: (
- args: DescribeLocalGatewayVirtualInterfacesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLocalGatewayVirtualInterfacesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeLockedSnapshotsCommand}
- */
- readonly describeLockedSnapshots: (
- args: DescribeLockedSnapshotsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeLockedSnapshotsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeManagedPrefixListsCommand}
- */
- readonly describeManagedPrefixLists: (
- args: DescribeManagedPrefixListsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeManagedPrefixListsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeMovingAddressesCommand}
- */
- readonly describeMovingAddresses: (
- args: DescribeMovingAddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeMovingAddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNatGatewaysCommand}
- */
- readonly describeNatGateways: (
- args: DescribeNatGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNatGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkAclsCommand}
- */
- readonly describeNetworkAcls: (
- args: DescribeNetworkAclsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkAclsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInsightsAccessScopeAnalysesCommand}
- */
- readonly describeNetworkInsightsAccessScopeAnalyses: (
- args: DescribeNetworkInsightsAccessScopeAnalysesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInsightsAccessScopeAnalysesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInsightsAccessScopesCommand}
- */
- readonly describeNetworkInsightsAccessScopes: (
- args: DescribeNetworkInsightsAccessScopesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInsightsAccessScopesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInsightsAnalysesCommand}
- */
- readonly describeNetworkInsightsAnalyses: (
- args: DescribeNetworkInsightsAnalysesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInsightsAnalysesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInsightsPathsCommand}
- */
- readonly describeNetworkInsightsPaths: (
- args: DescribeNetworkInsightsPathsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInsightsPathsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInterfaceAttributeCommand}
- */
- readonly describeNetworkInterfaceAttribute: (
- args: DescribeNetworkInterfaceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInterfaceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInterfacePermissionsCommand}
- */
- readonly describeNetworkInterfacePermissions: (
- args: DescribeNetworkInterfacePermissionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInterfacePermissionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeNetworkInterfacesCommand}
- */
- readonly describeNetworkInterfaces: (
- args: DescribeNetworkInterfacesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeNetworkInterfacesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribePlacementGroupsCommand}
- */
- readonly describePlacementGroups: (
- args: DescribePlacementGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribePlacementGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribePrefixListsCommand}
- */
- readonly describePrefixLists: (
- args: DescribePrefixListsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribePrefixListsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribePrincipalIdFormatCommand}
- */
- readonly describePrincipalIdFormat: (
- args: DescribePrincipalIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribePrincipalIdFormatCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribePublicIpv4PoolsCommand}
- */
- readonly describePublicIpv4Pools: (
- args: DescribePublicIpv4PoolsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribePublicIpv4PoolsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeRegionsCommand}
- */
- readonly describeRegions: (
- args: DescribeRegionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeReplaceRootVolumeTasksCommand}
- */
- readonly describeReplaceRootVolumeTasks: (
- args: DescribeReplaceRootVolumeTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeReplaceRootVolumeTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeReservedInstancesCommand}
- */
- readonly describeReservedInstances: (
- args: DescribeReservedInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeReservedInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeReservedInstancesListingsCommand}
- */
- readonly describeReservedInstancesListings: (
- args: DescribeReservedInstancesListingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeReservedInstancesListingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeReservedInstancesModificationsCommand}
- */
- readonly describeReservedInstancesModifications: (
- args: DescribeReservedInstancesModificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeReservedInstancesModificationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeReservedInstancesOfferingsCommand}
- */
- readonly describeReservedInstancesOfferings: (
- args: DescribeReservedInstancesOfferingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeReservedInstancesOfferingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeRouteTablesCommand}
- */
- readonly describeRouteTables: (
- args: DescribeRouteTablesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeRouteTablesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeScheduledInstanceAvailabilityCommand}
- */
- readonly describeScheduledInstanceAvailability: (
- args: DescribeScheduledInstanceAvailabilityCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeScheduledInstanceAvailabilityCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeScheduledInstancesCommand}
- */
- readonly describeScheduledInstances: (
- args: DescribeScheduledInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeScheduledInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSecurityGroupReferencesCommand}
- */
- readonly describeSecurityGroupReferences: (
- args: DescribeSecurityGroupReferencesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSecurityGroupReferencesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSecurityGroupRulesCommand}
- */
- readonly describeSecurityGroupRules: (
- args: DescribeSecurityGroupRulesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSecurityGroupRulesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSecurityGroupsCommand}
- */
- readonly describeSecurityGroups: (
- args: DescribeSecurityGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSecurityGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSnapshotAttributeCommand}
- */
- readonly describeSnapshotAttribute: (
- args: DescribeSnapshotAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSnapshotAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSnapshotsCommand}
- */
- readonly describeSnapshots: (
- args: DescribeSnapshotsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSnapshotsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSnapshotTierStatusCommand}
- */
- readonly describeSnapshotTierStatus: (
- args: DescribeSnapshotTierStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSnapshotTierStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotDatafeedSubscriptionCommand}
- */
- readonly describeSpotDatafeedSubscription: (
- args: DescribeSpotDatafeedSubscriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotDatafeedSubscriptionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotFleetInstancesCommand}
- */
- readonly describeSpotFleetInstances: (
- args: DescribeSpotFleetInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotFleetInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotFleetRequestHistoryCommand}
- */
- readonly describeSpotFleetRequestHistory: (
- args: DescribeSpotFleetRequestHistoryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotFleetRequestHistoryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotFleetRequestsCommand}
- */
- readonly describeSpotFleetRequests: (
- args: DescribeSpotFleetRequestsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotFleetRequestsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotInstanceRequestsCommand}
- */
- readonly describeSpotInstanceRequests: (
- args: DescribeSpotInstanceRequestsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotInstanceRequestsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSpotPriceHistoryCommand}
- */
- readonly describeSpotPriceHistory: (
- args: DescribeSpotPriceHistoryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeSpotPriceHistoryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeStaleSecurityGroupsCommand}
- */
- readonly describeStaleSecurityGroups: (
- args: DescribeStaleSecurityGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeStaleSecurityGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeStoreImageTasksCommand}
- */
- readonly describeStoreImageTasks: (
- args: DescribeStoreImageTasksCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeStoreImageTasksCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeSubnetsCommand}
- */
- readonly describeSubnets: (
- args: DescribeSubnetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeTagsCommand}
- */
- readonly describeTags: (
- args: DescribeTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeTrafficMirrorFiltersCommand}
- */
- readonly describeTrafficMirrorFilters: (
- args: DescribeTrafficMirrorFiltersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTrafficMirrorFiltersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTrafficMirrorSessionsCommand}
- */
- readonly describeTrafficMirrorSessions: (
- args: DescribeTrafficMirrorSessionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTrafficMirrorSessionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTrafficMirrorTargetsCommand}
- */
- readonly describeTrafficMirrorTargets: (
- args: DescribeTrafficMirrorTargetsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTrafficMirrorTargetsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayAttachmentsCommand}
- */
- readonly describeTransitGatewayAttachments: (
- args: DescribeTransitGatewayAttachmentsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayAttachmentsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayConnectPeersCommand}
- */
- readonly describeTransitGatewayConnectPeers: (
- args: DescribeTransitGatewayConnectPeersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayConnectPeersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayConnectsCommand}
- */
- readonly describeTransitGatewayConnects: (
- args: DescribeTransitGatewayConnectsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayConnectsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayMulticastDomainsCommand}
- */
- readonly describeTransitGatewayMulticastDomains: (
- args: DescribeTransitGatewayMulticastDomainsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayMulticastDomainsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayPeeringAttachmentsCommand}
- */
- readonly describeTransitGatewayPeeringAttachments: (
- args: DescribeTransitGatewayPeeringAttachmentsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayPeeringAttachmentsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayPolicyTablesCommand}
- */
- readonly describeTransitGatewayPolicyTables: (
- args: DescribeTransitGatewayPolicyTablesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayPolicyTablesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayRouteTableAnnouncementsCommand}
- */
- readonly describeTransitGatewayRouteTableAnnouncements: (
- args: DescribeTransitGatewayRouteTableAnnouncementsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayRouteTableAnnouncementsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayRouteTablesCommand}
- */
- readonly describeTransitGatewayRouteTables: (
- args: DescribeTransitGatewayRouteTablesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayRouteTablesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewaysCommand}
- */
- readonly describeTransitGateways: (
- args: DescribeTransitGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTransitGatewayVpcAttachmentsCommand}
- */
- readonly describeTransitGatewayVpcAttachments: (
- args: DescribeTransitGatewayVpcAttachmentsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTransitGatewayVpcAttachmentsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeTrunkInterfaceAssociationsCommand}
- */
- readonly describeTrunkInterfaceAssociations: (
- args: DescribeTrunkInterfaceAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeTrunkInterfaceAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVerifiedAccessEndpointsCommand}
- */
- readonly describeVerifiedAccessEndpoints: (
- args: DescribeVerifiedAccessEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVerifiedAccessEndpointsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVerifiedAccessGroupsCommand}
- */
- readonly describeVerifiedAccessGroups: (
- args: DescribeVerifiedAccessGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVerifiedAccessGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVerifiedAccessInstanceLoggingConfigurationsCommand}
- */
- readonly describeVerifiedAccessInstanceLoggingConfigurations: (
- args: DescribeVerifiedAccessInstanceLoggingConfigurationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVerifiedAccessInstanceLoggingConfigurationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVerifiedAccessInstancesCommand}
- */
- readonly describeVerifiedAccessInstances: (
- args: DescribeVerifiedAccessInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVerifiedAccessInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVerifiedAccessTrustProvidersCommand}
- */
- readonly describeVerifiedAccessTrustProviders: (
- args: DescribeVerifiedAccessTrustProvidersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVerifiedAccessTrustProvidersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVolumeAttributeCommand}
- */
- readonly describeVolumeAttribute: (
- args: DescribeVolumeAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVolumeAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVolumesCommand}
- */
- readonly describeVolumes: (
- args: DescribeVolumesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeVolumesModificationsCommand}
- */
- readonly describeVolumesModifications: (
- args: DescribeVolumesModificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVolumesModificationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVolumeStatusCommand}
- */
- readonly describeVolumeStatus: (
- args: DescribeVolumeStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVolumeStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcAttributeCommand}
- */
- readonly describeVpcAttribute: (
- args: DescribeVpcAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcClassicLinkCommand}
- */
- readonly describeVpcClassicLink: (
- args: DescribeVpcClassicLinkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcClassicLinkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcClassicLinkDnsSupportCommand}
- */
- readonly describeVpcClassicLinkDnsSupport: (
- args: DescribeVpcClassicLinkDnsSupportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcClassicLinkDnsSupportCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointConnectionNotificationsCommand}
- */
- readonly describeVpcEndpointConnectionNotifications: (
- args: DescribeVpcEndpointConnectionNotificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointConnectionNotificationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointConnectionsCommand}
- */
- readonly describeVpcEndpointConnections: (
- args: DescribeVpcEndpointConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointsCommand}
- */
- readonly describeVpcEndpoints: (
- args: DescribeVpcEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointServiceConfigurationsCommand}
- */
- readonly describeVpcEndpointServiceConfigurations: (
- args: DescribeVpcEndpointServiceConfigurationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointServiceConfigurationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointServicePermissionsCommand}
- */
- readonly describeVpcEndpointServicePermissions: (
- args: DescribeVpcEndpointServicePermissionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointServicePermissionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcEndpointServicesCommand}
- */
- readonly describeVpcEndpointServices: (
- args: DescribeVpcEndpointServicesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcEndpointServicesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcPeeringConnectionsCommand}
- */
- readonly describeVpcPeeringConnections: (
- args: DescribeVpcPeeringConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpcPeeringConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpcsCommand}
- */
- readonly describeVpcs: (
- args: DescribeVpcsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DescribeVpnConnectionsCommand}
- */
- readonly describeVpnConnections: (
- args: DescribeVpnConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpnConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DescribeVpnGatewaysCommand}
- */
- readonly describeVpnGateways: (
- args: DescribeVpnGatewaysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeVpnGatewaysCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DetachClassicLinkVpcCommand}
- */
- readonly detachClassicLinkVpc: (
- args: DetachClassicLinkVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachClassicLinkVpcCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DetachInternetGatewayCommand}
- */
- readonly detachInternetGateway: (
- args: DetachInternetGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachInternetGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DetachNetworkInterfaceCommand}
- */
- readonly detachNetworkInterface: (
- args: DetachNetworkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachNetworkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DetachVerifiedAccessTrustProviderCommand}
- */
- readonly detachVerifiedAccessTrustProvider: (
- args: DetachVerifiedAccessTrustProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachVerifiedAccessTrustProviderCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DetachVolumeCommand}
- */
- readonly detachVolume: (
- args: DetachVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DetachVpnGatewayCommand}
- */
- readonly detachVpnGateway: (
- args: DetachVpnGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DisableAddressTransferCommand}
- */
- readonly disableAddressTransfer: (
- args: DisableAddressTransferCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableAddressTransferCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableAwsNetworkPerformanceMetricSubscriptionCommand}
- */
- readonly disableAwsNetworkPerformanceMetricSubscription: (
- args: DisableAwsNetworkPerformanceMetricSubscriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableAwsNetworkPerformanceMetricSubscriptionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableEbsEncryptionByDefaultCommand}
- */
- readonly disableEbsEncryptionByDefault: (
- args: DisableEbsEncryptionByDefaultCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableEbsEncryptionByDefaultCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableFastLaunchCommand}
- */
- readonly disableFastLaunch: (
- args: DisableFastLaunchCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableFastLaunchCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableFastSnapshotRestoresCommand}
- */
- readonly disableFastSnapshotRestores: (
- args: DisableFastSnapshotRestoresCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableFastSnapshotRestoresCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableImageCommand}
- */
- readonly disableImage: (
- args: DisableImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link DisableImageBlockPublicAccessCommand}
- */
- readonly disableImageBlockPublicAccess: (
- args: DisableImageBlockPublicAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableImageBlockPublicAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableImageDeprecationCommand}
- */
- readonly disableImageDeprecation: (
- args: DisableImageDeprecationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableImageDeprecationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableIpamOrganizationAdminAccountCommand}
- */
- readonly disableIpamOrganizationAdminAccount: (
- args: DisableIpamOrganizationAdminAccountCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableIpamOrganizationAdminAccountCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableSerialConsoleAccessCommand}
- */
- readonly disableSerialConsoleAccess: (
- args: DisableSerialConsoleAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableSerialConsoleAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableSnapshotBlockPublicAccessCommand}
- */
- readonly disableSnapshotBlockPublicAccess: (
- args: DisableSnapshotBlockPublicAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableSnapshotBlockPublicAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableTransitGatewayRouteTablePropagationCommand}
- */
- readonly disableTransitGatewayRouteTablePropagation: (
- args: DisableTransitGatewayRouteTablePropagationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableTransitGatewayRouteTablePropagationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableVgwRoutePropagationCommand}
- */
- readonly disableVgwRoutePropagation: (
- args: DisableVgwRoutePropagationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableVgwRoutePropagationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableVpcClassicLinkCommand}
- */
- readonly disableVpcClassicLink: (
- args: DisableVpcClassicLinkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableVpcClassicLinkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisableVpcClassicLinkDnsSupportCommand}
- */
- readonly disableVpcClassicLinkDnsSupport: (
- args: DisableVpcClassicLinkDnsSupportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisableVpcClassicLinkDnsSupportCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateAddressCommand}
- */
- readonly disassociateAddress: (
- args: DisassociateAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateAddressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateClientVpnTargetNetworkCommand}
- */
- readonly disassociateClientVpnTargetNetwork: (
- args: DisassociateClientVpnTargetNetworkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateClientVpnTargetNetworkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateEnclaveCertificateIamRoleCommand}
- */
- readonly disassociateEnclaveCertificateIamRole: (
- args: DisassociateEnclaveCertificateIamRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateEnclaveCertificateIamRoleCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateIamInstanceProfileCommand}
- */
- readonly disassociateIamInstanceProfile: (
- args: DisassociateIamInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateIamInstanceProfileCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateInstanceEventWindowCommand}
- */
- readonly disassociateInstanceEventWindow: (
- args: DisassociateInstanceEventWindowCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateInstanceEventWindowCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateIpamByoasnCommand}
- */
- readonly disassociateIpamByoasn: (
- args: DisassociateIpamByoasnCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateIpamByoasnCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateIpamResourceDiscoveryCommand}
- */
- readonly disassociateIpamResourceDiscovery: (
- args: DisassociateIpamResourceDiscoveryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateIpamResourceDiscoveryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateNatGatewayAddressCommand}
- */
- readonly disassociateNatGatewayAddress: (
- args: DisassociateNatGatewayAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateNatGatewayAddressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateRouteTableCommand}
- */
- readonly disassociateRouteTable: (
- args: DisassociateRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateSubnetCidrBlockCommand}
- */
- readonly disassociateSubnetCidrBlock: (
- args: DisassociateSubnetCidrBlockCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateSubnetCidrBlockCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateTransitGatewayMulticastDomainCommand}
- */
- readonly disassociateTransitGatewayMulticastDomain: (
- args: DisassociateTransitGatewayMulticastDomainCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateTransitGatewayMulticastDomainCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateTransitGatewayPolicyTableCommand}
- */
- readonly disassociateTransitGatewayPolicyTable: (
- args: DisassociateTransitGatewayPolicyTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateTransitGatewayPolicyTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateTransitGatewayRouteTableCommand}
- */
- readonly disassociateTransitGatewayRouteTable: (
- args: DisassociateTransitGatewayRouteTableCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateTransitGatewayRouteTableCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateTrunkInterfaceCommand}
- */
- readonly disassociateTrunkInterface: (
- args: DisassociateTrunkInterfaceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateTrunkInterfaceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link DisassociateVpcCidrBlockCommand}
- */
- readonly disassociateVpcCidrBlock: (
- args: DisassociateVpcCidrBlockCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DisassociateVpcCidrBlockCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableAddressTransferCommand}
- */
- readonly enableAddressTransfer: (
- args: EnableAddressTransferCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableAddressTransferCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableAwsNetworkPerformanceMetricSubscriptionCommand}
- */
- readonly enableAwsNetworkPerformanceMetricSubscription: (
- args: EnableAwsNetworkPerformanceMetricSubscriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableAwsNetworkPerformanceMetricSubscriptionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableEbsEncryptionByDefaultCommand}
- */
- readonly enableEbsEncryptionByDefault: (
- args: EnableEbsEncryptionByDefaultCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableEbsEncryptionByDefaultCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableFastLaunchCommand}
- */
- readonly enableFastLaunch: (
- args: EnableFastLaunchCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link EnableFastSnapshotRestoresCommand}
- */
- readonly enableFastSnapshotRestores: (
- args: EnableFastSnapshotRestoresCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableFastSnapshotRestoresCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableImageCommand}
- */
- readonly enableImage: (
- args: EnableImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link EnableImageBlockPublicAccessCommand}
- */
- readonly enableImageBlockPublicAccess: (
- args: EnableImageBlockPublicAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableImageBlockPublicAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableImageDeprecationCommand}
- */
- readonly enableImageDeprecation: (
- args: EnableImageDeprecationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableImageDeprecationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableIpamOrganizationAdminAccountCommand}
- */
- readonly enableIpamOrganizationAdminAccount: (
- args: EnableIpamOrganizationAdminAccountCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableIpamOrganizationAdminAccountCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableReachabilityAnalyzerOrganizationSharingCommand}
- */
- readonly enableReachabilityAnalyzerOrganizationSharing: (
- args: EnableReachabilityAnalyzerOrganizationSharingCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableReachabilityAnalyzerOrganizationSharingCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableSerialConsoleAccessCommand}
- */
- readonly enableSerialConsoleAccess: (
- args: EnableSerialConsoleAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableSerialConsoleAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableSnapshotBlockPublicAccessCommand}
- */
- readonly enableSnapshotBlockPublicAccess: (
- args: EnableSnapshotBlockPublicAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableSnapshotBlockPublicAccessCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableTransitGatewayRouteTablePropagationCommand}
- */
- readonly enableTransitGatewayRouteTablePropagation: (
- args: EnableTransitGatewayRouteTablePropagationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableTransitGatewayRouteTablePropagationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableVgwRoutePropagationCommand}
- */
- readonly enableVgwRoutePropagation: (
- args: EnableVgwRoutePropagationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableVgwRoutePropagationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableVolumeIOCommand}
- */
- readonly enableVolumeIO: (
- args: EnableVolumeIOCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link EnableVpcClassicLinkCommand}
- */
- readonly enableVpcClassicLink: (
- args: EnableVpcClassicLinkCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableVpcClassicLinkCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link EnableVpcClassicLinkDnsSupportCommand}
- */
- readonly enableVpcClassicLinkDnsSupport: (
- args: EnableVpcClassicLinkDnsSupportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableVpcClassicLinkDnsSupportCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ExportClientVpnClientCertificateRevocationListCommand}
- */
- readonly exportClientVpnClientCertificateRevocationList: (
- args: ExportClientVpnClientCertificateRevocationListCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ExportClientVpnClientCertificateRevocationListCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ExportClientVpnClientConfigurationCommand}
- */
- readonly exportClientVpnClientConfiguration: (
- args: ExportClientVpnClientConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ExportClientVpnClientConfigurationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ExportImageCommand}
- */
- readonly exportImage: (
- args: ExportImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ExportTransitGatewayRoutesCommand}
- */
- readonly exportTransitGatewayRoutes: (
- args: ExportTransitGatewayRoutesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ExportTransitGatewayRoutesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetAssociatedEnclaveCertificateIamRolesCommand}
- */
- readonly getAssociatedEnclaveCertificateIamRoles: (
- args: GetAssociatedEnclaveCertificateIamRolesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAssociatedEnclaveCertificateIamRolesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetAssociatedIpv6PoolCidrsCommand}
- */
- readonly getAssociatedIpv6PoolCidrs: (
- args: GetAssociatedIpv6PoolCidrsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAssociatedIpv6PoolCidrsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetAwsNetworkPerformanceDataCommand}
- */
- readonly getAwsNetworkPerformanceData: (
- args: GetAwsNetworkPerformanceDataCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAwsNetworkPerformanceDataCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetCapacityReservationUsageCommand}
- */
- readonly getCapacityReservationUsage: (
- args: GetCapacityReservationUsageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetCapacityReservationUsageCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetCoipPoolUsageCommand}
- */
- readonly getCoipPoolUsage: (
- args: GetCoipPoolUsageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link GetConsoleOutputCommand}
- */
- readonly getConsoleOutput: (
- args: GetConsoleOutputCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link GetConsoleScreenshotCommand}
- */
- readonly getConsoleScreenshot: (
- args: GetConsoleScreenshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetConsoleScreenshotCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetDefaultCreditSpecificationCommand}
- */
- readonly getDefaultCreditSpecification: (
- args: GetDefaultCreditSpecificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetDefaultCreditSpecificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetEbsDefaultKmsKeyIdCommand}
- */
- readonly getEbsDefaultKmsKeyId: (
- args: GetEbsDefaultKmsKeyIdCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetEbsDefaultKmsKeyIdCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetEbsEncryptionByDefaultCommand}
- */
- readonly getEbsEncryptionByDefault: (
- args: GetEbsEncryptionByDefaultCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetEbsEncryptionByDefaultCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetFlowLogsIntegrationTemplateCommand}
- */
- readonly getFlowLogsIntegrationTemplate: (
- args: GetFlowLogsIntegrationTemplateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetFlowLogsIntegrationTemplateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetGroupsForCapacityReservationCommand}
- */
- readonly getGroupsForCapacityReservation: (
- args: GetGroupsForCapacityReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetGroupsForCapacityReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetHostReservationPurchasePreviewCommand}
- */
- readonly getHostReservationPurchasePreview: (
- args: GetHostReservationPurchasePreviewCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetHostReservationPurchasePreviewCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetImageBlockPublicAccessStateCommand}
- */
- readonly getImageBlockPublicAccessState: (
- args: GetImageBlockPublicAccessStateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetImageBlockPublicAccessStateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetInstanceTypesFromInstanceRequirementsCommand}
- */
- readonly getInstanceTypesFromInstanceRequirements: (
- args: GetInstanceTypesFromInstanceRequirementsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetInstanceTypesFromInstanceRequirementsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetInstanceUefiDataCommand}
- */
- readonly getInstanceUefiData: (
- args: GetInstanceUefiDataCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetInstanceUefiDataCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamAddressHistoryCommand}
- */
- readonly getIpamAddressHistory: (
- args: GetIpamAddressHistoryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamAddressHistoryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamDiscoveredAccountsCommand}
- */
- readonly getIpamDiscoveredAccounts: (
- args: GetIpamDiscoveredAccountsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamDiscoveredAccountsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamDiscoveredPublicAddressesCommand}
- */
- readonly getIpamDiscoveredPublicAddresses: (
- args: GetIpamDiscoveredPublicAddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamDiscoveredPublicAddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamDiscoveredResourceCidrsCommand}
- */
- readonly getIpamDiscoveredResourceCidrs: (
- args: GetIpamDiscoveredResourceCidrsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamDiscoveredResourceCidrsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamPoolAllocationsCommand}
- */
- readonly getIpamPoolAllocations: (
- args: GetIpamPoolAllocationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamPoolAllocationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetIpamPoolCidrsCommand}
- */
- readonly getIpamPoolCidrs: (
- args: GetIpamPoolCidrsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link GetIpamResourceCidrsCommand}
- */
- readonly getIpamResourceCidrs: (
- args: GetIpamResourceCidrsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetIpamResourceCidrsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetLaunchTemplateDataCommand}
- */
- readonly getLaunchTemplateData: (
- args: GetLaunchTemplateDataCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetLaunchTemplateDataCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetManagedPrefixListAssociationsCommand}
- */
- readonly getManagedPrefixListAssociations: (
- args: GetManagedPrefixListAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetManagedPrefixListAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetManagedPrefixListEntriesCommand}
- */
- readonly getManagedPrefixListEntries: (
- args: GetManagedPrefixListEntriesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetManagedPrefixListEntriesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetNetworkInsightsAccessScopeAnalysisFindingsCommand}
- */
- readonly getNetworkInsightsAccessScopeAnalysisFindings: (
- args: GetNetworkInsightsAccessScopeAnalysisFindingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetNetworkInsightsAccessScopeAnalysisFindingsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetNetworkInsightsAccessScopeContentCommand}
- */
- readonly getNetworkInsightsAccessScopeContent: (
- args: GetNetworkInsightsAccessScopeContentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetNetworkInsightsAccessScopeContentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetPasswordDataCommand}
- */
- readonly getPasswordData: (
- args: GetPasswordDataCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link GetReservedInstancesExchangeQuoteCommand}
- */
- readonly getReservedInstancesExchangeQuote: (
- args: GetReservedInstancesExchangeQuoteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetReservedInstancesExchangeQuoteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetSecurityGroupsForVpcCommand}
- */
- readonly getSecurityGroupsForVpc: (
- args: GetSecurityGroupsForVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSecurityGroupsForVpcCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetSerialConsoleAccessStatusCommand}
- */
- readonly getSerialConsoleAccessStatus: (
- args: GetSerialConsoleAccessStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSerialConsoleAccessStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetSnapshotBlockPublicAccessStateCommand}
- */
- readonly getSnapshotBlockPublicAccessState: (
- args: GetSnapshotBlockPublicAccessStateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSnapshotBlockPublicAccessStateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetSpotPlacementScoresCommand}
- */
- readonly getSpotPlacementScores: (
- args: GetSpotPlacementScoresCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSpotPlacementScoresCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetSubnetCidrReservationsCommand}
- */
- readonly getSubnetCidrReservations: (
- args: GetSubnetCidrReservationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSubnetCidrReservationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayAttachmentPropagationsCommand}
- */
- readonly getTransitGatewayAttachmentPropagations: (
- args: GetTransitGatewayAttachmentPropagationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayAttachmentPropagationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayMulticastDomainAssociationsCommand}
- */
- readonly getTransitGatewayMulticastDomainAssociations: (
- args: GetTransitGatewayMulticastDomainAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayMulticastDomainAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayPolicyTableAssociationsCommand}
- */
- readonly getTransitGatewayPolicyTableAssociations: (
- args: GetTransitGatewayPolicyTableAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayPolicyTableAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayPolicyTableEntriesCommand}
- */
- readonly getTransitGatewayPolicyTableEntries: (
- args: GetTransitGatewayPolicyTableEntriesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayPolicyTableEntriesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayPrefixListReferencesCommand}
- */
- readonly getTransitGatewayPrefixListReferences: (
- args: GetTransitGatewayPrefixListReferencesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayPrefixListReferencesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayRouteTableAssociationsCommand}
- */
- readonly getTransitGatewayRouteTableAssociations: (
- args: GetTransitGatewayRouteTableAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayRouteTableAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetTransitGatewayRouteTablePropagationsCommand}
- */
- readonly getTransitGatewayRouteTablePropagations: (
- args: GetTransitGatewayRouteTablePropagationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetTransitGatewayRouteTablePropagationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetVerifiedAccessEndpointPolicyCommand}
- */
- readonly getVerifiedAccessEndpointPolicy: (
- args: GetVerifiedAccessEndpointPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetVerifiedAccessEndpointPolicyCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetVerifiedAccessGroupPolicyCommand}
- */
- readonly getVerifiedAccessGroupPolicy: (
- args: GetVerifiedAccessGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetVerifiedAccessGroupPolicyCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetVpnConnectionDeviceSampleConfigurationCommand}
- */
- readonly getVpnConnectionDeviceSampleConfiguration: (
- args: GetVpnConnectionDeviceSampleConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetVpnConnectionDeviceSampleConfigurationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetVpnConnectionDeviceTypesCommand}
- */
- readonly getVpnConnectionDeviceTypes: (
- args: GetVpnConnectionDeviceTypesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetVpnConnectionDeviceTypesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link GetVpnTunnelReplacementStatusCommand}
- */
- readonly getVpnTunnelReplacementStatus: (
- args: GetVpnTunnelReplacementStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetVpnTunnelReplacementStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ImportClientVpnClientCertificateRevocationListCommand}
- */
- readonly importClientVpnClientCertificateRevocationList: (
- args: ImportClientVpnClientCertificateRevocationListCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ImportClientVpnClientCertificateRevocationListCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ImportImageCommand}
- */
- readonly importImage: (
- args: ImportImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ImportInstanceCommand}
- */
- readonly importInstance: (
- args: ImportInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ImportKeyPairCommand}
- */
- readonly importKeyPair: (
- args: ImportKeyPairCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ImportSnapshotCommand}
- */
- readonly importSnapshot: (
- args: ImportSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ImportVolumeCommand}
- */
- readonly importVolume: (
- args: ImportVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ListImagesInRecycleBinCommand}
- */
- readonly listImagesInRecycleBin: (
- args: ListImagesInRecycleBinCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListImagesInRecycleBinCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ListSnapshotsInRecycleBinCommand}
- */
- readonly listSnapshotsInRecycleBin: (
- args: ListSnapshotsInRecycleBinCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListSnapshotsInRecycleBinCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link LockSnapshotCommand}
- */
- readonly lockSnapshot: (
- args: LockSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyAddressAttributeCommand}
- */
- readonly modifyAddressAttribute: (
- args: ModifyAddressAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyAddressAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyAvailabilityZoneGroupCommand}
- */
- readonly modifyAvailabilityZoneGroup: (
- args: ModifyAvailabilityZoneGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyAvailabilityZoneGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyCapacityReservationCommand}
- */
- readonly modifyCapacityReservation: (
- args: ModifyCapacityReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyCapacityReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyCapacityReservationFleetCommand}
- */
- readonly modifyCapacityReservationFleet: (
- args: ModifyCapacityReservationFleetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyCapacityReservationFleetCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyClientVpnEndpointCommand}
- */
- readonly modifyClientVpnEndpoint: (
- args: ModifyClientVpnEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyClientVpnEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyDefaultCreditSpecificationCommand}
- */
- readonly modifyDefaultCreditSpecification: (
- args: ModifyDefaultCreditSpecificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyDefaultCreditSpecificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyEbsDefaultKmsKeyIdCommand}
- */
- readonly modifyEbsDefaultKmsKeyId: (
- args: ModifyEbsDefaultKmsKeyIdCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyEbsDefaultKmsKeyIdCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyFleetCommand}
- */
- readonly modifyFleet: (
- args: ModifyFleetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyFpgaImageAttributeCommand}
- */
- readonly modifyFpgaImageAttribute: (
- args: ModifyFpgaImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyFpgaImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyHostsCommand}
- */
- readonly modifyHosts: (
- args: ModifyHostsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyIdentityIdFormatCommand}
- */
- readonly modifyIdentityIdFormat: (
- args: ModifyIdentityIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyIdentityIdFormatCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyIdFormatCommand}
- */
- readonly modifyIdFormat: (
- args: ModifyIdFormatCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyImageAttributeCommand}
- */
- readonly modifyImageAttribute: (
- args: ModifyImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceAttributeCommand}
- */
- readonly modifyInstanceAttribute: (
- args: ModifyInstanceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceCapacityReservationAttributesCommand}
- */
- readonly modifyInstanceCapacityReservationAttributes: (
- args: ModifyInstanceCapacityReservationAttributesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceCapacityReservationAttributesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceCreditSpecificationCommand}
- */
- readonly modifyInstanceCreditSpecification: (
- args: ModifyInstanceCreditSpecificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceCreditSpecificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceEventStartTimeCommand}
- */
- readonly modifyInstanceEventStartTime: (
- args: ModifyInstanceEventStartTimeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceEventStartTimeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceEventWindowCommand}
- */
- readonly modifyInstanceEventWindow: (
- args: ModifyInstanceEventWindowCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceEventWindowCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceMaintenanceOptionsCommand}
- */
- readonly modifyInstanceMaintenanceOptions: (
- args: ModifyInstanceMaintenanceOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceMaintenanceOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstanceMetadataOptionsCommand}
- */
- readonly modifyInstanceMetadataOptions: (
- args: ModifyInstanceMetadataOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstanceMetadataOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyInstancePlacementCommand}
- */
- readonly modifyInstancePlacement: (
- args: ModifyInstancePlacementCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyInstancePlacementCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyIpamCommand}
- */
- readonly modifyIpam: (
- args: ModifyIpamCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyIpamPoolCommand}
- */
- readonly modifyIpamPool: (
- args: ModifyIpamPoolCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyIpamResourceCidrCommand}
- */
- readonly modifyIpamResourceCidr: (
- args: ModifyIpamResourceCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyIpamResourceCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyIpamResourceDiscoveryCommand}
- */
- readonly modifyIpamResourceDiscovery: (
- args: ModifyIpamResourceDiscoveryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyIpamResourceDiscoveryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyIpamScopeCommand}
- */
- readonly modifyIpamScope: (
- args: ModifyIpamScopeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyLaunchTemplateCommand}
- */
- readonly modifyLaunchTemplate: (
- args: ModifyLaunchTemplateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyLaunchTemplateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyLocalGatewayRouteCommand}
- */
- readonly modifyLocalGatewayRoute: (
- args: ModifyLocalGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyLocalGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyManagedPrefixListCommand}
- */
- readonly modifyManagedPrefixList: (
- args: ModifyManagedPrefixListCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyManagedPrefixListCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyNetworkInterfaceAttributeCommand}
- */
- readonly modifyNetworkInterfaceAttribute: (
- args: ModifyNetworkInterfaceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyNetworkInterfaceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyPrivateDnsNameOptionsCommand}
- */
- readonly modifyPrivateDnsNameOptions: (
- args: ModifyPrivateDnsNameOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyPrivateDnsNameOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyReservedInstancesCommand}
- */
- readonly modifyReservedInstances: (
- args: ModifyReservedInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyReservedInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifySecurityGroupRulesCommand}
- */
- readonly modifySecurityGroupRules: (
- args: ModifySecurityGroupRulesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifySecurityGroupRulesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifySnapshotAttributeCommand}
- */
- readonly modifySnapshotAttribute: (
- args: ModifySnapshotAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifySnapshotAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifySnapshotTierCommand}
- */
- readonly modifySnapshotTier: (
- args: ModifySnapshotTierCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifySnapshotTierCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifySpotFleetRequestCommand}
- */
- readonly modifySpotFleetRequest: (
- args: ModifySpotFleetRequestCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifySpotFleetRequestCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifySubnetAttributeCommand}
- */
- readonly modifySubnetAttribute: (
- args: ModifySubnetAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifySubnetAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTrafficMirrorFilterNetworkServicesCommand}
- */
- readonly modifyTrafficMirrorFilterNetworkServices: (
- args: ModifyTrafficMirrorFilterNetworkServicesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTrafficMirrorFilterNetworkServicesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTrafficMirrorFilterRuleCommand}
- */
- readonly modifyTrafficMirrorFilterRule: (
- args: ModifyTrafficMirrorFilterRuleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTrafficMirrorFilterRuleCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTrafficMirrorSessionCommand}
- */
- readonly modifyTrafficMirrorSession: (
- args: ModifyTrafficMirrorSessionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTrafficMirrorSessionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTransitGatewayCommand}
- */
- readonly modifyTransitGateway: (
- args: ModifyTransitGatewayCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTransitGatewayCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTransitGatewayPrefixListReferenceCommand}
- */
- readonly modifyTransitGatewayPrefixListReference: (
- args: ModifyTransitGatewayPrefixListReferenceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTransitGatewayPrefixListReferenceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyTransitGatewayVpcAttachmentCommand}
- */
- readonly modifyTransitGatewayVpcAttachment: (
- args: ModifyTransitGatewayVpcAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyTransitGatewayVpcAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessEndpointCommand}
- */
- readonly modifyVerifiedAccessEndpoint: (
- args: ModifyVerifiedAccessEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessEndpointPolicyCommand}
- */
- readonly modifyVerifiedAccessEndpointPolicy: (
- args: ModifyVerifiedAccessEndpointPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessEndpointPolicyCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessGroupCommand}
- */
- readonly modifyVerifiedAccessGroup: (
- args: ModifyVerifiedAccessGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessGroupCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessGroupPolicyCommand}
- */
- readonly modifyVerifiedAccessGroupPolicy: (
- args: ModifyVerifiedAccessGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessGroupPolicyCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessInstanceCommand}
- */
- readonly modifyVerifiedAccessInstance: (
- args: ModifyVerifiedAccessInstanceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessInstanceCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessInstanceLoggingConfigurationCommand}
- */
- readonly modifyVerifiedAccessInstanceLoggingConfiguration: (
- args: ModifyVerifiedAccessInstanceLoggingConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessInstanceLoggingConfigurationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVerifiedAccessTrustProviderCommand}
- */
- readonly modifyVerifiedAccessTrustProvider: (
- args: ModifyVerifiedAccessTrustProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVerifiedAccessTrustProviderCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVolumeCommand}
- */
- readonly modifyVolume: (
- args: ModifyVolumeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyVolumeAttributeCommand}
- */
- readonly modifyVolumeAttribute: (
- args: ModifyVolumeAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVolumeAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcAttributeCommand}
- */
- readonly modifyVpcAttribute: (
- args: ModifyVpcAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcEndpointCommand}
- */
- readonly modifyVpcEndpoint: (
- args: ModifyVpcEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcEndpointCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcEndpointConnectionNotificationCommand}
- */
- readonly modifyVpcEndpointConnectionNotification: (
- args: ModifyVpcEndpointConnectionNotificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcEndpointConnectionNotificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcEndpointServiceConfigurationCommand}
- */
- readonly modifyVpcEndpointServiceConfiguration: (
- args: ModifyVpcEndpointServiceConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcEndpointServiceConfigurationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcEndpointServicePayerResponsibilityCommand}
- */
- readonly modifyVpcEndpointServicePayerResponsibility: (
- args: ModifyVpcEndpointServicePayerResponsibilityCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcEndpointServicePayerResponsibilityCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcEndpointServicePermissionsCommand}
- */
- readonly modifyVpcEndpointServicePermissions: (
- args: ModifyVpcEndpointServicePermissionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcEndpointServicePermissionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcPeeringConnectionOptionsCommand}
- */
- readonly modifyVpcPeeringConnectionOptions: (
- args: ModifyVpcPeeringConnectionOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpcPeeringConnectionOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpcTenancyCommand}
- */
- readonly modifyVpcTenancy: (
- args: ModifyVpcTenancyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ModifyVpnConnectionCommand}
- */
- readonly modifyVpnConnection: (
- args: ModifyVpnConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpnConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpnConnectionOptionsCommand}
- */
- readonly modifyVpnConnectionOptions: (
- args: ModifyVpnConnectionOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpnConnectionOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpnTunnelCertificateCommand}
- */
- readonly modifyVpnTunnelCertificate: (
- args: ModifyVpnTunnelCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpnTunnelCertificateCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ModifyVpnTunnelOptionsCommand}
- */
- readonly modifyVpnTunnelOptions: (
- args: ModifyVpnTunnelOptionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyVpnTunnelOptionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link MonitorInstancesCommand}
- */
- readonly monitorInstances: (
- args: MonitorInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link MoveAddressToVpcCommand}
- */
- readonly moveAddressToVpc: (
- args: MoveAddressToVpcCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link MoveByoipCidrToIpamCommand}
- */
- readonly moveByoipCidrToIpam: (
- args: MoveByoipCidrToIpamCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- MoveByoipCidrToIpamCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ProvisionByoipCidrCommand}
- */
- readonly provisionByoipCidr: (
- args: ProvisionByoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ProvisionByoipCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ProvisionIpamByoasnCommand}
- */
- readonly provisionIpamByoasn: (
- args: ProvisionIpamByoasnCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ProvisionIpamByoasnCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ProvisionIpamPoolCidrCommand}
- */
- readonly provisionIpamPoolCidr: (
- args: ProvisionIpamPoolCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ProvisionIpamPoolCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ProvisionPublicIpv4PoolCidrCommand}
- */
- readonly provisionPublicIpv4PoolCidr: (
- args: ProvisionPublicIpv4PoolCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ProvisionPublicIpv4PoolCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link PurchaseCapacityBlockCommand}
- */
- readonly purchaseCapacityBlock: (
- args: PurchaseCapacityBlockCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PurchaseCapacityBlockCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link PurchaseHostReservationCommand}
- */
- readonly purchaseHostReservation: (
- args: PurchaseHostReservationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PurchaseHostReservationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link PurchaseReservedInstancesOfferingCommand}
- */
- readonly purchaseReservedInstancesOffering: (
- args: PurchaseReservedInstancesOfferingCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PurchaseReservedInstancesOfferingCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link PurchaseScheduledInstancesCommand}
- */
- readonly purchaseScheduledInstances: (
- args: PurchaseScheduledInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PurchaseScheduledInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RebootInstancesCommand}
- */
- readonly rebootInstances: (
- args: RebootInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link RegisterImageCommand}
- */
- readonly registerImage: (
- args: RegisterImageCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link RegisterInstanceEventNotificationAttributesCommand}
- */
- readonly registerInstanceEventNotificationAttributes: (
- args: RegisterInstanceEventNotificationAttributesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RegisterInstanceEventNotificationAttributesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RegisterTransitGatewayMulticastGroupMembersCommand}
- */
- readonly registerTransitGatewayMulticastGroupMembers: (
- args: RegisterTransitGatewayMulticastGroupMembersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RegisterTransitGatewayMulticastGroupMembersCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RegisterTransitGatewayMulticastGroupSourcesCommand}
- */
- readonly registerTransitGatewayMulticastGroupSources: (
- args: RegisterTransitGatewayMulticastGroupSourcesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RegisterTransitGatewayMulticastGroupSourcesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RejectTransitGatewayMulticastDomainAssociationsCommand}
- */
- readonly rejectTransitGatewayMulticastDomainAssociations: (
- args: RejectTransitGatewayMulticastDomainAssociationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RejectTransitGatewayMulticastDomainAssociationsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RejectTransitGatewayPeeringAttachmentCommand}
- */
- readonly rejectTransitGatewayPeeringAttachment: (
- args: RejectTransitGatewayPeeringAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RejectTransitGatewayPeeringAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RejectTransitGatewayVpcAttachmentCommand}
- */
- readonly rejectTransitGatewayVpcAttachment: (
- args: RejectTransitGatewayVpcAttachmentCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RejectTransitGatewayVpcAttachmentCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RejectVpcEndpointConnectionsCommand}
- */
- readonly rejectVpcEndpointConnections: (
- args: RejectVpcEndpointConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RejectVpcEndpointConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RejectVpcPeeringConnectionCommand}
- */
- readonly rejectVpcPeeringConnection: (
- args: RejectVpcPeeringConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RejectVpcPeeringConnectionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReleaseAddressCommand}
- */
- readonly releaseAddress: (
- args: ReleaseAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ReleaseHostsCommand}
- */
- readonly releaseHosts: (
- args: ReleaseHostsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ReleaseIpamPoolAllocationCommand}
- */
- readonly releaseIpamPoolAllocation: (
- args: ReleaseIpamPoolAllocationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReleaseIpamPoolAllocationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceIamInstanceProfileAssociationCommand}
- */
- readonly replaceIamInstanceProfileAssociation: (
- args: ReplaceIamInstanceProfileAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReplaceIamInstanceProfileAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceNetworkAclAssociationCommand}
- */
- readonly replaceNetworkAclAssociation: (
- args: ReplaceNetworkAclAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReplaceNetworkAclAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceNetworkAclEntryCommand}
- */
- readonly replaceNetworkAclEntry: (
- args: ReplaceNetworkAclEntryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReplaceNetworkAclEntryCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceRouteCommand}
- */
- readonly replaceRoute: (
- args: ReplaceRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ReplaceRouteTableAssociationCommand}
- */
- readonly replaceRouteTableAssociation: (
- args: ReplaceRouteTableAssociationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReplaceRouteTableAssociationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceTransitGatewayRouteCommand}
- */
- readonly replaceTransitGatewayRoute: (
- args: ReplaceTransitGatewayRouteCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReplaceTransitGatewayRouteCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ReplaceVpnTunnelCommand}
- */
- readonly replaceVpnTunnel: (
- args: ReplaceVpnTunnelCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link ReportInstanceStatusCommand}
- */
- readonly reportInstanceStatus: (
- args: ReportInstanceStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ReportInstanceStatusCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RequestSpotFleetCommand}
- */
- readonly requestSpotFleet: (
- args: RequestSpotFleetCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link RequestSpotInstancesCommand}
- */
- readonly requestSpotInstances: (
- args: RequestSpotInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RequestSpotInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetAddressAttributeCommand}
- */
- readonly resetAddressAttribute: (
- args: ResetAddressAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetAddressAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetEbsDefaultKmsKeyIdCommand}
- */
- readonly resetEbsDefaultKmsKeyId: (
- args: ResetEbsDefaultKmsKeyIdCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetEbsDefaultKmsKeyIdCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetFpgaImageAttributeCommand}
- */
- readonly resetFpgaImageAttribute: (
- args: ResetFpgaImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetFpgaImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetImageAttributeCommand}
- */
- readonly resetImageAttribute: (
- args: ResetImageAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetImageAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetInstanceAttributeCommand}
- */
- readonly resetInstanceAttribute: (
- args: ResetInstanceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetInstanceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetNetworkInterfaceAttributeCommand}
- */
- readonly resetNetworkInterfaceAttribute: (
- args: ResetNetworkInterfaceAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetNetworkInterfaceAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link ResetSnapshotAttributeCommand}
- */
- readonly resetSnapshotAttribute: (
- args: ResetSnapshotAttributeCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetSnapshotAttributeCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RestoreAddressToClassicCommand}
- */
- readonly restoreAddressToClassic: (
- args: RestoreAddressToClassicCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RestoreAddressToClassicCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RestoreImageFromRecycleBinCommand}
- */
- readonly restoreImageFromRecycleBin: (
- args: RestoreImageFromRecycleBinCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RestoreImageFromRecycleBinCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RestoreManagedPrefixListVersionCommand}
- */
- readonly restoreManagedPrefixListVersion: (
- args: RestoreManagedPrefixListVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RestoreManagedPrefixListVersionCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RestoreSnapshotFromRecycleBinCommand}
- */
- readonly restoreSnapshotFromRecycleBin: (
- args: RestoreSnapshotFromRecycleBinCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RestoreSnapshotFromRecycleBinCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RestoreSnapshotTierCommand}
- */
- readonly restoreSnapshotTier: (
- args: RestoreSnapshotTierCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RestoreSnapshotTierCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RevokeClientVpnIngressCommand}
- */
- readonly revokeClientVpnIngress: (
- args: RevokeClientVpnIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RevokeClientVpnIngressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RevokeSecurityGroupEgressCommand}
- */
- readonly revokeSecurityGroupEgress: (
- args: RevokeSecurityGroupEgressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RevokeSecurityGroupEgressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RevokeSecurityGroupIngressCommand}
- */
- readonly revokeSecurityGroupIngress: (
- args: RevokeSecurityGroupIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RevokeSecurityGroupIngressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link RunInstancesCommand}
- */
- readonly runInstances: (
- args: RunInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link RunScheduledInstancesCommand}
- */
- readonly runScheduledInstances: (
- args: RunScheduledInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RunScheduledInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link SearchLocalGatewayRoutesCommand}
- */
- readonly searchLocalGatewayRoutes: (
- args: SearchLocalGatewayRoutesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SearchLocalGatewayRoutesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link SearchTransitGatewayMulticastGroupsCommand}
- */
- readonly searchTransitGatewayMulticastGroups: (
- args: SearchTransitGatewayMulticastGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SearchTransitGatewayMulticastGroupsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link SearchTransitGatewayRoutesCommand}
- */
- readonly searchTransitGatewayRoutes: (
- args: SearchTransitGatewayRoutesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SearchTransitGatewayRoutesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link SendDiagnosticInterruptCommand}
- */
- readonly sendDiagnosticInterrupt: (
- args: SendDiagnosticInterruptCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SendDiagnosticInterruptCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link StartInstancesCommand}
- */
- readonly startInstances: (
- args: StartInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link StartNetworkInsightsAccessScopeAnalysisCommand}
- */
- readonly startNetworkInsightsAccessScopeAnalysis: (
- args: StartNetworkInsightsAccessScopeAnalysisCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- StartNetworkInsightsAccessScopeAnalysisCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link StartNetworkInsightsAnalysisCommand}
- */
- readonly startNetworkInsightsAnalysis: (
- args: StartNetworkInsightsAnalysisCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- StartNetworkInsightsAnalysisCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link StartVpcEndpointServicePrivateDnsVerificationCommand}
- */
- readonly startVpcEndpointServicePrivateDnsVerification: (
- args: StartVpcEndpointServicePrivateDnsVerificationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- StartVpcEndpointServicePrivateDnsVerificationCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link StopInstancesCommand}
- */
- readonly stopInstances: (
- args: StopInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link TerminateClientVpnConnectionsCommand}
- */
- readonly terminateClientVpnConnections: (
- args: TerminateClientVpnConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TerminateClientVpnConnectionsCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link TerminateInstancesCommand}
- */
- readonly terminateInstances: (
- args: TerminateInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TerminateInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UnassignIpv6AddressesCommand}
- */
- readonly unassignIpv6Addresses: (
- args: UnassignIpv6AddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UnassignIpv6AddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UnassignPrivateIpAddressesCommand}
- */
- readonly unassignPrivateIpAddresses: (
- args: UnassignPrivateIpAddressesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UnassignPrivateIpAddressesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UnassignPrivateNatGatewayAddressCommand}
- */
- readonly unassignPrivateNatGatewayAddress: (
- args: UnassignPrivateNatGatewayAddressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UnassignPrivateNatGatewayAddressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UnlockSnapshotCommand}
- */
- readonly unlockSnapshot: (
- args: UnlockSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect;
-
- /**
- * @see {@link UnmonitorInstancesCommand}
- */
- readonly unmonitorInstances: (
- args: UnmonitorInstancesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UnmonitorInstancesCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UpdateSecurityGroupRuleDescriptionsEgressCommand}
- */
- readonly updateSecurityGroupRuleDescriptionsEgress: (
- args: UpdateSecurityGroupRuleDescriptionsEgressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateSecurityGroupRuleDescriptionsEgressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link UpdateSecurityGroupRuleDescriptionsIngressCommand}
- */
- readonly updateSecurityGroupRuleDescriptionsIngress: (
- args: UpdateSecurityGroupRuleDescriptionsIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateSecurityGroupRuleDescriptionsIngressCommandOutput,
- SdkError | EC2ServiceError
- >;
-
- /**
- * @see {@link WithdrawByoipCidrCommand}
- */
- readonly withdrawByoipCidr: (
- args: WithdrawByoipCidrCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- WithdrawByoipCidrCommandOutput,
- SdkError | EC2ServiceError
- >;
-};
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const EC2Service = Context.GenericTag(
- "@effect-aws/client-ec2/EC2Service",
-);
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeEC2Service = Effect.gen(function* (_) {
- const client = yield* _(EC2ClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof EC2ServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as EC2Service;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseEC2ServiceLayer = Layer.effect(EC2Service, makeEC2Service);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const EC2ServiceLayer = BaseEC2ServiceLayer.pipe(
- Layer.provide(EC2ClientInstanceLayer),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEC2ServiceLayer = EC2ServiceLayer.pipe(
- Layer.provide(DefaultEC2ClientConfigLayer),
-);
diff --git a/packages/client-ec2/src/Errors.ts b/packages/client-ec2/src/Errors.ts
deleted file mode 100644
index 45e4da3..0000000
--- a/packages/client-ec2/src/Errors.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { EC2ServiceException } from "@aws-sdk/client-ec2";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type EC2ServiceError = TaggedException<
- EC2ServiceException & { name: "EC2ServiceError" }
->;
-export const EC2ServiceError = Data.tagged("EC2ServiceError");
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-ec2/src/index.ts b/packages/client-ec2/src/index.ts
deleted file mode 100644
index 2350e68..0000000
--- a/packages/client-ec2/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./Errors";
-export * from "./EC2ClientInstance";
-export * from "./EC2ClientInstanceConfig";
-export * from "./EC2Service";
diff --git a/packages/client-ec2/test/EC2.test.ts b/packages/client-ec2/test/EC2.test.ts
deleted file mode 100644
index fecb348..0000000
--- a/packages/client-ec2/test/EC2.test.ts
+++ /dev/null
@@ -1,195 +0,0 @@
-import {
- type AcceptAddressTransferCommandInput,
- AcceptAddressTransferCommand,
- EC2Client,
-} from "@aws-sdk/client-ec2";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- BaseEC2ServiceLayer,
- DefaultEC2ClientConfigLayer,
- DefaultEC2ServiceLayer,
- EC2ClientInstance,
- EC2ClientInstanceConfig,
- EC2Service,
- EC2ServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const clientMock = mockClient(EC2Client);
-
-describe("EC2ClientImpl", () => {
- it("default", async () => {
- clientMock.reset().on(AcceptAddressTransferCommand).resolves({});
-
- const args = {} as unknown as AcceptAddressTransferCommandInput;
-
- const program = Effect.flatMap(EC2Service, (service) =>
- service.acceptAddressTransfer(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultEC2ServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(
- AcceptAddressTransferCommand,
- 1,
- );
- expect(clientMock).toHaveReceivedCommandWith(
- AcceptAddressTransferCommand,
- args,
- );
- });
-
- it("configurable", async () => {
- clientMock.reset().on(AcceptAddressTransferCommand).resolves({});
-
- const args = {} as unknown as AcceptAddressTransferCommandInput;
-
- const program = Effect.flatMap(EC2Service, (service) =>
- service.acceptAddressTransfer(args),
- );
-
- const EC2ClientConfigLayer = Layer.succeed(EC2ClientInstanceConfig, {
- region: "eu-central-1",
- });
- const CustomEC2ServiceLayer = EC2ServiceLayer.pipe(
- Layer.provide(EC2ClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEC2ServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(
- AcceptAddressTransferCommand,
- 1,
- );
- expect(clientMock).toHaveReceivedCommandWith(
- AcceptAddressTransferCommand,
- args,
- );
- });
-
- it("base", async () => {
- clientMock.reset().on(AcceptAddressTransferCommand).resolves({});
-
- const args = {} as unknown as AcceptAddressTransferCommandInput;
-
- const program = Effect.flatMap(EC2Service, (service) =>
- service.acceptAddressTransfer(args),
- );
-
- const EC2ClientInstanceLayer = Layer.succeed(
- EC2ClientInstance,
- new EC2Client({ region: "eu-central-1" }),
- );
- const CustomEC2ServiceLayer = BaseEC2ServiceLayer.pipe(
- Layer.provide(EC2ClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEC2ServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(
- AcceptAddressTransferCommand,
- 1,
- );
- expect(clientMock).toHaveReceivedCommandWith(
- AcceptAddressTransferCommand,
- args,
- );
- });
-
- it("extended", async () => {
- clientMock.reset().on(AcceptAddressTransferCommand).resolves({});
-
- const args = {} as unknown as AcceptAddressTransferCommandInput;
-
- const program = Effect.flatMap(EC2Service, (service) =>
- service.acceptAddressTransfer(args),
- );
-
- const EC2ClientInstanceLayer = Layer.effect(
- EC2ClientInstance,
- Effect.map(
- EC2ClientInstanceConfig,
- (config) => new EC2Client({ ...config, region: "eu-central-1" }),
- ),
- );
- const CustomEC2ServiceLayer = BaseEC2ServiceLayer.pipe(
- Layer.provide(EC2ClientInstanceLayer),
- Layer.provide(DefaultEC2ClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEC2ServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(
- AcceptAddressTransferCommand,
- 1,
- );
- expect(clientMock).toHaveReceivedCommandWith(
- AcceptAddressTransferCommand,
- args,
- );
- });
-
- it("fail", async () => {
- clientMock
- .reset()
- .on(AcceptAddressTransferCommand)
- .rejects(new Error("test"));
-
- const args = {} as unknown as AcceptAddressTransferCommandInput;
-
- const program = Effect.flatMap(EC2Service, (service) =>
- service.acceptAddressTransfer(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultEC2ServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(clientMock).toHaveReceivedCommandTimes(
- AcceptAddressTransferCommand,
- 1,
- );
- expect(clientMock).toHaveReceivedCommandWith(
- AcceptAddressTransferCommand,
- args,
- );
- });
-});
diff --git a/packages/client-ec2/tsconfig.dev.json b/packages/client-ec2/tsconfig.dev.json
deleted file mode 100644
index 278f027..0000000
--- a/packages/client-ec2/tsconfig.dev.json
+++ /dev/null
@@ -1,37 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts",
- "test/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
-}
diff --git a/packages/client-ec2/tsconfig.esm.json b/packages/client-ec2/tsconfig.esm.json
deleted file mode 100644
index 1b04668..0000000
--- a/packages/client-ec2/tsconfig.esm.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "outDir": "./lib/esm",
- "module": "es6",
- "resolveJsonModule": false,
- "declaration": false
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-ec2/tsconfig.json b/packages/client-ec2/tsconfig.json
deleted file mode 100644
index 576047c..0000000
--- a/packages/client-ec2/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "rootDir": "src",
- "outDir": "lib",
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts"
- ],
- "exclude": []
-}
diff --git a/packages/client-elasticache/.eslintrc.json b/packages/client-elasticache/.eslintrc.json
deleted file mode 100644
index c31c44d..0000000
--- a/packages/client-elasticache/.eslintrc.json
+++ /dev/null
@@ -1,126 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "env": {
- "jest": true,
- "node": true
- },
- "root": true,
- "plugins": [
- "@typescript-eslint",
- "import"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "project": "./tsconfig.dev.json"
- },
- "extends": [
- "plugin:import/typescript",
- "plugin:prettier/recommended"
- ],
- "settings": {
- "import/parsers": {
- "@typescript-eslint/parser": [
- ".ts",
- ".tsx"
- ]
- },
- "import/resolver": {
- "node": {},
- "typescript": {
- "project": "./tsconfig.dev.json",
- "alwaysTryTypes": true
- }
- }
- },
- "ignorePatterns": [
- "*.js",
- "*.d.ts",
- "node_modules/",
- "*.generated.ts",
- "coverage"
- ],
- "rules": {
- "@typescript-eslint/no-require-imports": [
- "error"
- ],
- "import/no-extraneous-dependencies": [
- "error",
- {
- "devDependencies": [
- "**/test/**",
- "**/build-tools/**"
- ],
- "optionalDependencies": false,
- "peerDependencies": true
- }
- ],
- "import/no-unresolved": [
- "error"
- ],
- "import/order": [
- "warn",
- {
- "groups": [
- "builtin",
- "external"
- ],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ],
- "no-duplicate-imports": [
- "error"
- ],
- "no-shadow": [
- "off"
- ],
- "@typescript-eslint/no-shadow": [
- "error"
- ],
- "key-spacing": [
- "error"
- ],
- "no-multiple-empty-lines": [
- "error"
- ],
- "@typescript-eslint/no-floating-promises": [
- "error"
- ],
- "no-return-await": [
- "off"
- ],
- "@typescript-eslint/return-await": [
- "error"
- ],
- "no-trailing-spaces": [
- "error"
- ],
- "dot-notation": [
- "error"
- ],
- "no-bitwise": [
- "error"
- ],
- "@typescript-eslint/member-ordering": [
- "error",
- {
- "default": [
- "public-static-field",
- "public-static-method",
- "protected-static-field",
- "protected-static-method",
- "private-static-field",
- "private-static-method",
- "field",
- "constructor",
- "method"
- ]
- }
- ]
- },
- "overrides": []
-}
diff --git a/packages/client-elasticache/.gitattributes b/packages/client-elasticache/.gitattributes
deleted file mode 100644
index 1c2be5a..0000000
--- a/packages/client-elasticache/.gitattributes
+++ /dev/null
@@ -1,21 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-
-/./tsconfig.esm.json linguist-generated
-/.eslintrc.json linguist-generated
-/.gitattributes linguist-generated
-/.gitignore linguist-generated
-/.npmignore linguist-generated
-/.npmrc linguist-generated
-/.prettierignore linguist-generated
-/.prettierrc.json linguist-generated
-/.projen/** linguist-generated
-/.projen/deps.json linguist-generated
-/.projen/files.json linguist-generated
-/.projen/tasks.json linguist-generated
-/docgen.json linguist-generated
-/LICENSE linguist-generated
-/package.json linguist-generated
-/pnpm-lock.yaml linguist-generated
-/project.json linguist-generated
-/tsconfig.dev.json linguist-generated
-/tsconfig.json linguist-generated
\ No newline at end of file
diff --git a/packages/client-elasticache/.gitignore b/packages/client-elasticache/.gitignore
deleted file mode 100644
index e4fdd83..0000000
--- a/packages/client-elasticache/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-!/.gitattributes
-!/.projen/tasks.json
-!/.projen/deps.json
-!/.projen/files.json
-!/package.json
-!/LICENSE
-!/.npmignore
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-pids
-*.pid
-*.seed
-*.pid.lock
-lib-cov
-coverage
-*.lcov
-.nyc_output
-build/Release
-node_modules/
-jspm_packages/
-*.tsbuildinfo
-.eslintcache
-*.tgz
-.yarn-integrity
-.cache
-!/.prettierignore
-!/.prettierrc.json
-!/.npmrc
-!/test/
-!/tsconfig.json
-!/tsconfig.dev.json
-!/src/
-/lib
-/dist/
-!/.eslintrc.json
-!/tsconfig.esm.json
-!/project.json
-!/docgen.json
-docs/
diff --git a/packages/client-elasticache/.npmignore b/packages/client-elasticache/.npmignore
deleted file mode 100644
index 277d62e..0000000
--- a/packages/client-elasticache/.npmignore
+++ /dev/null
@@ -1,20 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-/.projen/
-/.prettierignore
-/.prettierrc.json
-/test/
-/tsconfig.dev.json
-/src/
-!/lib/
-!/lib/**/*.js
-!/lib/**/*.d.ts
-dist
-/tsconfig.json
-/.github/
-/.vscode/
-/.idea/
-/.projenrc.js
-tsconfig.tsbuildinfo
-/.eslintrc.json
-/tsconfig.esm.json
-/.gitattributes
diff --git a/packages/client-elasticache/.prettierignore b/packages/client-elasticache/.prettierignore
deleted file mode 100644
index 46704c7..0000000
--- a/packages/client-elasticache/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
diff --git a/packages/client-elasticache/.prettierrc.json b/packages/client-elasticache/.prettierrc.json
deleted file mode 100644
index 84c85a3..0000000
--- a/packages/client-elasticache/.prettierrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "overrides": []
-}
diff --git a/packages/client-elasticache/.projen/deps.json b/packages/client-elasticache/.projen/deps.json
deleted file mode 100644
index 0cec9c8..0000000
--- a/packages/client-elasticache/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-elasticache",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-elasticache/.projen/files.json b/packages/client-elasticache/.projen/files.json
deleted file mode 100644
index c38792b..0000000
--- a/packages/client-elasticache/.projen/files.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "files": [
- ".eslintrc.json",
- ".gitattributes",
- ".gitignore",
- ".npmignore",
- ".prettierignore",
- ".prettierrc.json",
- ".projen/deps.json",
- ".projen/files.json",
- ".projen/tasks.json",
- "docgen.json",
- "LICENSE",
- "project.json",
- "tsconfig.dev.json",
- "tsconfig.esm.json",
- "tsconfig.json"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-elasticache/.projen/tasks.json b/packages/client-elasticache/.projen/tasks.json
deleted file mode 100644
index 6ecb00a..0000000
--- a/packages/client-elasticache/.projen/tasks.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "tasks": {
- "build": {
- "name": "build",
- "description": "Full release build",
- "steps": [
- {
- "spawn": "pre-compile"
- },
- {
- "spawn": "compile"
- },
- {
- "spawn": "post-compile"
- },
- {
- "spawn": "test"
- },
- {
- "spawn": "package"
- }
- ]
- },
- "compile": {
- "name": "compile",
- "description": "Only compile",
- "steps": [
- {
- "exec": "tsc -b ./tsconfig.json ./tsconfig.esm.json"
- }
- ]
- },
- "default": {
- "name": "default",
- "description": "Synthesize project files"
- },
- "eslint": {
- "name": "eslint",
- "description": "Runs eslint against the codebase",
- "steps": [
- {
- "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools",
- "receiveArgs": true
- }
- ]
- },
- "install": {
- "name": "install",
- "description": "Install project dependencies and update lockfile (non-frozen)",
- "steps": [
- {
- "exec": "pnpm i --no-frozen-lockfile"
- }
- ]
- },
- "install:ci": {
- "name": "install:ci",
- "description": "Install project dependencies using frozen lockfile",
- "steps": [
- {
- "exec": "pnpm i --frozen-lockfile"
- }
- ]
- },
- "package": {
- "name": "package",
- "description": "Creates the distribution package"
- },
- "post-compile": {
- "name": "post-compile",
- "description": "Runs after successful compilation"
- },
- "pre-compile": {
- "name": "pre-compile",
- "description": "Prepare the project for compilation"
- },
- "test": {
- "name": "test",
- "description": "Run tests",
- "steps": [
- {
- "exec": "vitest run --globals --reporter verbose",
- "receiveArgs": true
- },
- {
- "spawn": "eslint"
- }
- ]
- },
- "test:watch": {
- "name": "test:watch",
- "description": "Run tests in watch mode",
- "steps": [
- {
- "exec": "vitest --globals --reporter verbose"
- }
- ]
- },
- "watch": {
- "name": "watch",
- "description": "Watch & compile in the background",
- "steps": [
- {
- "exec": "tsc --build -w"
- }
- ]
- }
- },
- "env": {
- "PATH": "$(pnpm -c exec \"node --print process.env.PATH\")"
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-elasticache/CHANGELOG.md b/packages/client-elasticache/CHANGELOG.md
deleted file mode 100644
index 26c64d9..0000000
--- a/packages/client-elasticache/CHANGELOG.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# @effect-aws/client-elasticache
-
-## 1.0.0
-
-### Major Changes
-
-- [#35](https://github.com/floydspace/effect-aws/pull/35) [`4633dac`](https://github.com/floydspace/effect-aws/commit/4633dac202b0c644c566f47ba221a22c1ea7a9dd) Thanks [@godu](https://github.com/godu)! - implement effectful elasticache client
diff --git a/packages/client-elasticache/LICENSE b/packages/client-elasticache/LICENSE
deleted file mode 100644
index 7afce46..0000000
--- a/packages/client-elasticache/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2024 Victor Korzunin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/client-elasticache/README.md b/packages/client-elasticache/README.md
deleted file mode 100644
index b3fa7dd..0000000
--- a/packages/client-elasticache/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# replace this
\ No newline at end of file
diff --git a/packages/client-elasticache/docgen.json b/packages/client-elasticache/docgen.json
deleted file mode 100644
index b359fc7..0000000
--- a/packages/client-elasticache/docgen.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "$schema": "../../node_modules/@effect/docgen/schema.json",
- "exclude": [
- "src/index.ts",
- "src/Errors.ts"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-elasticache/src/ElastiCacheClientInstance.ts b/packages/client-elasticache/src/ElastiCacheClientInstance.ts
deleted file mode 100644
index 495a6f1..0000000
--- a/packages/client-elasticache/src/ElastiCacheClientInstance.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { ElastiCacheClient } from "@aws-sdk/client-elasticache";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- DefaultElastiCacheClientConfigLayer,
- ElastiCacheClientInstanceConfig,
-} from "./ElastiCacheClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class ElastiCacheClientInstance extends Context.Tag(
- "@effect-aws/client-elasticache/ElastiCacheClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeElastiCacheClientInstance = Effect.map(
- ElastiCacheClientInstanceConfig,
- (config) => new ElastiCacheClient(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const ElastiCacheClientInstanceLayer = Layer.effect(
- ElastiCacheClientInstance,
- makeElastiCacheClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultElastiCacheClientInstanceLayer =
- ElastiCacheClientInstanceLayer.pipe(
- Layer.provide(DefaultElastiCacheClientConfigLayer),
- );
diff --git a/packages/client-elasticache/src/ElastiCacheClientInstanceConfig.ts b/packages/client-elasticache/src/ElastiCacheClientInstanceConfig.ts
deleted file mode 100644
index 7c92554..0000000
--- a/packages/client-elasticache/src/ElastiCacheClientInstanceConfig.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Runtime from "effect/Runtime";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class ElastiCacheClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-elasticache/ElastiCacheClientInstanceConfig",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultElastiCacheClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info(m) {
- Effect.logInfo(m).pipe(runSync);
- },
- warn(m) {
- Effect.logWarning(m).pipe(runSync);
- },
- error(m) {
- Effect.logError(m).pipe(runSync);
- },
- debug(m) {
- Effect.logDebug(m).pipe(runSync);
- },
- trace(m) {
- Effect.logTrace(m).pipe(runSync);
- },
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultElastiCacheClientConfigLayer = Layer.effect(
- ElastiCacheClientInstanceConfig,
- makeDefaultElastiCacheClientInstanceConfig,
-);
diff --git a/packages/client-elasticache/src/ElastiCacheService.ts b/packages/client-elasticache/src/ElastiCacheService.ts
deleted file mode 100644
index 5ae0b5a..0000000
--- a/packages/client-elasticache/src/ElastiCacheService.ts
+++ /dev/null
@@ -1,1407 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- AddTagsToResourceCommand,
- type AddTagsToResourceCommandInput,
- type AddTagsToResourceCommandOutput,
- AuthorizeCacheSecurityGroupIngressCommand,
- type AuthorizeCacheSecurityGroupIngressCommandInput,
- type AuthorizeCacheSecurityGroupIngressCommandOutput,
- BatchApplyUpdateActionCommand,
- type BatchApplyUpdateActionCommandInput,
- type BatchApplyUpdateActionCommandOutput,
- BatchStopUpdateActionCommand,
- type BatchStopUpdateActionCommandInput,
- type BatchStopUpdateActionCommandOutput,
- CompleteMigrationCommand,
- type CompleteMigrationCommandInput,
- type CompleteMigrationCommandOutput,
- CopyServerlessCacheSnapshotCommand,
- type CopyServerlessCacheSnapshotCommandInput,
- type CopyServerlessCacheSnapshotCommandOutput,
- CopySnapshotCommand,
- type CopySnapshotCommandInput,
- type CopySnapshotCommandOutput,
- CreateCacheClusterCommand,
- type CreateCacheClusterCommandInput,
- type CreateCacheClusterCommandOutput,
- CreateCacheParameterGroupCommand,
- type CreateCacheParameterGroupCommandInput,
- type CreateCacheParameterGroupCommandOutput,
- CreateCacheSecurityGroupCommand,
- type CreateCacheSecurityGroupCommandInput,
- type CreateCacheSecurityGroupCommandOutput,
- CreateCacheSubnetGroupCommand,
- type CreateCacheSubnetGroupCommandInput,
- type CreateCacheSubnetGroupCommandOutput,
- CreateGlobalReplicationGroupCommand,
- type CreateGlobalReplicationGroupCommandInput,
- type CreateGlobalReplicationGroupCommandOutput,
- CreateReplicationGroupCommand,
- type CreateReplicationGroupCommandInput,
- type CreateReplicationGroupCommandOutput,
- CreateServerlessCacheCommand,
- type CreateServerlessCacheCommandInput,
- type CreateServerlessCacheCommandOutput,
- CreateServerlessCacheSnapshotCommand,
- type CreateServerlessCacheSnapshotCommandInput,
- type CreateServerlessCacheSnapshotCommandOutput,
- CreateSnapshotCommand,
- type CreateSnapshotCommandInput,
- type CreateSnapshotCommandOutput,
- CreateUserCommand,
- type CreateUserCommandInput,
- type CreateUserCommandOutput,
- CreateUserGroupCommand,
- type CreateUserGroupCommandInput,
- type CreateUserGroupCommandOutput,
- DecreaseNodeGroupsInGlobalReplicationGroupCommand,
- type DecreaseNodeGroupsInGlobalReplicationGroupCommandInput,
- type DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
- DecreaseReplicaCountCommand,
- type DecreaseReplicaCountCommandInput,
- type DecreaseReplicaCountCommandOutput,
- DeleteCacheClusterCommand,
- type DeleteCacheClusterCommandInput,
- type DeleteCacheClusterCommandOutput,
- DeleteCacheParameterGroupCommand,
- type DeleteCacheParameterGroupCommandInput,
- type DeleteCacheParameterGroupCommandOutput,
- DeleteCacheSecurityGroupCommand,
- type DeleteCacheSecurityGroupCommandInput,
- type DeleteCacheSecurityGroupCommandOutput,
- DeleteCacheSubnetGroupCommand,
- type DeleteCacheSubnetGroupCommandInput,
- type DeleteCacheSubnetGroupCommandOutput,
- DeleteGlobalReplicationGroupCommand,
- type DeleteGlobalReplicationGroupCommandInput,
- type DeleteGlobalReplicationGroupCommandOutput,
- DeleteReplicationGroupCommand,
- type DeleteReplicationGroupCommandInput,
- type DeleteReplicationGroupCommandOutput,
- DeleteServerlessCacheCommand,
- type DeleteServerlessCacheCommandInput,
- type DeleteServerlessCacheCommandOutput,
- DeleteServerlessCacheSnapshotCommand,
- type DeleteServerlessCacheSnapshotCommandInput,
- type DeleteServerlessCacheSnapshotCommandOutput,
- DeleteSnapshotCommand,
- type DeleteSnapshotCommandInput,
- type DeleteSnapshotCommandOutput,
- DeleteUserCommand,
- type DeleteUserCommandInput,
- type DeleteUserCommandOutput,
- DeleteUserGroupCommand,
- type DeleteUserGroupCommandInput,
- type DeleteUserGroupCommandOutput,
- DescribeCacheClustersCommand,
- type DescribeCacheClustersCommandInput,
- type DescribeCacheClustersCommandOutput,
- DescribeCacheEngineVersionsCommand,
- type DescribeCacheEngineVersionsCommandInput,
- type DescribeCacheEngineVersionsCommandOutput,
- DescribeCacheParameterGroupsCommand,
- type DescribeCacheParameterGroupsCommandInput,
- type DescribeCacheParameterGroupsCommandOutput,
- DescribeCacheParametersCommand,
- type DescribeCacheParametersCommandInput,
- type DescribeCacheParametersCommandOutput,
- DescribeCacheSecurityGroupsCommand,
- type DescribeCacheSecurityGroupsCommandInput,
- type DescribeCacheSecurityGroupsCommandOutput,
- DescribeCacheSubnetGroupsCommand,
- type DescribeCacheSubnetGroupsCommandInput,
- type DescribeCacheSubnetGroupsCommandOutput,
- DescribeEngineDefaultParametersCommand,
- type DescribeEngineDefaultParametersCommandInput,
- type DescribeEngineDefaultParametersCommandOutput,
- DescribeEventsCommand,
- type DescribeEventsCommandInput,
- type DescribeEventsCommandOutput,
- DescribeGlobalReplicationGroupsCommand,
- type DescribeGlobalReplicationGroupsCommandInput,
- type DescribeGlobalReplicationGroupsCommandOutput,
- DescribeReplicationGroupsCommand,
- type DescribeReplicationGroupsCommandInput,
- type DescribeReplicationGroupsCommandOutput,
- DescribeReservedCacheNodesCommand,
- type DescribeReservedCacheNodesCommandInput,
- type DescribeReservedCacheNodesCommandOutput,
- DescribeReservedCacheNodesOfferingsCommand,
- type DescribeReservedCacheNodesOfferingsCommandInput,
- type DescribeReservedCacheNodesOfferingsCommandOutput,
- DescribeServerlessCachesCommand,
- type DescribeServerlessCachesCommandInput,
- type DescribeServerlessCachesCommandOutput,
- DescribeServerlessCacheSnapshotsCommand,
- type DescribeServerlessCacheSnapshotsCommandInput,
- type DescribeServerlessCacheSnapshotsCommandOutput,
- DescribeServiceUpdatesCommand,
- type DescribeServiceUpdatesCommandInput,
- type DescribeServiceUpdatesCommandOutput,
- DescribeSnapshotsCommand,
- type DescribeSnapshotsCommandInput,
- type DescribeSnapshotsCommandOutput,
- DescribeUpdateActionsCommand,
- type DescribeUpdateActionsCommandInput,
- type DescribeUpdateActionsCommandOutput,
- DescribeUserGroupsCommand,
- type DescribeUserGroupsCommandInput,
- type DescribeUserGroupsCommandOutput,
- DescribeUsersCommand,
- type DescribeUsersCommandInput,
- type DescribeUsersCommandOutput,
- DisassociateGlobalReplicationGroupCommand,
- type DisassociateGlobalReplicationGroupCommandInput,
- type DisassociateGlobalReplicationGroupCommandOutput,
- ElastiCacheServiceException,
- ExportServerlessCacheSnapshotCommand,
- type ExportServerlessCacheSnapshotCommandInput,
- type ExportServerlessCacheSnapshotCommandOutput,
- FailoverGlobalReplicationGroupCommand,
- type FailoverGlobalReplicationGroupCommandInput,
- type FailoverGlobalReplicationGroupCommandOutput,
- IncreaseNodeGroupsInGlobalReplicationGroupCommand,
- type IncreaseNodeGroupsInGlobalReplicationGroupCommandInput,
- type IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput,
- IncreaseReplicaCountCommand,
- type IncreaseReplicaCountCommandInput,
- type IncreaseReplicaCountCommandOutput,
- ListAllowedNodeTypeModificationsCommand,
- type ListAllowedNodeTypeModificationsCommandInput,
- type ListAllowedNodeTypeModificationsCommandOutput,
- ListTagsForResourceCommand,
- type ListTagsForResourceCommandInput,
- type ListTagsForResourceCommandOutput,
- ModifyCacheClusterCommand,
- type ModifyCacheClusterCommandInput,
- type ModifyCacheClusterCommandOutput,
- ModifyCacheParameterGroupCommand,
- type ModifyCacheParameterGroupCommandInput,
- type ModifyCacheParameterGroupCommandOutput,
- ModifyCacheSubnetGroupCommand,
- type ModifyCacheSubnetGroupCommandInput,
- type ModifyCacheSubnetGroupCommandOutput,
- ModifyGlobalReplicationGroupCommand,
- type ModifyGlobalReplicationGroupCommandInput,
- type ModifyGlobalReplicationGroupCommandOutput,
- ModifyReplicationGroupCommand,
- type ModifyReplicationGroupCommandInput,
- type ModifyReplicationGroupCommandOutput,
- ModifyReplicationGroupShardConfigurationCommand,
- type ModifyReplicationGroupShardConfigurationCommandInput,
- type ModifyReplicationGroupShardConfigurationCommandOutput,
- ModifyServerlessCacheCommand,
- type ModifyServerlessCacheCommandInput,
- type ModifyServerlessCacheCommandOutput,
- ModifyUserCommand,
- type ModifyUserCommandInput,
- type ModifyUserCommandOutput,
- ModifyUserGroupCommand,
- type ModifyUserGroupCommandInput,
- type ModifyUserGroupCommandOutput,
- PurchaseReservedCacheNodesOfferingCommand,
- type PurchaseReservedCacheNodesOfferingCommandInput,
- type PurchaseReservedCacheNodesOfferingCommandOutput,
- RebalanceSlotsInGlobalReplicationGroupCommand,
- type RebalanceSlotsInGlobalReplicationGroupCommandInput,
- type RebalanceSlotsInGlobalReplicationGroupCommandOutput,
- RebootCacheClusterCommand,
- type RebootCacheClusterCommandInput,
- type RebootCacheClusterCommandOutput,
- RemoveTagsFromResourceCommand,
- type RemoveTagsFromResourceCommandInput,
- type RemoveTagsFromResourceCommandOutput,
- ResetCacheParameterGroupCommand,
- type ResetCacheParameterGroupCommandInput,
- type ResetCacheParameterGroupCommandOutput,
- RevokeCacheSecurityGroupIngressCommand,
- type RevokeCacheSecurityGroupIngressCommandInput,
- type RevokeCacheSecurityGroupIngressCommandOutput,
- StartMigrationCommand,
- type StartMigrationCommandInput,
- type StartMigrationCommandOutput,
- TestFailoverCommand,
- type TestFailoverCommandInput,
- type TestFailoverCommandOutput,
- TestMigrationCommand,
- type TestMigrationCommandInput,
- type TestMigrationCommandOutput,
-} from "@aws-sdk/client-elasticache";
-import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Effect, Layer, ReadonlyRecord, Data } from "effect";
-import {
- ElastiCacheClientInstance,
- ElastiCacheClientInstanceLayer,
-} from "./ElastiCacheClientInstance";
-import { DefaultElastiCacheClientConfigLayer } from "./ElastiCacheClientInstanceConfig";
-import {
- ElastiCacheServiceError,
- InvalidCredentialsError,
- InvalidParameterCombinationError,
- InvalidParameterValueError,
- SdkError,
- TaggedException,
-} from "./Errors";
-
-const commands = {
- AddTagsToResourceCommand,
- AuthorizeCacheSecurityGroupIngressCommand,
- BatchApplyUpdateActionCommand,
- BatchStopUpdateActionCommand,
- CompleteMigrationCommand,
- CopyServerlessCacheSnapshotCommand,
- CopySnapshotCommand,
- CreateCacheClusterCommand,
- CreateCacheParameterGroupCommand,
- CreateCacheSecurityGroupCommand,
- CreateCacheSubnetGroupCommand,
- CreateGlobalReplicationGroupCommand,
- CreateReplicationGroupCommand,
- CreateServerlessCacheCommand,
- CreateServerlessCacheSnapshotCommand,
- CreateSnapshotCommand,
- CreateUserCommand,
- CreateUserGroupCommand,
- DecreaseNodeGroupsInGlobalReplicationGroupCommand,
- DecreaseReplicaCountCommand,
- DeleteCacheClusterCommand,
- DeleteCacheParameterGroupCommand,
- DeleteCacheSecurityGroupCommand,
- DeleteCacheSubnetGroupCommand,
- DeleteGlobalReplicationGroupCommand,
- DeleteReplicationGroupCommand,
- DeleteServerlessCacheCommand,
- DeleteServerlessCacheSnapshotCommand,
- DeleteSnapshotCommand,
- DeleteUserCommand,
- DeleteUserGroupCommand,
- DescribeCacheClustersCommand,
- DescribeCacheEngineVersionsCommand,
- DescribeCacheParameterGroupsCommand,
- DescribeCacheParametersCommand,
- DescribeCacheSecurityGroupsCommand,
- DescribeCacheSubnetGroupsCommand,
- DescribeEngineDefaultParametersCommand,
- DescribeEventsCommand,
- DescribeGlobalReplicationGroupsCommand,
- DescribeReplicationGroupsCommand,
- DescribeReservedCacheNodesCommand,
- DescribeReservedCacheNodesOfferingsCommand,
- DescribeServerlessCachesCommand,
- DescribeServerlessCacheSnapshotsCommand,
- DescribeServiceUpdatesCommand,
- DescribeSnapshotsCommand,
- DescribeUpdateActionsCommand,
- DescribeUserGroupsCommand,
- DescribeUsersCommand,
- DisassociateGlobalReplicationGroupCommand,
- ExportServerlessCacheSnapshotCommand,
- FailoverGlobalReplicationGroupCommand,
- IncreaseNodeGroupsInGlobalReplicationGroupCommand,
- IncreaseReplicaCountCommand,
- ListAllowedNodeTypeModificationsCommand,
- ListTagsForResourceCommand,
- ModifyCacheClusterCommand,
- ModifyCacheParameterGroupCommand,
- ModifyCacheSubnetGroupCommand,
- ModifyGlobalReplicationGroupCommand,
- ModifyReplicationGroupCommand,
- ModifyReplicationGroupShardConfigurationCommand,
- ModifyServerlessCacheCommand,
- ModifyUserCommand,
- ModifyUserGroupCommand,
- PurchaseReservedCacheNodesOfferingCommand,
- RebalanceSlotsInGlobalReplicationGroupCommand,
- RebootCacheClusterCommand,
- RemoveTagsFromResourceCommand,
- ResetCacheParameterGroupCommand,
- RevokeCacheSecurityGroupIngressCommand,
- StartMigrationCommand,
- TestFailoverCommand,
- TestMigrationCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export type ElastiCacheService = {
- readonly _: unique symbol;
-
- /**
- * @see {@link AddTagsToResourceCommand}
- */
- readonly addTagsToResource: (
- args: AddTagsToResourceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AddTagsToResourceCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link AuthorizeCacheSecurityGroupIngressCommand}
- */
- readonly authorizeCacheSecurityGroupIngress: (
- args: AuthorizeCacheSecurityGroupIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | AuthorizeCacheSecurityGroupIngressCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link BatchApplyUpdateActionCommand}
- */
- readonly batchApplyUpdateAction: (
- args: BatchApplyUpdateActionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | BatchApplyUpdateActionCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link BatchStopUpdateActionCommand}
- */
- readonly batchStopUpdateAction: (
- args: BatchStopUpdateActionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | BatchStopUpdateActionCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CompleteMigrationCommand}
- */
- readonly completeMigration: (
- args: CompleteMigrationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CompleteMigrationCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link CopyServerlessCacheSnapshotCommand}
- */
- readonly copyServerlessCacheSnapshot: (
- args: CopyServerlessCacheSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CopyServerlessCacheSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CopySnapshotCommand}
- */
- readonly copySnapshot: (
- args: CopySnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CopySnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateCacheClusterCommand}
- */
- readonly createCacheCluster: (
- args: CreateCacheClusterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateCacheClusterCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateCacheParameterGroupCommand}
- */
- readonly createCacheParameterGroup: (
- args: CreateCacheParameterGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateCacheParameterGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateCacheSecurityGroupCommand}
- */
- readonly createCacheSecurityGroup: (
- args: CreateCacheSecurityGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateCacheSecurityGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateCacheSubnetGroupCommand}
- */
- readonly createCacheSubnetGroup: (
- args: CreateCacheSubnetGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link CreateGlobalReplicationGroupCommand}
- */
- readonly createGlobalReplicationGroup: (
- args: CreateGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateReplicationGroupCommand}
- */
- readonly createReplicationGroup: (
- args: CreateReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateServerlessCacheCommand}
- */
- readonly createServerlessCache: (
- args: CreateServerlessCacheCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateServerlessCacheCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidCredentialsError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateServerlessCacheSnapshotCommand}
- */
- readonly createServerlessCacheSnapshot: (
- args: CreateServerlessCacheSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateServerlessCacheSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateSnapshotCommand}
- */
- readonly createSnapshot: (
- args: CreateSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateUserCommand}
- */
- readonly createUser: (
- args: CreateUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateUserCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link CreateUserGroupCommand}
- */
- readonly createUserGroup: (
- args: CreateUserGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | CreateUserGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DecreaseNodeGroupsInGlobalReplicationGroupCommand}
- */
- readonly decreaseNodeGroupsInGlobalReplicationGroup: (
- args: DecreaseNodeGroupsInGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DecreaseNodeGroupsInGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DecreaseReplicaCountCommand}
- */
- readonly decreaseReplicaCount: (
- args: DecreaseReplicaCountCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DecreaseReplicaCountCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteCacheClusterCommand}
- */
- readonly deleteCacheCluster: (
- args: DeleteCacheClusterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteCacheClusterCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteCacheParameterGroupCommand}
- */
- readonly deleteCacheParameterGroup: (
- args: DeleteCacheParameterGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteCacheParameterGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteCacheSecurityGroupCommand}
- */
- readonly deleteCacheSecurityGroup: (
- args: DeleteCacheSecurityGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteCacheSecurityGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteCacheSubnetGroupCommand}
- */
- readonly deleteCacheSubnetGroup: (
- args: DeleteCacheSubnetGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link DeleteGlobalReplicationGroupCommand}
- */
- readonly deleteGlobalReplicationGroup: (
- args: DeleteGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteReplicationGroupCommand}
- */
- readonly deleteReplicationGroup: (
- args: DeleteReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteServerlessCacheCommand}
- */
- readonly deleteServerlessCache: (
- args: DeleteServerlessCacheCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteServerlessCacheCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidCredentialsError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteServerlessCacheSnapshotCommand}
- */
- readonly deleteServerlessCacheSnapshot: (
- args: DeleteServerlessCacheSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteServerlessCacheSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteSnapshotCommand}
- */
- readonly deleteSnapshot: (
- args: DeleteSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteUserCommand}
- */
- readonly deleteUser: (
- args: DeleteUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteUserCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DeleteUserGroupCommand}
- */
- readonly deleteUserGroup: (
- args: DeleteUserGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DeleteUserGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeCacheClustersCommand}
- */
- readonly describeCacheClusters: (
- args: DescribeCacheClustersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeCacheClustersCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeCacheEngineVersionsCommand}
- */
- readonly describeCacheEngineVersions: (
- args: DescribeCacheEngineVersionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeCacheEngineVersionsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link DescribeCacheParameterGroupsCommand}
- */
- readonly describeCacheParameterGroups: (
- args: DescribeCacheParameterGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeCacheParameterGroupsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeCacheParametersCommand}
- */
- readonly describeCacheParameters: (
- args: DescribeCacheParametersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeCacheParametersCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeCacheSecurityGroupsCommand}
- */
- readonly describeCacheSecurityGroups: (
- args: DescribeCacheSecurityGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeCacheSecurityGroupsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeCacheSubnetGroupsCommand}
- */
- readonly describeCacheSubnetGroups: (
- args: DescribeCacheSubnetGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DescribeCacheSubnetGroupsCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link DescribeEngineDefaultParametersCommand}
- */
- readonly describeEngineDefaultParameters: (
- args: DescribeEngineDefaultParametersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeEngineDefaultParametersCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeEventsCommand}
- */
- readonly describeEvents: (
- args: DescribeEventsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeEventsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeGlobalReplicationGroupsCommand}
- */
- readonly describeGlobalReplicationGroups: (
- args: DescribeGlobalReplicationGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeGlobalReplicationGroupsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeReplicationGroupsCommand}
- */
- readonly describeReplicationGroups: (
- args: DescribeReplicationGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeReplicationGroupsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeReservedCacheNodesCommand}
- */
- readonly describeReservedCacheNodes: (
- args: DescribeReservedCacheNodesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeReservedCacheNodesCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeReservedCacheNodesOfferingsCommand}
- */
- readonly describeReservedCacheNodesOfferings: (
- args: DescribeReservedCacheNodesOfferingsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeReservedCacheNodesOfferingsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeServerlessCachesCommand}
- */
- readonly describeServerlessCaches: (
- args: DescribeServerlessCachesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeServerlessCachesCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeServerlessCacheSnapshotsCommand}
- */
- readonly describeServerlessCacheSnapshots: (
- args: DescribeServerlessCacheSnapshotsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeServerlessCacheSnapshotsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeServiceUpdatesCommand}
- */
- readonly describeServiceUpdates: (
- args: DescribeServiceUpdatesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeServiceUpdatesCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeSnapshotsCommand}
- */
- readonly describeSnapshots: (
- args: DescribeSnapshotsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeSnapshotsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeUpdateActionsCommand}
- */
- readonly describeUpdateActions: (
- args: DescribeUpdateActionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeUpdateActionsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link DescribeUserGroupsCommand}
- */
- readonly describeUserGroups: (
- args: DescribeUserGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeUserGroupsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- >;
-
- /**
- * @see {@link DescribeUsersCommand}
- */
- readonly describeUsers: (
- args: DescribeUsersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DescribeUsersCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- >;
-
- /**
- * @see {@link DisassociateGlobalReplicationGroupCommand}
- */
- readonly disassociateGlobalReplicationGroup: (
- args: DisassociateGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | DisassociateGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ExportServerlessCacheSnapshotCommand}
- */
- readonly exportServerlessCacheSnapshot: (
- args: ExportServerlessCacheSnapshotCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ExportServerlessCacheSnapshotCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link FailoverGlobalReplicationGroupCommand}
- */
- readonly failoverGlobalReplicationGroup: (
- args: FailoverGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | FailoverGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link IncreaseNodeGroupsInGlobalReplicationGroupCommand}
- */
- readonly increaseNodeGroupsInGlobalReplicationGroup: (
- args: IncreaseNodeGroupsInGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | IncreaseNodeGroupsInGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link IncreaseReplicaCountCommand}
- */
- readonly increaseReplicaCount: (
- args: IncreaseReplicaCountCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | IncreaseReplicaCountCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ListAllowedNodeTypeModificationsCommand}
- */
- readonly listAllowedNodeTypeModifications: (
- args: ListAllowedNodeTypeModificationsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ListAllowedNodeTypeModificationsCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ListTagsForResourceCommand}
- */
- readonly listTagsForResource: (
- args: ListTagsForResourceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListTagsForResourceCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link ModifyCacheClusterCommand}
- */
- readonly modifyCacheCluster: (
- args: ModifyCacheClusterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyCacheClusterCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyCacheParameterGroupCommand}
- */
- readonly modifyCacheParameterGroup: (
- args: ModifyCacheParameterGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyCacheParameterGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyCacheSubnetGroupCommand}
- */
- readonly modifyCacheSubnetGroup: (
- args: ModifyCacheSubnetGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ModifyCacheSubnetGroupCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link ModifyGlobalReplicationGroupCommand}
- */
- readonly modifyGlobalReplicationGroup: (
- args: ModifyGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyReplicationGroupCommand}
- */
- readonly modifyReplicationGroup: (
- args: ModifyReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyReplicationGroupShardConfigurationCommand}
- */
- readonly modifyReplicationGroupShardConfiguration: (
- args: ModifyReplicationGroupShardConfigurationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyReplicationGroupShardConfigurationCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyServerlessCacheCommand}
- */
- readonly modifyServerlessCache: (
- args: ModifyServerlessCacheCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyServerlessCacheCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidCredentialsError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyUserCommand}
- */
- readonly modifyUser: (
- args: ModifyUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyUserCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link ModifyUserGroupCommand}
- */
- readonly modifyUserGroup: (
- args: ModifyUserGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ModifyUserGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link PurchaseReservedCacheNodesOfferingCommand}
- */
- readonly purchaseReservedCacheNodesOffering: (
- args: PurchaseReservedCacheNodesOfferingCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | PurchaseReservedCacheNodesOfferingCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link RebalanceSlotsInGlobalReplicationGroupCommand}
- */
- readonly rebalanceSlotsInGlobalReplicationGroup: (
- args: RebalanceSlotsInGlobalReplicationGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | RebalanceSlotsInGlobalReplicationGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link RebootCacheClusterCommand}
- */
- readonly rebootCacheCluster: (
- args: RebootCacheClusterCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RebootCacheClusterCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link RemoveTagsFromResourceCommand}
- */
- readonly removeTagsFromResource: (
- args: RemoveTagsFromResourceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RemoveTagsFromResourceCommandOutput | SdkError | ElastiCacheServiceError
- >;
-
- /**
- * @see {@link ResetCacheParameterGroupCommand}
- */
- readonly resetCacheParameterGroup: (
- args: ResetCacheParameterGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | ResetCacheParameterGroupCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link RevokeCacheSecurityGroupIngressCommand}
- */
- readonly revokeCacheSecurityGroupIngress: (
- args: RevokeCacheSecurityGroupIngressCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | RevokeCacheSecurityGroupIngressCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link StartMigrationCommand}
- */
- readonly startMigration: (
- args: StartMigrationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | StartMigrationCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link TestFailoverCommand}
- */
- readonly testFailover: (
- args: TestFailoverCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | TestFailoverCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterCombinationError
- | InvalidParameterValueError
- >;
-
- /**
- * @see {@link TestMigrationCommand}
- */
- readonly testMigration: (
- args: TestMigrationCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- | TestMigrationCommandOutput
- | SdkError
- | ElastiCacheServiceError
- | InvalidParameterValueError
- >;
-};
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const ElastiCacheService = Context.GenericTag(
- "@effect-aws/client-elasticache/ElastiCacheService",
-);
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeElastiCacheService = Effect.gen(function* (_) {
- const client = yield* _(ElastiCacheClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof ElastiCacheServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as ElastiCacheService;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseElastiCacheServiceLayer = Layer.effect(
- ElastiCacheService,
- makeElastiCacheService,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const ElastiCacheServiceLayer = BaseElastiCacheServiceLayer.pipe(
- Layer.provide(ElastiCacheClientInstanceLayer),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultElastiCacheServiceLayer = ElastiCacheServiceLayer.pipe(
- Layer.provide(DefaultElastiCacheClientConfigLayer),
-);
diff --git a/packages/client-elasticache/src/Errors.ts b/packages/client-elasticache/src/Errors.ts
deleted file mode 100644
index a02bf98..0000000
--- a/packages/client-elasticache/src/Errors.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type {
- ElastiCacheServiceException,
- InvalidCredentialsException,
- InvalidParameterValueException,
- InvalidParameterCombinationException,
-} from "@aws-sdk/client-elasticache";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type InvalidCredentialsError =
- TaggedException;
-export type InvalidParameterValueError =
- TaggedException;
-export type InvalidParameterCombinationError =
- TaggedException;
-
-export type ElastiCacheServiceError = TaggedException<
- ElastiCacheServiceException & { name: "ElastiCacheServiceError" }
->;
-export const ElastiCacheServiceError = Data.tagged(
- "ElastiCacheServiceError",
-);
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-elasticache/src/index.ts b/packages/client-elasticache/src/index.ts
deleted file mode 100644
index 66527dc..0000000
--- a/packages/client-elasticache/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./Errors";
-export * from "./ElastiCacheClientInstance";
-export * from "./ElastiCacheClientInstanceConfig";
-export * from "./ElastiCacheService";
diff --git a/packages/client-elasticache/test/index.test.ts b/packages/client-elasticache/test/index.test.ts
deleted file mode 100644
index 2c562ac..0000000
--- a/packages/client-elasticache/test/index.test.ts
+++ /dev/null
@@ -1,200 +0,0 @@
-import {
- ListTagsForResourceCommand,
- ElastiCacheClient,
- ListTagsForResourceCommandInput,
-} from "@aws-sdk/client-elasticache";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- BaseElastiCacheServiceLayer,
- DefaultElastiCacheClientConfigLayer,
- DefaultElastiCacheServiceLayer,
- ElastiCacheClientInstance,
- ElastiCacheClientInstanceConfig,
- ElastiCacheService,
- ElastiCacheServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const elasticacheMock = mockClient(ElastiCacheClient);
-const { listTagsForResource } = Effect.serviceFunctions(ElastiCacheService);
-
-describe("ElastiCacheClientImpl", () => {
- it("default", async () => {
- elasticacheMock.reset().on(ListTagsForResourceCommand).resolves({});
-
- const args: ListTagsForResourceCommandInput = {
- ResourceName: "test",
- };
-
- const program = listTagsForResource(args);
-
- const result = await pipe(
- program,
- Effect.provide(DefaultElastiCacheServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(elasticacheMock).toHaveReceivedCommandTimes(
- ListTagsForResourceCommand,
- 1,
- );
- expect(elasticacheMock).toHaveReceivedCommandWith(
- ListTagsForResourceCommand,
- args,
- );
- });
-
- it("configurable", async () => {
- elasticacheMock.reset().on(ListTagsForResourceCommand).resolves({});
-
- const args: ListTagsForResourceCommandInput = {
- ResourceName: "test",
- };
-
- const program = listTagsForResource(args);
-
- const ElastiCacheClientConfigLayer = Layer.succeed(
- ElastiCacheClientInstanceConfig,
- {
- region: "eu-central-1",
- },
- );
- const CustomElastiCacheServiceLayer = ElastiCacheServiceLayer.pipe(
- Layer.provide(ElastiCacheClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomElastiCacheServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(elasticacheMock).toHaveReceivedCommandTimes(
- ListTagsForResourceCommand,
- 1,
- );
- expect(elasticacheMock).toHaveReceivedCommandWith(
- ListTagsForResourceCommand,
- args,
- );
- });
-
- it("base", async () => {
- elasticacheMock.reset().on(ListTagsForResourceCommand).resolves({});
-
- const args: ListTagsForResourceCommandInput = {
- ResourceName: "test",
- };
-
- const program = listTagsForResource(args);
-
- const ElastiCacheClientInstanceLayer = Layer.succeed(
- ElastiCacheClientInstance,
- new ElastiCacheClient({ region: "eu-central-1" }),
- );
- const CustomElastiCacheServiceLayer = BaseElastiCacheServiceLayer.pipe(
- Layer.provide(ElastiCacheClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomElastiCacheServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(elasticacheMock).toHaveReceivedCommandTimes(
- ListTagsForResourceCommand,
- 1,
- );
- expect(elasticacheMock).toHaveReceivedCommandWith(
- ListTagsForResourceCommand,
- args,
- );
- });
-
- it("extended", async () => {
- elasticacheMock.reset().on(ListTagsForResourceCommand).resolves({});
-
- const args: ListTagsForResourceCommandInput = {
- ResourceName: "test",
- };
-
- const program = listTagsForResource(args);
-
- const ElastiCacheClientInstanceLayer = Layer.effect(
- ElastiCacheClientInstance,
- Effect.map(
- ElastiCacheClientInstanceConfig,
- (config) =>
- new ElastiCacheClient({ ...config, region: "eu-central-1" }),
- ),
- );
- const CustomElastiCacheServiceLayer = BaseElastiCacheServiceLayer.pipe(
- Layer.provide(ElastiCacheClientInstanceLayer),
- Layer.provide(DefaultElastiCacheClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomElastiCacheServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(elasticacheMock).toHaveReceivedCommandTimes(
- ListTagsForResourceCommand,
- 1,
- );
- expect(elasticacheMock).toHaveReceivedCommandWith(
- ListTagsForResourceCommand,
- args,
- );
- });
-
- it("fail", async () => {
- elasticacheMock
- .reset()
- .on(ListTagsForResourceCommand)
- .rejects(new Error("test"));
-
- const args: ListTagsForResourceCommandInput = {
- ResourceName: "test",
- };
-
- const program = listTagsForResource(args, { requestTimeout: 1000 });
-
- const result = await pipe(
- program,
- Effect.provide(DefaultElastiCacheServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(elasticacheMock).toHaveReceivedCommandTimes(
- ListTagsForResourceCommand,
- 1,
- );
- expect(elasticacheMock).toHaveReceivedCommandWith(
- ListTagsForResourceCommand,
- args,
- );
- });
-});
diff --git a/packages/client-elasticache/tsconfig.dev.json b/packages/client-elasticache/tsconfig.dev.json
deleted file mode 100644
index 278f027..0000000
--- a/packages/client-elasticache/tsconfig.dev.json
+++ /dev/null
@@ -1,37 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts",
- "test/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
-}
diff --git a/packages/client-elasticache/tsconfig.esm.json b/packages/client-elasticache/tsconfig.esm.json
deleted file mode 100644
index 1b04668..0000000
--- a/packages/client-elasticache/tsconfig.esm.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "outDir": "./lib/esm",
- "module": "es6",
- "resolveJsonModule": false,
- "declaration": false
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-elasticache/tsconfig.json b/packages/client-elasticache/tsconfig.json
deleted file mode 100644
index 576047c..0000000
--- a/packages/client-elasticache/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "rootDir": "src",
- "outDir": "lib",
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts"
- ],
- "exclude": []
-}
diff --git a/packages/client-eventbridge/.eslintrc.json b/packages/client-eventbridge/.eslintrc.json
deleted file mode 100644
index c31c44d..0000000
--- a/packages/client-eventbridge/.eslintrc.json
+++ /dev/null
@@ -1,126 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "env": {
- "jest": true,
- "node": true
- },
- "root": true,
- "plugins": [
- "@typescript-eslint",
- "import"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "project": "./tsconfig.dev.json"
- },
- "extends": [
- "plugin:import/typescript",
- "plugin:prettier/recommended"
- ],
- "settings": {
- "import/parsers": {
- "@typescript-eslint/parser": [
- ".ts",
- ".tsx"
- ]
- },
- "import/resolver": {
- "node": {},
- "typescript": {
- "project": "./tsconfig.dev.json",
- "alwaysTryTypes": true
- }
- }
- },
- "ignorePatterns": [
- "*.js",
- "*.d.ts",
- "node_modules/",
- "*.generated.ts",
- "coverage"
- ],
- "rules": {
- "@typescript-eslint/no-require-imports": [
- "error"
- ],
- "import/no-extraneous-dependencies": [
- "error",
- {
- "devDependencies": [
- "**/test/**",
- "**/build-tools/**"
- ],
- "optionalDependencies": false,
- "peerDependencies": true
- }
- ],
- "import/no-unresolved": [
- "error"
- ],
- "import/order": [
- "warn",
- {
- "groups": [
- "builtin",
- "external"
- ],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ],
- "no-duplicate-imports": [
- "error"
- ],
- "no-shadow": [
- "off"
- ],
- "@typescript-eslint/no-shadow": [
- "error"
- ],
- "key-spacing": [
- "error"
- ],
- "no-multiple-empty-lines": [
- "error"
- ],
- "@typescript-eslint/no-floating-promises": [
- "error"
- ],
- "no-return-await": [
- "off"
- ],
- "@typescript-eslint/return-await": [
- "error"
- ],
- "no-trailing-spaces": [
- "error"
- ],
- "dot-notation": [
- "error"
- ],
- "no-bitwise": [
- "error"
- ],
- "@typescript-eslint/member-ordering": [
- "error",
- {
- "default": [
- "public-static-field",
- "public-static-method",
- "protected-static-field",
- "protected-static-method",
- "private-static-field",
- "private-static-method",
- "field",
- "constructor",
- "method"
- ]
- }
- ]
- },
- "overrides": []
-}
diff --git a/packages/client-eventbridge/.gitattributes b/packages/client-eventbridge/.gitattributes
deleted file mode 100644
index 1c2be5a..0000000
--- a/packages/client-eventbridge/.gitattributes
+++ /dev/null
@@ -1,21 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-
-/./tsconfig.esm.json linguist-generated
-/.eslintrc.json linguist-generated
-/.gitattributes linguist-generated
-/.gitignore linguist-generated
-/.npmignore linguist-generated
-/.npmrc linguist-generated
-/.prettierignore linguist-generated
-/.prettierrc.json linguist-generated
-/.projen/** linguist-generated
-/.projen/deps.json linguist-generated
-/.projen/files.json linguist-generated
-/.projen/tasks.json linguist-generated
-/docgen.json linguist-generated
-/LICENSE linguist-generated
-/package.json linguist-generated
-/pnpm-lock.yaml linguist-generated
-/project.json linguist-generated
-/tsconfig.dev.json linguist-generated
-/tsconfig.json linguist-generated
\ No newline at end of file
diff --git a/packages/client-eventbridge/.gitignore b/packages/client-eventbridge/.gitignore
deleted file mode 100644
index e4fdd83..0000000
--- a/packages/client-eventbridge/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-!/.gitattributes
-!/.projen/tasks.json
-!/.projen/deps.json
-!/.projen/files.json
-!/package.json
-!/LICENSE
-!/.npmignore
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-pids
-*.pid
-*.seed
-*.pid.lock
-lib-cov
-coverage
-*.lcov
-.nyc_output
-build/Release
-node_modules/
-jspm_packages/
-*.tsbuildinfo
-.eslintcache
-*.tgz
-.yarn-integrity
-.cache
-!/.prettierignore
-!/.prettierrc.json
-!/.npmrc
-!/test/
-!/tsconfig.json
-!/tsconfig.dev.json
-!/src/
-/lib
-/dist/
-!/.eslintrc.json
-!/tsconfig.esm.json
-!/project.json
-!/docgen.json
-docs/
diff --git a/packages/client-eventbridge/.npmignore b/packages/client-eventbridge/.npmignore
deleted file mode 100644
index 277d62e..0000000
--- a/packages/client-eventbridge/.npmignore
+++ /dev/null
@@ -1,20 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-/.projen/
-/.prettierignore
-/.prettierrc.json
-/test/
-/tsconfig.dev.json
-/src/
-!/lib/
-!/lib/**/*.js
-!/lib/**/*.d.ts
-dist
-/tsconfig.json
-/.github/
-/.vscode/
-/.idea/
-/.projenrc.js
-tsconfig.tsbuildinfo
-/.eslintrc.json
-/tsconfig.esm.json
-/.gitattributes
diff --git a/packages/client-eventbridge/.prettierignore b/packages/client-eventbridge/.prettierignore
deleted file mode 100644
index 46704c7..0000000
--- a/packages/client-eventbridge/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
diff --git a/packages/client-eventbridge/.prettierrc.json b/packages/client-eventbridge/.prettierrc.json
deleted file mode 100644
index 84c85a3..0000000
--- a/packages/client-eventbridge/.prettierrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "overrides": []
-}
diff --git a/packages/client-eventbridge/.projen/deps.json b/packages/client-eventbridge/.projen/deps.json
deleted file mode 100644
index f94e106..0000000
--- a/packages/client-eventbridge/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-eventbridge",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/.projen/files.json b/packages/client-eventbridge/.projen/files.json
deleted file mode 100644
index c38792b..0000000
--- a/packages/client-eventbridge/.projen/files.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "files": [
- ".eslintrc.json",
- ".gitattributes",
- ".gitignore",
- ".npmignore",
- ".prettierignore",
- ".prettierrc.json",
- ".projen/deps.json",
- ".projen/files.json",
- ".projen/tasks.json",
- "docgen.json",
- "LICENSE",
- "project.json",
- "tsconfig.dev.json",
- "tsconfig.esm.json",
- "tsconfig.json"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/.projen/tasks.json b/packages/client-eventbridge/.projen/tasks.json
deleted file mode 100644
index 6ecb00a..0000000
--- a/packages/client-eventbridge/.projen/tasks.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "tasks": {
- "build": {
- "name": "build",
- "description": "Full release build",
- "steps": [
- {
- "spawn": "pre-compile"
- },
- {
- "spawn": "compile"
- },
- {
- "spawn": "post-compile"
- },
- {
- "spawn": "test"
- },
- {
- "spawn": "package"
- }
- ]
- },
- "compile": {
- "name": "compile",
- "description": "Only compile",
- "steps": [
- {
- "exec": "tsc -b ./tsconfig.json ./tsconfig.esm.json"
- }
- ]
- },
- "default": {
- "name": "default",
- "description": "Synthesize project files"
- },
- "eslint": {
- "name": "eslint",
- "description": "Runs eslint against the codebase",
- "steps": [
- {
- "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools",
- "receiveArgs": true
- }
- ]
- },
- "install": {
- "name": "install",
- "description": "Install project dependencies and update lockfile (non-frozen)",
- "steps": [
- {
- "exec": "pnpm i --no-frozen-lockfile"
- }
- ]
- },
- "install:ci": {
- "name": "install:ci",
- "description": "Install project dependencies using frozen lockfile",
- "steps": [
- {
- "exec": "pnpm i --frozen-lockfile"
- }
- ]
- },
- "package": {
- "name": "package",
- "description": "Creates the distribution package"
- },
- "post-compile": {
- "name": "post-compile",
- "description": "Runs after successful compilation"
- },
- "pre-compile": {
- "name": "pre-compile",
- "description": "Prepare the project for compilation"
- },
- "test": {
- "name": "test",
- "description": "Run tests",
- "steps": [
- {
- "exec": "vitest run --globals --reporter verbose",
- "receiveArgs": true
- },
- {
- "spawn": "eslint"
- }
- ]
- },
- "test:watch": {
- "name": "test:watch",
- "description": "Run tests in watch mode",
- "steps": [
- {
- "exec": "vitest --globals --reporter verbose"
- }
- ]
- },
- "watch": {
- "name": "watch",
- "description": "Watch & compile in the background",
- "steps": [
- {
- "exec": "tsc --build -w"
- }
- ]
- }
- },
- "env": {
- "PATH": "$(pnpm -c exec \"node --print process.env.PATH\")"
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/CHANGELOG.md b/packages/client-eventbridge/CHANGELOG.md
deleted file mode 100644
index 33648e6..0000000
--- a/packages/client-eventbridge/CHANGELOG.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# @effect-aws/client-eventbridge
-
-## 1.2.0
-
-### Minor Changes
-
-- [`4b5ee14`](https://github.com/floydspace/effect-aws/commit/4b5ee144d4d2f30e7a841a3cf5ccd7ff87d32132) Thanks [@floydspace](https://github.com/floydspace)! - return proper errors in failure channel in eventbridge and lambda services
-
-## 1.1.1
-
-### Patch Changes
-
-- [`b2f00db`](https://github.com/floydspace/effect-aws/commit/b2f00db5fdffaa74bcb124324db7313bd4f218df) Thanks [@floydspace](https://github.com/floydspace)! - update effect peer version
-
-## 1.1.0
-
-### Minor Changes
-
-- [`82eaea7`](https://github.com/floydspace/effect-aws/commit/82eaea778048c9ebba98682196448b0aa1586d2e) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect to v2.3 and fix breaking changes
-
-## 1.0.2
-
-### Patch Changes
-
-- [`88676ae`](https://github.com/floydspace/effect-aws/commit/88676ae3a5f7fa514cab58ba83a50a0774be1aa1) Thanks [@floydspace](https://github.com/floydspace)! - use effect@~2.2 as maximum allowed peer version
-
-## 1.0.1
-
-### Patch Changes
-
-- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag
-
-## 1.0.0
-
-### Major Changes
-
-- [`3e5d0b3`](https://github.com/floydspace/effect-aws/commit/3e5d0b3b3882e0aa6d07bc06432990551316ac30) Thanks [@floydspace](https://github.com/floydspace)! - Upgrade to effect v2 and release stable version
-
-## 0.4.0
-
-### Minor Changes
-
-- [`744df3c`](https://github.com/floydspace/effect-aws/commit/744df3ca6406b3a35e3066d5fe11ca7082c4c454) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect dependency
-
-## 0.3.0
-
-### Minor Changes
-
-- [`0a969d8`](https://github.com/floydspace/effect-aws/commit/0a969d8a74c3bf1b87ff6a1c8bf689af849797e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect peer version
-
-## 0.2.2
-
-### Patch Changes
-
-- [`280d8bd`](https://github.com/floydspace/effect-aws/commit/280d8bd6686d6e7a2b73322a047e8eb22263b1e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade dependencies
-
-## 0.2.1
-
-### Patch Changes
-
-- [`6b99904`](https://github.com/floydspace/effect-aws/commit/6b9990497bdb20f240d8261b6382db421e9a3ec2) Thanks [@floydspace](https://github.com/floydspace)! - as @mikearnaldi said: "we should really never do tacit passing"
-
-## 0.2.0
-
-### Minor Changes
-
-- [#14](https://github.com/floydspace/effect-aws/pull/14) [`cddfb74`](https://github.com/floydspace/effect-aws/commit/cddfb74a00b10a13ccfe3749e90961119c4f0906) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect version to the next one
-
-## 0.1.0
-
-### Minor Changes
-
-- [`243882e`](https://github.com/floydspace/effect-aws/commit/243882e1bf71fa2c019f52f9d974f8cf1c433912) Thanks [@floydspace](https://github.com/floydspace)! - implement effectful dynamodb, eventbridge and lambda clients
diff --git a/packages/client-eventbridge/LICENSE b/packages/client-eventbridge/LICENSE
deleted file mode 100644
index 7afce46..0000000
--- a/packages/client-eventbridge/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2024 Victor Korzunin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/client-eventbridge/README.md b/packages/client-eventbridge/README.md
deleted file mode 100644
index b3fa7dd..0000000
--- a/packages/client-eventbridge/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# replace this
\ No newline at end of file
diff --git a/packages/client-eventbridge/docgen.json b/packages/client-eventbridge/docgen.json
deleted file mode 100644
index b359fc7..0000000
--- a/packages/client-eventbridge/docgen.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "$schema": "../../node_modules/@effect/docgen/schema.json",
- "exclude": [
- "src/index.ts",
- "src/Errors.ts"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/package.json b/packages/client-eventbridge/package.json
deleted file mode 100644
index 7464148..0000000
--- a/packages/client-eventbridge/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "@effect-aws/client-eventbridge",
- "scripts": {
- "build": "npx projen build",
- "compile": "npx projen compile",
- "default": "npx projen default",
- "eslint": "npx projen eslint",
- "package": "npx projen package",
- "post-compile": "npx projen post-compile",
- "pre-compile": "npx projen pre-compile",
- "test": "npx projen test",
- "test:watch": "npx projen test:watch",
- "watch": "npx projen watch",
- "docgen": "docgen"
- },
- "author": {
- "name": "Victor Korzunin",
- "email": "ifloydrose@gmail.com",
- "organization": false
- },
- "devDependencies": {
- "@types/node": "^18",
- "@typescript-eslint/eslint-plugin": "^6",
- "@typescript-eslint/parser": "^6",
- "aws-sdk-client-mock": "^3.0.0",
- "aws-sdk-client-mock-jest": "^3.0.0",
- "constructs": "^10.0.0",
- "effect": "2.3.1",
- "eslint": "^8",
- "eslint-config-prettier": "^9.0.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-prettier": "^5.0.0",
- "prettier": "^3.0.3",
- "projen": "^0.79.6",
- "typescript": "^5.2.2"
- },
- "peerDependencies": {
- "effect": ">=2.3.1 <2.5.0"
- },
- "dependencies": {
- "@aws-sdk/client-eventbridge": "^3",
- "@aws-sdk/types": "^3"
- },
- "main": "lib/index.js",
- "license": "MIT",
- "homepage": "https://floydspace.github.io/effect-aws",
- "publishConfig": {
- "access": "public"
- },
- "version": "1.2.0",
- "types": "lib/index.d.ts",
- "module": "lib/esm/index.js",
- "sideEffects": [],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/project.json b/packages/client-eventbridge/project.json
deleted file mode 100644
index f69a3ee..0000000
--- a/packages/client-eventbridge/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "@effect-aws/client-eventbridge",
- "root": "packages/client-eventbridge",
- "targets": {
- "default": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen default",
- "cwd": "packages/client-eventbridge"
- }
- },
- "pre-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen pre-compile",
- "cwd": "packages/client-eventbridge"
- }
- },
- "compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen compile",
- "cwd": "packages/client-eventbridge"
- }
- },
- "post-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen post-compile",
- "cwd": "packages/client-eventbridge"
- }
- },
- "test": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test",
- "cwd": "packages/client-eventbridge"
- }
- },
- "package": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen package",
- "cwd": "packages/client-eventbridge"
- }
- },
- "build": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen build",
- "cwd": "packages/client-eventbridge"
- }
- },
- "watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen watch",
- "cwd": "packages/client-eventbridge"
- }
- },
- "eslint": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen eslint",
- "cwd": "packages/client-eventbridge"
- }
- },
- "test:watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test:watch",
- "cwd": "packages/client-eventbridge"
- }
- }
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/src/Errors.ts b/packages/client-eventbridge/src/Errors.ts
deleted file mode 100644
index 7775813..0000000
--- a/packages/client-eventbridge/src/Errors.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import type {
- ConcurrentModificationException,
- IllegalStatusException,
- InternalException,
- InvalidEventPatternException,
- InvalidStateException,
- LimitExceededException,
- ManagedRuleException,
- OperationDisabledException,
- PolicyLengthExceededException,
- ResourceAlreadyExistsException,
- ResourceNotFoundException,
-} from "@aws-sdk/client-eventbridge";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type ConcurrentModificationError =
- TaggedException;
-export type IllegalStatusError = TaggedException;
-export type InternalError = TaggedException;
-export type InvalidEventPatternError =
- TaggedException;
-export type InvalidStateError = TaggedException;
-export type LimitExceededError = TaggedException;
-export type ManagedRuleError = TaggedException;
-export type OperationDisabledError =
- TaggedException;
-export type PolicyLengthExceededError =
- TaggedException;
-export type ResourceAlreadyExistsError =
- TaggedException;
-export type ResourceNotFoundError = TaggedException;
-
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-eventbridge/src/EventBridgeClientInstance.ts b/packages/client-eventbridge/src/EventBridgeClientInstance.ts
deleted file mode 100644
index 4bc1bec..0000000
--- a/packages/client-eventbridge/src/EventBridgeClientInstance.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { EventBridgeClient } from "@aws-sdk/client-eventbridge";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- DefaultEventBridgeClientConfigLayer,
- EventBridgeClientInstanceConfig,
-} from "./EventBridgeClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class EventBridgeClientInstance extends Context.Tag(
- "@effect-aws/client-eventbridge/EventBridgeClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeEventBridgeClientInstance = Effect.map(
- EventBridgeClientInstanceConfig,
- (config) => new EventBridgeClient(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const EventBridgeClientInstanceLayer = Layer.effect(
- EventBridgeClientInstance,
- makeEventBridgeClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEventBridgeClientInstanceLayer =
- EventBridgeClientInstanceLayer.pipe(
- Layer.provide(DefaultEventBridgeClientConfigLayer),
- );
diff --git a/packages/client-eventbridge/src/EventBridgeClientInstanceConfig.ts b/packages/client-eventbridge/src/EventBridgeClientInstanceConfig.ts
deleted file mode 100644
index a2c967f..0000000
--- a/packages/client-eventbridge/src/EventBridgeClientInstanceConfig.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Runtime from "effect/Runtime";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class EventBridgeClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-eventbridge/EventBridgeClientInstanceConfig",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultEventBridgeClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info(m) {
- Effect.logInfo(m).pipe(runSync);
- },
- warn(m) {
- Effect.logWarning(m).pipe(runSync);
- },
- error(m) {
- Effect.logError(m).pipe(runSync);
- },
- debug(m) {
- Effect.logDebug(m).pipe(runSync);
- },
- trace(m) {
- Effect.logTrace(m).pipe(runSync);
- },
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEventBridgeClientConfigLayer = Layer.effect(
- EventBridgeClientInstanceConfig,
- makeDefaultEventBridgeClientInstanceConfig,
-);
diff --git a/packages/client-eventbridge/src/EventBridgeService.ts b/packages/client-eventbridge/src/EventBridgeService.ts
deleted file mode 100644
index f09f03f..0000000
--- a/packages/client-eventbridge/src/EventBridgeService.ts
+++ /dev/null
@@ -1,1085 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- EventBridgeServiceException,
- ActivateEventSourceCommand,
- type ActivateEventSourceCommandInput,
- type ActivateEventSourceCommandOutput,
- CancelReplayCommand,
- type CancelReplayCommandInput,
- type CancelReplayCommandOutput,
- CreateApiDestinationCommand,
- type CreateApiDestinationCommandInput,
- type CreateApiDestinationCommandOutput,
- CreateArchiveCommand,
- type CreateArchiveCommandInput,
- type CreateArchiveCommandOutput,
- CreateConnectionCommand,
- type CreateConnectionCommandInput,
- type CreateConnectionCommandOutput,
- CreateEndpointCommand,
- type CreateEndpointCommandInput,
- type CreateEndpointCommandOutput,
- CreateEventBusCommand,
- type CreateEventBusCommandInput,
- type CreateEventBusCommandOutput,
- CreatePartnerEventSourceCommand,
- type CreatePartnerEventSourceCommandInput,
- type CreatePartnerEventSourceCommandOutput,
- DeactivateEventSourceCommand,
- type DeactivateEventSourceCommandInput,
- type DeactivateEventSourceCommandOutput,
- DeauthorizeConnectionCommand,
- type DeauthorizeConnectionCommandInput,
- type DeauthorizeConnectionCommandOutput,
- DeleteApiDestinationCommand,
- type DeleteApiDestinationCommandInput,
- type DeleteApiDestinationCommandOutput,
- DeleteArchiveCommand,
- type DeleteArchiveCommandInput,
- type DeleteArchiveCommandOutput,
- DeleteConnectionCommand,
- type DeleteConnectionCommandInput,
- type DeleteConnectionCommandOutput,
- DeleteEndpointCommand,
- type DeleteEndpointCommandInput,
- type DeleteEndpointCommandOutput,
- DeleteEventBusCommand,
- type DeleteEventBusCommandInput,
- type DeleteEventBusCommandOutput,
- DeletePartnerEventSourceCommand,
- type DeletePartnerEventSourceCommandInput,
- type DeletePartnerEventSourceCommandOutput,
- DeleteRuleCommand,
- type DeleteRuleCommandInput,
- type DeleteRuleCommandOutput,
- DescribeApiDestinationCommand,
- type DescribeApiDestinationCommandInput,
- type DescribeApiDestinationCommandOutput,
- DescribeArchiveCommand,
- type DescribeArchiveCommandInput,
- type DescribeArchiveCommandOutput,
- DescribeConnectionCommand,
- type DescribeConnectionCommandInput,
- type DescribeConnectionCommandOutput,
- DescribeEndpointCommand,
- type DescribeEndpointCommandInput,
- type DescribeEndpointCommandOutput,
- DescribeEventBusCommand,
- type DescribeEventBusCommandInput,
- type DescribeEventBusCommandOutput,
- DescribeEventSourceCommand,
- type DescribeEventSourceCommandInput,
- type DescribeEventSourceCommandOutput,
- DescribePartnerEventSourceCommand,
- type DescribePartnerEventSourceCommandInput,
- type DescribePartnerEventSourceCommandOutput,
- DescribeReplayCommand,
- type DescribeReplayCommandInput,
- type DescribeReplayCommandOutput,
- DescribeRuleCommand,
- type DescribeRuleCommandInput,
- type DescribeRuleCommandOutput,
- DisableRuleCommand,
- type DisableRuleCommandInput,
- type DisableRuleCommandOutput,
- EnableRuleCommand,
- type EnableRuleCommandInput,
- type EnableRuleCommandOutput,
- ListApiDestinationsCommand,
- type ListApiDestinationsCommandInput,
- type ListApiDestinationsCommandOutput,
- ListArchivesCommand,
- type ListArchivesCommandInput,
- type ListArchivesCommandOutput,
- ListConnectionsCommand,
- type ListConnectionsCommandInput,
- type ListConnectionsCommandOutput,
- ListEndpointsCommand,
- type ListEndpointsCommandInput,
- type ListEndpointsCommandOutput,
- ListEventBusesCommand,
- type ListEventBusesCommandInput,
- type ListEventBusesCommandOutput,
- ListEventSourcesCommand,
- type ListEventSourcesCommandInput,
- type ListEventSourcesCommandOutput,
- ListPartnerEventSourceAccountsCommand,
- type ListPartnerEventSourceAccountsCommandInput,
- type ListPartnerEventSourceAccountsCommandOutput,
- ListPartnerEventSourcesCommand,
- type ListPartnerEventSourcesCommandInput,
- type ListPartnerEventSourcesCommandOutput,
- ListReplaysCommand,
- type ListReplaysCommandInput,
- type ListReplaysCommandOutput,
- ListRuleNamesByTargetCommand,
- type ListRuleNamesByTargetCommandInput,
- type ListRuleNamesByTargetCommandOutput,
- ListRulesCommand,
- type ListRulesCommandInput,
- type ListRulesCommandOutput,
- ListTagsForResourceCommand,
- type ListTagsForResourceCommandInput,
- type ListTagsForResourceCommandOutput,
- ListTargetsByRuleCommand,
- type ListTargetsByRuleCommandInput,
- type ListTargetsByRuleCommandOutput,
- PutEventsCommand,
- type PutEventsCommandInput,
- type PutEventsCommandOutput,
- PutPartnerEventsCommand,
- type PutPartnerEventsCommandInput,
- type PutPartnerEventsCommandOutput,
- PutPermissionCommand,
- type PutPermissionCommandInput,
- type PutPermissionCommandOutput,
- PutRuleCommand,
- type PutRuleCommandInput,
- type PutRuleCommandOutput,
- PutTargetsCommand,
- type PutTargetsCommandInput,
- type PutTargetsCommandOutput,
- RemovePermissionCommand,
- type RemovePermissionCommandInput,
- type RemovePermissionCommandOutput,
- RemoveTargetsCommand,
- type RemoveTargetsCommandInput,
- type RemoveTargetsCommandOutput,
- StartReplayCommand,
- type StartReplayCommandInput,
- type StartReplayCommandOutput,
- TagResourceCommand,
- type TagResourceCommandInput,
- type TagResourceCommandOutput,
- TestEventPatternCommand,
- type TestEventPatternCommandInput,
- type TestEventPatternCommandOutput,
- UntagResourceCommand,
- type UntagResourceCommandInput,
- type UntagResourceCommandOutput,
- UpdateApiDestinationCommand,
- type UpdateApiDestinationCommandInput,
- type UpdateApiDestinationCommandOutput,
- UpdateArchiveCommand,
- type UpdateArchiveCommandInput,
- type UpdateArchiveCommandOutput,
- UpdateConnectionCommand,
- type UpdateConnectionCommandInput,
- type UpdateConnectionCommandOutput,
- UpdateEndpointCommand,
- type UpdateEndpointCommandInput,
- type UpdateEndpointCommandOutput,
-} from "@aws-sdk/client-eventbridge";
-import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Data, Effect, Layer, ReadonlyRecord } from "effect";
-import {
- ConcurrentModificationError,
- IllegalStatusError,
- InternalError,
- InvalidEventPatternError,
- InvalidStateError,
- LimitExceededError,
- ManagedRuleError,
- OperationDisabledError,
- PolicyLengthExceededError,
- ResourceAlreadyExistsError,
- ResourceNotFoundError,
- SdkError,
- TaggedException,
-} from "./Errors";
-import {
- DefaultEventBridgeClientInstanceLayer,
- EventBridgeClientInstance,
- EventBridgeClientInstanceLayer,
-} from "./EventBridgeClientInstance";
-import { DefaultEventBridgeClientConfigLayer } from "./EventBridgeClientInstanceConfig";
-
-const commands = {
- ActivateEventSourceCommand,
- CancelReplayCommand,
- CreateApiDestinationCommand,
- CreateArchiveCommand,
- CreateConnectionCommand,
- CreateEndpointCommand,
- CreateEventBusCommand,
- CreatePartnerEventSourceCommand,
- DeactivateEventSourceCommand,
- DeauthorizeConnectionCommand,
- DeleteApiDestinationCommand,
- DeleteArchiveCommand,
- DeleteConnectionCommand,
- DeleteEndpointCommand,
- DeleteEventBusCommand,
- DeletePartnerEventSourceCommand,
- DeleteRuleCommand,
- DescribeApiDestinationCommand,
- DescribeArchiveCommand,
- DescribeConnectionCommand,
- DescribeEndpointCommand,
- DescribeEventBusCommand,
- DescribeEventSourceCommand,
- DescribePartnerEventSourceCommand,
- DescribeReplayCommand,
- DescribeRuleCommand,
- DisableRuleCommand,
- EnableRuleCommand,
- ListApiDestinationsCommand,
- ListArchivesCommand,
- ListConnectionsCommand,
- ListEndpointsCommand,
- ListEventBusesCommand,
- ListEventSourcesCommand,
- ListPartnerEventSourceAccountsCommand,
- ListPartnerEventSourcesCommand,
- ListReplaysCommand,
- ListRuleNamesByTargetCommand,
- ListRulesCommand,
- ListTagsForResourceCommand,
- ListTargetsByRuleCommand,
- PutEventsCommand,
- PutPartnerEventsCommand,
- PutPermissionCommand,
- PutRuleCommand,
- PutTargetsCommand,
- RemovePermissionCommand,
- RemoveTargetsCommand,
- StartReplayCommand,
- TagResourceCommand,
- TestEventPatternCommand,
- UntagResourceCommand,
- UpdateApiDestinationCommand,
- UpdateArchiveCommand,
- UpdateConnectionCommand,
- UpdateEndpointCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export interface EventBridgeService {
- readonly _: unique symbol;
-
- /**
- * @see {@link ActivateEventSourceCommand}
- */
- activateEventSource(
- args: ActivateEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ActivateEventSourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidStateError
- | OperationDisabledError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CancelReplayCommand}
- */
- cancelReplay(
- args: CancelReplayCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CancelReplayCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | IllegalStatusError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CreateApiDestinationCommand}
- */
- createApiDestination(
- args: CreateApiDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateApiDestinationCommandOutput,
- | SdkError
- | InternalError
- | LimitExceededError
- | ResourceAlreadyExistsError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CreateArchiveCommand}
- */
- createArchive(
- args: CreateArchiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateArchiveCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidEventPatternError
- | LimitExceededError
- | ResourceAlreadyExistsError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CreateConnectionCommand}
- */
- createConnection(
- args: CreateConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateConnectionCommandOutput,
- SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError
- >;
-
- /**
- * @see {@link CreateEndpointCommand}
- */
- createEndpoint(
- args: CreateEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateEndpointCommandOutput,
- SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError
- >;
-
- /**
- * @see {@link CreateEventBusCommand}
- */
- createEventBus(
- args: CreateEventBusCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreateEventBusCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidStateError
- | LimitExceededError
- | OperationDisabledError
- | ResourceAlreadyExistsError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link CreatePartnerEventSourceCommand}
- */
- createPartnerEventSource(
- args: CreatePartnerEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- CreatePartnerEventSourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | LimitExceededError
- | OperationDisabledError
- | ResourceAlreadyExistsError
- >;
-
- /**
- * @see {@link DeactivateEventSourceCommand}
- */
- deactivateEventSource(
- args: DeactivateEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeactivateEventSourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidStateError
- | OperationDisabledError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeauthorizeConnectionCommand}
- */
- deauthorizeConnection(
- args: DeauthorizeConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeauthorizeConnectionCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeleteApiDestinationCommand}
- */
- deleteApiDestination(
- args: DeleteApiDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteApiDestinationCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeleteArchiveCommand}
- */
- deleteArchive(
- args: DeleteArchiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteArchiveCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeleteConnectionCommand}
- */
- deleteConnection(
- args: DeleteConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteConnectionCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeleteEndpointCommand}
- */
- deleteEndpoint(
- args: DeleteEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteEndpointCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DeleteEventBusCommand}
- */
- deleteEventBus(
- args: DeleteEventBusCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteEventBusCommandOutput,
- SdkError | ConcurrentModificationError | InternalError
- >;
-
- /**
- * @see {@link DeletePartnerEventSourceCommand}
- */
- deletePartnerEventSource(
- args: DeletePartnerEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeletePartnerEventSourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | OperationDisabledError
- >;
-
- /**
- * @see {@link DeleteRuleCommand}
- */
- deleteRule(
- args: DeleteRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DeleteRuleCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeApiDestinationCommand}
- */
- describeApiDestination(
- args: DescribeApiDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeApiDestinationCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeArchiveCommand}
- */
- describeArchive(
- args: DescribeArchiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeArchiveCommandOutput,
- | SdkError
- | InternalError
- | ResourceAlreadyExistsError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeConnectionCommand}
- */
- describeConnection(
- args: DescribeConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeConnectionCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeEndpointCommand}
- */
- describeEndpoint(
- args: DescribeEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeEndpointCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeEventBusCommand}
- */
- describeEventBus(
- args: DescribeEventBusCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeEventBusCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeEventSourceCommand}
- */
- describeEventSource(
- args: DescribeEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeEventSourceCommandOutput,
- SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribePartnerEventSourceCommand}
- */
- describePartnerEventSource(
- args: DescribePartnerEventSourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribePartnerEventSourceCommandOutput,
- SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeReplayCommand}
- */
- describeReplay(
- args: DescribeReplayCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeReplayCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DescribeRuleCommand}
- */
- describeRule(
- args: DescribeRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DescribeRuleCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link DisableRuleCommand}
- */
- disableRule(
- args: DisableRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- DisableRuleCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link EnableRuleCommand}
- */
- enableRule(
- args: EnableRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- EnableRuleCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListApiDestinationsCommand}
- */
- listApiDestinations(
- args: ListApiDestinationsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListArchivesCommand}
- */
- listArchives(
- args: ListArchivesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListArchivesCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListConnectionsCommand}
- */
- listConnections(
- args: ListConnectionsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListEndpointsCommand}
- */
- listEndpoints(
- args: ListEndpointsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListEventBusesCommand}
- */
- listEventBuses(
- args: ListEventBusesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListEventSourcesCommand}
- */
- listEventSources(
- args: ListEventSourcesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListEventSourcesCommandOutput,
- SdkError | InternalError | OperationDisabledError
- >;
-
- /**
- * @see {@link ListPartnerEventSourceAccountsCommand}
- */
- listPartnerEventSourceAccounts(
- args: ListPartnerEventSourceAccountsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListPartnerEventSourceAccountsCommandOutput,
- SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListPartnerEventSourcesCommand}
- */
- listPartnerEventSources(
- args: ListPartnerEventSourcesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListPartnerEventSourcesCommandOutput,
- SdkError | InternalError | OperationDisabledError
- >;
-
- /**
- * @see {@link ListReplaysCommand}
- */
- listReplays(
- args: ListReplaysCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link ListRuleNamesByTargetCommand}
- */
- listRuleNamesByTarget(
- args: ListRuleNamesByTargetCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListRuleNamesByTargetCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListRulesCommand}
- */
- listRules(
- args: ListRulesCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListRulesCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListTagsForResourceCommand}
- */
- listTagsForResource(
- args: ListTagsForResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListTagsForResourceCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link ListTargetsByRuleCommand}
- */
- listTargetsByRule(
- args: ListTargetsByRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- ListTargetsByRuleCommandOutput,
- SdkError | InternalError | ResourceNotFoundError
- >;
-
- /**
- * @see {@link PutEventsCommand}
- */
- putEvents(
- args: PutEventsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect;
-
- /**
- * @see {@link PutPartnerEventsCommand}
- */
- putPartnerEvents(
- args: PutPartnerEventsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PutPartnerEventsCommandOutput,
- SdkError | InternalError | OperationDisabledError
- >;
-
- /**
- * @see {@link PutPermissionCommand}
- */
- putPermission(
- args: PutPermissionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PutPermissionCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | OperationDisabledError
- | PolicyLengthExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link PutRuleCommand}
- */
- putRule(
- args: PutRuleCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PutRuleCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidEventPatternError
- | LimitExceededError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link PutTargetsCommand}
- */
- putTargets(
- args: PutTargetsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- PutTargetsCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | LimitExceededError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link RemovePermissionCommand}
- */
- removePermission(
- args: RemovePermissionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- RemovePermissionCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | OperationDisabledError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link RemoveTargetsCommand}
- */
- removeTargets(
- args: RemoveTargetsCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- RemoveTargetsCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link StartReplayCommand}
- */
- startReplay(
- args: StartReplayCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- StartReplayCommandOutput,
- | SdkError
- | InternalError
- | InvalidEventPatternError
- | LimitExceededError
- | ResourceAlreadyExistsError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link TagResourceCommand}
- */
- tagResource(
- args: TagResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- TagResourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link TestEventPatternCommand}
- */
- testEventPattern(
- args: TestEventPatternCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- TestEventPatternCommandOutput,
- SdkError | InternalError | InvalidEventPatternError
- >;
-
- /**
- * @see {@link UntagResourceCommand}
- */
- untagResource(
- args: UntagResourceCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UntagResourceCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ManagedRuleError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateApiDestinationCommand}
- */
- updateApiDestination(
- args: UpdateApiDestinationCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateApiDestinationCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | LimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateArchiveCommand}
- */
- updateArchive(
- args: UpdateArchiveCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateArchiveCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | InvalidEventPatternError
- | LimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateConnectionCommand}
- */
- updateConnection(
- args: UpdateConnectionCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateConnectionCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | LimitExceededError
- | ResourceNotFoundError
- >;
-
- /**
- * @see {@link UpdateEndpointCommand}
- */
- updateEndpoint(
- args: UpdateEndpointCommandInput,
- options?: __HttpHandlerOptions,
- ): Effect.Effect<
- UpdateEndpointCommandOutput,
- | SdkError
- | ConcurrentModificationError
- | InternalError
- | ResourceNotFoundError
- >;
-}
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const EventBridgeService = Context.GenericTag(
- "@effect-aws/client-eventbridge/EventBridgeService",
-);
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeEventBridgeService = Effect.gen(function* (_) {
- const client = yield* _(EventBridgeClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof EventBridgeServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as EventBridgeService;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseEventBridgeServiceLayer = Layer.effect(
- EventBridgeService,
- makeEventBridgeService,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const EventBridgeServiceLayer = BaseEventBridgeServiceLayer.pipe(
- Layer.provide(EventBridgeClientInstanceLayer),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultEventBridgeServiceLayer = EventBridgeServiceLayer.pipe(
- Layer.provide(DefaultEventBridgeClientConfigLayer),
-);
-
-// -------------------- Danger Zone --------------------
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const BaseEventBridgeServiceEffect = makeEventBridgeService;
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const EventBridgeServiceEffect = BaseEventBridgeServiceEffect.pipe(
- Effect.provide(EventBridgeClientInstanceLayer),
-);
-
-/**
- * @since 0.1.0
- * @deprecated
- */
-export const DefaultEventBridgeServiceEffect =
- BaseEventBridgeServiceEffect.pipe(
- Effect.provide(DefaultEventBridgeClientInstanceLayer),
- );
diff --git a/packages/client-eventbridge/src/index.ts b/packages/client-eventbridge/src/index.ts
deleted file mode 100644
index 7355e29..0000000
--- a/packages/client-eventbridge/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./Errors";
-export * from "./EventBridgeClientInstance";
-export * from "./EventBridgeClientInstanceConfig";
-export * from "./EventBridgeService";
diff --git a/packages/client-eventbridge/test/EventBridge.test.ts b/packages/client-eventbridge/test/EventBridge.test.ts
deleted file mode 100644
index b83a16a..0000000
--- a/packages/client-eventbridge/test/EventBridge.test.ts
+++ /dev/null
@@ -1,166 +0,0 @@
-import {
- type PutEventsCommandInput,
- PutEventsCommand,
- EventBridgeClient,
-} from "@aws-sdk/client-eventbridge";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- BaseEventBridgeServiceLayer,
- DefaultEventBridgeClientConfigLayer,
- DefaultEventBridgeServiceLayer,
- EventBridgeClientInstance,
- EventBridgeClientInstanceConfig,
- EventBridgeService,
- EventBridgeServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const clientMock = mockClient(EventBridgeClient);
-
-describe("EventBridgeClientImpl", () => {
- it("default", async () => {
- clientMock.reset().on(PutEventsCommand).resolves({});
-
- const args: PutEventsCommandInput = { Entries: [{ Detail: "test" }] };
-
- const program = Effect.flatMap(EventBridgeService, (service) =>
- service.putEvents(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultEventBridgeServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(PutEventsCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(PutEventsCommand, args);
- });
-
- it("configurable", async () => {
- clientMock.reset().on(PutEventsCommand).resolves({});
-
- const args: PutEventsCommandInput = { Entries: [{ Detail: "test" }] };
-
- const program = Effect.flatMap(EventBridgeService, (service) =>
- service.putEvents(args),
- );
-
- const EventBridgeClientConfigLayer = Layer.succeed(
- EventBridgeClientInstanceConfig,
- {
- region: "eu-central-1",
- },
- );
- const CustomEventBridgeServiceLayer = EventBridgeServiceLayer.pipe(
- Layer.provide(EventBridgeClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEventBridgeServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(PutEventsCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(PutEventsCommand, args);
- });
-
- it("base", async () => {
- clientMock.reset().on(PutEventsCommand).resolves({});
-
- const args: PutEventsCommandInput = { Entries: [{ Detail: "test" }] };
-
- const program = Effect.flatMap(EventBridgeService, (service) =>
- service.putEvents(args),
- );
-
- const EventBridgeClientInstanceLayer = Layer.succeed(
- EventBridgeClientInstance,
- new EventBridgeClient({ region: "eu-central-1" }),
- );
- const CustomEventBridgeServiceLayer = BaseEventBridgeServiceLayer.pipe(
- Layer.provide(EventBridgeClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEventBridgeServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(PutEventsCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(PutEventsCommand, args);
- });
-
- it("extended", async () => {
- clientMock.reset().on(PutEventsCommand).resolves({});
-
- const args: PutEventsCommandInput = { Entries: [{ Detail: "test" }] };
-
- const program = Effect.flatMap(EventBridgeService, (service) =>
- service.putEvents(args),
- );
-
- const EventBridgeClientInstanceLayer = Layer.effect(
- EventBridgeClientInstance,
- Effect.map(
- EventBridgeClientInstanceConfig,
- (config) =>
- new EventBridgeClient({ ...config, region: "eu-central-1" }),
- ),
- );
- const CustomEventBridgeServiceLayer = BaseEventBridgeServiceLayer.pipe(
- Layer.provide(EventBridgeClientInstanceLayer),
- Layer.provide(DefaultEventBridgeClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomEventBridgeServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(PutEventsCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(PutEventsCommand, args);
- });
-
- it("fail", async () => {
- clientMock.reset().on(PutEventsCommand).rejects(new Error("test"));
-
- const args: PutEventsCommandInput = { Entries: [{ Detail: "test" }] };
-
- const program = Effect.flatMap(EventBridgeService, (service) =>
- service.putEvents(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultEventBridgeServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(clientMock).toHaveReceivedCommandTimes(PutEventsCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(PutEventsCommand, args);
- });
-});
diff --git a/packages/client-eventbridge/tsconfig.dev.json b/packages/client-eventbridge/tsconfig.dev.json
deleted file mode 100644
index 278f027..0000000
--- a/packages/client-eventbridge/tsconfig.dev.json
+++ /dev/null
@@ -1,37 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts",
- "test/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
-}
diff --git a/packages/client-eventbridge/tsconfig.esm.json b/packages/client-eventbridge/tsconfig.esm.json
deleted file mode 100644
index 1b04668..0000000
--- a/packages/client-eventbridge/tsconfig.esm.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "outDir": "./lib/esm",
- "module": "es6",
- "resolveJsonModule": false,
- "declaration": false
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-eventbridge/tsconfig.json b/packages/client-eventbridge/tsconfig.json
deleted file mode 100644
index 576047c..0000000
--- a/packages/client-eventbridge/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "rootDir": "src",
- "outDir": "lib",
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts"
- ],
- "exclude": []
-}
diff --git a/packages/client-iam/.eslintrc.json b/packages/client-iam/.eslintrc.json
deleted file mode 100644
index c31c44d..0000000
--- a/packages/client-iam/.eslintrc.json
+++ /dev/null
@@ -1,126 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "env": {
- "jest": true,
- "node": true
- },
- "root": true,
- "plugins": [
- "@typescript-eslint",
- "import"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "project": "./tsconfig.dev.json"
- },
- "extends": [
- "plugin:import/typescript",
- "plugin:prettier/recommended"
- ],
- "settings": {
- "import/parsers": {
- "@typescript-eslint/parser": [
- ".ts",
- ".tsx"
- ]
- },
- "import/resolver": {
- "node": {},
- "typescript": {
- "project": "./tsconfig.dev.json",
- "alwaysTryTypes": true
- }
- }
- },
- "ignorePatterns": [
- "*.js",
- "*.d.ts",
- "node_modules/",
- "*.generated.ts",
- "coverage"
- ],
- "rules": {
- "@typescript-eslint/no-require-imports": [
- "error"
- ],
- "import/no-extraneous-dependencies": [
- "error",
- {
- "devDependencies": [
- "**/test/**",
- "**/build-tools/**"
- ],
- "optionalDependencies": false,
- "peerDependencies": true
- }
- ],
- "import/no-unresolved": [
- "error"
- ],
- "import/order": [
- "warn",
- {
- "groups": [
- "builtin",
- "external"
- ],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ],
- "no-duplicate-imports": [
- "error"
- ],
- "no-shadow": [
- "off"
- ],
- "@typescript-eslint/no-shadow": [
- "error"
- ],
- "key-spacing": [
- "error"
- ],
- "no-multiple-empty-lines": [
- "error"
- ],
- "@typescript-eslint/no-floating-promises": [
- "error"
- ],
- "no-return-await": [
- "off"
- ],
- "@typescript-eslint/return-await": [
- "error"
- ],
- "no-trailing-spaces": [
- "error"
- ],
- "dot-notation": [
- "error"
- ],
- "no-bitwise": [
- "error"
- ],
- "@typescript-eslint/member-ordering": [
- "error",
- {
- "default": [
- "public-static-field",
- "public-static-method",
- "protected-static-field",
- "protected-static-method",
- "private-static-field",
- "private-static-method",
- "field",
- "constructor",
- "method"
- ]
- }
- ]
- },
- "overrides": []
-}
diff --git a/packages/client-iam/.gitattributes b/packages/client-iam/.gitattributes
deleted file mode 100644
index 1c2be5a..0000000
--- a/packages/client-iam/.gitattributes
+++ /dev/null
@@ -1,21 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-
-/./tsconfig.esm.json linguist-generated
-/.eslintrc.json linguist-generated
-/.gitattributes linguist-generated
-/.gitignore linguist-generated
-/.npmignore linguist-generated
-/.npmrc linguist-generated
-/.prettierignore linguist-generated
-/.prettierrc.json linguist-generated
-/.projen/** linguist-generated
-/.projen/deps.json linguist-generated
-/.projen/files.json linguist-generated
-/.projen/tasks.json linguist-generated
-/docgen.json linguist-generated
-/LICENSE linguist-generated
-/package.json linguist-generated
-/pnpm-lock.yaml linguist-generated
-/project.json linguist-generated
-/tsconfig.dev.json linguist-generated
-/tsconfig.json linguist-generated
\ No newline at end of file
diff --git a/packages/client-iam/.gitignore b/packages/client-iam/.gitignore
deleted file mode 100644
index e4fdd83..0000000
--- a/packages/client-iam/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-!/.gitattributes
-!/.projen/tasks.json
-!/.projen/deps.json
-!/.projen/files.json
-!/package.json
-!/LICENSE
-!/.npmignore
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-pids
-*.pid
-*.seed
-*.pid.lock
-lib-cov
-coverage
-*.lcov
-.nyc_output
-build/Release
-node_modules/
-jspm_packages/
-*.tsbuildinfo
-.eslintcache
-*.tgz
-.yarn-integrity
-.cache
-!/.prettierignore
-!/.prettierrc.json
-!/.npmrc
-!/test/
-!/tsconfig.json
-!/tsconfig.dev.json
-!/src/
-/lib
-/dist/
-!/.eslintrc.json
-!/tsconfig.esm.json
-!/project.json
-!/docgen.json
-docs/
diff --git a/packages/client-iam/.npmignore b/packages/client-iam/.npmignore
deleted file mode 100644
index 277d62e..0000000
--- a/packages/client-iam/.npmignore
+++ /dev/null
@@ -1,20 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-/.projen/
-/.prettierignore
-/.prettierrc.json
-/test/
-/tsconfig.dev.json
-/src/
-!/lib/
-!/lib/**/*.js
-!/lib/**/*.d.ts
-dist
-/tsconfig.json
-/.github/
-/.vscode/
-/.idea/
-/.projenrc.js
-tsconfig.tsbuildinfo
-/.eslintrc.json
-/tsconfig.esm.json
-/.gitattributes
diff --git a/packages/client-iam/.prettierignore b/packages/client-iam/.prettierignore
deleted file mode 100644
index 46704c7..0000000
--- a/packages/client-iam/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
diff --git a/packages/client-iam/.prettierrc.json b/packages/client-iam/.prettierrc.json
deleted file mode 100644
index 84c85a3..0000000
--- a/packages/client-iam/.prettierrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "overrides": []
-}
diff --git a/packages/client-iam/.projen/files.json b/packages/client-iam/.projen/files.json
deleted file mode 100644
index c38792b..0000000
--- a/packages/client-iam/.projen/files.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "files": [
- ".eslintrc.json",
- ".gitattributes",
- ".gitignore",
- ".npmignore",
- ".prettierignore",
- ".prettierrc.json",
- ".projen/deps.json",
- ".projen/files.json",
- ".projen/tasks.json",
- "docgen.json",
- "LICENSE",
- "project.json",
- "tsconfig.dev.json",
- "tsconfig.esm.json",
- "tsconfig.json"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/.projen/tasks.json b/packages/client-iam/.projen/tasks.json
deleted file mode 100644
index 6ecb00a..0000000
--- a/packages/client-iam/.projen/tasks.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "tasks": {
- "build": {
- "name": "build",
- "description": "Full release build",
- "steps": [
- {
- "spawn": "pre-compile"
- },
- {
- "spawn": "compile"
- },
- {
- "spawn": "post-compile"
- },
- {
- "spawn": "test"
- },
- {
- "spawn": "package"
- }
- ]
- },
- "compile": {
- "name": "compile",
- "description": "Only compile",
- "steps": [
- {
- "exec": "tsc -b ./tsconfig.json ./tsconfig.esm.json"
- }
- ]
- },
- "default": {
- "name": "default",
- "description": "Synthesize project files"
- },
- "eslint": {
- "name": "eslint",
- "description": "Runs eslint against the codebase",
- "steps": [
- {
- "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools",
- "receiveArgs": true
- }
- ]
- },
- "install": {
- "name": "install",
- "description": "Install project dependencies and update lockfile (non-frozen)",
- "steps": [
- {
- "exec": "pnpm i --no-frozen-lockfile"
- }
- ]
- },
- "install:ci": {
- "name": "install:ci",
- "description": "Install project dependencies using frozen lockfile",
- "steps": [
- {
- "exec": "pnpm i --frozen-lockfile"
- }
- ]
- },
- "package": {
- "name": "package",
- "description": "Creates the distribution package"
- },
- "post-compile": {
- "name": "post-compile",
- "description": "Runs after successful compilation"
- },
- "pre-compile": {
- "name": "pre-compile",
- "description": "Prepare the project for compilation"
- },
- "test": {
- "name": "test",
- "description": "Run tests",
- "steps": [
- {
- "exec": "vitest run --globals --reporter verbose",
- "receiveArgs": true
- },
- {
- "spawn": "eslint"
- }
- ]
- },
- "test:watch": {
- "name": "test:watch",
- "description": "Run tests in watch mode",
- "steps": [
- {
- "exec": "vitest --globals --reporter verbose"
- }
- ]
- },
- "watch": {
- "name": "watch",
- "description": "Watch & compile in the background",
- "steps": [
- {
- "exec": "tsc --build -w"
- }
- ]
- }
- },
- "env": {
- "PATH": "$(pnpm -c exec \"node --print process.env.PATH\")"
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/CHANGELOG.md b/packages/client-iam/CHANGELOG.md
deleted file mode 100644
index 907b532..0000000
--- a/packages/client-iam/CHANGELOG.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# @effect-aws/client-iam
-
-## 1.1.1
-
-### Patch Changes
-
-- [`b2f00db`](https://github.com/floydspace/effect-aws/commit/b2f00db5fdffaa74bcb124324db7313bd4f218df) Thanks [@floydspace](https://github.com/floydspace)! - update effect peer version
-
-## 1.1.0
-
-### Minor Changes
-
-- [`82eaea7`](https://github.com/floydspace/effect-aws/commit/82eaea778048c9ebba98682196448b0aa1586d2e) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect to v2.3 and fix breaking changes
-
-## 1.0.2
-
-### Patch Changes
-
-- [`88676ae`](https://github.com/floydspace/effect-aws/commit/88676ae3a5f7fa514cab58ba83a50a0774be1aa1) Thanks [@floydspace](https://github.com/floydspace)! - use effect@~2.2 as maximum allowed peer version
-
-## 1.0.1
-
-### Patch Changes
-
-- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag
-
-## 1.0.0
-
-### Major Changes
-
-- [#24](https://github.com/floydspace/effect-aws/pull/24) [`dfa2ff9`](https://github.com/floydspace/effect-aws/commit/dfa2ff94ba0bebf1dddcd65ed055207980adc452) Thanks [@godu](https://github.com/godu)! - implement effectful iam client
diff --git a/packages/client-iam/LICENSE b/packages/client-iam/LICENSE
deleted file mode 100644
index 7afce46..0000000
--- a/packages/client-iam/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2024 Victor Korzunin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/client-iam/README.md b/packages/client-iam/README.md
deleted file mode 100644
index b3fa7dd..0000000
--- a/packages/client-iam/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# replace this
\ No newline at end of file
diff --git a/packages/client-iam/docgen.json b/packages/client-iam/docgen.json
deleted file mode 100644
index b359fc7..0000000
--- a/packages/client-iam/docgen.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "$schema": "../../node_modules/@effect/docgen/schema.json",
- "exclude": [
- "src/index.ts",
- "src/Errors.ts"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/package.json b/packages/client-iam/package.json
deleted file mode 100644
index 6b98373..0000000
--- a/packages/client-iam/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "@effect-aws/client-iam",
- "scripts": {
- "build": "npx projen build",
- "compile": "npx projen compile",
- "default": "npx projen default",
- "eslint": "npx projen eslint",
- "package": "npx projen package",
- "post-compile": "npx projen post-compile",
- "pre-compile": "npx projen pre-compile",
- "test": "npx projen test",
- "test:watch": "npx projen test:watch",
- "watch": "npx projen watch",
- "docgen": "docgen"
- },
- "author": {
- "name": "Victor Korzunin",
- "email": "ifloydrose@gmail.com",
- "organization": false
- },
- "devDependencies": {
- "@types/node": "^18",
- "@typescript-eslint/eslint-plugin": "^6",
- "@typescript-eslint/parser": "^6",
- "aws-sdk-client-mock": "^3.0.0",
- "aws-sdk-client-mock-jest": "^3.0.0",
- "constructs": "^10.0.0",
- "effect": "2.3.1",
- "eslint": "^8",
- "eslint-config-prettier": "^9.0.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-prettier": "^5.0.0",
- "prettier": "^3.0.3",
- "projen": "^0.79.6",
- "typescript": "^5.2.2"
- },
- "peerDependencies": {
- "effect": ">=2.3.1 <2.5.0"
- },
- "dependencies": {
- "@aws-sdk/client-iam": "^3",
- "@aws-sdk/types": "^3"
- },
- "main": "lib/index.js",
- "license": "MIT",
- "homepage": "https://floydspace.github.io/effect-aws",
- "publishConfig": {
- "access": "public"
- },
- "version": "1.1.1",
- "types": "lib/index.d.ts",
- "module": "lib/esm/index.js",
- "sideEffects": [],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/project.json b/packages/client-iam/project.json
deleted file mode 100644
index 09b9970..0000000
--- a/packages/client-iam/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "@effect-aws/client-iam",
- "root": "packages/client-iam",
- "targets": {
- "default": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen default",
- "cwd": "packages/client-iam"
- }
- },
- "pre-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen pre-compile",
- "cwd": "packages/client-iam"
- }
- },
- "compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen compile",
- "cwd": "packages/client-iam"
- }
- },
- "post-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen post-compile",
- "cwd": "packages/client-iam"
- }
- },
- "test": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test",
- "cwd": "packages/client-iam"
- }
- },
- "package": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen package",
- "cwd": "packages/client-iam"
- }
- },
- "build": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen build",
- "cwd": "packages/client-iam"
- }
- },
- "watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen watch",
- "cwd": "packages/client-iam"
- }
- },
- "eslint": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen eslint",
- "cwd": "packages/client-iam"
- }
- },
- "test:watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test:watch",
- "cwd": "packages/client-iam"
- }
- }
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/src/Errors.ts b/packages/client-iam/src/Errors.ts
deleted file mode 100644
index 488a970..0000000
--- a/packages/client-iam/src/Errors.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-import type {
- ConcurrentModificationException,
- CredentialReportExpiredException,
- CredentialReportNotPresentException,
- CredentialReportNotReadyException,
- DeleteConflictException,
- DuplicateCertificateException,
- DuplicateSSHPublicKeyException,
- EntityAlreadyExistsException,
- EntityTemporarilyUnmodifiableException,
- IAMServiceException,
- InvalidAuthenticationCodeException,
- InvalidCertificateException,
- InvalidInputException,
- InvalidPublicKeyException,
- InvalidUserTypeException,
- KeyPairMismatchException,
- LimitExceededException,
- MalformedCertificateException,
- MalformedPolicyDocumentException,
- NoSuchEntityException,
- PasswordPolicyViolationException,
- PolicyEvaluationException,
- PolicyNotAttachableException,
- ReportGenerationLimitExceededException,
- ServiceFailureException,
- ServiceNotSupportedException,
- UnmodifiableEntityException,
- UnrecognizedPublicKeyEncodingException,
-} from "@aws-sdk/client-iam";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type ConcurrentModificationError =
- TaggedException;
-export type CredentialReportExpiredError =
- TaggedException;
-export type CredentialReportNotPresentError =
- TaggedException;
-export type CredentialReportNotReadyError =
- TaggedException;
-export type DeleteConflictError = TaggedException;
-export type DuplicateCertificateError =
- TaggedException;
-export type DuplicateSSHPublicKeyError =
- TaggedException;
-export type EntityAlreadyExistsError =
- TaggedException;
-export type EntityTemporarilyUnmodifiableError =
- TaggedException;
-export type InvalidAuthenticationCodeError =
- TaggedException;
-export type InvalidCertificateError =
- TaggedException;
-export type InvalidInputError = TaggedException;
-export type InvalidPublicKeyError = TaggedException;
-export type InvalidUserTypeError = TaggedException;
-export type KeyPairMismatchError = TaggedException;
-export type LimitExceededError = TaggedException;
-export type MalformedCertificateError =
- TaggedException;
-export type MalformedPolicyDocumentError =
- TaggedException;
-export type NoSuchEntityError = TaggedException;
-export type PasswordPolicyViolationError =
- TaggedException;
-export type PolicyEvaluationError = TaggedException;
-export type PolicyNotAttachableError =
- TaggedException;
-export type ReportGenerationLimitExceededError =
- TaggedException;
-export type ServiceFailureError = TaggedException;
-export type ServiceNotSupportedError =
- TaggedException;
-export type UnmodifiableEntityError =
- TaggedException;
-export type UnrecognizedPublicKeyEncodingError =
- TaggedException;
-
-export type IAMServiceError = TaggedException<
- IAMServiceException & { name: "IAMServiceError" }
->;
-export const IAMServiceError = Data.tagged("IAMServiceError");
-export type SdkError = TaggedException;
-export const SdkError = Data.tagged("SdkError");
diff --git a/packages/client-iam/src/IAMClientInstance.ts b/packages/client-iam/src/IAMClientInstance.ts
deleted file mode 100644
index 6e36655..0000000
--- a/packages/client-iam/src/IAMClientInstance.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * @since 1.0.0
- */
-import { IAMClient } from "@aws-sdk/client-iam";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import {
- DefaultIAMClientConfigLayer,
- IAMClientInstanceConfig,
-} from "./IAMClientInstanceConfig";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class IAMClientInstance extends Context.Tag(
- "@effect-aws/client-iam/IAMClientInstance",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeIAMClientInstance = Effect.map(
- IAMClientInstanceConfig,
- (config) => new IAMClient(config),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const IAMClientInstanceLayer = Layer.effect(
- IAMClientInstance,
- makeIAMClientInstance,
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultIAMClientInstanceLayer = IAMClientInstanceLayer.pipe(
- Layer.provide(DefaultIAMClientConfigLayer),
-);
diff --git a/packages/client-iam/src/IAMClientInstanceConfig.ts b/packages/client-iam/src/IAMClientInstanceConfig.ts
deleted file mode 100644
index 9acae8a..0000000
--- a/packages/client-iam/src/IAMClientInstanceConfig.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * @since 1.0.0
- */
-import type { IAMClientConfig } from "@aws-sdk/client-iam";
-import * as Context from "effect/Context";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Runtime from "effect/Runtime";
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export class IAMClientInstanceConfig extends Context.Tag(
- "@effect-aws/client-iam/IAMClientInstanceConfig",
-)() {}
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeDefaultIAMClientInstanceConfig: Effect.Effect =
- Effect.gen(function* (_) {
- const runtime = yield* _(Effect.runtime());
- const runSync = Runtime.runSync(runtime);
-
- return {
- logger: {
- info(m) {
- Effect.logInfo(m).pipe(runSync);
- },
- warn(m) {
- Effect.logWarning(m).pipe(runSync);
- },
- error(m) {
- Effect.logError(m).pipe(runSync);
- },
- debug(m) {
- Effect.logDebug(m).pipe(runSync);
- },
- trace(m) {
- Effect.logTrace(m).pipe(runSync);
- },
- },
- };
- });
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultIAMClientConfigLayer = Layer.effect(
- IAMClientInstanceConfig,
- makeDefaultIAMClientInstanceConfig,
-);
diff --git a/packages/client-iam/src/IAMService.ts b/packages/client-iam/src/IAMService.ts
deleted file mode 100644
index 4c3f49d..0000000
--- a/packages/client-iam/src/IAMService.ts
+++ /dev/null
@@ -1,3048 +0,0 @@
-/**
- * @since 1.0.0
- */
-import {
- IAMServiceException,
- AddClientIDToOpenIDConnectProviderCommand,
- type AddClientIDToOpenIDConnectProviderCommandInput,
- type AddClientIDToOpenIDConnectProviderCommandOutput,
- AddRoleToInstanceProfileCommand,
- type AddRoleToInstanceProfileCommandInput,
- type AddRoleToInstanceProfileCommandOutput,
- AddUserToGroupCommand,
- type AddUserToGroupCommandInput,
- type AddUserToGroupCommandOutput,
- AttachGroupPolicyCommand,
- type AttachGroupPolicyCommandInput,
- type AttachGroupPolicyCommandOutput,
- AttachRolePolicyCommand,
- type AttachRolePolicyCommandInput,
- type AttachRolePolicyCommandOutput,
- AttachUserPolicyCommand,
- type AttachUserPolicyCommandInput,
- type AttachUserPolicyCommandOutput,
- ChangePasswordCommand,
- type ChangePasswordCommandInput,
- type ChangePasswordCommandOutput,
- CreateAccessKeyCommand,
- type CreateAccessKeyCommandInput,
- type CreateAccessKeyCommandOutput,
- CreateAccountAliasCommand,
- type CreateAccountAliasCommandInput,
- type CreateAccountAliasCommandOutput,
- CreateGroupCommand,
- type CreateGroupCommandInput,
- type CreateGroupCommandOutput,
- CreateInstanceProfileCommand,
- type CreateInstanceProfileCommandInput,
- type CreateInstanceProfileCommandOutput,
- CreateLoginProfileCommand,
- type CreateLoginProfileCommandInput,
- type CreateLoginProfileCommandOutput,
- CreateOpenIDConnectProviderCommand,
- type CreateOpenIDConnectProviderCommandInput,
- type CreateOpenIDConnectProviderCommandOutput,
- CreatePolicyCommand,
- type CreatePolicyCommandInput,
- type CreatePolicyCommandOutput,
- CreatePolicyVersionCommand,
- type CreatePolicyVersionCommandInput,
- type CreatePolicyVersionCommandOutput,
- CreateRoleCommand,
- type CreateRoleCommandInput,
- type CreateRoleCommandOutput,
- CreateSAMLProviderCommand,
- type CreateSAMLProviderCommandInput,
- type CreateSAMLProviderCommandOutput,
- CreateServiceLinkedRoleCommand,
- type CreateServiceLinkedRoleCommandInput,
- type CreateServiceLinkedRoleCommandOutput,
- CreateServiceSpecificCredentialCommand,
- type CreateServiceSpecificCredentialCommandInput,
- type CreateServiceSpecificCredentialCommandOutput,
- CreateUserCommand,
- type CreateUserCommandInput,
- type CreateUserCommandOutput,
- CreateVirtualMFADeviceCommand,
- type CreateVirtualMFADeviceCommandInput,
- type CreateVirtualMFADeviceCommandOutput,
- DeactivateMFADeviceCommand,
- type DeactivateMFADeviceCommandInput,
- type DeactivateMFADeviceCommandOutput,
- DeleteAccessKeyCommand,
- type DeleteAccessKeyCommandInput,
- type DeleteAccessKeyCommandOutput,
- DeleteAccountAliasCommand,
- type DeleteAccountAliasCommandInput,
- type DeleteAccountAliasCommandOutput,
- DeleteAccountPasswordPolicyCommand,
- type DeleteAccountPasswordPolicyCommandInput,
- type DeleteAccountPasswordPolicyCommandOutput,
- DeleteGroupCommand,
- type DeleteGroupCommandInput,
- type DeleteGroupCommandOutput,
- DeleteGroupPolicyCommand,
- type DeleteGroupPolicyCommandInput,
- type DeleteGroupPolicyCommandOutput,
- DeleteInstanceProfileCommand,
- type DeleteInstanceProfileCommandInput,
- type DeleteInstanceProfileCommandOutput,
- DeleteLoginProfileCommand,
- type DeleteLoginProfileCommandInput,
- type DeleteLoginProfileCommandOutput,
- DeleteOpenIDConnectProviderCommand,
- type DeleteOpenIDConnectProviderCommandInput,
- type DeleteOpenIDConnectProviderCommandOutput,
- DeletePolicyCommand,
- type DeletePolicyCommandInput,
- type DeletePolicyCommandOutput,
- DeletePolicyVersionCommand,
- type DeletePolicyVersionCommandInput,
- type DeletePolicyVersionCommandOutput,
- DeleteRoleCommand,
- type DeleteRoleCommandInput,
- type DeleteRoleCommandOutput,
- DeleteRolePermissionsBoundaryCommand,
- type DeleteRolePermissionsBoundaryCommandInput,
- type DeleteRolePermissionsBoundaryCommandOutput,
- DeleteRolePolicyCommand,
- type DeleteRolePolicyCommandInput,
- type DeleteRolePolicyCommandOutput,
- DeleteSAMLProviderCommand,
- type DeleteSAMLProviderCommandInput,
- type DeleteSAMLProviderCommandOutput,
- DeleteServerCertificateCommand,
- type DeleteServerCertificateCommandInput,
- type DeleteServerCertificateCommandOutput,
- DeleteServiceLinkedRoleCommand,
- type DeleteServiceLinkedRoleCommandInput,
- type DeleteServiceLinkedRoleCommandOutput,
- DeleteServiceSpecificCredentialCommand,
- type DeleteServiceSpecificCredentialCommandInput,
- type DeleteServiceSpecificCredentialCommandOutput,
- DeleteSigningCertificateCommand,
- type DeleteSigningCertificateCommandInput,
- type DeleteSigningCertificateCommandOutput,
- DeleteSSHPublicKeyCommand,
- type DeleteSSHPublicKeyCommandInput,
- type DeleteSSHPublicKeyCommandOutput,
- DeleteUserCommand,
- type DeleteUserCommandInput,
- type DeleteUserCommandOutput,
- DeleteUserPermissionsBoundaryCommand,
- type DeleteUserPermissionsBoundaryCommandInput,
- type DeleteUserPermissionsBoundaryCommandOutput,
- DeleteUserPolicyCommand,
- type DeleteUserPolicyCommandInput,
- type DeleteUserPolicyCommandOutput,
- DeleteVirtualMFADeviceCommand,
- type DeleteVirtualMFADeviceCommandInput,
- type DeleteVirtualMFADeviceCommandOutput,
- DetachGroupPolicyCommand,
- type DetachGroupPolicyCommandInput,
- type DetachGroupPolicyCommandOutput,
- DetachRolePolicyCommand,
- type DetachRolePolicyCommandInput,
- type DetachRolePolicyCommandOutput,
- DetachUserPolicyCommand,
- type DetachUserPolicyCommandInput,
- type DetachUserPolicyCommandOutput,
- EnableMFADeviceCommand,
- type EnableMFADeviceCommandInput,
- type EnableMFADeviceCommandOutput,
- GenerateCredentialReportCommand,
- type GenerateCredentialReportCommandInput,
- type GenerateCredentialReportCommandOutput,
- GenerateOrganizationsAccessReportCommand,
- type GenerateOrganizationsAccessReportCommandInput,
- type GenerateOrganizationsAccessReportCommandOutput,
- GenerateServiceLastAccessedDetailsCommand,
- type GenerateServiceLastAccessedDetailsCommandInput,
- type GenerateServiceLastAccessedDetailsCommandOutput,
- GetAccessKeyLastUsedCommand,
- type GetAccessKeyLastUsedCommandInput,
- type GetAccessKeyLastUsedCommandOutput,
- GetAccountAuthorizationDetailsCommand,
- type GetAccountAuthorizationDetailsCommandInput,
- type GetAccountAuthorizationDetailsCommandOutput,
- GetAccountPasswordPolicyCommand,
- type GetAccountPasswordPolicyCommandInput,
- type GetAccountPasswordPolicyCommandOutput,
- GetAccountSummaryCommand,
- type GetAccountSummaryCommandInput,
- type GetAccountSummaryCommandOutput,
- GetContextKeysForCustomPolicyCommand,
- type GetContextKeysForCustomPolicyCommandInput,
- type GetContextKeysForCustomPolicyCommandOutput,
- GetContextKeysForPrincipalPolicyCommand,
- type GetContextKeysForPrincipalPolicyCommandInput,
- type GetContextKeysForPrincipalPolicyCommandOutput,
- GetCredentialReportCommand,
- type GetCredentialReportCommandInput,
- type GetCredentialReportCommandOutput,
- GetGroupCommand,
- type GetGroupCommandInput,
- type GetGroupCommandOutput,
- GetGroupPolicyCommand,
- type GetGroupPolicyCommandInput,
- type GetGroupPolicyCommandOutput,
- GetInstanceProfileCommand,
- type GetInstanceProfileCommandInput,
- type GetInstanceProfileCommandOutput,
- GetLoginProfileCommand,
- type GetLoginProfileCommandInput,
- type GetLoginProfileCommandOutput,
- GetMFADeviceCommand,
- type GetMFADeviceCommandInput,
- type GetMFADeviceCommandOutput,
- GetOpenIDConnectProviderCommand,
- type GetOpenIDConnectProviderCommandInput,
- type GetOpenIDConnectProviderCommandOutput,
- GetOrganizationsAccessReportCommand,
- type GetOrganizationsAccessReportCommandInput,
- type GetOrganizationsAccessReportCommandOutput,
- GetPolicyCommand,
- type GetPolicyCommandInput,
- type GetPolicyCommandOutput,
- GetPolicyVersionCommand,
- type GetPolicyVersionCommandInput,
- type GetPolicyVersionCommandOutput,
- GetRoleCommand,
- type GetRoleCommandInput,
- type GetRoleCommandOutput,
- GetRolePolicyCommand,
- type GetRolePolicyCommandInput,
- type GetRolePolicyCommandOutput,
- GetSAMLProviderCommand,
- type GetSAMLProviderCommandInput,
- type GetSAMLProviderCommandOutput,
- GetServerCertificateCommand,
- type GetServerCertificateCommandInput,
- type GetServerCertificateCommandOutput,
- GetServiceLastAccessedDetailsCommand,
- type GetServiceLastAccessedDetailsCommandInput,
- type GetServiceLastAccessedDetailsCommandOutput,
- GetServiceLastAccessedDetailsWithEntitiesCommand,
- type GetServiceLastAccessedDetailsWithEntitiesCommandInput,
- type GetServiceLastAccessedDetailsWithEntitiesCommandOutput,
- GetServiceLinkedRoleDeletionStatusCommand,
- type GetServiceLinkedRoleDeletionStatusCommandInput,
- type GetServiceLinkedRoleDeletionStatusCommandOutput,
- GetSSHPublicKeyCommand,
- type GetSSHPublicKeyCommandInput,
- type GetSSHPublicKeyCommandOutput,
- GetUserCommand,
- type GetUserCommandInput,
- type GetUserCommandOutput,
- GetUserPolicyCommand,
- type GetUserPolicyCommandInput,
- type GetUserPolicyCommandOutput,
- ListAccessKeysCommand,
- type ListAccessKeysCommandInput,
- type ListAccessKeysCommandOutput,
- ListAccountAliasesCommand,
- type ListAccountAliasesCommandInput,
- type ListAccountAliasesCommandOutput,
- ListAttachedGroupPoliciesCommand,
- type ListAttachedGroupPoliciesCommandInput,
- type ListAttachedGroupPoliciesCommandOutput,
- ListAttachedRolePoliciesCommand,
- type ListAttachedRolePoliciesCommandInput,
- type ListAttachedRolePoliciesCommandOutput,
- ListAttachedUserPoliciesCommand,
- type ListAttachedUserPoliciesCommandInput,
- type ListAttachedUserPoliciesCommandOutput,
- ListEntitiesForPolicyCommand,
- type ListEntitiesForPolicyCommandInput,
- type ListEntitiesForPolicyCommandOutput,
- ListGroupPoliciesCommand,
- type ListGroupPoliciesCommandInput,
- type ListGroupPoliciesCommandOutput,
- ListGroupsCommand,
- type ListGroupsCommandInput,
- type ListGroupsCommandOutput,
- ListGroupsForUserCommand,
- type ListGroupsForUserCommandInput,
- type ListGroupsForUserCommandOutput,
- ListInstanceProfilesCommand,
- type ListInstanceProfilesCommandInput,
- type ListInstanceProfilesCommandOutput,
- ListInstanceProfilesForRoleCommand,
- type ListInstanceProfilesForRoleCommandInput,
- type ListInstanceProfilesForRoleCommandOutput,
- ListInstanceProfileTagsCommand,
- type ListInstanceProfileTagsCommandInput,
- type ListInstanceProfileTagsCommandOutput,
- ListMFADevicesCommand,
- type ListMFADevicesCommandInput,
- type ListMFADevicesCommandOutput,
- ListMFADeviceTagsCommand,
- type ListMFADeviceTagsCommandInput,
- type ListMFADeviceTagsCommandOutput,
- ListOpenIDConnectProvidersCommand,
- type ListOpenIDConnectProvidersCommandInput,
- type ListOpenIDConnectProvidersCommandOutput,
- ListOpenIDConnectProviderTagsCommand,
- type ListOpenIDConnectProviderTagsCommandInput,
- type ListOpenIDConnectProviderTagsCommandOutput,
- ListPoliciesCommand,
- type ListPoliciesCommandInput,
- type ListPoliciesCommandOutput,
- ListPoliciesGrantingServiceAccessCommand,
- type ListPoliciesGrantingServiceAccessCommandInput,
- type ListPoliciesGrantingServiceAccessCommandOutput,
- ListPolicyTagsCommand,
- type ListPolicyTagsCommandInput,
- type ListPolicyTagsCommandOutput,
- ListPolicyVersionsCommand,
- type ListPolicyVersionsCommandInput,
- type ListPolicyVersionsCommandOutput,
- ListRolePoliciesCommand,
- type ListRolePoliciesCommandInput,
- type ListRolePoliciesCommandOutput,
- ListRolesCommand,
- type ListRolesCommandInput,
- type ListRolesCommandOutput,
- ListRoleTagsCommand,
- type ListRoleTagsCommandInput,
- type ListRoleTagsCommandOutput,
- ListSAMLProvidersCommand,
- type ListSAMLProvidersCommandInput,
- type ListSAMLProvidersCommandOutput,
- ListSAMLProviderTagsCommand,
- type ListSAMLProviderTagsCommandInput,
- type ListSAMLProviderTagsCommandOutput,
- ListServerCertificatesCommand,
- type ListServerCertificatesCommandInput,
- type ListServerCertificatesCommandOutput,
- ListServerCertificateTagsCommand,
- type ListServerCertificateTagsCommandInput,
- type ListServerCertificateTagsCommandOutput,
- ListServiceSpecificCredentialsCommand,
- type ListServiceSpecificCredentialsCommandInput,
- type ListServiceSpecificCredentialsCommandOutput,
- ListSigningCertificatesCommand,
- type ListSigningCertificatesCommandInput,
- type ListSigningCertificatesCommandOutput,
- ListSSHPublicKeysCommand,
- type ListSSHPublicKeysCommandInput,
- type ListSSHPublicKeysCommandOutput,
- ListUserPoliciesCommand,
- type ListUserPoliciesCommandInput,
- type ListUserPoliciesCommandOutput,
- ListUsersCommand,
- type ListUsersCommandInput,
- type ListUsersCommandOutput,
- ListUserTagsCommand,
- type ListUserTagsCommandInput,
- type ListUserTagsCommandOutput,
- ListVirtualMFADevicesCommand,
- type ListVirtualMFADevicesCommandInput,
- type ListVirtualMFADevicesCommandOutput,
- PutGroupPolicyCommand,
- type PutGroupPolicyCommandInput,
- type PutGroupPolicyCommandOutput,
- PutRolePermissionsBoundaryCommand,
- type PutRolePermissionsBoundaryCommandInput,
- type PutRolePermissionsBoundaryCommandOutput,
- PutRolePolicyCommand,
- type PutRolePolicyCommandInput,
- type PutRolePolicyCommandOutput,
- PutUserPermissionsBoundaryCommand,
- type PutUserPermissionsBoundaryCommandInput,
- type PutUserPermissionsBoundaryCommandOutput,
- PutUserPolicyCommand,
- type PutUserPolicyCommandInput,
- type PutUserPolicyCommandOutput,
- RemoveClientIDFromOpenIDConnectProviderCommand,
- type RemoveClientIDFromOpenIDConnectProviderCommandInput,
- type RemoveClientIDFromOpenIDConnectProviderCommandOutput,
- RemoveRoleFromInstanceProfileCommand,
- type RemoveRoleFromInstanceProfileCommandInput,
- type RemoveRoleFromInstanceProfileCommandOutput,
- RemoveUserFromGroupCommand,
- type RemoveUserFromGroupCommandInput,
- type RemoveUserFromGroupCommandOutput,
- ResetServiceSpecificCredentialCommand,
- type ResetServiceSpecificCredentialCommandInput,
- type ResetServiceSpecificCredentialCommandOutput,
- ResyncMFADeviceCommand,
- type ResyncMFADeviceCommandInput,
- type ResyncMFADeviceCommandOutput,
- SetDefaultPolicyVersionCommand,
- type SetDefaultPolicyVersionCommandInput,
- type SetDefaultPolicyVersionCommandOutput,
- SetSecurityTokenServicePreferencesCommand,
- type SetSecurityTokenServicePreferencesCommandInput,
- type SetSecurityTokenServicePreferencesCommandOutput,
- SimulateCustomPolicyCommand,
- type SimulateCustomPolicyCommandInput,
- type SimulateCustomPolicyCommandOutput,
- SimulatePrincipalPolicyCommand,
- type SimulatePrincipalPolicyCommandInput,
- type SimulatePrincipalPolicyCommandOutput,
- TagInstanceProfileCommand,
- type TagInstanceProfileCommandInput,
- type TagInstanceProfileCommandOutput,
- TagMFADeviceCommand,
- type TagMFADeviceCommandInput,
- type TagMFADeviceCommandOutput,
- TagOpenIDConnectProviderCommand,
- type TagOpenIDConnectProviderCommandInput,
- type TagOpenIDConnectProviderCommandOutput,
- TagPolicyCommand,
- type TagPolicyCommandInput,
- type TagPolicyCommandOutput,
- TagRoleCommand,
- type TagRoleCommandInput,
- type TagRoleCommandOutput,
- TagSAMLProviderCommand,
- type TagSAMLProviderCommandInput,
- type TagSAMLProviderCommandOutput,
- TagServerCertificateCommand,
- type TagServerCertificateCommandInput,
- type TagServerCertificateCommandOutput,
- TagUserCommand,
- type TagUserCommandInput,
- type TagUserCommandOutput,
- UntagInstanceProfileCommand,
- type UntagInstanceProfileCommandInput,
- type UntagInstanceProfileCommandOutput,
- UntagMFADeviceCommand,
- type UntagMFADeviceCommandInput,
- type UntagMFADeviceCommandOutput,
- UntagOpenIDConnectProviderCommand,
- type UntagOpenIDConnectProviderCommandInput,
- type UntagOpenIDConnectProviderCommandOutput,
- UntagPolicyCommand,
- type UntagPolicyCommandInput,
- type UntagPolicyCommandOutput,
- UntagRoleCommand,
- type UntagRoleCommandInput,
- type UntagRoleCommandOutput,
- UntagSAMLProviderCommand,
- type UntagSAMLProviderCommandInput,
- type UntagSAMLProviderCommandOutput,
- UntagServerCertificateCommand,
- type UntagServerCertificateCommandInput,
- type UntagServerCertificateCommandOutput,
- UntagUserCommand,
- type UntagUserCommandInput,
- type UntagUserCommandOutput,
- UpdateAccessKeyCommand,
- type UpdateAccessKeyCommandInput,
- type UpdateAccessKeyCommandOutput,
- UpdateAccountPasswordPolicyCommand,
- type UpdateAccountPasswordPolicyCommandInput,
- type UpdateAccountPasswordPolicyCommandOutput,
- UpdateAssumeRolePolicyCommand,
- type UpdateAssumeRolePolicyCommandInput,
- type UpdateAssumeRolePolicyCommandOutput,
- UpdateGroupCommand,
- type UpdateGroupCommandInput,
- type UpdateGroupCommandOutput,
- UpdateLoginProfileCommand,
- type UpdateLoginProfileCommandInput,
- type UpdateLoginProfileCommandOutput,
- UpdateOpenIDConnectProviderThumbprintCommand,
- type UpdateOpenIDConnectProviderThumbprintCommandInput,
- type UpdateOpenIDConnectProviderThumbprintCommandOutput,
- UpdateRoleCommand,
- type UpdateRoleCommandInput,
- type UpdateRoleCommandOutput,
- UpdateRoleDescriptionCommand,
- type UpdateRoleDescriptionCommandInput,
- type UpdateRoleDescriptionCommandOutput,
- UpdateSAMLProviderCommand,
- type UpdateSAMLProviderCommandInput,
- type UpdateSAMLProviderCommandOutput,
- UpdateServerCertificateCommand,
- type UpdateServerCertificateCommandInput,
- type UpdateServerCertificateCommandOutput,
- UpdateServiceSpecificCredentialCommand,
- type UpdateServiceSpecificCredentialCommandInput,
- type UpdateServiceSpecificCredentialCommandOutput,
- UpdateSigningCertificateCommand,
- type UpdateSigningCertificateCommandInput,
- type UpdateSigningCertificateCommandOutput,
- UpdateSSHPublicKeyCommand,
- type UpdateSSHPublicKeyCommandInput,
- type UpdateSSHPublicKeyCommandOutput,
- UpdateUserCommand,
- type UpdateUserCommandInput,
- type UpdateUserCommandOutput,
- UploadServerCertificateCommand,
- type UploadServerCertificateCommandInput,
- type UploadServerCertificateCommandOutput,
- UploadSigningCertificateCommand,
- type UploadSigningCertificateCommandInput,
- type UploadSigningCertificateCommandOutput,
- UploadSSHPublicKeyCommand,
- type UploadSSHPublicKeyCommandInput,
- type UploadSSHPublicKeyCommandOutput,
-} from "@aws-sdk/client-iam";
-import { type HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
-import { Context, Effect, Layer, ReadonlyRecord, Data } from "effect";
-import {
- IAMServiceError,
- ConcurrentModificationError,
- CredentialReportExpiredError,
- CredentialReportNotPresentError,
- CredentialReportNotReadyError,
- DeleteConflictError,
- DuplicateCertificateError,
- DuplicateSSHPublicKeyError,
- EntityAlreadyExistsError,
- EntityTemporarilyUnmodifiableError,
- InvalidAuthenticationCodeError,
- InvalidCertificateError,
- InvalidInputError,
- InvalidPublicKeyError,
- InvalidUserTypeError,
- KeyPairMismatchError,
- LimitExceededError,
- MalformedCertificateError,
- MalformedPolicyDocumentError,
- NoSuchEntityError,
- PasswordPolicyViolationError,
- PolicyEvaluationError,
- PolicyNotAttachableError,
- ReportGenerationLimitExceededError,
- ServiceFailureError,
- ServiceNotSupportedError,
- UnmodifiableEntityError,
- UnrecognizedPublicKeyEncodingError,
- SdkError,
- TaggedException,
-} from "./Errors";
-import { IAMClientInstance, IAMClientInstanceLayer } from "./IAMClientInstance";
-import { DefaultIAMClientConfigLayer } from "./IAMClientInstanceConfig";
-
-const commands = {
- AddClientIDToOpenIDConnectProviderCommand,
- AddRoleToInstanceProfileCommand,
- AddUserToGroupCommand,
- AttachGroupPolicyCommand,
- AttachRolePolicyCommand,
- AttachUserPolicyCommand,
- ChangePasswordCommand,
- CreateAccessKeyCommand,
- CreateAccountAliasCommand,
- CreateGroupCommand,
- CreateInstanceProfileCommand,
- CreateLoginProfileCommand,
- CreateOpenIDConnectProviderCommand,
- CreatePolicyCommand,
- CreatePolicyVersionCommand,
- CreateRoleCommand,
- CreateSAMLProviderCommand,
- CreateServiceLinkedRoleCommand,
- CreateServiceSpecificCredentialCommand,
- CreateUserCommand,
- CreateVirtualMFADeviceCommand,
- DeactivateMFADeviceCommand,
- DeleteAccessKeyCommand,
- DeleteAccountAliasCommand,
- DeleteAccountPasswordPolicyCommand,
- DeleteGroupCommand,
- DeleteGroupPolicyCommand,
- DeleteInstanceProfileCommand,
- DeleteLoginProfileCommand,
- DeleteOpenIDConnectProviderCommand,
- DeletePolicyCommand,
- DeletePolicyVersionCommand,
- DeleteRoleCommand,
- DeleteRolePermissionsBoundaryCommand,
- DeleteRolePolicyCommand,
- DeleteSAMLProviderCommand,
- DeleteServerCertificateCommand,
- DeleteServiceLinkedRoleCommand,
- DeleteServiceSpecificCredentialCommand,
- DeleteSigningCertificateCommand,
- DeleteSSHPublicKeyCommand,
- DeleteUserCommand,
- DeleteUserPermissionsBoundaryCommand,
- DeleteUserPolicyCommand,
- DeleteVirtualMFADeviceCommand,
- DetachGroupPolicyCommand,
- DetachRolePolicyCommand,
- DetachUserPolicyCommand,
- EnableMFADeviceCommand,
- GenerateCredentialReportCommand,
- GenerateOrganizationsAccessReportCommand,
- GenerateServiceLastAccessedDetailsCommand,
- GetAccessKeyLastUsedCommand,
- GetAccountAuthorizationDetailsCommand,
- GetAccountPasswordPolicyCommand,
- GetAccountSummaryCommand,
- GetContextKeysForCustomPolicyCommand,
- GetContextKeysForPrincipalPolicyCommand,
- GetCredentialReportCommand,
- GetGroupCommand,
- GetGroupPolicyCommand,
- GetInstanceProfileCommand,
- GetLoginProfileCommand,
- GetMFADeviceCommand,
- GetOpenIDConnectProviderCommand,
- GetOrganizationsAccessReportCommand,
- GetPolicyCommand,
- GetPolicyVersionCommand,
- GetRoleCommand,
- GetRolePolicyCommand,
- GetSAMLProviderCommand,
- GetServerCertificateCommand,
- GetServiceLastAccessedDetailsCommand,
- GetServiceLastAccessedDetailsWithEntitiesCommand,
- GetServiceLinkedRoleDeletionStatusCommand,
- GetSSHPublicKeyCommand,
- GetUserCommand,
- GetUserPolicyCommand,
- ListAccessKeysCommand,
- ListAccountAliasesCommand,
- ListAttachedGroupPoliciesCommand,
- ListAttachedRolePoliciesCommand,
- ListAttachedUserPoliciesCommand,
- ListEntitiesForPolicyCommand,
- ListGroupPoliciesCommand,
- ListGroupsCommand,
- ListGroupsForUserCommand,
- ListInstanceProfilesCommand,
- ListInstanceProfilesForRoleCommand,
- ListInstanceProfileTagsCommand,
- ListMFADevicesCommand,
- ListMFADeviceTagsCommand,
- ListOpenIDConnectProvidersCommand,
- ListOpenIDConnectProviderTagsCommand,
- ListPoliciesCommand,
- ListPoliciesGrantingServiceAccessCommand,
- ListPolicyTagsCommand,
- ListPolicyVersionsCommand,
- ListRolePoliciesCommand,
- ListRolesCommand,
- ListRoleTagsCommand,
- ListSAMLProvidersCommand,
- ListSAMLProviderTagsCommand,
- ListServerCertificatesCommand,
- ListServerCertificateTagsCommand,
- ListServiceSpecificCredentialsCommand,
- ListSigningCertificatesCommand,
- ListSSHPublicKeysCommand,
- ListUserPoliciesCommand,
- ListUsersCommand,
- ListUserTagsCommand,
- ListVirtualMFADevicesCommand,
- PutGroupPolicyCommand,
- PutRolePermissionsBoundaryCommand,
- PutRolePolicyCommand,
- PutUserPermissionsBoundaryCommand,
- PutUserPolicyCommand,
- RemoveClientIDFromOpenIDConnectProviderCommand,
- RemoveRoleFromInstanceProfileCommand,
- RemoveUserFromGroupCommand,
- ResetServiceSpecificCredentialCommand,
- ResyncMFADeviceCommand,
- SetDefaultPolicyVersionCommand,
- SetSecurityTokenServicePreferencesCommand,
- SimulateCustomPolicyCommand,
- SimulatePrincipalPolicyCommand,
- TagInstanceProfileCommand,
- TagMFADeviceCommand,
- TagOpenIDConnectProviderCommand,
- TagPolicyCommand,
- TagRoleCommand,
- TagSAMLProviderCommand,
- TagServerCertificateCommand,
- TagUserCommand,
- UntagInstanceProfileCommand,
- UntagMFADeviceCommand,
- UntagOpenIDConnectProviderCommand,
- UntagPolicyCommand,
- UntagRoleCommand,
- UntagSAMLProviderCommand,
- UntagServerCertificateCommand,
- UntagUserCommand,
- UpdateAccessKeyCommand,
- UpdateAccountPasswordPolicyCommand,
- UpdateAssumeRolePolicyCommand,
- UpdateGroupCommand,
- UpdateLoginProfileCommand,
- UpdateOpenIDConnectProviderThumbprintCommand,
- UpdateRoleCommand,
- UpdateRoleDescriptionCommand,
- UpdateSAMLProviderCommand,
- UpdateServerCertificateCommand,
- UpdateServiceSpecificCredentialCommand,
- UpdateSigningCertificateCommand,
- UpdateSSHPublicKeyCommand,
- UpdateUserCommand,
- UploadServerCertificateCommand,
- UploadSigningCertificateCommand,
- UploadSSHPublicKeyCommand,
-};
-
-/**
- * @since 1.0.0
- * @category models
- */
-export type IAMService = {
- readonly _: unique symbol;
-
- /**
- * @see {@link AddClientIDToOpenIDConnectProviderCommand}
- */
- readonly addClientIDToOpenIDConnectProvider: (
- args: AddClientIDToOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AddClientIDToOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link AddRoleToInstanceProfileCommand}
- */
- readonly addRoleToInstanceProfile: (
- args: AddRoleToInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AddRoleToInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityAlreadyExistsError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link AddUserToGroupCommand}
- */
- readonly addUserToGroup: (
- args: AddUserToGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AddUserToGroupCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link AttachGroupPolicyCommand}
- */
- readonly attachGroupPolicy: (
- args: AttachGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachGroupPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | PolicyNotAttachableError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link AttachRolePolicyCommand}
- */
- readonly attachRolePolicy: (
- args: AttachRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachRolePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | PolicyNotAttachableError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link AttachUserPolicyCommand}
- */
- readonly attachUserPolicy: (
- args: AttachUserPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- AttachUserPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | PolicyNotAttachableError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ChangePasswordCommand}
- */
- readonly changePassword: (
- args: ChangePasswordCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ChangePasswordCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityTemporarilyUnmodifiableError
- | InvalidUserTypeError
- | LimitExceededError
- | NoSuchEntityError
- | PasswordPolicyViolationError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateAccessKeyCommand}
- */
- readonly createAccessKey: (
- args: CreateAccessKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateAccessKeyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateAccountAliasCommand}
- */
- readonly createAccountAlias: (
- args: CreateAccountAliasCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateAccountAliasCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | LimitExceededError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateGroupCommand}
- */
- readonly createGroup: (
- args: CreateGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateGroupCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityAlreadyExistsError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateInstanceProfileCommand}
- */
- readonly createInstanceProfile: (
- args: CreateInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateLoginProfileCommand}
- */
- readonly createLoginProfile: (
- args: CreateLoginProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateLoginProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityAlreadyExistsError
- | LimitExceededError
- | NoSuchEntityError
- | PasswordPolicyViolationError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateOpenIDConnectProviderCommand}
- */
- readonly createOpenIDConnectProvider: (
- args: CreateOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreatePolicyCommand}
- */
- readonly createPolicy: (
- args: CreatePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreatePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreatePolicyVersionCommand}
- */
- readonly createPolicyVersion: (
- args: CreatePolicyVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreatePolicyVersionCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateRoleCommand}
- */
- readonly createRole: (
- args: CreateRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateSAMLProviderCommand}
- */
- readonly createSAMLProvider: (
- args: CreateSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateServiceLinkedRoleCommand}
- */
- readonly createServiceLinkedRole: (
- args: CreateServiceLinkedRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateServiceLinkedRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateServiceSpecificCredentialCommand}
- */
- readonly createServiceSpecificCredential: (
- args: CreateServiceSpecificCredentialCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateServiceSpecificCredentialCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceNotSupportedError
- >;
-
- /**
- * @see {@link CreateUserCommand}
- */
- readonly createUser: (
- args: CreateUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateUserCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link CreateVirtualMFADeviceCommand}
- */
- readonly createVirtualMFADevice: (
- args: CreateVirtualMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- CreateVirtualMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | LimitExceededError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeactivateMFADeviceCommand}
- */
- readonly deactivateMFADevice: (
- args: DeactivateMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeactivateMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityTemporarilyUnmodifiableError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteAccessKeyCommand}
- */
- readonly deleteAccessKey: (
- args: DeleteAccessKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteAccessKeyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteAccountAliasCommand}
- */
- readonly deleteAccountAlias: (
- args: DeleteAccountAliasCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteAccountAliasCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteAccountPasswordPolicyCommand}
- */
- readonly deleteAccountPasswordPolicy: (
- args: DeleteAccountPasswordPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteAccountPasswordPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteGroupCommand}
- */
- readonly deleteGroup: (
- args: DeleteGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteGroupCommandOutput,
- | SdkError
- | IAMServiceError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteGroupPolicyCommand}
- */
- readonly deleteGroupPolicy: (
- args: DeleteGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteGroupPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteInstanceProfileCommand}
- */
- readonly deleteInstanceProfile: (
- args: DeleteInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteLoginProfileCommand}
- */
- readonly deleteLoginProfile: (
- args: DeleteLoginProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteLoginProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityTemporarilyUnmodifiableError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteOpenIDConnectProviderCommand}
- */
- readonly deleteOpenIDConnectProvider: (
- args: DeleteOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeletePolicyCommand}
- */
- readonly deletePolicy: (
- args: DeletePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeletePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | DeleteConflictError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeletePolicyVersionCommand}
- */
- readonly deletePolicyVersion: (
- args: DeletePolicyVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeletePolicyVersionCommandOutput,
- | SdkError
- | IAMServiceError
- | DeleteConflictError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteRoleCommand}
- */
- readonly deleteRole: (
- args: DeleteRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link DeleteRolePermissionsBoundaryCommand}
- */
- readonly deleteRolePermissionsBoundary: (
- args: DeleteRolePermissionsBoundaryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteRolePermissionsBoundaryCommandOutput,
- | SdkError
- | IAMServiceError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link DeleteRolePolicyCommand}
- */
- readonly deleteRolePolicy: (
- args: DeleteRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteRolePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link DeleteSAMLProviderCommand}
- */
- readonly deleteSAMLProvider: (
- args: DeleteSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteServerCertificateCommand}
- */
- readonly deleteServerCertificate: (
- args: DeleteServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteServerCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteServiceLinkedRoleCommand}
- */
- readonly deleteServiceLinkedRole: (
- args: DeleteServiceLinkedRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteServiceLinkedRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteServiceSpecificCredentialCommand}
- */
- readonly deleteServiceSpecificCredential: (
- args: DeleteServiceSpecificCredentialCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteServiceSpecificCredentialCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link DeleteSigningCertificateCommand}
- */
- readonly deleteSigningCertificate: (
- args: DeleteSigningCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSigningCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteSSHPublicKeyCommand}
- */
- readonly deleteSSHPublicKey: (
- args: DeleteSSHPublicKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteSSHPublicKeyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link DeleteUserCommand}
- */
- readonly deleteUser: (
- args: DeleteUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteUserCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteUserPermissionsBoundaryCommand}
- */
- readonly deleteUserPermissionsBoundary: (
- args: DeleteUserPermissionsBoundaryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteUserPermissionsBoundaryCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteUserPolicyCommand}
- */
- readonly deleteUserPolicy: (
- args: DeleteUserPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteUserPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DeleteVirtualMFADeviceCommand}
- */
- readonly deleteVirtualMFADevice: (
- args: DeleteVirtualMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DeleteVirtualMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | DeleteConflictError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DetachGroupPolicyCommand}
- */
- readonly detachGroupPolicy: (
- args: DetachGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachGroupPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link DetachRolePolicyCommand}
- */
- readonly detachRolePolicy: (
- args: DetachRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachRolePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link DetachUserPolicyCommand}
- */
- readonly detachUserPolicy: (
- args: DetachUserPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- DetachUserPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link EnableMFADeviceCommand}
- */
- readonly enableMFADevice: (
- args: EnableMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- EnableMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | EntityTemporarilyUnmodifiableError
- | InvalidAuthenticationCodeError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GenerateCredentialReportCommand}
- */
- readonly generateCredentialReport: (
- args: GenerateCredentialReportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GenerateCredentialReportCommandOutput,
- SdkError | IAMServiceError | LimitExceededError | ServiceFailureError
- >;
-
- /**
- * @see {@link GenerateOrganizationsAccessReportCommand}
- */
- readonly generateOrganizationsAccessReport: (
- args: GenerateOrganizationsAccessReportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GenerateOrganizationsAccessReportCommandOutput,
- SdkError | IAMServiceError | ReportGenerationLimitExceededError
- >;
-
- /**
- * @see {@link GenerateServiceLastAccessedDetailsCommand}
- */
- readonly generateServiceLastAccessedDetails: (
- args: GenerateServiceLastAccessedDetailsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GenerateServiceLastAccessedDetailsCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | NoSuchEntityError
- >;
-
- /**
- * @see {@link GetAccessKeyLastUsedCommand}
- */
- readonly getAccessKeyLastUsed: (
- args: GetAccessKeyLastUsedCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAccessKeyLastUsedCommandOutput,
- SdkError | IAMServiceError
- >;
-
- /**
- * @see {@link GetAccountAuthorizationDetailsCommand}
- */
- readonly getAccountAuthorizationDetails: (
- args: GetAccountAuthorizationDetailsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAccountAuthorizationDetailsCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetAccountPasswordPolicyCommand}
- */
- readonly getAccountPasswordPolicy: (
- args: GetAccountPasswordPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAccountPasswordPolicyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetAccountSummaryCommand}
- */
- readonly getAccountSummary: (
- args: GetAccountSummaryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetAccountSummaryCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetContextKeysForCustomPolicyCommand}
- */
- readonly getContextKeysForCustomPolicy: (
- args: GetContextKeysForCustomPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetContextKeysForCustomPolicyCommandOutput,
- SdkError | IAMServiceError | InvalidInputError
- >;
-
- /**
- * @see {@link GetContextKeysForPrincipalPolicyCommand}
- */
- readonly getContextKeysForPrincipalPolicy: (
- args: GetContextKeysForPrincipalPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetContextKeysForPrincipalPolicyCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | NoSuchEntityError
- >;
-
- /**
- * @see {@link GetCredentialReportCommand}
- */
- readonly getCredentialReport: (
- args: GetCredentialReportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetCredentialReportCommandOutput,
- | SdkError
- | IAMServiceError
- | CredentialReportExpiredError
- | CredentialReportNotPresentError
- | CredentialReportNotReadyError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetGroupCommand}
- */
- readonly getGroup: (
- args: GetGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetGroupCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetGroupPolicyCommand}
- */
- readonly getGroupPolicy: (
- args: GetGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetGroupPolicyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetInstanceProfileCommand}
- */
- readonly getInstanceProfile: (
- args: GetInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetInstanceProfileCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetLoginProfileCommand}
- */
- readonly getLoginProfile: (
- args: GetLoginProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetLoginProfileCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetMFADeviceCommand}
- */
- readonly getMFADevice: (
- args: GetMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetMFADeviceCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetOpenIDConnectProviderCommand}
- */
- readonly getOpenIDConnectProvider: (
- args: GetOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetOrganizationsAccessReportCommand}
- */
- readonly getOrganizationsAccessReport: (
- args: GetOrganizationsAccessReportCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetOrganizationsAccessReportCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link GetPolicyCommand}
- */
- readonly getPolicy: (
- args: GetPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetPolicyVersionCommand}
- */
- readonly getPolicyVersion: (
- args: GetPolicyVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetPolicyVersionCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetRoleCommand}
- */
- readonly getRole: (
- args: GetRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetRoleCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetRolePolicyCommand}
- */
- readonly getRolePolicy: (
- args: GetRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetRolePolicyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetSAMLProviderCommand}
- */
- readonly getSAMLProvider: (
- args: GetSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetServerCertificateCommand}
- */
- readonly getServerCertificate: (
- args: GetServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetServerCertificateCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetServiceLastAccessedDetailsCommand}
- */
- readonly getServiceLastAccessedDetails: (
- args: GetServiceLastAccessedDetailsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetServiceLastAccessedDetailsCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | NoSuchEntityError
- >;
-
- /**
- * @see {@link GetServiceLastAccessedDetailsWithEntitiesCommand}
- */
- readonly getServiceLastAccessedDetailsWithEntities: (
- args: GetServiceLastAccessedDetailsWithEntitiesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetServiceLastAccessedDetailsWithEntitiesCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | NoSuchEntityError
- >;
-
- /**
- * @see {@link GetServiceLinkedRoleDeletionStatusCommand}
- */
- readonly getServiceLinkedRoleDeletionStatus: (
- args: GetServiceLinkedRoleDeletionStatusCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetServiceLinkedRoleDeletionStatusCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link GetSSHPublicKeyCommand}
- */
- readonly getSSHPublicKey: (
- args: GetSSHPublicKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetSSHPublicKeyCommandOutput,
- | SdkError
- | IAMServiceError
- | NoSuchEntityError
- | UnrecognizedPublicKeyEncodingError
- >;
-
- /**
- * @see {@link GetUserCommand}
- */
- readonly getUser: (
- args: GetUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetUserCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link GetUserPolicyCommand}
- */
- readonly getUserPolicy: (
- args: GetUserPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- GetUserPolicyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListAccessKeysCommand}
- */
- readonly listAccessKeys: (
- args: ListAccessKeysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListAccessKeysCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListAccountAliasesCommand}
- */
- readonly listAccountAliases: (
- args: ListAccountAliasesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListAccountAliasesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListAttachedGroupPoliciesCommand}
- */
- readonly listAttachedGroupPolicies: (
- args: ListAttachedGroupPoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListAttachedGroupPoliciesCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListAttachedRolePoliciesCommand}
- */
- readonly listAttachedRolePolicies: (
- args: ListAttachedRolePoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListAttachedRolePoliciesCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListAttachedUserPoliciesCommand}
- */
- readonly listAttachedUserPolicies: (
- args: ListAttachedUserPoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListAttachedUserPoliciesCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListEntitiesForPolicyCommand}
- */
- readonly listEntitiesForPolicy: (
- args: ListEntitiesForPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListEntitiesForPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListGroupPoliciesCommand}
- */
- readonly listGroupPolicies: (
- args: ListGroupPoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListGroupPoliciesCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListGroupsCommand}
- */
- readonly listGroups: (
- args: ListGroupsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListGroupsCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListGroupsForUserCommand}
- */
- readonly listGroupsForUser: (
- args: ListGroupsForUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListGroupsForUserCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListInstanceProfilesCommand}
- */
- readonly listInstanceProfiles: (
- args: ListInstanceProfilesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListInstanceProfilesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListInstanceProfilesForRoleCommand}
- */
- readonly listInstanceProfilesForRole: (
- args: ListInstanceProfilesForRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListInstanceProfilesForRoleCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListInstanceProfileTagsCommand}
- */
- readonly listInstanceProfileTags: (
- args: ListInstanceProfileTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListInstanceProfileTagsCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListMFADevicesCommand}
- */
- readonly listMFADevices: (
- args: ListMFADevicesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListMFADevicesCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListMFADeviceTagsCommand}
- */
- readonly listMFADeviceTags: (
- args: ListMFADeviceTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListMFADeviceTagsCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListOpenIDConnectProvidersCommand}
- */
- readonly listOpenIDConnectProviders: (
- args: ListOpenIDConnectProvidersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListOpenIDConnectProvidersCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListOpenIDConnectProviderTagsCommand}
- */
- readonly listOpenIDConnectProviderTags: (
- args: ListOpenIDConnectProviderTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListOpenIDConnectProviderTagsCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListPoliciesCommand}
- */
- readonly listPolicies: (
- args: ListPoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListPoliciesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListPoliciesGrantingServiceAccessCommand}
- */
- readonly listPoliciesGrantingServiceAccess: (
- args: ListPoliciesGrantingServiceAccessCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListPoliciesGrantingServiceAccessCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | NoSuchEntityError
- >;
-
- /**
- * @see {@link ListPolicyTagsCommand}
- */
- readonly listPolicyTags: (
- args: ListPolicyTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListPolicyTagsCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListPolicyVersionsCommand}
- */
- readonly listPolicyVersions: (
- args: ListPolicyVersionsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListPolicyVersionsCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListRolePoliciesCommand}
- */
- readonly listRolePolicies: (
- args: ListRolePoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListRolePoliciesCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListRolesCommand}
- */
- readonly listRoles: (
- args: ListRolesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListRolesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListRoleTagsCommand}
- */
- readonly listRoleTags: (
- args: ListRoleTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListRoleTagsCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListSAMLProvidersCommand}
- */
- readonly listSAMLProviders: (
- args: ListSAMLProvidersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListSAMLProvidersCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListSAMLProviderTagsCommand}
- */
- readonly listSAMLProviderTags: (
- args: ListSAMLProviderTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListSAMLProviderTagsCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ListServerCertificatesCommand}
- */
- readonly listServerCertificates: (
- args: ListServerCertificatesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListServerCertificatesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListServerCertificateTagsCommand}
- */
- readonly listServerCertificateTags: (
- args: ListServerCertificateTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListServerCertificateTagsCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListServiceSpecificCredentialsCommand}
- */
- readonly listServiceSpecificCredentials: (
- args: ListServiceSpecificCredentialsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListServiceSpecificCredentialsCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceNotSupportedError
- >;
-
- /**
- * @see {@link ListSigningCertificatesCommand}
- */
- readonly listSigningCertificates: (
- args: ListSigningCertificatesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListSigningCertificatesCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListSSHPublicKeysCommand}
- */
- readonly listSSHPublicKeys: (
- args: ListSSHPublicKeysCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListSSHPublicKeysCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link ListUserPoliciesCommand}
- */
- readonly listUserPolicies: (
- args: ListUserPoliciesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListUserPoliciesCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListUsersCommand}
- */
- readonly listUsers: (
- args: ListUsersCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListUsersCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListUserTagsCommand}
- */
- readonly listUserTags: (
- args: ListUserTagsCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListUserTagsCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError | ServiceFailureError
- >;
-
- /**
- * @see {@link ListVirtualMFADevicesCommand}
- */
- readonly listVirtualMFADevices: (
- args: ListVirtualMFADevicesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ListVirtualMFADevicesCommandOutput,
- SdkError | IAMServiceError
- >;
-
- /**
- * @see {@link PutGroupPolicyCommand}
- */
- readonly putGroupPolicy: (
- args: PutGroupPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PutGroupPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link PutRolePermissionsBoundaryCommand}
- */
- readonly putRolePermissionsBoundary: (
- args: PutRolePermissionsBoundaryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PutRolePermissionsBoundaryCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | PolicyNotAttachableError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link PutRolePolicyCommand}
- */
- readonly putRolePolicy: (
- args: PutRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PutRolePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link PutUserPermissionsBoundaryCommand}
- */
- readonly putUserPermissionsBoundary: (
- args: PutUserPermissionsBoundaryCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PutUserPermissionsBoundaryCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | PolicyNotAttachableError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link PutUserPolicyCommand}
- */
- readonly putUserPolicy: (
- args: PutUserPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- PutUserPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link RemoveClientIDFromOpenIDConnectProviderCommand}
- */
- readonly removeClientIDFromOpenIDConnectProvider: (
- args: RemoveClientIDFromOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RemoveClientIDFromOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link RemoveRoleFromInstanceProfileCommand}
- */
- readonly removeRoleFromInstanceProfile: (
- args: RemoveRoleFromInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RemoveRoleFromInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link RemoveUserFromGroupCommand}
- */
- readonly removeUserFromGroup: (
- args: RemoveUserFromGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- RemoveUserFromGroupCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link ResetServiceSpecificCredentialCommand}
- */
- readonly resetServiceSpecificCredential: (
- args: ResetServiceSpecificCredentialCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResetServiceSpecificCredentialCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link ResyncMFADeviceCommand}
- */
- readonly resyncMFADevice: (
- args: ResyncMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- ResyncMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidAuthenticationCodeError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link SetDefaultPolicyVersionCommand}
- */
- readonly setDefaultPolicyVersion: (
- args: SetDefaultPolicyVersionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SetDefaultPolicyVersionCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link SetSecurityTokenServicePreferencesCommand}
- */
- readonly setSecurityTokenServicePreferences: (
- args: SetSecurityTokenServicePreferencesCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SetSecurityTokenServicePreferencesCommandOutput,
- SdkError | IAMServiceError | ServiceFailureError
- >;
-
- /**
- * @see {@link SimulateCustomPolicyCommand}
- */
- readonly simulateCustomPolicy: (
- args: SimulateCustomPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SimulateCustomPolicyCommandOutput,
- SdkError | IAMServiceError | InvalidInputError | PolicyEvaluationError
- >;
-
- /**
- * @see {@link SimulatePrincipalPolicyCommand}
- */
- readonly simulatePrincipalPolicy: (
- args: SimulatePrincipalPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- SimulatePrincipalPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | PolicyEvaluationError
- >;
-
- /**
- * @see {@link TagInstanceProfileCommand}
- */
- readonly tagInstanceProfile: (
- args: TagInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagMFADeviceCommand}
- */
- readonly tagMFADevice: (
- args: TagMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagOpenIDConnectProviderCommand}
- */
- readonly tagOpenIDConnectProvider: (
- args: TagOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagPolicyCommand}
- */
- readonly tagPolicy: (
- args: TagPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagRoleCommand}
- */
- readonly tagRole: (
- args: TagRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagSAMLProviderCommand}
- */
- readonly tagSAMLProvider: (
- args: TagSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagServerCertificateCommand}
- */
- readonly tagServerCertificate: (
- args: TagServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagServerCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link TagUserCommand}
- */
- readonly tagUser: (
- args: TagUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- TagUserCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagInstanceProfileCommand}
- */
- readonly untagInstanceProfile: (
- args: UntagInstanceProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagInstanceProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagMFADeviceCommand}
- */
- readonly untagMFADevice: (
- args: UntagMFADeviceCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagMFADeviceCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagOpenIDConnectProviderCommand}
- */
- readonly untagOpenIDConnectProvider: (
- args: UntagOpenIDConnectProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagOpenIDConnectProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagPolicyCommand}
- */
- readonly untagPolicy: (
- args: UntagPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagRoleCommand}
- */
- readonly untagRole: (
- args: UntagRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagSAMLProviderCommand}
- */
- readonly untagSAMLProvider: (
- args: UntagSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagServerCertificateCommand}
- */
- readonly untagServerCertificate: (
- args: UntagServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagServerCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UntagUserCommand}
- */
- readonly untagUser: (
- args: UntagUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UntagUserCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateAccessKeyCommand}
- */
- readonly updateAccessKey: (
- args: UpdateAccessKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateAccessKeyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateAccountPasswordPolicyCommand}
- */
- readonly updateAccountPasswordPolicy: (
- args: UpdateAccountPasswordPolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateAccountPasswordPolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateAssumeRolePolicyCommand}
- */
- readonly updateAssumeRolePolicy: (
- args: UpdateAssumeRolePolicyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateAssumeRolePolicyCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | MalformedPolicyDocumentError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link UpdateGroupCommand}
- */
- readonly updateGroup: (
- args: UpdateGroupCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateGroupCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityAlreadyExistsError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateLoginProfileCommand}
- */
- readonly updateLoginProfile: (
- args: UpdateLoginProfileCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateLoginProfileCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityTemporarilyUnmodifiableError
- | LimitExceededError
- | NoSuchEntityError
- | PasswordPolicyViolationError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateOpenIDConnectProviderThumbprintCommand}
- */
- readonly updateOpenIDConnectProviderThumbprint: (
- args: UpdateOpenIDConnectProviderThumbprintCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateOpenIDConnectProviderThumbprintCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateRoleCommand}
- */
- readonly updateRole: (
- args: UpdateRoleCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateRoleCommandOutput,
- | SdkError
- | IAMServiceError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link UpdateRoleDescriptionCommand}
- */
- readonly updateRoleDescription: (
- args: UpdateRoleDescriptionCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateRoleDescriptionCommandOutput,
- | SdkError
- | IAMServiceError
- | NoSuchEntityError
- | ServiceFailureError
- | UnmodifiableEntityError
- >;
-
- /**
- * @see {@link UpdateSAMLProviderCommand}
- */
- readonly updateSAMLProvider: (
- args: UpdateSAMLProviderCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateSAMLProviderCommandOutput,
- | SdkError
- | IAMServiceError
- | InvalidInputError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateServerCertificateCommand}
- */
- readonly updateServerCertificate: (
- args: UpdateServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateServerCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | EntityAlreadyExistsError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateServiceSpecificCredentialCommand}
- */
- readonly updateServiceSpecificCredential: (
- args: UpdateServiceSpecificCredentialCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateServiceSpecificCredentialCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link UpdateSigningCertificateCommand}
- */
- readonly updateSigningCertificate: (
- args: UpdateSigningCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateSigningCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UpdateSSHPublicKeyCommand}
- */
- readonly updateSSHPublicKey: (
- args: UpdateSSHPublicKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateSSHPublicKeyCommandOutput,
- SdkError | IAMServiceError | NoSuchEntityError
- >;
-
- /**
- * @see {@link UpdateUserCommand}
- */
- readonly updateUser: (
- args: UpdateUserCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UpdateUserCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | EntityTemporarilyUnmodifiableError
- | LimitExceededError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UploadServerCertificateCommand}
- */
- readonly uploadServerCertificate: (
- args: UploadServerCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UploadServerCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | EntityAlreadyExistsError
- | InvalidInputError
- | KeyPairMismatchError
- | LimitExceededError
- | MalformedCertificateError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UploadSigningCertificateCommand}
- */
- readonly uploadSigningCertificate: (
- args: UploadSigningCertificateCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UploadSigningCertificateCommandOutput,
- | SdkError
- | IAMServiceError
- | ConcurrentModificationError
- | DuplicateCertificateError
- | EntityAlreadyExistsError
- | InvalidCertificateError
- | LimitExceededError
- | MalformedCertificateError
- | NoSuchEntityError
- | ServiceFailureError
- >;
-
- /**
- * @see {@link UploadSSHPublicKeyCommand}
- */
- readonly uploadSSHPublicKey: (
- args: UploadSSHPublicKeyCommandInput,
- options?: __HttpHandlerOptions,
- ) => Effect.Effect<
- UploadSSHPublicKeyCommandOutput,
- | SdkError
- | IAMServiceError
- | DuplicateSSHPublicKeyError
- | InvalidPublicKeyError
- | LimitExceededError
- | NoSuchEntityError
- | UnrecognizedPublicKeyEncodingError
- >;
-};
-
-/**
- * @since 1.0.0
- * @category tags
- */
-export const IAMService = Context.GenericTag(
- "@effect-aws/client-iam/IAMService",
-);
-
-/**
- * @since 1.0.0
- * @category constructors
- */
-export const makeIAMService = Effect.gen(function* (_) {
- const client = yield* _(IAMClientInstance);
-
- return ReadonlyRecord.toEntries(commands).reduce((acc, [command]) => {
- const CommandCtor = commands[command] as any;
- const methodImpl = (args: any, options: any) =>
- Effect.tryPromise({
- try: () => client.send(new CommandCtor(args), options ?? {}),
- catch: (e) => {
- if (e instanceof IAMServiceException) {
- const ServiceException = Data.tagged<
- TaggedException
- >(e.name);
-
- return ServiceException({
- ...e,
- message: e.message,
- stack: e.stack,
- });
- }
- if (e instanceof Error) {
- return SdkError({
- ...e,
- name: "SdkError",
- message: e.message,
- stack: e.stack,
- });
- }
- throw e;
- },
- });
- const methodName = (command[0].toLowerCase() + command.slice(1)).replace(
- /Command$/,
- "",
- );
- return { ...acc, [methodName]: methodImpl };
- }, {}) as IAMService;
-});
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const BaseIAMServiceLayer = Layer.effect(IAMService, makeIAMService);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const IAMServiceLayer = BaseIAMServiceLayer.pipe(
- Layer.provide(IAMClientInstanceLayer),
-);
-
-/**
- * @since 1.0.0
- * @category layers
- */
-export const DefaultIAMServiceLayer = IAMServiceLayer.pipe(
- Layer.provide(DefaultIAMClientConfigLayer),
-);
diff --git a/packages/client-iam/src/index.ts b/packages/client-iam/src/index.ts
deleted file mode 100644
index 3721a83..0000000
--- a/packages/client-iam/src/index.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export * from "./Errors";
-export * from "./IAMClientInstance";
-export * from "./IAMClientInstanceConfig";
-export * from "./IAMService";
diff --git a/packages/client-iam/test/IAM.test.ts b/packages/client-iam/test/IAM.test.ts
deleted file mode 100644
index 161b689..0000000
--- a/packages/client-iam/test/IAM.test.ts
+++ /dev/null
@@ -1,162 +0,0 @@
-import {
- type CreateRoleCommandInput,
- CreateRoleCommand,
- IAMClient,
-} from "@aws-sdk/client-iam";
-import { mockClient } from "aws-sdk-client-mock";
-import * as Effect from "effect/Effect";
-import * as Exit from "effect/Exit";
-import { pipe } from "effect/Function";
-import * as Layer from "effect/Layer";
-import {
- BaseIAMServiceLayer,
- DefaultIAMClientConfigLayer,
- DefaultIAMServiceLayer,
- IAMClientInstance,
- IAMClientInstanceConfig,
- IAMService,
- IAMServiceLayer,
- SdkError,
-} from "../src";
-
-import "aws-sdk-client-mock-jest";
-
-const clientMock = mockClient(IAMClient);
-
-describe("IAMClientImpl", () => {
- it("default", async () => {
- clientMock.reset().on(CreateRoleCommand).resolves({});
-
- const args = {} as unknown as CreateRoleCommandInput;
-
- const program = Effect.flatMap(IAMService, (service) =>
- service.createRole(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultIAMServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(CreateRoleCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(CreateRoleCommand, args);
- });
-
- it("configurable", async () => {
- clientMock.reset().on(CreateRoleCommand).resolves({});
-
- const args = {} as unknown as CreateRoleCommandInput;
-
- const program = Effect.flatMap(IAMService, (service) =>
- service.createRole(args),
- );
-
- const IAMClientConfigLayer = Layer.succeed(IAMClientInstanceConfig, {
- region: "eu-central-1",
- });
- const CustomIAMServiceLayer = IAMServiceLayer.pipe(
- Layer.provide(IAMClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomIAMServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(CreateRoleCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(CreateRoleCommand, args);
- });
-
- it("base", async () => {
- clientMock.reset().on(CreateRoleCommand).resolves({});
-
- const args = {} as unknown as CreateRoleCommandInput;
-
- const program = Effect.flatMap(IAMService, (service) =>
- service.createRole(args),
- );
-
- const IAMClientInstanceLayer = Layer.succeed(
- IAMClientInstance,
- new IAMClient({ region: "eu-central-1" }),
- );
- const CustomIAMServiceLayer = BaseIAMServiceLayer.pipe(
- Layer.provide(IAMClientInstanceLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomIAMServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(CreateRoleCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(CreateRoleCommand, args);
- });
-
- it("extended", async () => {
- clientMock.reset().on(CreateRoleCommand).resolves({});
-
- const args = {} as unknown as CreateRoleCommandInput;
-
- const program = Effect.flatMap(IAMService, (service) =>
- service.createRole(args),
- );
-
- const IAMClientInstanceLayer = Layer.effect(
- IAMClientInstance,
- Effect.map(
- IAMClientInstanceConfig,
- (config) => new IAMClient({ ...config, region: "eu-central-1" }),
- ),
- );
- const CustomIAMServiceLayer = BaseIAMServiceLayer.pipe(
- Layer.provide(IAMClientInstanceLayer),
- Layer.provide(DefaultIAMClientConfigLayer),
- );
-
- const result = await pipe(
- program,
- Effect.provide(CustomIAMServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(Exit.succeed({}));
- expect(clientMock).toHaveReceivedCommandTimes(CreateRoleCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(CreateRoleCommand, args);
- });
-
- it("fail", async () => {
- clientMock.reset().on(CreateRoleCommand).rejects(new Error("test"));
-
- const args = {} as unknown as CreateRoleCommandInput;
-
- const program = Effect.flatMap(IAMService, (service) =>
- service.createRole(args),
- );
-
- const result = await pipe(
- program,
- Effect.provide(DefaultIAMServiceLayer),
- Effect.runPromiseExit,
- );
-
- expect(result).toEqual(
- Exit.fail(
- SdkError({
- ...new Error("test"),
- name: "SdkError",
- message: "test",
- stack: expect.any(String),
- }),
- ),
- );
- expect(clientMock).toHaveReceivedCommandTimes(CreateRoleCommand, 1);
- expect(clientMock).toHaveReceivedCommandWith(CreateRoleCommand, args);
- });
-});
diff --git a/packages/client-iam/tsconfig.dev.json b/packages/client-iam/tsconfig.dev.json
deleted file mode 100644
index 278f027..0000000
--- a/packages/client-iam/tsconfig.dev.json
+++ /dev/null
@@ -1,37 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts",
- "test/**/*.ts"
- ],
- "exclude": [
- "node_modules"
- ]
-}
diff --git a/packages/client-iam/tsconfig.esm.json b/packages/client-iam/tsconfig.esm.json
deleted file mode 100644
index 1b04668..0000000
--- a/packages/client-iam/tsconfig.esm.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "./tsconfig.json",
- "compilerOptions": {
- "outDir": "./lib/esm",
- "module": "es6",
- "resolveJsonModule": false,
- "declaration": false
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-iam/tsconfig.json b/packages/client-iam/tsconfig.json
deleted file mode 100644
index 576047c..0000000
--- a/packages/client-iam/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "compilerOptions": {
- "rootDir": "src",
- "outDir": "lib",
- "alwaysStrict": true,
- "declaration": true,
- "esModuleInterop": true,
- "experimentalDecorators": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "lib": [
- "es2019",
- "dom"
- ],
- "module": "CommonJS",
- "noEmitOnError": false,
- "noFallthroughCasesInSwitch": true,
- "noImplicitAny": true,
- "noImplicitReturns": true,
- "noImplicitThis": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "resolveJsonModule": true,
- "strict": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "stripInternal": true,
- "target": "ES2019",
- "moduleResolution": "node"
- },
- "include": [
- "src/**/*.ts"
- ],
- "exclude": []
-}
diff --git a/packages/client-lambda/.eslintrc.json b/packages/client-lambda/.eslintrc.json
deleted file mode 100644
index c31c44d..0000000
--- a/packages/client-lambda/.eslintrc.json
+++ /dev/null
@@ -1,126 +0,0 @@
-// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-{
- "env": {
- "jest": true,
- "node": true
- },
- "root": true,
- "plugins": [
- "@typescript-eslint",
- "import"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "project": "./tsconfig.dev.json"
- },
- "extends": [
- "plugin:import/typescript",
- "plugin:prettier/recommended"
- ],
- "settings": {
- "import/parsers": {
- "@typescript-eslint/parser": [
- ".ts",
- ".tsx"
- ]
- },
- "import/resolver": {
- "node": {},
- "typescript": {
- "project": "./tsconfig.dev.json",
- "alwaysTryTypes": true
- }
- }
- },
- "ignorePatterns": [
- "*.js",
- "*.d.ts",
- "node_modules/",
- "*.generated.ts",
- "coverage"
- ],
- "rules": {
- "@typescript-eslint/no-require-imports": [
- "error"
- ],
- "import/no-extraneous-dependencies": [
- "error",
- {
- "devDependencies": [
- "**/test/**",
- "**/build-tools/**"
- ],
- "optionalDependencies": false,
- "peerDependencies": true
- }
- ],
- "import/no-unresolved": [
- "error"
- ],
- "import/order": [
- "warn",
- {
- "groups": [
- "builtin",
- "external"
- ],
- "alphabetize": {
- "order": "asc",
- "caseInsensitive": true
- }
- }
- ],
- "no-duplicate-imports": [
- "error"
- ],
- "no-shadow": [
- "off"
- ],
- "@typescript-eslint/no-shadow": [
- "error"
- ],
- "key-spacing": [
- "error"
- ],
- "no-multiple-empty-lines": [
- "error"
- ],
- "@typescript-eslint/no-floating-promises": [
- "error"
- ],
- "no-return-await": [
- "off"
- ],
- "@typescript-eslint/return-await": [
- "error"
- ],
- "no-trailing-spaces": [
- "error"
- ],
- "dot-notation": [
- "error"
- ],
- "no-bitwise": [
- "error"
- ],
- "@typescript-eslint/member-ordering": [
- "error",
- {
- "default": [
- "public-static-field",
- "public-static-method",
- "protected-static-field",
- "protected-static-method",
- "private-static-field",
- "private-static-method",
- "field",
- "constructor",
- "method"
- ]
- }
- ]
- },
- "overrides": []
-}
diff --git a/packages/client-lambda/.gitattributes b/packages/client-lambda/.gitattributes
deleted file mode 100644
index 1c2be5a..0000000
--- a/packages/client-lambda/.gitattributes
+++ /dev/null
@@ -1,21 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-
-/./tsconfig.esm.json linguist-generated
-/.eslintrc.json linguist-generated
-/.gitattributes linguist-generated
-/.gitignore linguist-generated
-/.npmignore linguist-generated
-/.npmrc linguist-generated
-/.prettierignore linguist-generated
-/.prettierrc.json linguist-generated
-/.projen/** linguist-generated
-/.projen/deps.json linguist-generated
-/.projen/files.json linguist-generated
-/.projen/tasks.json linguist-generated
-/docgen.json linguist-generated
-/LICENSE linguist-generated
-/package.json linguist-generated
-/pnpm-lock.yaml linguist-generated
-/project.json linguist-generated
-/tsconfig.dev.json linguist-generated
-/tsconfig.json linguist-generated
\ No newline at end of file
diff --git a/packages/client-lambda/.gitignore b/packages/client-lambda/.gitignore
deleted file mode 100644
index e4fdd83..0000000
--- a/packages/client-lambda/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-!/.gitattributes
-!/.projen/tasks.json
-!/.projen/deps.json
-!/.projen/files.json
-!/package.json
-!/LICENSE
-!/.npmignore
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-pids
-*.pid
-*.seed
-*.pid.lock
-lib-cov
-coverage
-*.lcov
-.nyc_output
-build/Release
-node_modules/
-jspm_packages/
-*.tsbuildinfo
-.eslintcache
-*.tgz
-.yarn-integrity
-.cache
-!/.prettierignore
-!/.prettierrc.json
-!/.npmrc
-!/test/
-!/tsconfig.json
-!/tsconfig.dev.json
-!/src/
-/lib
-/dist/
-!/.eslintrc.json
-!/tsconfig.esm.json
-!/project.json
-!/docgen.json
-docs/
diff --git a/packages/client-lambda/.npmignore b/packages/client-lambda/.npmignore
deleted file mode 100644
index 277d62e..0000000
--- a/packages/client-lambda/.npmignore
+++ /dev/null
@@ -1,20 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
-/.projen/
-/.prettierignore
-/.prettierrc.json
-/test/
-/tsconfig.dev.json
-/src/
-!/lib/
-!/lib/**/*.js
-!/lib/**/*.d.ts
-dist
-/tsconfig.json
-/.github/
-/.vscode/
-/.idea/
-/.projenrc.js
-tsconfig.tsbuildinfo
-/.eslintrc.json
-/tsconfig.esm.json
-/.gitattributes
diff --git a/packages/client-lambda/.prettierignore b/packages/client-lambda/.prettierignore
deleted file mode 100644
index 46704c7..0000000
--- a/packages/client-lambda/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
diff --git a/packages/client-lambda/.prettierrc.json b/packages/client-lambda/.prettierrc.json
deleted file mode 100644
index 84c85a3..0000000
--- a/packages/client-lambda/.prettierrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "overrides": []
-}
diff --git a/packages/client-lambda/.projen/deps.json b/packages/client-lambda/.projen/deps.json
deleted file mode 100644
index 7190071..0000000
--- a/packages/client-lambda/.projen/deps.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "dependencies": [
- {
- "name": "@types/node",
- "version": "^18",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/eslint-plugin",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "@typescript-eslint/parser",
- "version": "^6",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock",
- "type": "build"
- },
- {
- "name": "aws-sdk-client-mock-jest",
- "type": "build"
- },
- {
- "name": "constructs",
- "version": "^10.0.0",
- "type": "build"
- },
- {
- "name": "eslint-config-prettier",
- "type": "build"
- },
- {
- "name": "eslint-import-resolver-typescript",
- "type": "build"
- },
- {
- "name": "eslint-plugin-import",
- "type": "build"
- },
- {
- "name": "eslint-plugin-prettier",
- "type": "build"
- },
- {
- "name": "eslint",
- "version": "^8",
- "type": "build"
- },
- {
- "name": "prettier",
- "type": "build"
- },
- {
- "name": "projen",
- "version": "^0.79.6",
- "type": "build"
- },
- {
- "name": "typescript",
- "type": "build"
- },
- {
- "name": "effect",
- "version": ">=2.3.1 <2.5.0",
- "type": "peer"
- },
- {
- "name": "@aws-sdk/client-lambda",
- "version": "^3",
- "type": "runtime"
- },
- {
- "name": "@aws-sdk/types",
- "version": "^3",
- "type": "runtime"
- }
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/.projen/files.json b/packages/client-lambda/.projen/files.json
deleted file mode 100644
index c38792b..0000000
--- a/packages/client-lambda/.projen/files.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "files": [
- ".eslintrc.json",
- ".gitattributes",
- ".gitignore",
- ".npmignore",
- ".prettierignore",
- ".prettierrc.json",
- ".projen/deps.json",
- ".projen/files.json",
- ".projen/tasks.json",
- "docgen.json",
- "LICENSE",
- "project.json",
- "tsconfig.dev.json",
- "tsconfig.esm.json",
- "tsconfig.json"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/.projen/tasks.json b/packages/client-lambda/.projen/tasks.json
deleted file mode 100644
index 6ecb00a..0000000
--- a/packages/client-lambda/.projen/tasks.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "tasks": {
- "build": {
- "name": "build",
- "description": "Full release build",
- "steps": [
- {
- "spawn": "pre-compile"
- },
- {
- "spawn": "compile"
- },
- {
- "spawn": "post-compile"
- },
- {
- "spawn": "test"
- },
- {
- "spawn": "package"
- }
- ]
- },
- "compile": {
- "name": "compile",
- "description": "Only compile",
- "steps": [
- {
- "exec": "tsc -b ./tsconfig.json ./tsconfig.esm.json"
- }
- ]
- },
- "default": {
- "name": "default",
- "description": "Synthesize project files"
- },
- "eslint": {
- "name": "eslint",
- "description": "Runs eslint against the codebase",
- "steps": [
- {
- "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern $@ src test build-tools",
- "receiveArgs": true
- }
- ]
- },
- "install": {
- "name": "install",
- "description": "Install project dependencies and update lockfile (non-frozen)",
- "steps": [
- {
- "exec": "pnpm i --no-frozen-lockfile"
- }
- ]
- },
- "install:ci": {
- "name": "install:ci",
- "description": "Install project dependencies using frozen lockfile",
- "steps": [
- {
- "exec": "pnpm i --frozen-lockfile"
- }
- ]
- },
- "package": {
- "name": "package",
- "description": "Creates the distribution package"
- },
- "post-compile": {
- "name": "post-compile",
- "description": "Runs after successful compilation"
- },
- "pre-compile": {
- "name": "pre-compile",
- "description": "Prepare the project for compilation"
- },
- "test": {
- "name": "test",
- "description": "Run tests",
- "steps": [
- {
- "exec": "vitest run --globals --reporter verbose",
- "receiveArgs": true
- },
- {
- "spawn": "eslint"
- }
- ]
- },
- "test:watch": {
- "name": "test:watch",
- "description": "Run tests in watch mode",
- "steps": [
- {
- "exec": "vitest --globals --reporter verbose"
- }
- ]
- },
- "watch": {
- "name": "watch",
- "description": "Watch & compile in the background",
- "steps": [
- {
- "exec": "tsc --build -w"
- }
- ]
- }
- },
- "env": {
- "PATH": "$(pnpm -c exec \"node --print process.env.PATH\")"
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/CHANGELOG.md b/packages/client-lambda/CHANGELOG.md
deleted file mode 100644
index 5bb5698..0000000
--- a/packages/client-lambda/CHANGELOG.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# @effect-aws/client-lambda
-
-## 1.2.0
-
-### Minor Changes
-
-- [`4b5ee14`](https://github.com/floydspace/effect-aws/commit/4b5ee144d4d2f30e7a841a3cf5ccd7ff87d32132) Thanks [@floydspace](https://github.com/floydspace)! - return proper errors in failure channel in eventbridge and lambda services
-
-## 1.1.1
-
-### Patch Changes
-
-- [`b2f00db`](https://github.com/floydspace/effect-aws/commit/b2f00db5fdffaa74bcb124324db7313bd4f218df) Thanks [@floydspace](https://github.com/floydspace)! - update effect peer version
-
-## 1.1.0
-
-### Minor Changes
-
-- [`82eaea7`](https://github.com/floydspace/effect-aws/commit/82eaea778048c9ebba98682196448b0aa1586d2e) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect to v2.3 and fix breaking changes
-
-## 1.0.2
-
-### Patch Changes
-
-- [`88676ae`](https://github.com/floydspace/effect-aws/commit/88676ae3a5f7fa514cab58ba83a50a0774be1aa1) Thanks [@floydspace](https://github.com/floydspace)! - use effect@~2.2 as maximum allowed peer version
-
-## 1.0.1
-
-### Patch Changes
-
-- [#29](https://github.com/floydspace/effect-aws/pull/29) [`4b6c521`](https://github.com/floydspace/effect-aws/commit/4b6c521206c8ff76ff878938f6b90ee474cc8da2) Thanks [@godu](https://github.com/godu)! - improve tree shaking by using sideEffects flag
-
-## 1.0.0
-
-### Major Changes
-
-- [`3e5d0b3`](https://github.com/floydspace/effect-aws/commit/3e5d0b3b3882e0aa6d07bc06432990551316ac30) Thanks [@floydspace](https://github.com/floydspace)! - Upgrade to effect v2 and release stable version
-
-## 0.4.0
-
-### Minor Changes
-
-- [`744df3c`](https://github.com/floydspace/effect-aws/commit/744df3ca6406b3a35e3066d5fe11ca7082c4c454) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect dependency
-
-## 0.3.0
-
-### Minor Changes
-
-- [`0a969d8`](https://github.com/floydspace/effect-aws/commit/0a969d8a74c3bf1b87ff6a1c8bf689af849797e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect peer version
-
-## 0.2.2
-
-### Patch Changes
-
-- [`280d8bd`](https://github.com/floydspace/effect-aws/commit/280d8bd6686d6e7a2b73322a047e8eb22263b1e1) Thanks [@floydspace](https://github.com/floydspace)! - upgrade dependencies
-
-## 0.2.1
-
-### Patch Changes
-
-- [`6b99904`](https://github.com/floydspace/effect-aws/commit/6b9990497bdb20f240d8261b6382db421e9a3ec2) Thanks [@floydspace](https://github.com/floydspace)! - as @mikearnaldi said: "we should really never do tacit passing"
-
-## 0.2.0
-
-### Minor Changes
-
-- [#14](https://github.com/floydspace/effect-aws/pull/14) [`cddfb74`](https://github.com/floydspace/effect-aws/commit/cddfb74a00b10a13ccfe3749e90961119c4f0906) Thanks [@floydspace](https://github.com/floydspace)! - upgrade effect version to the next one
-
-## 0.1.0
-
-### Minor Changes
-
-- [`243882e`](https://github.com/floydspace/effect-aws/commit/243882e1bf71fa2c019f52f9d974f8cf1c433912) Thanks [@floydspace](https://github.com/floydspace)! - implement effectful dynamodb, eventbridge and lambda clients
diff --git a/packages/client-lambda/LICENSE b/packages/client-lambda/LICENSE
deleted file mode 100644
index 7afce46..0000000
--- a/packages/client-lambda/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2024 Victor Korzunin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/packages/client-lambda/README.md b/packages/client-lambda/README.md
deleted file mode 100644
index b3fa7dd..0000000
--- a/packages/client-lambda/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# replace this
\ No newline at end of file
diff --git a/packages/client-lambda/docgen.json b/packages/client-lambda/docgen.json
deleted file mode 100644
index b359fc7..0000000
--- a/packages/client-lambda/docgen.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "$schema": "../../node_modules/@effect/docgen/schema.json",
- "exclude": [
- "src/index.ts",
- "src/Errors.ts"
- ],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/package.json b/packages/client-lambda/package.json
deleted file mode 100644
index 790b1d6..0000000
--- a/packages/client-lambda/package.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "name": "@effect-aws/client-lambda",
- "scripts": {
- "build": "npx projen build",
- "compile": "npx projen compile",
- "default": "npx projen default",
- "eslint": "npx projen eslint",
- "package": "npx projen package",
- "post-compile": "npx projen post-compile",
- "pre-compile": "npx projen pre-compile",
- "test": "npx projen test",
- "test:watch": "npx projen test:watch",
- "watch": "npx projen watch",
- "docgen": "docgen"
- },
- "author": {
- "name": "Victor Korzunin",
- "email": "ifloydrose@gmail.com",
- "organization": false
- },
- "devDependencies": {
- "@types/node": "^18",
- "@typescript-eslint/eslint-plugin": "^6",
- "@typescript-eslint/parser": "^6",
- "aws-sdk-client-mock": "^3.0.0",
- "aws-sdk-client-mock-jest": "^3.0.0",
- "constructs": "^10.0.0",
- "effect": "2.3.1",
- "eslint": "^8",
- "eslint-config-prettier": "^9.0.0",
- "eslint-import-resolver-typescript": "^3.6.1",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-prettier": "^5.0.0",
- "prettier": "^3.0.3",
- "projen": "^0.79.6",
- "typescript": "^5.2.2"
- },
- "peerDependencies": {
- "effect": ">=2.3.1 <2.5.0"
- },
- "dependencies": {
- "@aws-sdk/client-lambda": "^3",
- "@aws-sdk/types": "^3"
- },
- "main": "lib/index.js",
- "license": "MIT",
- "homepage": "https://floydspace.github.io/effect-aws",
- "publishConfig": {
- "access": "public"
- },
- "version": "1.2.0",
- "types": "lib/index.d.ts",
- "module": "lib/esm/index.js",
- "sideEffects": [],
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/project.json b/packages/client-lambda/project.json
deleted file mode 100644
index 1e62ec6..0000000
--- a/packages/client-lambda/project.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "name": "@effect-aws/client-lambda",
- "root": "packages/client-lambda",
- "targets": {
- "default": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen default",
- "cwd": "packages/client-lambda"
- }
- },
- "pre-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen pre-compile",
- "cwd": "packages/client-lambda"
- }
- },
- "compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen compile",
- "cwd": "packages/client-lambda"
- }
- },
- "post-compile": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen post-compile",
- "cwd": "packages/client-lambda"
- }
- },
- "test": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test",
- "cwd": "packages/client-lambda"
- }
- },
- "package": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen package",
- "cwd": "packages/client-lambda"
- }
- },
- "build": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen build",
- "cwd": "packages/client-lambda"
- }
- },
- "watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen watch",
- "cwd": "packages/client-lambda"
- }
- },
- "eslint": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen eslint",
- "cwd": "packages/client-lambda"
- }
- },
- "test:watch": {
- "executor": "nx:run-commands",
- "options": {
- "command": "pnpm exec projen test:watch",
- "cwd": "packages/client-lambda"
- }
- }
- },
- "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
-}
diff --git a/packages/client-lambda/src/Errors.ts b/packages/client-lambda/src/Errors.ts
deleted file mode 100644
index 475464b..0000000
--- a/packages/client-lambda/src/Errors.ts
+++ /dev/null
@@ -1,102 +0,0 @@
-import type {
- CodeSigningConfigNotFoundException,
- CodeStorageExceededException,
- CodeVerificationFailedException,
- EC2AccessDeniedException,
- EC2ThrottledException,
- EC2UnexpectedException,
- EFSIOException,
- EFSMountConnectivityException,
- EFSMountFailureException,
- EFSMountTimeoutException,
- ENILimitReachedException,
- InvalidCodeSignatureException,
- InvalidParameterValueException,
- InvalidRequestContentException,
- InvalidRuntimeException,
- InvalidSecurityGroupIDException,
- InvalidSubnetIDException,
- InvalidZipFileException,
- KMSAccessDeniedException,
- KMSDisabledException,
- KMSInvalidStateException,
- KMSNotFoundException,
- PolicyLengthExceededException,
- PreconditionFailedException,
- ProvisionedConcurrencyConfigNotFoundException,
- RecursiveInvocationException,
- RequestTooLargeException,
- ResourceConflictException,
- ResourceInUseException,
- ResourceNotFoundException,
- ResourceNotReadyException,
- ServiceException,
- SnapStartException,
- SnapStartNotReadyException,
- SnapStartTimeoutException,
- SubnetIPAddressLimitReachedException,
- TooManyRequestsException,
- UnsupportedMediaTypeException,
-} from "@aws-sdk/client-lambda";
-import * as Data from "effect/Data";
-
-export type TaggedException = T & {
- readonly _tag: T["name"];
-};
-
-export type CodeSigningConfigNotFoundError =
- TaggedException;
-export type CodeStorageExceededError =
- TaggedException;
-export type CodeVerificationFailedError =
- TaggedException;
-export type EC2AccessDeniedError = TaggedException;
-export type EC2ThrottledError = TaggedException;
-export type EC2UnexpectedError = TaggedException;
-export type EFSIOError = TaggedException;
-export type EFSMountConnectivityError =
- TaggedException