Socket
Socket
Sign inDemoInstall

@aws-sdk/types

Package Overview
Dependencies
Maintainers
7
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/types - npm Package Compare versions

Comparing version 3.38.0 to 3.40.0

9

dist-types/ts3.4/util.d.ts

@@ -40,4 +40,11 @@ import { Endpoint } from "./http";

export interface RegionInfoProviderOptions {
useDualstackEndpoint: boolean;
useFipsEndpoint: boolean;
}
export interface RegionInfoProvider {
(region: string, options?: any): Promise<RegionInfo | undefined>;
(region: string, options?: RegionInfoProviderOptions): Promise<RegionInfo | undefined>;
}

@@ -44,0 +51,0 @@

@@ -80,2 +80,17 @@ import { Endpoint } from "./http";

/**
* Options to pass when calling {@link RegionInfoProvider}
*/
export interface RegionInfoProviderOptions {
/**
* Enables IPv6/IPv4 dualstack endpoint.
* @default false
*/
useDualstackEndpoint: boolean;
/**
* Enables FIPS compatible endpoints.
* @default false
*/
useFipsEndpoint: boolean;
}
/**
* Function returns designated service's regionalization

@@ -87,3 +102,3 @@ * information from given region. Each service client

export interface RegionInfoProvider {
(region: string, options?: any): Promise<RegionInfo | undefined>;
(region: string, options?: RegionInfoProviderOptions): Promise<RegionInfo | undefined>;
}

@@ -90,0 +105,0 @@ /**

2

package.json
{
"name": "@aws-sdk/types",
"version": "3.38.0",
"version": "3.40.0",
"main": "./dist-cjs/index.js",

@@ -5,0 +5,0 @@ "module": "./dist-es/index.js",

Sorry, the diff of this file is too big to display

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