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

@effect-aws/client-cloudsearch

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect-aws/client-cloudsearch

Effectful AWS CloudSearch client

  • 1.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
100
increased by19.05%
Maintainers
0
Weekly downloads
 
Created
Source

@effect-aws/client-cloudsearch

npm version npm downloads

Installation

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

Usage

With default CloudSearchClient instance:

import { CloudSearch } from "@effect-aws/client-cloudsearch";

const program = CloudSearch.describeDomains(args);

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

With custom CloudSearchClient instance:

import { CloudSearch } from "@effect-aws/client-cloudsearch";

const program = CloudSearch.describeDomains(args);

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

With custom CloudSearchClient configuration:

import { CloudSearch } from "@effect-aws/client-cloudsearch";

const program = CloudSearch.describeDomains(args);

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

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

FAQs

Package last updated on 09 Feb 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