Socket
Socket
Sign inDemoInstall

@aws-sdk/client-connectcampaigns

Package Overview
Dependencies
Maintainers
5
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.234.0 to 3.235.0

319

dist-cjs/endpoint/ruleset.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleSet = void 0;
exports.ruleSet = {
version: "1.0",
parameters: {
Region: {
builtIn: "AWS::Region",
required: false,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
UseDualStack: {
builtIn: "AWS::UseDualStack",
required: true,
default: false,
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
type: "Boolean",
},
UseFIPS: {
builtIn: "AWS::UseFIPS",
required: true,
default: false,
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
type: "Boolean",
},
Endpoint: {
builtIn: "SDK::Endpoint",
required: false,
documentation: "Override the endpoint used to send this request",
type: "String",
},
},
rules: [
{
conditions: [
{
fn: "aws.partition",
argv: [
{
ref: "Region",
},
],
assign: "PartitionResult",
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "isSet",
argv: [
{
ref: "Endpoint",
},
],
},
{
fn: "parseURL",
argv: [
{
ref: "Endpoint",
},
],
assign: "url",
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
],
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
type: "error",
},
{
conditions: [],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
type: "error",
},
{
conditions: [],
endpoint: {
url: {
ref: "Endpoint",
},
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsFIPS",
],
},
],
},
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsDualStack",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
{
conditions: [],
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
type: "error",
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsFIPS",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
},
{
conditions: [],
error: "FIPS is enabled but this partition does not support FIPS",
type: "error",
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsDualStack",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
{
conditions: [],
error: "DualStack is enabled but this partition does not support DualStack",
type: "error",
},
],
},
{
conditions: [],
endpoint: {
url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
};
const s = "fn", t = "argv", u = "ref";
const a = false, b = true, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [], r = [k];
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], type: f, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: q, type: f, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: q, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: p, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: q, type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: q, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: r, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: q, endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
exports.ruleSet = _data;

@@ -1,315 +0,4 @@

export const ruleSet = {
version: "1.0",
parameters: {
Region: {
builtIn: "AWS::Region",
required: false,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
UseDualStack: {
builtIn: "AWS::UseDualStack",
required: true,
default: false,
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
type: "Boolean",
},
UseFIPS: {
builtIn: "AWS::UseFIPS",
required: true,
default: false,
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
type: "Boolean",
},
Endpoint: {
builtIn: "SDK::Endpoint",
required: false,
documentation: "Override the endpoint used to send this request",
type: "String",
},
},
rules: [
{
conditions: [
{
fn: "aws.partition",
argv: [
{
ref: "Region",
},
],
assign: "PartitionResult",
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "isSet",
argv: [
{
ref: "Endpoint",
},
],
},
{
fn: "parseURL",
argv: [
{
ref: "Endpoint",
},
],
assign: "url",
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
],
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
type: "error",
},
{
conditions: [],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
type: "error",
},
{
conditions: [],
endpoint: {
url: {
ref: "Endpoint",
},
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsFIPS",
],
},
],
},
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsDualStack",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
{
conditions: [],
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
type: "error",
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseFIPS",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsFIPS",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
},
{
conditions: [],
error: "FIPS is enabled but this partition does not support FIPS",
type: "error",
},
],
},
{
conditions: [
{
fn: "booleanEquals",
argv: [
{
ref: "UseDualStack",
},
true,
],
},
],
type: "tree",
rules: [
{
conditions: [
{
fn: "booleanEquals",
argv: [
true,
{
fn: "getAttr",
argv: [
{
ref: "PartitionResult",
},
"supportsDualStack",
],
},
],
},
],
type: "tree",
rules: [
{
conditions: [],
endpoint: {
url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
{
conditions: [],
error: "DualStack is enabled but this partition does not support DualStack",
type: "error",
},
],
},
{
conditions: [],
endpoint: {
url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}",
properties: {},
headers: {},
},
type: "endpoint",
},
],
},
],
};
const s = "fn", t = "argv", u = "ref";
const a = false, b = true, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = { [u]: "Endpoint" }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, l = {}, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [], r = [k];
const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: b, default: a, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: b, default: a, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: a, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: e }], type: f, rules: [{ conditions: [{ [s]: "isSet", [t]: o }, { [s]: "parseURL", [t]: o, assign: "url" }], type: f, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: q, type: f, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: q, endpoint: { url: i, properties: l, headers: l }, type: h }] }] }, { conditions: [j, k], type: f, rules: [{ conditions: [m, n], type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: p, type: f, rules: [{ conditions: [m], type: f, rules: [{ conditions: q, type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] }, { conditions: q, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: r, type: f, rules: [{ conditions: [n], type: f, rules: [{ conditions: q, endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: h }] }, { conditions: q, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: q, endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: h }] }] };
export const ruleSet = _data;

8

package.json
{
"name": "@aws-sdk/client-connectcampaigns",
"description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
"version": "3.234.0",
"version": "3.235.0",
"scripts": {

@@ -22,5 +22,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "2.0.0",
"@aws-sdk/client-sts": "3.234.0",
"@aws-sdk/client-sts": "3.235.0",
"@aws-sdk/config-resolver": "3.234.0",
"@aws-sdk/credential-provider-node": "3.234.0",
"@aws-sdk/credential-provider-node": "3.235.0",
"@aws-sdk/fetch-http-handler": "3.226.0",

@@ -34,3 +34,3 @@ "@aws-sdk/hash-node": "3.226.0",

"@aws-sdk/middleware-recursion-detection": "3.226.0",
"@aws-sdk/middleware-retry": "3.229.0",
"@aws-sdk/middleware-retry": "3.235.0",
"@aws-sdk/middleware-serde": "3.226.0",

@@ -37,0 +37,0 @@ "@aws-sdk/middleware-signing": "3.226.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