@aws-sdk/client-neptune 3.185.0 → 3.188.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/protocols/Aws_query.js +8 -4
  3. package/dist-es/Neptune.js +278 -285
  4. package/dist-es/NeptuneClient.js +22 -28
  5. package/dist-es/commands/AddRoleToDBClusterCommand.js +22 -29
  6. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +21 -28
  7. package/dist-es/commands/AddTagsToResourceCommand.js +22 -29
  8. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +21 -28
  9. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +21 -28
  10. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +21 -28
  11. package/dist-es/commands/CopyDBParameterGroupCommand.js +21 -28
  12. package/dist-es/commands/CreateDBClusterCommand.js +21 -28
  13. package/dist-es/commands/CreateDBClusterEndpointCommand.js +21 -28
  14. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +21 -28
  15. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +21 -28
  16. package/dist-es/commands/CreateDBInstanceCommand.js +21 -28
  17. package/dist-es/commands/CreateDBParameterGroupCommand.js +21 -28
  18. package/dist-es/commands/CreateDBSubnetGroupCommand.js +21 -28
  19. package/dist-es/commands/CreateEventSubscriptionCommand.js +21 -28
  20. package/dist-es/commands/CreateGlobalClusterCommand.js +21 -28
  21. package/dist-es/commands/DeleteDBClusterCommand.js +21 -28
  22. package/dist-es/commands/DeleteDBClusterEndpointCommand.js +21 -28
  23. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +22 -29
  24. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +21 -28
  25. package/dist-es/commands/DeleteDBInstanceCommand.js +21 -28
  26. package/dist-es/commands/DeleteDBParameterGroupCommand.js +22 -29
  27. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +22 -29
  28. package/dist-es/commands/DeleteEventSubscriptionCommand.js +21 -28
  29. package/dist-es/commands/DeleteGlobalClusterCommand.js +21 -28
  30. package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +21 -28
  31. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +21 -28
  32. package/dist-es/commands/DescribeDBClusterParametersCommand.js +21 -28
  33. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +21 -28
  34. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +21 -28
  35. package/dist-es/commands/DescribeDBClustersCommand.js +21 -28
  36. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +21 -28
  37. package/dist-es/commands/DescribeDBInstancesCommand.js +21 -28
  38. package/dist-es/commands/DescribeDBParameterGroupsCommand.js +21 -28
  39. package/dist-es/commands/DescribeDBParametersCommand.js +21 -28
  40. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +21 -28
  41. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +21 -28
  42. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +21 -28
  43. package/dist-es/commands/DescribeEventCategoriesCommand.js +21 -28
  44. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +21 -28
  45. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  46. package/dist-es/commands/DescribeGlobalClustersCommand.js +21 -28
  47. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +21 -28
  48. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +21 -28
  49. package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +21 -28
  50. package/dist-es/commands/FailoverDBClusterCommand.js +21 -28
  51. package/dist-es/commands/FailoverGlobalClusterCommand.js +21 -28
  52. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  53. package/dist-es/commands/ModifyDBClusterCommand.js +21 -28
  54. package/dist-es/commands/ModifyDBClusterEndpointCommand.js +21 -28
  55. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +21 -28
  56. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +21 -28
  57. package/dist-es/commands/ModifyDBInstanceCommand.js +21 -28
  58. package/dist-es/commands/ModifyDBParameterGroupCommand.js +21 -28
  59. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +21 -28
  60. package/dist-es/commands/ModifyEventSubscriptionCommand.js +21 -28
  61. package/dist-es/commands/ModifyGlobalClusterCommand.js +21 -28
  62. package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +21 -28
  63. package/dist-es/commands/RebootDBInstanceCommand.js +21 -28
  64. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +21 -28
  65. package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +22 -29
  66. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +21 -28
  67. package/dist-es/commands/RemoveTagsFromResourceCommand.js +22 -29
  68. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +21 -28
  69. package/dist-es/commands/ResetDBParameterGroupCommand.js +21 -28
  70. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +21 -28
  71. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +21 -28
  72. package/dist-es/commands/StartDBClusterCommand.js +21 -28
  73. package/dist-es/commands/StopDBClusterCommand.js +21 -28
  74. package/dist-es/endpoints.js +8 -8
  75. package/dist-es/models/NeptuneServiceException.js +5 -10
  76. package/dist-es/models/models_0.js +1323 -978
  77. package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +25 -68
  78. package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +25 -68
  79. package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +25 -68
  80. package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +25 -68
  81. package/dist-es/pagination/DescribeDBClustersPaginator.js +25 -68
  82. package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +25 -68
  83. package/dist-es/pagination/DescribeDBInstancesPaginator.js +25 -68
  84. package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +25 -68
  85. package/dist-es/pagination/DescribeDBParametersPaginator.js +25 -68
  86. package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +25 -68
  87. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +25 -68
  88. package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +25 -68
  89. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  90. package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +25 -68
  91. package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +25 -68
  92. package/dist-es/protocols/Aws_query.js +5157 -6694
  93. package/dist-es/runtimeConfig.browser.js +26 -12
  94. package/dist-es/runtimeConfig.js +30 -12
  95. package/dist-es/runtimeConfig.native.js +8 -5
  96. package/dist-es/runtimeConfig.shared.js +8 -11
  97. package/dist-es/waiters/waitForDBInstanceAvailable.js +106 -187
  98. package/dist-es/waiters/waitForDBInstanceDeleted.js +94 -165
  99. package/package.json +36 -37
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "ca-central-1": {
5
4
  variants: [
6
5
  {
@@ -58,7 +57,7 @@ var regionHash = {
58
57
  ],
59
58
  },
60
59
  };
61
- var partitionHash = {
60
+ const partitionHash = {
62
61
  aws: {
63
62
  regions: [
64
63
  "af-south-1",
@@ -200,8 +199,9 @@ var partitionHash = {
200
199
  ],
201
200
  },
202
201
  };
203
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
204
- return __generator(this, function (_a) {
205
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "rds", regionHash: regionHash, partitionHash: partitionHash }))];
206
- });
207
- }); };
202
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
203
+ ...options,
204
+ signingService: "rds",
205
+ regionHash,
206
+ partitionHash,
207
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var NeptuneServiceException = (function (_super) {
4
- __extends(NeptuneServiceException, _super);
5
- function NeptuneServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, NeptuneServiceException.prototype);
8
- return _this;
2
+ export class NeptuneServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, NeptuneServiceException.prototype);
9
6
  }
10
- return NeptuneServiceException;
11
- }(__ServiceException));
12
- export { NeptuneServiceException };
7
+ }