Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-rbin

Package Overview
Dependencies
Maintainers
5
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-rbin - npm Package Compare versions

Comparing version 3.511.0 to 3.513.0

dist-cjs/auth/httpAuthExtensionConfiguration.js

72

dist-cjs/index.js

@@ -60,5 +60,5 @@ "use strict";

var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
var import_middleware_signing = require("@aws-sdk/middleware-signing");
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
var import_config_resolver = require("@smithy/config-resolver");
var import_core = require("@smithy/core");
var import_middleware_content_length = require("@smithy/middleware-content-length");

@@ -68,2 +68,3 @@ var import_middleware_endpoint = require("@smithy/middleware-endpoint");

var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");

@@ -93,2 +94,43 @@ // src/endpoint/EndpointParameters.ts

var import_smithy_client = require("@smithy/smithy-client");
// src/auth/httpAuthExtensionConfiguration.ts
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
let _credentials = runtimeConfig.credentials;
return {
setHttpAuthScheme(httpAuthScheme) {
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
if (index === -1) {
_httpAuthSchemes.push(httpAuthScheme);
} else {
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
}
},
httpAuthSchemes() {
return _httpAuthSchemes;
},
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
_httpAuthSchemeProvider = httpAuthSchemeProvider;
},
httpAuthSchemeProvider() {
return _httpAuthSchemeProvider;
},
setCredentials(credentials) {
_credentials = credentials;
},
credentials() {
return _credentials;
}
};
}, "getHttpAuthExtensionConfiguration");
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
return {
httpAuthSchemes: config.httpAuthSchemes(),
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
credentials: config.credentials()
};
}, "resolveHttpAuthRuntimeConfig");
// src/runtimeExtensions.ts
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");

@@ -99,3 +141,4 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {

...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
};

@@ -107,3 +150,4 @@ extensions.forEach((extension) => extension.configure(extensionConfiguration));

...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
};

@@ -121,4 +165,4 @@ }, "resolveRuntimeExtensions");

const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);

@@ -132,4 +176,10 @@ super(_config_8);

this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
this.middlewareStack.use(
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
})
);
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
}

@@ -144,2 +194,10 @@ /**

}
getDefaultHttpAuthSchemeParametersProvider() {
return import_httpAuthSchemeProvider.defaultRbinHttpAuthSchemeParametersProvider;
}
getIdentityProviderConfigProvider() {
return async (config) => new import_core.DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials
});
}
};

@@ -159,5 +217,5 @@ __name(_RbinClient, "RbinClient");

// src/protocols/Aws_restJson1.ts
var import_core = require("@smithy/core");
// src/models/RbinServiceException.ts

@@ -164,0 +222,0 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRuntimeConfig = void 0;
const core_1 = require("@aws-sdk/core");
const smithy_client_1 = require("@smithy/smithy-client");

@@ -8,2 +9,3 @@ const url_parser_1 = require("@smithy/url-parser");

const util_utf8_1 = require("@smithy/util-utf8");
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
const endpointResolver_1 = require("./endpoint/endpointResolver");

@@ -18,2 +20,10 @@ const getRuntimeConfig = (config) => {

extensions: config?.extensions ?? [],
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultRbinHttpAuthSchemeProvider,
httpAuthSchemes: config?.httpAuthSchemes ?? [
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new core_1.AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),

@@ -20,0 +30,0 @@ serviceId: config?.serviceId ?? "rbin",

import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
import { resolveRegionConfig } from "@smithy/config-resolver";
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
import { getContentLengthPlugin } from "@smithy/middleware-content-length";

@@ -11,2 +11,3 @@ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";

import { Client as __Client, } from "@smithy/smithy-client";
import { defaultRbinHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";

@@ -24,4 +25,4 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";

const _config_5 = resolveHostHeaderConfig(_config_4);
const _config_6 = resolveAwsAuthConfig(_config_5);
const _config_7 = resolveUserAgentConfig(_config_6);
const _config_6 = resolveUserAgentConfig(_config_5);
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);

@@ -35,4 +36,8 @@ super(_config_8);

this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
this.middlewareStack.use(getAwsAuthPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
}));
this.middlewareStack.use(getHttpSigningPlugin(this.config));
}

@@ -42,2 +47,10 @@ destroy() {

}
getDefaultHttpAuthSchemeParametersProvider() {
return defaultRbinHttpAuthSchemeParametersProvider;
}
getIdentityProviderConfigProvider() {
return async (config) => new DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
});
}
}

@@ -0,1 +1,2 @@

import { AwsSdkSigV4Signer } from "@aws-sdk/core";
import { NoOpLogger } from "@smithy/smithy-client";

@@ -5,2 +6,3 @@ import { parseUrl } from "@smithy/url-parser";

import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
import { defaultRbinHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
import { defaultEndpointResolver } from "./endpoint/endpointResolver";

@@ -15,2 +17,10 @@ export const getRuntimeConfig = (config) => {

extensions: config?.extensions ?? [],
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultRbinHttpAuthSchemeProvider,
httpAuthSchemes: config?.httpAuthSchemes ?? [
{
schemeId: "aws.auth#sigv4",
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
signer: new AwsSdkSigV4Signer(),
},
],
logger: config?.logger ?? new NoOpLogger(),

@@ -17,0 +27,0 @@ serviceId: config?.serviceId ?? "rbin",

import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
const asPartial = (t) => t;

@@ -10,2 +11,3 @@ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {

...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
};

@@ -18,3 +20,4 @@ extensions.forEach((extension) => extension.configure(extensionConfiguration));

...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
};
};

3

dist-types/extensionConfiguration.d.ts
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
/**
* @internal
*/
export interface RbinExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
export interface RbinExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
}
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
import { Credentials as __Credentials } from "@aws-sdk/types";
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";

