Socket
Socket
Sign inDemoInstall

@aws-sdk/client-rbin

Package Overview
Dependencies
Maintainers
7
Versions
300
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.46.0 to 3.47.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
### Features
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)

@@ -8,0 +19,0 @@

26

dist-cjs/models/models_0.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesResponse = exports.RuleSummary = exports.ListRulesRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.InternalServerException = exports.CreateRuleResponse = exports.RuleStatus = exports.CreateRuleRequest = exports.Tag = exports.RetentionPeriod = exports.RetentionPeriodUnit = exports.ResourceType = exports.ResourceTag = void 0;
exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRulesResponse = exports.RuleSummary = exports.ListRulesRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.ResourceNotFoundExceptionReason = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.ValidationExceptionReason = exports.ServiceQuotaExceededExceptionReason = exports.CreateRuleResponse = exports.RuleStatus = exports.CreateRuleRequest = exports.Tag = exports.RetentionPeriod = exports.RetentionPeriodUnit = exports.ResourceType = exports.ResourceTag = void 0;
var ResourceTag;

@@ -47,8 +47,2 @@ (function (ResourceTag) {

})(CreateRuleResponse = exports.CreateRuleResponse || (exports.CreateRuleResponse = {}));
var InternalServerException;
(function (InternalServerException) {
InternalServerException.filterSensitiveLog = (obj) => ({
...obj,
});
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
var ServiceQuotaExceededExceptionReason;

@@ -58,8 +52,2 @@ (function (ServiceQuotaExceededExceptionReason) {

})(ServiceQuotaExceededExceptionReason = exports.ServiceQuotaExceededExceptionReason || (exports.ServiceQuotaExceededExceptionReason = {}));
var ServiceQuotaExceededException;
(function (ServiceQuotaExceededException) {
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
...obj,
});
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
var ValidationExceptionReason;

@@ -70,8 +58,2 @@ (function (ValidationExceptionReason) {

})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
var ValidationException;
(function (ValidationException) {
ValidationException.filterSensitiveLog = (obj) => ({
...obj,
});
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
var DeleteRuleRequest;

@@ -93,8 +75,2 @@ (function (DeleteRuleRequest) {

})(ResourceNotFoundExceptionReason = exports.ResourceNotFoundExceptionReason || (exports.ResourceNotFoundExceptionReason = {}));
var ResourceNotFoundException;
(function (ResourceNotFoundException) {
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
...obj,
});
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
var GetRuleRequest;

@@ -101,0 +77,0 @@ (function (GetRuleRequest) {

@@ -16,4 +16,8 @@ "use strict";

const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
const smithy_client_1 = require("@aws-sdk/smithy-client");
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
const getRuntimeConfig = (config) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);

@@ -24,2 +28,3 @@ return {

runtime: "browser",
defaultsMode,
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,

@@ -32,4 +37,4 @@ base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,

region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,

@@ -36,0 +41,0 @@ streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,

@@ -18,4 +18,8 @@ "use strict";

const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
const smithy_client_1 = require("@aws-sdk/smithy-client");
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
const getRuntimeConfig = (config) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);

@@ -26,2 +30,3 @@ return {

runtime: "node",
defaultsMode,
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,

@@ -34,4 +39,7 @@ base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,

region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
}),
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),

@@ -38,0 +46,0 @@ streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,

@@ -35,6 +35,2 @@ import { __assign } from "tslib";

})(CreateRuleResponse || (CreateRuleResponse = {}));
export var InternalServerException;
(function (InternalServerException) {
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(InternalServerException || (InternalServerException = {}));
export var ServiceQuotaExceededExceptionReason;

@@ -44,6 +40,2 @@ (function (ServiceQuotaExceededExceptionReason) {

})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
export var ServiceQuotaExceededException;
(function (ServiceQuotaExceededException) {
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
export var ValidationExceptionReason;

@@ -54,6 +46,2 @@ (function (ValidationExceptionReason) {

})(ValidationExceptionReason || (ValidationExceptionReason = {}));
export var ValidationException;
(function (ValidationException) {
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ValidationException || (ValidationException = {}));
export var DeleteRuleRequest;

@@ -71,6 +59,2 @@ (function (DeleteRuleRequest) {

})(ResourceNotFoundExceptionReason || (ResourceNotFoundExceptionReason = {}));
export var ResourceNotFoundException;
(function (ResourceNotFoundException) {
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
export var GetRuleRequest;

@@ -77,0 +61,0 @@ (function (GetRuleRequest) {

@@ -1,6 +0,6 @@

import { __assign } from "tslib";
import { __assign, __awaiter, __generator } from "tslib";
import packageInfo from "../package.json";
import { Sha256 } from "@aws-crypto/sha256-browser";
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
import { invalidProvider } from "@aws-sdk/invalid-dependency";

@@ -13,6 +13,15 @@ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";

import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
export var getRuntimeConfig = function (config) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
var defaultsMode = resolveDefaultsModeConfig(config);
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
var clientSharedValues = getSharedRuntimeConfig(config);
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4, defaultConfigProvider()];
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
}
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
};

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

import { __assign } from "tslib";
import { __assign, __awaiter, __generator } from "tslib";
import packageInfo from "../package.json";

@@ -7,5 +7,5 @@ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";

import { Hash } from "@aws-sdk/hash-node";
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";

@@ -16,6 +16,15 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";

import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
export var getRuntimeConfig = function (config) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
var defaultsMode = resolveDefaultsModeConfig(config);
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
var clientSharedValues = getSharedRuntimeConfig(config);
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4, defaultConfigProvider()];
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
}
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
};

@@ -150,8 +150,2 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

}
export declare namespace InternalServerException {
/**
* @internal
*/
const filterSensitiveLog: (obj: InternalServerException) => any;
}
export declare enum ServiceQuotaExceededExceptionReason {

@@ -172,8 +166,2 @@ SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"

}
export declare namespace ServiceQuotaExceededException {
/**
* @internal
*/
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
}
export declare enum ValidationExceptionReason {

@@ -195,8 +183,2 @@ INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",

}
export declare namespace ValidationException {
/**
* @internal
*/
const filterSensitiveLog: (obj: ValidationException) => any;
}
export interface DeleteRuleRequest {

@@ -237,8 +219,2 @@ /**

}
export declare namespace ResourceNotFoundException {
/**
* @internal
*/
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
}
export interface GetRuleRequest {

@@ -245,0 +221,0 @@ /**

@@ -7,3 +7,3 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";

import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";

@@ -120,2 +120,6 @@ import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";

defaultUserAgentProvider?: Provider<__UserAgent>;
/**
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
*/
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
}

@@ -122,0 +126,0 @@ declare type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;

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

import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
import { RbinClientConfig } from "./RbinClient";

@@ -8,2 +8,3 @@ /**

runtime: string;
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
base64Decoder: import("@aws-sdk/types").Decoder;

@@ -16,3 +17,3 @@ base64Encoder: import("@aws-sdk/types").Encoder;

region: string | import("@aws-sdk/types").Provider<any>;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
retryMode: string | import("@aws-sdk/types").Provider<string>;

@@ -19,0 +20,0 @@ sha256: import("@aws-sdk/types").HashConstructor;

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

import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
import { RbinClientConfig } from "./RbinClient";

@@ -8,10 +8,11 @@ /**

runtime: string;
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
base64Decoder: import("@aws-sdk/types").Decoder;
base64Encoder: import("@aws-sdk/types").Encoder;
bodyLengthChecker: (body: any) => number | undefined;
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
region: string | import("@aws-sdk/types").Provider<string>;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
retryMode: string | import("@aws-sdk/types").Provider<string>;

@@ -18,0 +19,0 @@ sha256: import("@aws-sdk/types").HashConstructor;

@@ -28,2 +28,3 @@ import { RbinClientConfig } from "./RbinClient";

defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;

@@ -30,0 +31,0 @@ tls?: boolean | undefined;

@@ -87,6 +87,2 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

}
export declare namespace InternalServerException {
const filterSensitiveLog: (obj: InternalServerException) => any;
}
export declare enum ServiceQuotaExceededExceptionReason {

@@ -103,6 +99,2 @@ SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"

}
export declare namespace ServiceQuotaExceededException {
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
}
export declare enum ValidationExceptionReason {

@@ -120,6 +112,2 @@ INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",

}
export declare namespace ValidationException {
const filterSensitiveLog: (obj: ValidationException) => any;
}
export interface DeleteRuleRequest {

@@ -150,6 +138,2 @@

}
export declare namespace ResourceNotFoundException {
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
}
export interface GetRuleRequest {

@@ -156,0 +140,0 @@

@@ -7,3 +7,3 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";

import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";

@@ -63,2 +63,4 @@ import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";

defaultUserAgentProvider?: Provider<__UserAgent>;
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
}

@@ -65,0 +67,0 @@ declare type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;

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

import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
import { RbinClientConfig } from "./RbinClient";

@@ -6,2 +6,3 @@

runtime: string;
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
base64Decoder: import("@aws-sdk/types").Decoder;

@@ -14,3 +15,3 @@ base64Encoder: import("@aws-sdk/types").Encoder;

region: string | import("@aws-sdk/types").Provider<any>;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
retryMode: string | import("@aws-sdk/types").Provider<string>;

@@ -17,0 +18,0 @@ sha256: import("@aws-sdk/types").HashConstructor;

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

import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
import { RbinClientConfig } from "./RbinClient";

@@ -6,10 +6,11 @@

runtime: string;
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
base64Decoder: import("@aws-sdk/types").Decoder;
base64Encoder: import("@aws-sdk/types").Encoder;
bodyLengthChecker: (body: any) => number | undefined;
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
region: string | import("@aws-sdk/types").Provider<string>;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
retryMode: string | import("@aws-sdk/types").Provider<string>;

@@ -16,0 +17,0 @@ sha256: import("@aws-sdk/types").HashConstructor;

@@ -26,2 +26,3 @@ import { RbinClientConfig } from "./RbinClient";

defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;

@@ -28,0 +29,0 @@ tls?: boolean | undefined;

{
"name": "@aws-sdk/client-rbin",
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
"version": "3.46.0",
"version": "3.47.0",
"scripts": {
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"build:cjs": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:docs": "typedoc",

@@ -12,5 +12,3 @@ "build:es": "tsc -p tsconfig.es.json",

"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
"clean": "yarn clean:dist && yarn clean:docs",
"clean:dist": "rimraf ./dist-*",
"clean:docs": "rimraf ./docs"
"clean": "rimraf ./dist-*"
},

@@ -24,34 +22,36 @@ "main": "./dist-cjs/index.js",

"@aws-crypto/sha256-js": "2.0.0",
"@aws-sdk/client-sts": "3.46.0",
"@aws-sdk/config-resolver": "3.46.0",
"@aws-sdk/credential-provider-node": "3.46.0",
"@aws-sdk/fetch-http-handler": "3.46.0",
"@aws-sdk/hash-node": "3.46.0",
"@aws-sdk/invalid-dependency": "3.46.0",
"@aws-sdk/middleware-content-length": "3.46.0",
"@aws-sdk/middleware-host-header": "3.46.0",
"@aws-sdk/middleware-logger": "3.46.0",
"@aws-sdk/middleware-retry": "3.46.0",
"@aws-sdk/middleware-serde": "3.46.0",
"@aws-sdk/middleware-signing": "3.46.0",
"@aws-sdk/middleware-stack": "3.46.0",
"@aws-sdk/middleware-user-agent": "3.46.0",
"@aws-sdk/node-config-provider": "3.46.0",
"@aws-sdk/node-http-handler": "3.46.0",
"@aws-sdk/protocol-http": "3.46.0",
"@aws-sdk/smithy-client": "3.46.0",
"@aws-sdk/types": "3.46.0",
"@aws-sdk/url-parser": "3.46.0",
"@aws-sdk/util-base64-browser": "3.46.0",
"@aws-sdk/util-base64-node": "3.46.0",
"@aws-sdk/util-body-length-browser": "3.46.0",
"@aws-sdk/util-body-length-node": "3.46.0",
"@aws-sdk/util-user-agent-browser": "3.46.0",
"@aws-sdk/util-user-agent-node": "3.46.0",
"@aws-sdk/util-utf8-browser": "3.46.0",
"@aws-sdk/util-utf8-node": "3.46.0",
"@aws-sdk/client-sts": "3.47.0",
"@aws-sdk/config-resolver": "3.47.0",
"@aws-sdk/credential-provider-node": "3.47.0",
"@aws-sdk/fetch-http-handler": "3.47.0",
"@aws-sdk/hash-node": "3.47.0",
"@aws-sdk/invalid-dependency": "3.47.0",
"@aws-sdk/middleware-content-length": "3.47.0",
"@aws-sdk/middleware-host-header": "3.47.0",
"@aws-sdk/middleware-logger": "3.47.0",
"@aws-sdk/middleware-retry": "3.47.0",
"@aws-sdk/middleware-serde": "3.47.0",
"@aws-sdk/middleware-signing": "3.47.0",
"@aws-sdk/middleware-stack": "3.47.0",
"@aws-sdk/middleware-user-agent": "3.47.0",
"@aws-sdk/node-config-provider": "3.47.0",
"@aws-sdk/node-http-handler": "3.47.0",
"@aws-sdk/protocol-http": "3.47.0",
"@aws-sdk/smithy-client": "3.47.0",
"@aws-sdk/types": "3.47.0",
"@aws-sdk/url-parser": "3.47.0",
"@aws-sdk/util-base64-browser": "3.47.0",
"@aws-sdk/util-base64-node": "3.47.0",
"@aws-sdk/util-body-length-browser": "3.47.0",
"@aws-sdk/util-body-length-node": "3.47.0",
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
"@aws-sdk/util-defaults-mode-node": "3.47.0",
"@aws-sdk/util-user-agent-browser": "3.47.0",
"@aws-sdk/util-user-agent-node": "3.47.0",
"@aws-sdk/util-utf8-browser": "3.47.0",
"@aws-sdk/util-utf8-node": "3.47.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@aws-sdk/service-client-documentation-generator": "3.46.0",
"@aws-sdk/service-client-documentation-generator": "3.47.0",
"@types/node": "^12.7.5"

@@ -58,0 +58,0 @@ },

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