@aws-sdk/client-marketplace-catalog 3.649.0 → 3.650.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1133,9 +1133,7 @@ var _eI = "entityId";
1133
1133
  var _rA = "resourceArn";
1134
1134
 
1135
1135
  // src/commands/BatchDescribeEntitiesCommand.ts
1136
- var _BatchDescribeEntitiesCommand = class _BatchDescribeEntitiesCommand extends import_smithy_client.Command.classBuilder().ep({
1137
- ...commonParams
1138
- }).m(function(Command, cs, config, o) {
1136
+ var _BatchDescribeEntitiesCommand = class _BatchDescribeEntitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1139
1137
  return [
1140
1138
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1141
1139
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1149,9 +1147,7 @@ var BatchDescribeEntitiesCommand = _BatchDescribeEntitiesCommand;
1149
1147
 
1150
1148
 
1151
1149
 
1152
- var _CancelChangeSetCommand = class _CancelChangeSetCommand extends import_smithy_client.Command.classBuilder().ep({
1153
- ...commonParams
1154
- }).m(function(Command, cs, config, o) {
1150
+ var _CancelChangeSetCommand = class _CancelChangeSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1155
1151
  return [
1156
1152
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1157
1153
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1165,9 +1161,7 @@ var CancelChangeSetCommand = _CancelChangeSetCommand;
1165
1161
 
1166
1162
 
1167
1163
 
1168
- var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1169
- ...commonParams
1170
- }).m(function(Command, cs, config, o) {
1164
+ var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1171
1165
  return [
1172
1166
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1173
1167
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1181,9 +1175,7 @@ var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
1181
1175
 
1182
1176
 
1183
1177
 
1184
- var _DescribeChangeSetCommand = class _DescribeChangeSetCommand extends import_smithy_client.Command.classBuilder().ep({
1185
- ...commonParams
1186
- }).m(function(Command, cs, config, o) {
1178
+ var _DescribeChangeSetCommand = class _DescribeChangeSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1187
1179
  return [
1188
1180
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1189
1181
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1197,9 +1189,7 @@ var DescribeChangeSetCommand = _DescribeChangeSetCommand;
1197
1189
 
1198
1190
 
1199
1191
 
1200
- var _DescribeEntityCommand = class _DescribeEntityCommand extends import_smithy_client.Command.classBuilder().ep({
1201
- ...commonParams
1202
- }).m(function(Command, cs, config, o) {
1192
+ var _DescribeEntityCommand = class _DescribeEntityCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1203
1193
  return [
1204
1194
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1205
1195
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1213,9 +1203,7 @@ var DescribeEntityCommand = _DescribeEntityCommand;
1213
1203
 
1214
1204
 
1215
1205
 
1216
- var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1217
- ...commonParams
1218
- }).m(function(Command, cs, config, o) {
1206
+ var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1219
1207
  return [
1220
1208
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1221
1209
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1229,9 +1217,7 @@ var GetResourcePolicyCommand = _GetResourcePolicyCommand;
1229
1217
 
1230
1218
 
1231
1219
 
1232
- var _ListChangeSetsCommand = class _ListChangeSetsCommand extends import_smithy_client.Command.classBuilder().ep({
1233
- ...commonParams
1234
- }).m(function(Command, cs, config, o) {
1220
+ var _ListChangeSetsCommand = class _ListChangeSetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1235
1221
  return [
1236
1222
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1237
1223
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1245,9 +1231,7 @@ var ListChangeSetsCommand = _ListChangeSetsCommand;
1245
1231
 
1246
1232
 
1247
1233
 
1248
- var _ListEntitiesCommand = class _ListEntitiesCommand extends import_smithy_client.Command.classBuilder().ep({
1249
- ...commonParams
1250
- }).m(function(Command, cs, config, o) {
1234
+ var _ListEntitiesCommand = class _ListEntitiesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1251
1235
  return [
1252
1236
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1253
1237
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1261,9 +1245,7 @@ var ListEntitiesCommand = _ListEntitiesCommand;
1261
1245
 
1262
1246
 
1263
1247
 
1264
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1265
- ...commonParams
1266
- }).m(function(Command, cs, config, o) {
1248
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1267
1249
  return [
1268
1250
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1269
1251
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1277,9 +1259,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1277
1259
 
1278
1260
 
1279
1261
 
1280
- var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1281
- ...commonParams
1282
- }).m(function(Command, cs, config, o) {
1262
+ var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1283
1263
  return [
1284
1264
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1285
1265
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1293,9 +1273,7 @@ var PutResourcePolicyCommand = _PutResourcePolicyCommand;
1293
1273
 
1294
1274
 
1295
1275
 
1296
- var _StartChangeSetCommand = class _StartChangeSetCommand extends import_smithy_client.Command.classBuilder().ep({
1297
- ...commonParams
1298
- }).m(function(Command, cs, config, o) {
1276
+ var _StartChangeSetCommand = class _StartChangeSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1299
1277
  return [
1300
1278
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1301
1279
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1309,9 +1287,7 @@ var StartChangeSetCommand = _StartChangeSetCommand;
1309
1287
 
1310
1288
 
1311
1289
 
1312
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1313
- ...commonParams
1314
- }).m(function(Command, cs, config, o) {
1290
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1315
1291
  return [
1316
1292
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1317
1293
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1325,9 +1301,7 @@ var TagResourceCommand = _TagResourceCommand;
1325
1301
 
1326
1302
 
1327
1303
 
1328
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1329
- ...commonParams
1330
- }).m(function(Command, cs, config, o) {
1304
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1331
1305
  return [
1332
1306
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1333
1307
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_BatchDescribeEntitiesCommand, se_BatchDescribeEntitiesCommand } from
6
6
  export { $Command };
7
7
  export class BatchDescribeEntitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CancelChangeSetCommand, se_CancelChangeSetCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class CancelChangeSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeChangeSetCommand, se_DescribeChangeSetCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribeChangeSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeEntityCommand, se_DescribeEntityCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeEntityCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListChangeSetsCommand, se_ListChangeSetsCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class ListChangeSetsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListEntitiesCommand, se_ListEntitiesCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class ListEntitiesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_StartChangeSetCommand, se_StartChangeSetCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class StartChangeSetCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-marketplace-catalog",
3
3
  "description": "AWS SDK for JavaScript Marketplace Catalog Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-marketplace-catalog",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }