@aws-sdk/client-workspaces-thin-client 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
@@ -1383,9 +1383,7 @@ var _ra = "retry-after";
1383
1383
  var _tK = "tagKeys";
1384
1384
 
1385
1385
  // src/commands/CreateEnvironmentCommand.ts
1386
- var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1387
- ...commonParams
1388
- }).m(function(Command, cs, config, o) {
1386
+ var _CreateEnvironmentCommand = class _CreateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1389
1387
  return [
1390
1388
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1391
1389
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1399,9 +1397,7 @@ var CreateEnvironmentCommand = _CreateEnvironmentCommand;
1399
1397
 
1400
1398
 
1401
1399
 
1402
- var _DeleteDeviceCommand = class _DeleteDeviceCommand extends import_smithy_client.Command.classBuilder().ep({
1403
- ...commonParams
1404
- }).m(function(Command, cs, config, o) {
1400
+ var _DeleteDeviceCommand = class _DeleteDeviceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1405
1401
  return [
1406
1402
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1407
1403
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1415,9 +1411,7 @@ var DeleteDeviceCommand = _DeleteDeviceCommand;
1415
1411
 
1416
1412
 
1417
1413
 
1418
- var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1419
- ...commonParams
1420
- }).m(function(Command, cs, config, o) {
1414
+ var _DeleteEnvironmentCommand = class _DeleteEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1421
1415
  return [
1422
1416
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1423
1417
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1431,9 +1425,7 @@ var DeleteEnvironmentCommand = _DeleteEnvironmentCommand;
1431
1425
 
1432
1426
 
1433
1427
 
1434
- var _DeregisterDeviceCommand = class _DeregisterDeviceCommand extends import_smithy_client.Command.classBuilder().ep({
1435
- ...commonParams
1436
- }).m(function(Command, cs, config, o) {
1428
+ var _DeregisterDeviceCommand = class _DeregisterDeviceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1437
1429
  return [
1438
1430
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1439
1431
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1447,9 +1439,7 @@ var DeregisterDeviceCommand = _DeregisterDeviceCommand;
1447
1439
 
1448
1440
 
1449
1441
 
1450
- var _GetDeviceCommand = class _GetDeviceCommand extends import_smithy_client.Command.classBuilder().ep({
1451
- ...commonParams
1452
- }).m(function(Command, cs, config, o) {
1442
+ var _GetDeviceCommand = class _GetDeviceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1453
1443
  return [
1454
1444
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1455
1445
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1463,9 +1453,7 @@ var GetDeviceCommand = _GetDeviceCommand;
1463
1453
 
1464
1454
 
1465
1455
 
1466
- var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1467
- ...commonParams
1468
- }).m(function(Command, cs, config, o) {
1456
+ var _GetEnvironmentCommand = class _GetEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1469
1457
  return [
1470
1458
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1471
1459
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1479,9 +1467,7 @@ var GetEnvironmentCommand = _GetEnvironmentCommand;
1479
1467
 
1480
1468
 
1481
1469
 
1482
- var _GetSoftwareSetCommand = class _GetSoftwareSetCommand extends import_smithy_client.Command.classBuilder().ep({
1483
- ...commonParams
1484
- }).m(function(Command, cs, config, o) {
1470
+ var _GetSoftwareSetCommand = class _GetSoftwareSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1485
1471
  return [
1486
1472
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1487
1473
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1495,9 +1481,7 @@ var GetSoftwareSetCommand = _GetSoftwareSetCommand;
1495
1481
 
1496
1482
 
1497
1483
 
1498
- var _ListDevicesCommand = class _ListDevicesCommand extends import_smithy_client.Command.classBuilder().ep({
1499
- ...commonParams
1500
- }).m(function(Command, cs, config, o) {
1484
+ var _ListDevicesCommand = class _ListDevicesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1501
1485
  return [
1502
1486
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1503
1487
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1511,9 +1495,7 @@ var ListDevicesCommand = _ListDevicesCommand;
1511
1495
 
1512
1496
 
1513
1497
 
1514
- var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
1515
- ...commonParams
1516
- }).m(function(Command, cs, config, o) {
1498
+ var _ListEnvironmentsCommand = class _ListEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1517
1499
  return [
1518
1500
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1519
1501
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1527,9 +1509,7 @@ var ListEnvironmentsCommand = _ListEnvironmentsCommand;
1527
1509
 
1528
1510
 
1529
1511
 
1530
- var _ListSoftwareSetsCommand = class _ListSoftwareSetsCommand extends import_smithy_client.Command.classBuilder().ep({
1531
- ...commonParams
1532
- }).m(function(Command, cs, config, o) {
1512
+ var _ListSoftwareSetsCommand = class _ListSoftwareSetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1533
1513
  return [
1534
1514
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1535
1515
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1543,9 +1523,7 @@ var ListSoftwareSetsCommand = _ListSoftwareSetsCommand;
1543
1523
 
1544
1524
 
1545
1525
 
1546
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1547
- ...commonParams
1548
- }).m(function(Command, cs, config, o) {
1526
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
1527
  return [
1550
1528
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1551
1529
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1559,9 +1537,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1559
1537
 
1560
1538
 
1561
1539
 
1562
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1563
- ...commonParams
1564
- }).m(function(Command, cs, config, o) {
1540
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1565
1541
  return [
1566
1542
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1567
1543
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1575,9 +1551,7 @@ var TagResourceCommand = _TagResourceCommand;
1575
1551
 
1576
1552
 
1577
1553
 
1578
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1579
- ...commonParams
1580
- }).m(function(Command, cs, config, o) {
1554
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1581
1555
  return [
1582
1556
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1583
1557
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1591,9 +1565,7 @@ var UntagResourceCommand = _UntagResourceCommand;
1591
1565
 
1592
1566
 
1593
1567
 
1594
- var _UpdateDeviceCommand = class _UpdateDeviceCommand extends import_smithy_client.Command.classBuilder().ep({
1595
- ...commonParams
1596
- }).m(function(Command, cs, config, o) {
1568
+ var _UpdateDeviceCommand = class _UpdateDeviceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1597
1569
  return [
1598
1570
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1599
1571
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1607,9 +1579,7 @@ var UpdateDeviceCommand = _UpdateDeviceCommand;
1607
1579
 
1608
1580
 
1609
1581
 
1610
- var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
1611
- ...commonParams
1612
- }).m(function(Command, cs, config, o) {
1582
+ var _UpdateEnvironmentCommand = class _UpdateEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1613
1583
  return [
1614
1584
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1615
1585
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1623,9 +1593,7 @@ var UpdateEnvironmentCommand = _UpdateEnvironmentCommand;
1623
1593
 
1624
1594
 
1625
1595
 
1626
- var _UpdateSoftwareSetCommand = class _UpdateSoftwareSetCommand extends import_smithy_client.Command.classBuilder().ep({
1627
- ...commonParams
1628
- }).m(function(Command, cs, config, o) {
1596
+ var _UpdateSoftwareSetCommand = class _UpdateSoftwareSetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1629
1597
  return [
1630
1598
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1631
1599
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -7,9 +7,7 @@ import { de_CreateEnvironmentCommand, se_CreateEnvironmentCommand } from "../pro
7
7
  export { $Command };
8
8
  export class CreateEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeleteDeviceCommand, se_DeleteDeviceCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeleteDeviceCommand 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_DeleteEnvironmentCommand, se_DeleteEnvironmentCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DeleteEnvironmentCommand 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_DeregisterDeviceCommand, se_DeregisterDeviceCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeregisterDeviceCommand 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),
@@ -7,9 +7,7 @@ import { de_GetDeviceCommand, se_GetDeviceCommand } from "../protocols/Aws_restJ
7
7
  export { $Command };
8
8
  export class GetDeviceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetEnvironmentCommand, se_GetEnvironmentCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class GetEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetSoftwareSetCommand, se_GetSoftwareSetCommand } from "../protocols
7
7
  export { $Command };
8
8
  export class GetSoftwareSetCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListDevicesCommand, se_ListDevicesCommand } from "../protocols/Aws_r
7
7
  export { $Command };
8
8
  export class ListDevicesCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_ListEnvironmentsCommand, se_ListEnvironmentsCommand } from "../proto
7
7
  export { $Command };
8
8
  export class ListEnvironmentsCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListSoftwareSetsCommand, se_ListSoftwareSetsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ListSoftwareSetsCommand 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),
@@ -7,9 +7,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
7
7
  export { $Command };
8
8
  export class ListTagsForResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_r
7
7
  export { $Command };
8
8
  export class TagResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
7
7
  export { $Command };
8
8
  export class UntagResourceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateDeviceCommand, se_UpdateDeviceCommand } from "../protocols/Aws
7
7
  export { $Command };
8
8
  export class UpdateDeviceCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_UpdateEnvironmentCommand, se_UpdateEnvironmentCommand } from "../pro
7
7
  export { $Command };
8
8
  export class UpdateEnvironmentCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UpdateSoftwareSetCommand, se_UpdateSoftwareSetCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateSoftwareSetCommand 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-workspaces-thin-client",
3
3
  "description": "AWS SDK for JavaScript Workspaces Thin Client 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-workspaces-thin-client",
@@ -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
- }