New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@effect-aws/client-account

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect-aws/client-account

[![npm version](https://img.shields.io/npm/v/%40effect-aws%2Fclient-account?color=brightgreen&label=npm%20package)](https://www.npmjs.com/package/@effect-aws/client-account) [![npm downloads](https://img.shields.io/npm/dm/%40effect-aws%2Fclient-account)](

  • 1.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

@effect-aws/client-account

npm version npm downloads

Installation

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

Usage

With default AccountClient instance:

import { Account } from "@effect-aws/client-account";

const program = Account.listRegions(args);

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

With custom AccountClient instance:

import { Account } from "@effect-aws/client-account";

const program = Account.listRegions(args);

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

With custom AccountClient configuration:

import { Account } from "@effect-aws/client-account";

const program = Account.listRegions(args);

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

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

FAQs

Package last updated on 20 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc