Socket
Socket
Sign inDemoInstall

@aws-sdk/client-connect-contact-lens

Package Overview
Dependencies
Maintainers
5
Versions
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-connect-contact-lens - npm Package Compare versions

Comparing version 3.476.0 to 3.477.0

18

dist-cjs/protocols/Aws_restJson1.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.de_ListRealtimeContactAnalysisSegmentsCommand = exports.se_ListRealtimeContactAnalysisSegmentsCommand = void 0;
const protocol_http_1 = require("@smithy/protocol-http");
const core_1 = require("@smithy/core");
const smithy_client_1 = require("@smithy/smithy-client");

@@ -9,8 +9,7 @@ const ConnectContactLensServiceException_1 = require("../models/ConnectContactLensServiceException");

const se_ListRealtimeContactAnalysisSegmentsCommand = async (input, context) => {
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
const b = (0, core_1.requestBuilder)(input, context);
const headers = {
"content-type": "application/json",
};
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
"/realtime-contact-analysis/analysis-segments";
b.bp("/realtime-contact-analysis/analysis-segments");
let body;

@@ -23,11 +22,4 @@ body = JSON.stringify((0, smithy_client_1.take)(input, {

}));
return new protocol_http_1.HttpRequest({
protocol,
hostname,
port,
method: "POST",
headers,
path: resolvedPath,
body,
});
b.m("POST").h(headers).b(body);
return b.build();
};

@@ -34,0 +26,0 @@ exports.se_ListRealtimeContactAnalysisSegmentsCommand = se_ListRealtimeContactAnalysisSegmentsCommand;

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

import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
import { requestBuilder as rb } from "@smithy/core";
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";

@@ -6,8 +6,7 @@ import { ConnectContactLensServiceException as __BaseException } from "../models/ConnectContactLensServiceException";

export const se_ListRealtimeContactAnalysisSegmentsCommand = async (input, context) => {
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
const b = rb(input, context);
const headers = {
"content-type": "application/json",
};
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
"/realtime-contact-analysis/analysis-segments";
b.bp("/realtime-contact-analysis/analysis-segments");
let body;

@@ -20,11 +19,4 @@ body = JSON.stringify(take(input, {

}));
return new __HttpRequest({
protocol,
hostname,
port,
method: "POST",
headers,
path: resolvedPath,
body,
});
b.m("POST").h(headers).b(body);
return b.build();
};

@@ -31,0 +23,0 @@ export const de_ListRealtimeContactAnalysisSegmentsCommand = async (output, context) => {

{
"name": "@aws-sdk/client-connect-contact-lens",
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
"version": "3.476.0",
"version": "3.477.0",
"scripts": {

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

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.476.0",
"@aws-sdk/core": "3.476.0",
"@aws-sdk/credential-provider-node": "3.476.0",
"@aws-sdk/client-sts": "3.477.0",
"@aws-sdk/core": "3.477.0",
"@aws-sdk/credential-provider-node": "3.477.0",
"@aws-sdk/middleware-host-header": "3.468.0",

@@ -38,2 +38,3 @@ "@aws-sdk/middleware-logger": "3.468.0",

"@smithy/config-resolver": "^2.0.21",
"@smithy/core": "^1.2.0",
"@smithy/fetch-http-handler": "^2.3.1",

@@ -40,0 +41,0 @@ "@smithy/hash-node": "^2.0.17",

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