@aws-sdk/client-connect-contact-lens
Advanced tools
Comparing version 3.476.0 to 3.477.0
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150769
40
2774
+ Added@smithy/core@^1.2.0
+ Added@aws-sdk/client-sso@3.477.0(transitive)
+ Added@aws-sdk/client-sts@3.477.0(transitive)
+ Added@aws-sdk/core@3.477.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.477.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.477.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.477.0(transitive)
- Removed@aws-sdk/client-sso@3.476.0(transitive)
- Removed@aws-sdk/client-sts@3.476.0(transitive)
- Removed@aws-sdk/core@3.476.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.476.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.476.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.476.0(transitive)
Updated@aws-sdk/client-sts@3.477.0
Updated@aws-sdk/core@3.477.0