@@ -10,3 +8,4 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";

import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";

@@ -106,2 +105,7 @@ import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";

/**
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
* @internal
*/
defaultUserAgentProvider?: Provider<__UserAgent>;
/**
* The AWS region to which this client will send requests

@@ -112,11 +116,7 @@ */

* Default credentials provider; Not available in browser runtime.
* @deprecated
* @internal
*/
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
/**
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
* @internal
*/
defaultUserAgentProvider?: Provider<__UserAgent>;
/**
* Value for how many times a request will be made at most in case of retry.

@@ -147,3 +147,3 @@ */

*/
export type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
export type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
/**

@@ -159,3 +159,3 @@ * @public

*/
export type RbinClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
export type RbinClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
/**

@@ -195,2 +195,4 @@ * @public

destroy(): void;
private getDefaultHttpAuthSchemeParametersProvider;
private getIdentityProviderConfigProvider;
}

@@ -10,3 +10,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;

@@ -40,3 +40,6 @@ maxAttempts: number | import("@smithy/types").Provider<number>;

retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;

@@ -47,3 +50,2 @@ signingEscapePath?: boolean | undefined;

signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -39,3 +39,6 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;

@@ -46,3 +49,2 @@ signingEscapePath?: boolean | undefined;

signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -24,5 +24,5 @@ import { RbinClientConfig } from "./RbinClient";

useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
region: string | import("@smithy/types").Provider<any>;
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -39,3 +39,6 @@ retryMode: string | import("@smithy/types").Provider<string>;

retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;

@@ -46,3 +49,2 @@ signingEscapePath?: boolean | undefined;

signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -14,2 +14,4 @@ import { RbinClientConfig } from "./RbinClient";

extensions: import("./runtimeExtensions").RuntimeExtension[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
logger: import("@smithy/types").Logger;

@@ -16,0 +18,0 @@ serviceId: string;

import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
import { DefaultExtensionConfiguration } from "@smithy/types";
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
export interface RbinExtensionConfiguration
extends HttpHandlerExtensionConfiguration,
DefaultExtensionConfiguration,
AwsRegionExtensionConfiguration {}
AwsRegionExtensionConfiguration,
HttpAuthExtensionConfiguration {}

@@ -6,10 +6,5 @@ import {

import {
AwsAuthInputConfig,
AwsAuthResolvedConfig,
} from "@aws-sdk/middleware-signing";
import {
UserAgentInputConfig,
UserAgentResolvedConfig,
} from "@aws-sdk/middleware-user-agent";
import { Credentials as __Credentials } from "@aws-sdk/types";
import {

@@ -35,2 +30,3 @@ RegionInputConfig,

import {
AwsCredentialIdentityProvider,
BodyLengthCalculator as __BodyLengthCalculator,

@@ -51,2 +47,6 @@ CheckOptionalClientConfig as __CheckOptionalClientConfig,

import {
HttpAuthSchemeInputConfig,
HttpAuthSchemeResolvedConfig,
} from "./auth/httpAuthSchemeProvider";
import {
CreateRuleCommandInput,

@@ -136,5 +136,5 @@ CreateRuleCommandOutput,

useFipsEndpoint?: boolean | __Provider<boolean>;
defaultUserAgentProvider?: Provider<__UserAgent>;
region?: string | __Provider<string>;
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
defaultUserAgentProvider?: Provider<__UserAgent>;
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
maxAttempts?: number | __Provider<number>;

@@ -154,4 +154,4 @@ retryMode?: string | __Provider<string>;

HostHeaderInputConfig &
AwsAuthInputConfig &
UserAgentInputConfig &
HttpAuthSchemeInputConfig &
ClientInputEndpointParameters;

@@ -167,4 +167,4 @@ export interface RbinClientConfig extends RbinClientConfigType {}

HostHeaderResolvedConfig &
AwsAuthResolvedConfig &
UserAgentResolvedConfig &
HttpAuthSchemeResolvedConfig &
ClientResolvedEndpointParameters;

@@ -184,2 +184,4 @@ export interface RbinClientResolvedConfig

destroy(): void;
private getDefaultHttpAuthSchemeParametersProvider;
private getIdentityProviderConfigProvider;
}

@@ -11,3 +11,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

input: any
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
) => import("@smithy/types").AwsCredentialIdentityProvider;
defaultUserAgentProvider: import("@smithy/types").Provider<

@@ -76,7 +76,8 @@ import("@smithy/types").UserAgent

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?:
| import("@smithy/types").AwsCredentialIdentity
| import("@smithy/types").Provider<
import("@smithy/types").AwsCredentialIdentity
>
| import("@smithy/types").AwsCredentialIdentityProvider
| undefined;

@@ -98,3 +99,2 @@ signer?:

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -79,7 +79,8 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?:
| import("@smithy/types").AwsCredentialIdentity
| import("@smithy/types").Provider<
import("@smithy/types").AwsCredentialIdentity
>
| import("@smithy/types").AwsCredentialIdentityProvider
| undefined;

@@ -101,3 +102,2 @@ signer?:

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -32,9 +32,9 @@ import { RbinClientConfig } from "./RbinClient";

useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
defaultUserAgentProvider: import("@smithy/types").Provider<
import("@smithy/types").UserAgent
>;
region: string | import("@smithy/types").Provider<any>;
credentialDefaultProvider: (
input: any
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
defaultUserAgentProvider: import("@smithy/types").Provider<
import("@smithy/types").UserAgent
>;
) => import("@smithy/types").AwsCredentialIdentityProvider;
maxAttempts: number | import("@smithy/types").Provider<number>;

@@ -67,7 +67,8 @@ retryMode: string | import("@smithy/types").Provider<string>;

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
credentials?:
| import("@smithy/types").AwsCredentialIdentity
| import("@smithy/types").Provider<
import("@smithy/types").AwsCredentialIdentity
>
| import("@smithy/types").AwsCredentialIdentityProvider
| undefined;

@@ -89,3 +90,2 @@ signer?:

| undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
};

@@ -14,2 +14,4 @@ import { RbinClientConfig } from "./RbinClient";

extensions: import("./runtimeExtensions").RuntimeExtension[];
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RbinHttpAuthSchemeProvider;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
logger: import("@smithy/types").Logger;

@@ -16,0 +18,0 @@ serviceId: string;

{
"name": "@aws-sdk/client-rbin",
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
"version": "3.511.0",
"version": "3.513.0",
"scripts": {

@@ -23,9 +23,8 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.511.0",
"@aws-sdk/core": "3.511.0",
"@aws-sdk/credential-provider-node": "3.511.0",
"@aws-sdk/client-sts": "3.513.0",
"@aws-sdk/core": "3.513.0",
"@aws-sdk/credential-provider-node": "3.513.0",
"@aws-sdk/middleware-host-header": "3.511.0",
"@aws-sdk/middleware-logger": "3.511.0",
"@aws-sdk/middleware-recursion-detection": "3.511.0",
"@aws-sdk/middleware-signing": "3.511.0",
"@aws-sdk/middleware-user-agent": "3.511.0",

@@ -38,3 +37,3 @@ "@aws-sdk/region-config-resolver": "3.511.0",

"@smithy/config-resolver": "^2.1.1",
"@smithy/core": "^1.3.1",
"@smithy/core": "^1.3.2",
"@smithy/fetch-http-handler": "^2.4.1",

@@ -58,4 +57,5 @@ "@smithy/hash-node": "^2.1.1",

"@smithy/util-defaults-mode-browser": "^2.1.1",
"@smithy/util-defaults-mode-node": "^2.1.1",
"@smithy/util-defaults-mode-node": "^2.2.0",
"@smithy/util-endpoints": "^1.1.1",
"@smithy/util-middleware": "^2.1.1",
"@smithy/util-retry": "^2.1.1",

@@ -62,0 +62,0 @@ "@smithy/util-utf8": "^2.1.1",

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