@aws-sdk/client-docdb-elastic 3.489.0 → 3.495.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 (29) hide show
  1. package/dist-cjs/DocDBElastic.js +1 -37
  2. package/dist-cjs/DocDBElasticClient.js +1 -43
  3. package/dist-cjs/commands/CreateClusterCommand.js +1 -29
  4. package/dist-cjs/commands/CreateClusterSnapshotCommand.js +1 -28
  5. package/dist-cjs/commands/DeleteClusterCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +1 -28
  7. package/dist-cjs/commands/GetClusterCommand.js +1 -28
  8. package/dist-cjs/commands/GetClusterSnapshotCommand.js +1 -28
  9. package/dist-cjs/commands/ListClusterSnapshotsCommand.js +1 -28
  10. package/dist-cjs/commands/ListClustersCommand.js +1 -28
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  12. package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +1 -28
  13. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  14. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  15. package/dist-cjs/commands/UpdateClusterCommand.js +1 -29
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1542 -11
  20. package/dist-cjs/models/DocDBElasticServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -136
  23. package/dist-cjs/pagination/Interfaces.js +1 -2
  24. package/dist-cjs/pagination/ListClusterSnapshotsPaginator.js +1 -7
  25. package/dist-cjs/pagination/ListClustersPaginator.js +1 -7
  26. package/dist-cjs/pagination/index.js +1 -6
  27. package/dist-cjs/protocols/Aws_restJson1.js +1 -957
  28. package/dist-cjs/runtimeExtensions.js +1 -22
  29. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DocDBElasticServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class DocDBElasticServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, DocDBElasticServiceException.prototype);
10
- }
11
- }
12
- exports.DocDBElasticServiceException = DocDBElasticServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,136 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateClusterInputFilterSensitiveLog = exports.CreateClusterInputFilterSensitiveLog = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Status = exports.ConflictException = exports.Auth = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const DocDBElasticServiceException_1 = require("./DocDBElasticServiceException");
6
- class AccessDeniedException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AccessDeniedException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AccessDeniedException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.Auth = {
20
- PLAIN_TEXT: "PLAIN_TEXT",
21
- SECRET_ARN: "SECRET_ARN",
22
- };
23
- class ConflictException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
24
- constructor(opts) {
25
- super({
26
- name: "ConflictException",
27
- $fault: "client",
28
- ...opts,
29
- });
30
- this.name = "ConflictException";
31
- this.$fault = "client";
32
- Object.setPrototypeOf(this, ConflictException.prototype);
33
- this.resourceId = opts.resourceId;
34
- this.resourceType = opts.resourceType;
35
- }
36
- }
37
- exports.ConflictException = ConflictException;
38
- exports.Status = {
39
- ACTIVE: "ACTIVE",
40
- CREATING: "CREATING",
41
- DELETING: "DELETING",
42
- INACCESSIBLE_ENCRYPTION_CREDS: "INACCESSIBLE_ENCRYPTION_CREDS",
43
- INVALID_SECURITY_GROUP_ID: "INVALID_SECURITY_GROUP_ID",
44
- INVALID_SUBNET_ID: "INVALID_SUBNET_ID",
45
- IP_ADDRESS_LIMIT_EXCEEDED: "IP_ADDRESS_LIMIT_EXCEEDED",
46
- UPDATING: "UPDATING",
47
- VPC_ENDPOINT_LIMIT_EXCEEDED: "VPC_ENDPOINT_LIMIT_EXCEEDED",
48
- };
49
- class InternalServerException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
50
- constructor(opts) {
51
- super({
52
- name: "InternalServerException",
53
- $fault: "server",
54
- ...opts,
55
- });
56
- this.name = "InternalServerException";
57
- this.$fault = "server";
58
- this.$retryable = {};
59
- Object.setPrototypeOf(this, InternalServerException.prototype);
60
- }
61
- }
62
- exports.InternalServerException = InternalServerException;
63
- class ServiceQuotaExceededException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
64
- constructor(opts) {
65
- super({
66
- name: "ServiceQuotaExceededException",
67
- $fault: "client",
68
- ...opts,
69
- });
70
- this.name = "ServiceQuotaExceededException";
71
- this.$fault = "client";
72
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
73
- }
74
- }
75
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
76
- class ThrottlingException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
77
- constructor(opts) {
78
- super({
79
- name: "ThrottlingException",
80
- $fault: "client",
81
- ...opts,
82
- });
83
- this.name = "ThrottlingException";
84
- this.$fault = "client";
85
- this.$retryable = {};
86
- Object.setPrototypeOf(this, ThrottlingException.prototype);
87
- this.retryAfterSeconds = opts.retryAfterSeconds;
88
- }
89
- }
90
- exports.ThrottlingException = ThrottlingException;
91
- exports.ValidationExceptionReason = {
92
- CANNOT_PARSE: "cannotParse",
93
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
94
- OTHER: "other",
95
- UNKNOWN_OPERATION: "unknownOperation",
96
- };
97
- class ValidationException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
98
- constructor(opts) {
99
- super({
100
- name: "ValidationException",
101
- $fault: "client",
102
- ...opts,
103
- });
104
- this.name = "ValidationException";
105
- this.$fault = "client";
106
- Object.setPrototypeOf(this, ValidationException.prototype);
107
- this.reason = opts.reason;
108
- this.fieldList = opts.fieldList;
109
- }
110
- }
111
- exports.ValidationException = ValidationException;
112
- class ResourceNotFoundException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
113
- constructor(opts) {
114
- super({
115
- name: "ResourceNotFoundException",
116
- $fault: "client",
117
- ...opts,
118
- });
119
- this.name = "ResourceNotFoundException";
120
- this.$fault = "client";
121
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
122
- this.resourceId = opts.resourceId;
123
- this.resourceType = opts.resourceType;
124
- }
125
- }
126
- exports.ResourceNotFoundException = ResourceNotFoundException;
127
- const CreateClusterInputFilterSensitiveLog = (obj) => ({
128
- ...obj,
129
- ...(obj.adminUserPassword && { adminUserPassword: smithy_client_1.SENSITIVE_STRING }),
130
- });
131
- exports.CreateClusterInputFilterSensitiveLog = CreateClusterInputFilterSensitiveLog;
132
- const UpdateClusterInputFilterSensitiveLog = (obj) => ({
133
- ...obj,
134
- ...(obj.adminUserPassword && { adminUserPassword: smithy_client_1.SENSITIVE_STRING }),
135
- });
136
- exports.UpdateClusterInputFilterSensitiveLog = UpdateClusterInputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClusterSnapshots = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClusterSnapshotsCommand_1 = require("../commands/ListClusterSnapshotsCommand");
6
- const DocDBElasticClient_1 = require("../DocDBElasticClient");
7
- exports.paginateListClusterSnapshots = (0, core_1.createPaginator)(DocDBElasticClient_1.DocDBElasticClient, ListClusterSnapshotsCommand_1.ListClusterSnapshotsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClusters = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClustersCommand_1 = require("../commands/ListClustersCommand");
6
- const DocDBElasticClient_1 = require("../DocDBElasticClient");
7
- exports.paginateListClusters = (0, core_1.createPaginator)(DocDBElasticClient_1.DocDBElasticClient, ListClustersCommand_1.ListClustersCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListClusterSnapshotsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
1
+ module.exports = require("../index.js");