Socket
Book a DemoInstallSign in
Socket

@effect-aws/client-codedeploy

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect-aws/client-codedeploy

Effectful AWS CodeDeploy client

latest
Source
npmnpm
Version
1.10.3
Version published
Weekly downloads
14
366.67%
Maintainers
1
Weekly downloads
 
Created
Source

@effect-aws/client-codedeploy

npm version npm downloads

Installation

npm install --save @effect-aws/client-codedeploy

Usage

With default CodeDeployClient instance:

import { CodeDeploy } from "@effect-aws/client-codedeploy";

const program = CodeDeploy.listApplications(args);

const result = pipe(
  program,
  Effect.provide(CodeDeploy.defaultLayer),
  Effect.runPromise,
);

With custom CodeDeployClient instance:

import { CodeDeploy } from "@effect-aws/client-codedeploy";

const program = CodeDeploy.listApplications(args);

const result = await pipe(
  program,
  Effect.provide(
    CodeDeploy.baseLayer(() => new CodeDeployClient({ region: "eu-central-1" })),
  ),
  Effect.runPromise,
);

With custom CodeDeployClient configuration:

import { CodeDeploy } from "@effect-aws/client-codedeploy";

const program = CodeDeploy.listApplications(args);

const result = await pipe(
  program,
  Effect.provide(CodeDeploy.layer({ region: "eu-central-1" })),
  Effect.runPromiseExit,
);

or use CodeDeploy.baseLayer((default) => new CodeDeployClient({ ...default, region: "eu-central-1" }))

FAQs

Package last updated on 17 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts