@aws-sdk/client-serverlessapplicationrepository 3.649.0 → 3.651.1

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
@@ -1098,9 +1098,7 @@ var _nT = "nextToken";
1098
1098
  var _sV = "semanticVersion";
1099
1099
 
1100
1100
  // src/commands/CreateApplicationCommand.ts
1101
- var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1102
- ...commonParams
1103
- }).m(function(Command, cs, config, o) {
1101
+ var _CreateApplicationCommand = class _CreateApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1104
1102
  return [
1105
1103
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1106
1104
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1114,9 +1112,7 @@ var CreateApplicationCommand = _CreateApplicationCommand;
1114
1112
 
1115
1113
 
1116
1114
 
1117
- var _CreateApplicationVersionCommand = class _CreateApplicationVersionCommand extends import_smithy_client.Command.classBuilder().ep({
1118
- ...commonParams
1119
- }).m(function(Command, cs, config, o) {
1115
+ var _CreateApplicationVersionCommand = class _CreateApplicationVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1120
1116
  return [
1121
1117
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1122
1118
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1130,9 +1126,7 @@ var CreateApplicationVersionCommand = _CreateApplicationVersionCommand;
1130
1126
 
1131
1127
 
1132
1128
 
1133
- var _CreateCloudFormationChangeSetCommand = class _CreateCloudFormationChangeSetCommand extends import_smithy_client.Command.classBuilder().ep({
1134
- ...commonParams
1135
- }).m(function(Command, cs, config, o) {
1129
+ var _CreateCloudFormationChangeSetCommand = class _CreateCloudFormationChangeSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1136
1130
  return [
1137
1131
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1138
1132
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1146,9 +1140,7 @@ var CreateCloudFormationChangeSetCommand = _CreateCloudFormationChangeSetCommand
1146
1140
 
1147
1141
 
1148
1142
 
1149
- var _CreateCloudFormationTemplateCommand = class _CreateCloudFormationTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
1150
- ...commonParams
1151
- }).m(function(Command, cs, config, o) {
1143
+ var _CreateCloudFormationTemplateCommand = class _CreateCloudFormationTemplateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1152
1144
  return [
1153
1145
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1154
1146
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1162,9 +1154,7 @@ var CreateCloudFormationTemplateCommand = _CreateCloudFormationTemplateCommand;
1162
1154
 
1163
1155
 
1164
1156
 
1165
- var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1166
- ...commonParams
1167
- }).m(function(Command, cs, config, o) {
1157
+ var _DeleteApplicationCommand = class _DeleteApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1168
1158
  return [
1169
1159
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1170
1160
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1178,9 +1168,7 @@ var DeleteApplicationCommand = _DeleteApplicationCommand;
1178
1168
 
1179
1169
 
1180
1170
 
1181
- var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1182
- ...commonParams
1183
- }).m(function(Command, cs, config, o) {
1171
+ var _GetApplicationCommand = class _GetApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1184
1172
  return [
1185
1173
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1186
1174
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1194,9 +1182,7 @@ var GetApplicationCommand = _GetApplicationCommand;
1194
1182
 
1195
1183
 
1196
1184
 
1197
- var _GetApplicationPolicyCommand = class _GetApplicationPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1198
- ...commonParams
1199
- }).m(function(Command, cs, config, o) {
1185
+ var _GetApplicationPolicyCommand = class _GetApplicationPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1200
1186
  return [
1201
1187
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1202
1188
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1210,9 +1196,7 @@ var GetApplicationPolicyCommand = _GetApplicationPolicyCommand;
1210
1196
 
1211
1197
 
1212
1198
 
1213
- var _GetCloudFormationTemplateCommand = class _GetCloudFormationTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
1214
- ...commonParams
1215
- }).m(function(Command, cs, config, o) {
1199
+ var _GetCloudFormationTemplateCommand = class _GetCloudFormationTemplateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1216
1200
  return [
1217
1201
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1218
1202
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1226,9 +1210,7 @@ var GetCloudFormationTemplateCommand = _GetCloudFormationTemplateCommand;
1226
1210
 
1227
1211
 
1228
1212
 
1229
- var _ListApplicationDependenciesCommand = class _ListApplicationDependenciesCommand extends import_smithy_client.Command.classBuilder().ep({
1230
- ...commonParams
1231
- }).m(function(Command, cs, config, o) {
1213
+ var _ListApplicationDependenciesCommand = class _ListApplicationDependenciesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1232
1214
  return [
1233
1215
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1234
1216
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1242,9 +1224,7 @@ var ListApplicationDependenciesCommand = _ListApplicationDependenciesCommand;
1242
1224
 
1243
1225
 
1244
1226
 
1245
- var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep({
1246
- ...commonParams
1247
- }).m(function(Command, cs, config, o) {
1227
+ var _ListApplicationsCommand = class _ListApplicationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1248
1228
  return [
1249
1229
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1250
1230
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1258,9 +1238,7 @@ var ListApplicationsCommand = _ListApplicationsCommand;
1258
1238
 
1259
1239
 
1260
1240
 
1261
- var _ListApplicationVersionsCommand = class _ListApplicationVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
1262
- ...commonParams
1263
- }).m(function(Command, cs, config, o) {
1241
+ var _ListApplicationVersionsCommand = class _ListApplicationVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1264
1242
  return [
1265
1243
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1266
1244
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1274,9 +1252,7 @@ var ListApplicationVersionsCommand = _ListApplicationVersionsCommand;
1274
1252
 
1275
1253
 
1276
1254
 
1277
- var _PutApplicationPolicyCommand = class _PutApplicationPolicyCommand extends import_smithy_client.Command.classBuilder().ep({
1278
- ...commonParams
1279
- }).m(function(Command, cs, config, o) {
1255
+ var _PutApplicationPolicyCommand = class _PutApplicationPolicyCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1280
1256
  return [
1281
1257
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1282
1258
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1290,9 +1266,7 @@ var PutApplicationPolicyCommand = _PutApplicationPolicyCommand;
1290
1266
 
1291
1267
 
1292
1268
 
1293
- var _UnshareApplicationCommand = class _UnshareApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1294
- ...commonParams
1295
- }).m(function(Command, cs, config, o) {
1269
+ var _UnshareApplicationCommand = class _UnshareApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1296
1270
  return [
1297
1271
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1298
1272
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1306,9 +1280,7 @@ var UnshareApplicationCommand = _UnshareApplicationCommand;
1306
1280
 
1307
1281
 
1308
1282
 
1309
- var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep({
1310
- ...commonParams
1311
- }).m(function(Command, cs, config, o) {
1283
+ var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1312
1284
  return [
1313
1285
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1314
1286
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateApplicationCommand 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_CreateApplicationVersionCommand, se_CreateApplicationVersionCommand
6
6
  export { $Command };
7
7
  export class CreateApplicationVersionCommand 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_CreateCloudFormationChangeSetCommand, se_CreateCloudFormationChangeS
6
6
  export { $Command };
7
7
  export class CreateCloudFormationChangeSetCommand 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_CreateCloudFormationTemplateCommand, se_CreateCloudFormationTemplate
6
6
  export { $Command };
7
7
  export class CreateCloudFormationTemplateCommand 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_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteApplicationCommand 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_GetApplicationCommand, se_GetApplicationCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class GetApplicationCommand 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_GetApplicationPolicyCommand, se_GetApplicationPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class GetApplicationPolicyCommand 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_GetCloudFormationTemplateCommand, se_GetCloudFormationTemplateComman
6
6
  export { $Command };
7
7
  export class GetCloudFormationTemplateCommand 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_ListApplicationDependenciesCommand, se_ListApplicationDependenciesCo
6
6
  export { $Command };
7
7
  export class ListApplicationDependenciesCommand 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_ListApplicationVersionsCommand, se_ListApplicationVersionsCommand }
6
6
  export { $Command };
7
7
  export class ListApplicationVersionsCommand 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_ListApplicationsCommand, se_ListApplicationsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListApplicationsCommand 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_PutApplicationPolicyCommand, se_PutApplicationPolicyCommand } from "
6
6
  export { $Command };
7
7
  export class PutApplicationPolicyCommand 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_UnshareApplicationCommand, se_UnshareApplicationCommand } from "../p
6
6
  export { $Command };
7
7
  export class UnshareApplicationCommand 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_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateApplicationCommand 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-serverlessapplicationrepository",
3
3
  "description": "AWS SDK for JavaScript Serverlessapplicationrepository Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
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-serverlessapplicationrepository",
@@ -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",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
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
- }