@aws-sdk/client-memorydb 3.300.0 → 3.303.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 (43) hide show
  1. package/dist-cjs/models/models_0.js +32 -39
  2. package/dist-es/models/models_0.js +32 -39
  3. package/dist-types/commands/BatchUpdateClusterCommand.d.ts +3 -3
  4. package/dist-types/commands/CopySnapshotCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateACLCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateClusterCommand.d.ts +5 -5
  7. package/dist-types/commands/CreateParameterGroupCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  9. package/dist-types/commands/CreateSubnetGroupCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateUserCommand.d.ts +5 -5
  11. package/dist-types/commands/DeleteACLCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteParameterGroupCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeACLsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeClustersCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeParametersCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeReservedNodesCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeReservedNodesOfferingsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +3 -3
  26. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeUsersCommand.d.ts +4 -4
  29. package/dist-types/commands/FailoverShardCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  32. package/dist-types/commands/PurchaseReservedNodesOfferingCommand.d.ts +3 -3
  33. package/dist-types/commands/ResetParameterGroupCommand.d.ts +2 -2
  34. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  35. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  36. package/dist-types/commands/UpdateACLCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateClusterCommand.d.ts +4 -4
  38. package/dist-types/commands/UpdateParameterGroupCommand.d.ts +3 -3
  39. package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +2 -2
  40. package/dist-types/commands/UpdateUserCommand.d.ts +3 -3
  41. package/dist-types/models/models_0.d.ts +67 -32
  42. package/dist-types/ts3.4/models/models_0.d.ts +44 -32
  43. package/package.json +34 -34
@@ -42,23 +42,20 @@ class ACLQuotaExceededFault extends MemoryDBServiceException_1.MemoryDBServiceEx
42
42
  }
43
43
  }
44
44
  exports.ACLQuotaExceededFault = ACLQuotaExceededFault;
45
- var AZStatus;
46
- (function (AZStatus) {
47
- AZStatus["MultiAZ"] = "multiaz";
48
- AZStatus["SingleAZ"] = "singleaz";
49
- })(AZStatus = exports.AZStatus || (exports.AZStatus = {}));
50
- var DataTieringStatus;
51
- (function (DataTieringStatus) {
52
- DataTieringStatus["FALSE"] = "false";
53
- DataTieringStatus["TRUE"] = "true";
54
- })(DataTieringStatus = exports.DataTieringStatus || (exports.DataTieringStatus = {}));
55
- var ServiceUpdateStatus;
56
- (function (ServiceUpdateStatus) {
57
- ServiceUpdateStatus["COMPLETE"] = "complete";
58
- ServiceUpdateStatus["IN_PROGRESS"] = "in-progress";
59
- ServiceUpdateStatus["NOT_APPLIED"] = "available";
60
- ServiceUpdateStatus["SCHEDULED"] = "scheduled";
61
- })(ServiceUpdateStatus = exports.ServiceUpdateStatus || (exports.ServiceUpdateStatus = {}));
45
+ exports.AZStatus = {
46
+ MultiAZ: "multiaz",
47
+ SingleAZ: "singleaz",
48
+ };
49
+ exports.DataTieringStatus = {
50
+ FALSE: "false",
51
+ TRUE: "true",
52
+ };
53
+ exports.ServiceUpdateStatus = {
54
+ COMPLETE: "complete",
55
+ IN_PROGRESS: "in-progress",
56
+ NOT_APPLIED: "available",
57
+ SCHEDULED: "scheduled",
58
+ };
62
59
  class InvalidParameterValueException extends MemoryDBServiceException_1.MemoryDBServiceException {
63
60
  constructor(opts) {
64
61
  super({
@@ -488,15 +485,13 @@ class SubnetQuotaExceededFault extends MemoryDBServiceException_1.MemoryDBServic
488
485
  }
489
486
  }
490
487
  exports.SubnetQuotaExceededFault = SubnetQuotaExceededFault;
491
- var InputAuthenticationType;
492
- (function (InputAuthenticationType) {
493
- InputAuthenticationType["PASSWORD"] = "password";
494
- })(InputAuthenticationType = exports.InputAuthenticationType || (exports.InputAuthenticationType = {}));
495
- var AuthenticationType;
496
- (function (AuthenticationType) {
497
- AuthenticationType["NO_PASSWORD"] = "no-password";
498
- AuthenticationType["PASSWORD"] = "password";
499
- })(AuthenticationType = exports.AuthenticationType || (exports.AuthenticationType = {}));
488
+ exports.InputAuthenticationType = {
489
+ PASSWORD: "password",
490
+ };
491
+ exports.AuthenticationType = {
492
+ NO_PASSWORD: "no-password",
493
+ PASSWORD: "password",
494
+ };
500
495
  class UserAlreadyExistsFault extends MemoryDBServiceException_1.MemoryDBServiceException {
501
496
  constructor(opts) {
502
497
  super({
@@ -549,15 +544,14 @@ class InvalidUserStateFault extends MemoryDBServiceException_1.MemoryDBServiceEx
549
544
  }
550
545
  }
551
546
  exports.InvalidUserStateFault = InvalidUserStateFault;
552
- var SourceType;
553
- (function (SourceType) {
554
- SourceType["acl"] = "acl";
555
- SourceType["cluster"] = "cluster";
556
- SourceType["node"] = "node";
557
- SourceType["parameter_group"] = "parameter-group";
558
- SourceType["subnet_group"] = "subnet-group";
559
- SourceType["user"] = "user";
560
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
547
+ exports.SourceType = {
548
+ acl: "acl",
549
+ cluster: "cluster",
550
+ node: "node",
551
+ parameter_group: "parameter-group",
552
+ subnet_group: "subnet-group",
553
+ user: "user",
554
+ };
561
555
  class ReservedNodeNotFoundFault extends MemoryDBServiceException_1.MemoryDBServiceException {
562
556
  constructor(opts) {
563
557
  super({
@@ -584,10 +578,9 @@ class ReservedNodesOfferingNotFoundFault extends MemoryDBServiceException_1.Memo
584
578
  }
585
579
  }
586
580
  exports.ReservedNodesOfferingNotFoundFault = ReservedNodesOfferingNotFoundFault;
587
- var ServiceUpdateType;
588
- (function (ServiceUpdateType) {
589
- ServiceUpdateType["SECURITY_UPDATE"] = "security-update";
590
- })(ServiceUpdateType = exports.ServiceUpdateType || (exports.ServiceUpdateType = {}));
581
+ exports.ServiceUpdateType = {
582
+ SECURITY_UPDATE: "security-update",
583
+ };
591
584
  class APICallRateForCustomerExceededFault extends MemoryDBServiceException_1.MemoryDBServiceException {
592
585
  constructor(opts) {
593
586
  super({
@@ -35,23 +35,20 @@ export class ACLQuotaExceededFault extends __BaseException {
35
35
  Object.setPrototypeOf(this, ACLQuotaExceededFault.prototype);
36
36
  }
37
37
  }
38
- export var AZStatus;
39
- (function (AZStatus) {
40
- AZStatus["MultiAZ"] = "multiaz";
41
- AZStatus["SingleAZ"] = "singleaz";
42
- })(AZStatus || (AZStatus = {}));
43
- export var DataTieringStatus;
44
- (function (DataTieringStatus) {
45
- DataTieringStatus["FALSE"] = "false";
46
- DataTieringStatus["TRUE"] = "true";
47
- })(DataTieringStatus || (DataTieringStatus = {}));
48
- export var ServiceUpdateStatus;
49
- (function (ServiceUpdateStatus) {
50
- ServiceUpdateStatus["COMPLETE"] = "complete";
51
- ServiceUpdateStatus["IN_PROGRESS"] = "in-progress";
52
- ServiceUpdateStatus["NOT_APPLIED"] = "available";
53
- ServiceUpdateStatus["SCHEDULED"] = "scheduled";
54
- })(ServiceUpdateStatus || (ServiceUpdateStatus = {}));
38
+ export const AZStatus = {
39
+ MultiAZ: "multiaz",
40
+ SingleAZ: "singleaz",
41
+ };
42
+ export const DataTieringStatus = {
43
+ FALSE: "false",
44
+ TRUE: "true",
45
+ };
46
+ export const ServiceUpdateStatus = {
47
+ COMPLETE: "complete",
48
+ IN_PROGRESS: "in-progress",
49
+ NOT_APPLIED: "available",
50
+ SCHEDULED: "scheduled",
51
+ };
55
52
  export class InvalidParameterValueException extends __BaseException {
56
53
  constructor(opts) {
57
54
  super({
@@ -448,15 +445,13 @@ export class SubnetQuotaExceededFault extends __BaseException {
448
445
  Object.setPrototypeOf(this, SubnetQuotaExceededFault.prototype);
449
446
  }
450
447
  }
451
- export var InputAuthenticationType;
452
- (function (InputAuthenticationType) {
453
- InputAuthenticationType["PASSWORD"] = "password";
454
- })(InputAuthenticationType || (InputAuthenticationType = {}));
455
- export var AuthenticationType;
456
- (function (AuthenticationType) {
457
- AuthenticationType["NO_PASSWORD"] = "no-password";
458
- AuthenticationType["PASSWORD"] = "password";
459
- })(AuthenticationType || (AuthenticationType = {}));
448
+ export const InputAuthenticationType = {
449
+ PASSWORD: "password",
450
+ };
451
+ export const AuthenticationType = {
452
+ NO_PASSWORD: "no-password",
453
+ PASSWORD: "password",
454
+ };
460
455
  export class UserAlreadyExistsFault extends __BaseException {
461
456
  constructor(opts) {
462
457
  super({
@@ -505,15 +500,14 @@ export class InvalidUserStateFault extends __BaseException {
505
500
  Object.setPrototypeOf(this, InvalidUserStateFault.prototype);
506
501
  }
507
502
  }
508
- export var SourceType;
509
- (function (SourceType) {
510
- SourceType["acl"] = "acl";
511
- SourceType["cluster"] = "cluster";
512
- SourceType["node"] = "node";
513
- SourceType["parameter_group"] = "parameter-group";
514
- SourceType["subnet_group"] = "subnet-group";
515
- SourceType["user"] = "user";
516
- })(SourceType || (SourceType = {}));
503
+ export const SourceType = {
504
+ acl: "acl",
505
+ cluster: "cluster",
506
+ node: "node",
507
+ parameter_group: "parameter-group",
508
+ subnet_group: "subnet-group",
509
+ user: "user",
510
+ };
517
511
  export class ReservedNodeNotFoundFault extends __BaseException {
518
512
  constructor(opts) {
519
513
  super({
@@ -538,10 +532,9 @@ export class ReservedNodesOfferingNotFoundFault extends __BaseException {
538
532
  Object.setPrototypeOf(this, ReservedNodesOfferingNotFoundFault.prototype);
539
533
  }
540
534
  }
541
- export var ServiceUpdateType;
542
- (function (ServiceUpdateType) {
543
- ServiceUpdateType["SECURITY_UPDATE"] = "security-update";
544
- })(ServiceUpdateType || (ServiceUpdateType = {}));
535
+ export const ServiceUpdateType = {
536
+ SECURITY_UPDATE: "security-update",
537
+ };
545
538
  export class APICallRateForCustomerExceededFault extends __BaseException {
546
539
  constructor(opts) {
547
540
  super({
@@ -26,11 +26,11 @@ export interface BatchUpdateClusterCommandOutput extends BatchUpdateClusterRespo
26
26
  * import { MemoryDBClient, BatchUpdateClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, BatchUpdateClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
30
- * ClusterNames: [ // required
29
+ * const input = { // BatchUpdateClusterRequest
30
+ * ClusterNames: [ // ClusterNameList // required
31
31
  * "STRING_VALUE",
32
32
  * ],
33
- * ServiceUpdate: {
33
+ * ServiceUpdate: { // ServiceUpdateRequest
34
34
  * ServiceUpdateNameToApply: "STRING_VALUE",
35
35
  * },
36
36
  * };
@@ -26,13 +26,13 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResponse, __Metad
26
26
  * import { MemoryDBClient, CopySnapshotCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, CopySnapshotCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // CopySnapshotRequest
30
30
  * SourceSnapshotName: "STRING_VALUE", // required
31
31
  * TargetSnapshotName: "STRING_VALUE", // required
32
32
  * TargetBucket: "STRING_VALUE",
33
33
  * KmsKeyId: "STRING_VALUE",
34
- * Tags: [
35
- * {
34
+ * Tags: [ // TagList
35
+ * { // Tag
36
36
  * Key: "STRING_VALUE",
37
37
  * Value: "STRING_VALUE",
38
38
  * },
@@ -26,13 +26,13 @@ export interface CreateACLCommandOutput extends CreateACLResponse, __MetadataBea
26
26
  * import { MemoryDBClient, CreateACLCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, CreateACLCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // CreateACLRequest
30
30
  * ACLName: "STRING_VALUE", // required
31
- * UserNames: [
31
+ * UserNames: [ // UserNameListInput
32
32
  * "STRING_VALUE",
33
33
  * ],
34
- * Tags: [
35
- * {
34
+ * Tags: [ // TagList
35
+ * { // Tag
36
36
  * Key: "STRING_VALUE",
37
37
  * Value: "STRING_VALUE",
38
38
  * },
@@ -26,7 +26,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
26
26
  * import { MemoryDBClient, CreateClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, CreateClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // CreateClusterRequest
30
30
  * ClusterName: "STRING_VALUE", // required
31
31
  * NodeType: "STRING_VALUE", // required
32
32
  * ParameterGroupName: "STRING_VALUE",
@@ -34,7 +34,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
34
34
  * NumShards: Number("int"),
35
35
  * NumReplicasPerShard: Number("int"),
36
36
  * SubnetGroupName: "STRING_VALUE",
37
- * SecurityGroupIds: [
37
+ * SecurityGroupIds: [ // SecurityGroupIdsList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
40
  * MaintenanceWindow: "STRING_VALUE",
@@ -42,13 +42,13 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
42
42
  * SnsTopicArn: "STRING_VALUE",
43
43
  * TLSEnabled: true || false,
44
44
  * KmsKeyId: "STRING_VALUE",
45
- * SnapshotArns: [
45
+ * SnapshotArns: [ // SnapshotArnsList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
48
  * SnapshotName: "STRING_VALUE",
49
49
  * SnapshotRetentionLimit: Number("int"),
50
- * Tags: [
51
- * {
50
+ * Tags: [ // TagList
51
+ * { // Tag
52
52
  * Key: "STRING_VALUE",
53
53
  * Value: "STRING_VALUE",
54
54
  * },
@@ -29,12 +29,12 @@ export interface CreateParameterGroupCommandOutput extends CreateParameterGroupR
29
29
  * import { MemoryDBClient, CreateParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
30
  * // const { MemoryDBClient, CreateParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
31
  * const client = new MemoryDBClient(config);
32
- * const input = {
32
+ * const input = { // CreateParameterGroupRequest
33
33
  * ParameterGroupName: "STRING_VALUE", // required
34
34
  * Family: "STRING_VALUE", // required
35
35
  * Description: "STRING_VALUE",
36
- * Tags: [
37
- * {
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
38
  * Key: "STRING_VALUE",
39
39
  * Value: "STRING_VALUE",
40
40
  * },
@@ -26,12 +26,12 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
26
26
  * import { MemoryDBClient, CreateSnapshotCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, CreateSnapshotCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // CreateSnapshotRequest
30
30
  * ClusterName: "STRING_VALUE", // required
31
31
  * SnapshotName: "STRING_VALUE", // required
32
32
  * KmsKeyId: "STRING_VALUE",
33
- * Tags: [
34
- * {
33
+ * Tags: [ // TagList
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -29,14 +29,14 @@ export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupRespons
29
29
  * import { MemoryDBClient, CreateSubnetGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
30
  * // const { MemoryDBClient, CreateSubnetGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
31
  * const client = new MemoryDBClient(config);
32
- * const input = {
32
+ * const input = { // CreateSubnetGroupRequest
33
33
  * SubnetGroupName: "STRING_VALUE", // required
34
34
  * Description: "STRING_VALUE",
35
- * SubnetIds: [ // required
35
+ * SubnetIds: [ // SubnetIdentifierList // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
- * Tags: [
39
- * {
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
40
  * Key: "STRING_VALUE",
41
41
  * Value: "STRING_VALUE",
42
42
  * },
@@ -26,17 +26,17 @@ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataB
26
26
  * import { MemoryDBClient, CreateUserCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, CreateUserCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // CreateUserRequest
30
30
  * UserName: "STRING_VALUE", // required
31
- * AuthenticationMode: {
31
+ * AuthenticationMode: { // AuthenticationMode
32
32
  * Type: "password",
33
- * Passwords: [
33
+ * Passwords: [ // PasswordListInput
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * },
37
37
  * AccessString: "STRING_VALUE", // required
38
- * Tags: [
39
- * {
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
40
  * Key: "STRING_VALUE",
41
41
  * Value: "STRING_VALUE",
42
42
  * },
@@ -26,7 +26,7 @@ export interface DeleteACLCommandOutput extends DeleteACLResponse, __MetadataBea
26
26
  * import { MemoryDBClient, DeleteACLCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DeleteACLCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DeleteACLRequest
30
30
  * ACLName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteACLCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
26
26
  * import { MemoryDBClient, DeleteClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DeleteClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DeleteClusterRequest
30
30
  * ClusterName: "STRING_VALUE", // required
31
31
  * FinalSnapshotName: "STRING_VALUE",
32
32
  * };
@@ -27,7 +27,7 @@ export interface DeleteParameterGroupCommandOutput extends DeleteParameterGroupR
27
27
  * import { MemoryDBClient, DeleteParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
28
28
  * // const { MemoryDBClient, DeleteParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
29
29
  * const client = new MemoryDBClient(config);
30
- * const input = {
30
+ * const input = { // DeleteParameterGroupRequest
31
31
  * ParameterGroupName: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new DeleteParameterGroupCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __M
26
26
  * import { MemoryDBClient, DeleteSnapshotCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DeleteSnapshotCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DeleteSnapshotRequest
30
30
  * SnapshotName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteSnapshotCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteSubnetGroupCommandOutput extends DeleteSubnetGroupRespons
26
26
  * import { MemoryDBClient, DeleteSubnetGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DeleteSubnetGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DeleteSubnetGroupRequest
30
30
  * SubnetGroupName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteSubnetGroupCommand(input);
@@ -26,7 +26,7 @@ export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataB
26
26
  * import { MemoryDBClient, DeleteUserCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DeleteUserCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DeleteUserRequest
30
30
  * UserName: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteUserCommand(input);
@@ -26,7 +26,7 @@ export interface DescribeACLsCommandOutput extends DescribeACLsResponse, __Metad
26
26
  * import { MemoryDBClient, DescribeACLsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeACLsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeACLsRequest
30
30
  * ACLName: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
26
26
  * import { MemoryDBClient, DescribeClustersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeClustersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeClustersRequest
30
30
  * ClusterName: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersi
26
26
  * import { MemoryDBClient, DescribeEngineVersionsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeEngineVersionsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeEngineVersionsRequest
30
30
  * EngineVersion: "STRING_VALUE",
31
31
  * ParameterGroupFamily: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
@@ -28,7 +28,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
28
28
  * import { MemoryDBClient, DescribeEventsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
29
29
  * // const { MemoryDBClient, DescribeEventsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
30
30
  * const client = new MemoryDBClient(config);
31
- * const input = {
31
+ * const input = { // DescribeEventsRequest
32
32
  * SourceName: "STRING_VALUE",
33
33
  * SourceType: "node" || "parameter-group" || "subnet-group" || "cluster" || "user" || "acl",
34
34
  * StartTime: new Date("TIMESTAMP"),
@@ -26,7 +26,7 @@ export interface DescribeParameterGroupsCommandOutput extends DescribeParameterG
26
26
  * import { MemoryDBClient, DescribeParameterGroupsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeParameterGroupsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeParameterGroupsRequest
30
30
  * ParameterGroupName: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeParametersCommandOutput extends DescribeParametersRespo
26
26
  * import { MemoryDBClient, DescribeParametersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeParametersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeParametersRequest
30
30
  * ParameterGroupName: "STRING_VALUE", // required
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeReservedNodesCommandOutput extends DescribeReservedNode
26
26
  * import { MemoryDBClient, DescribeReservedNodesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeReservedNodesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeReservedNodesRequest
30
30
  * ReservationId: "STRING_VALUE",
31
31
  * ReservedNodesOfferingId: "STRING_VALUE",
32
32
  * NodeType: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeReservedNodesOfferingsCommandOutput extends DescribeRes
26
26
  * import { MemoryDBClient, DescribeReservedNodesOfferingsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeReservedNodesOfferingsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeReservedNodesOfferingsRequest
30
30
  * ReservedNodesOfferingId: "STRING_VALUE",
31
31
  * NodeType: "STRING_VALUE",
32
32
  * Duration: "STRING_VALUE",
@@ -26,12 +26,12 @@ export interface DescribeServiceUpdatesCommandOutput extends DescribeServiceUpda
26
26
  * import { MemoryDBClient, DescribeServiceUpdatesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeServiceUpdatesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeServiceUpdatesRequest
30
30
  * ServiceUpdateName: "STRING_VALUE",
31
- * ClusterNames: [
31
+ * ClusterNames: [ // ClusterNameList
32
32
  * "STRING_VALUE",
33
33
  * ],
34
- * Status: [
34
+ * Status: [ // ServiceUpdateStatusList
35
35
  * "available" || "in-progress" || "complete" || "scheduled",
36
36
  * ],
37
37
  * MaxResults: Number("int"),
@@ -27,7 +27,7 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsRespons
27
27
  * import { MemoryDBClient, DescribeSnapshotsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
28
28
  * // const { MemoryDBClient, DescribeSnapshotsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
29
29
  * const client = new MemoryDBClient(config);
30
- * const input = {
30
+ * const input = { // DescribeSnapshotsRequest
31
31
  * ClusterName: "STRING_VALUE",
32
32
  * SnapshotName: "STRING_VALUE",
33
33
  * Source: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface DescribeSubnetGroupsCommandOutput extends DescribeSubnetGroupsR
26
26
  * import { MemoryDBClient, DescribeSubnetGroupsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeSubnetGroupsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeSubnetGroupsRequest
30
30
  * SubnetGroupName: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * NextToken: "STRING_VALUE",
@@ -26,12 +26,12 @@ export interface DescribeUsersCommandOutput extends DescribeUsersResponse, __Met
26
26
  * import { MemoryDBClient, DescribeUsersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, DescribeUsersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // DescribeUsersRequest
30
30
  * UserName: "STRING_VALUE",
31
- * Filters: [
32
- * {
31
+ * Filters: [ // FilterList
32
+ * { // Filter
33
33
  * Name: "STRING_VALUE", // required
34
- * Values: [ // required
34
+ * Values: [ // FilterValueList // required
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * },
@@ -27,7 +27,7 @@ export interface FailoverShardCommandOutput extends FailoverShardResponse, __Met
27
27
  * import { MemoryDBClient, FailoverShardCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
28
28
  * // const { MemoryDBClient, FailoverShardCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
29
29
  * const client = new MemoryDBClient(config);
30
- * const input = {
30
+ * const input = { // FailoverShardRequest
31
31
  * ClusterName: "STRING_VALUE", // required
32
32
  * ShardName: "STRING_VALUE", // required
33
33
  * };
@@ -28,7 +28,7 @@ export interface ListAllowedNodeTypeUpdatesCommandOutput extends ListAllowedNode
28
28
  * import { MemoryDBClient, ListAllowedNodeTypeUpdatesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
29
29
  * // const { MemoryDBClient, ListAllowedNodeTypeUpdatesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
30
30
  * const client = new MemoryDBClient(config);
31
- * const input = {
31
+ * const input = { // ListAllowedNodeTypeUpdatesRequest
32
32
  * ClusterName: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new ListAllowedNodeTypeUpdatesCommand(input);
@@ -30,7 +30,7 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
30
30
  * import { MemoryDBClient, ListTagsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
31
31
  * // const { MemoryDBClient, ListTagsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
32
32
  * const client = new MemoryDBClient(config);
33
- * const input = {
33
+ * const input = { // ListTagsRequest
34
34
  * ResourceArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new ListTagsCommand(input);
@@ -26,12 +26,12 @@ export interface PurchaseReservedNodesOfferingCommandOutput extends PurchaseRese
26
26
  * import { MemoryDBClient, PurchaseReservedNodesOfferingCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, PurchaseReservedNodesOfferingCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // PurchaseReservedNodesOfferingRequest
30
30
  * ReservedNodesOfferingId: "STRING_VALUE", // required
31
31
  * ReservationId: "STRING_VALUE",
32
32
  * NodeCount: Number("int"),
33
- * Tags: [
34
- * {
33
+ * Tags: [ // TagList
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -26,10 +26,10 @@ export interface ResetParameterGroupCommandOutput extends ResetParameterGroupRes
26
26
  * import { MemoryDBClient, ResetParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, ResetParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // ResetParameterGroupRequest
30
30
  * ParameterGroupName: "STRING_VALUE", // required
31
31
  * AllParameters: true || false,
32
- * ParameterNames: [
32
+ * ParameterNames: [ // ParameterNameList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -35,10 +35,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
35
35
  * import { MemoryDBClient, TagResourceCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
36
36
  * // const { MemoryDBClient, TagResourceCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
37
37
  * const client = new MemoryDBClient(config);
38
- * const input = {
38
+ * const input = { // TagResourceRequest
39
39
  * ResourceArn: "STRING_VALUE", // required
40
- * Tags: [ // required
41
- * {
40
+ * Tags: [ // TagList // required
41
+ * { // Tag
42
42
  * Key: "STRING_VALUE",
43
43
  * Value: "STRING_VALUE",
44
44
  * },
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { MemoryDBClient, UntagResourceCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, UntagResourceCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // KeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,9 +26,9 @@ export interface UpdateACLCommandOutput extends UpdateACLResponse, __MetadataBea
26
26
  * import { MemoryDBClient, UpdateACLCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, UpdateACLCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // UpdateACLRequest
30
30
  * ACLName: "STRING_VALUE", // required
31
- * UserNamesToAdd: [
31
+ * UserNamesToAdd: [ // UserNameListInput
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * UserNamesToRemove: [
@@ -26,10 +26,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
26
26
  * import { MemoryDBClient, UpdateClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, UpdateClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // UpdateClusterRequest
30
30
  * ClusterName: "STRING_VALUE", // required
31
31
  * Description: "STRING_VALUE",
32
- * SecurityGroupIds: [
32
+ * SecurityGroupIds: [ // SecurityGroupIdsList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * MaintenanceWindow: "STRING_VALUE",
@@ -40,10 +40,10 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
40
40
  * SnapshotRetentionLimit: Number("int"),
41
41
  * NodeType: "STRING_VALUE",
42
42
  * EngineVersion: "STRING_VALUE",
43
- * ReplicaConfiguration: {
43
+ * ReplicaConfiguration: { // ReplicaConfigurationRequest
44
44
  * ReplicaCount: Number("int"),
45
45
  * },
46
- * ShardConfiguration: {
46
+ * ShardConfiguration: { // ShardConfigurationRequest
47
47
  * ShardCount: Number("int"),
48
48
  * },
49
49
  * ACLName: "STRING_VALUE",
@@ -26,10 +26,10 @@ export interface UpdateParameterGroupCommandOutput extends UpdateParameterGroupR
26
26
  * import { MemoryDBClient, UpdateParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, UpdateParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // UpdateParameterGroupRequest
30
30
  * ParameterGroupName: "STRING_VALUE", // required
31
- * ParameterNameValues: [ // required
32
- * {
31
+ * ParameterNameValues: [ // ParameterNameValueList // required
32
+ * { // ParameterNameValue
33
33
  * ParameterName: "STRING_VALUE",
34
34
  * ParameterValue: "STRING_VALUE",
35
35
  * },
@@ -27,10 +27,10 @@ export interface UpdateSubnetGroupCommandOutput extends UpdateSubnetGroupRespons
27
27
  * import { MemoryDBClient, UpdateSubnetGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
28
28
  * // const { MemoryDBClient, UpdateSubnetGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
29
29
  * const client = new MemoryDBClient(config);
30
- * const input = {
30
+ * const input = { // UpdateSubnetGroupRequest
31
31
  * SubnetGroupName: "STRING_VALUE", // required
32
32
  * Description: "STRING_VALUE",
33
- * SubnetIds: [
33
+ * SubnetIds: [ // SubnetIdentifierList
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * };
@@ -26,11 +26,11 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
26
26
  * import { MemoryDBClient, UpdateUserCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
27
  * // const { MemoryDBClient, UpdateUserCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
28
  * const client = new MemoryDBClient(config);
29
- * const input = {
29
+ * const input = { // UpdateUserRequest
30
30
  * UserName: "STRING_VALUE", // required
31
- * AuthenticationMode: {
31
+ * AuthenticationMode: { // AuthenticationMode
32
32
  * Type: "password",
33
- * Passwords: [
33
+ * Passwords: [ // PasswordListInput
34
34
  * "STRING_VALUE",
35
35
  * ],
36
36
  * },
@@ -121,11 +121,16 @@ export interface BatchUpdateClusterRequest {
121
121
  }
122
122
  /**
123
123
  * @public
124
+ * @enum
124
125
  */
125
- export declare enum AZStatus {
126
- MultiAZ = "multiaz",
127
- SingleAZ = "singleaz"
128
- }
126
+ export declare const AZStatus: {
127
+ readonly MultiAZ: "multiaz";
128
+ readonly SingleAZ: "singleaz";
129
+ };
130
+ /**
131
+ * @public
132
+ */
133
+ export type AZStatus = (typeof AZStatus)[keyof typeof AZStatus];
129
134
  /**
130
135
  * @public
131
136
  * <p>Represents the information required for client programs to connect to the cluster and its nodes.</p>
@@ -142,11 +147,16 @@ export interface Endpoint {
142
147
  }
143
148
  /**
144
149
  * @public
150
+ * @enum
145
151
  */
146
- export declare enum DataTieringStatus {
147
- FALSE = "false",
148
- TRUE = "true"
149
- }
152
+ export declare const DataTieringStatus: {
153
+ readonly FALSE: "false";
154
+ readonly TRUE: "true";
155
+ };
156
+ /**
157
+ * @public
158
+ */
159
+ export type DataTieringStatus = (typeof DataTieringStatus)[keyof typeof DataTieringStatus];
150
160
  /**
151
161
  * @public
152
162
  * <p>Represents the progress of an online resharding operation.</p>
@@ -169,13 +179,18 @@ export interface ReshardingStatus {
169
179
  }
170
180
  /**
171
181
  * @public
182
+ * @enum
172
183
  */
173
- export declare enum ServiceUpdateStatus {
174
- COMPLETE = "complete",
175
- IN_PROGRESS = "in-progress",
176
- NOT_APPLIED = "available",
177
- SCHEDULED = "scheduled"
178
- }
184
+ export declare const ServiceUpdateStatus: {
185
+ readonly COMPLETE: "complete";
186
+ readonly IN_PROGRESS: "in-progress";
187
+ readonly NOT_APPLIED: "available";
188
+ readonly SCHEDULED: "scheduled";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type ServiceUpdateStatus = (typeof ServiceUpdateStatus)[keyof typeof ServiceUpdateStatus];
179
194
  /**
180
195
  * @public
181
196
  * <p>Update action that has yet to be processed for the corresponding apply/stop request</p>
@@ -1353,10 +1368,15 @@ export declare class SubnetQuotaExceededFault extends __BaseException {
1353
1368
  }
1354
1369
  /**
1355
1370
  * @public
1371
+ * @enum
1356
1372
  */
1357
- export declare enum InputAuthenticationType {
1358
- PASSWORD = "password"
1359
- }
1373
+ export declare const InputAuthenticationType: {
1374
+ readonly PASSWORD: "password";
1375
+ };
1376
+ /**
1377
+ * @public
1378
+ */
1379
+ export type InputAuthenticationType = (typeof InputAuthenticationType)[keyof typeof InputAuthenticationType];
1360
1380
  /**
1361
1381
  * @public
1362
1382
  * <p>Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.</p>
@@ -1394,11 +1414,16 @@ export interface CreateUserRequest {
1394
1414
  }
1395
1415
  /**
1396
1416
  * @public
1417
+ * @enum
1397
1418
  */
1398
- export declare enum AuthenticationType {
1399
- NO_PASSWORD = "no-password",
1400
- PASSWORD = "password"
1401
- }
1419
+ export declare const AuthenticationType: {
1420
+ readonly NO_PASSWORD: "no-password";
1421
+ readonly PASSWORD: "password";
1422
+ };
1423
+ /**
1424
+ * @public
1425
+ */
1426
+ export type AuthenticationType = (typeof AuthenticationType)[keyof typeof AuthenticationType];
1402
1427
  /**
1403
1428
  * @public
1404
1429
  * <p>Denotes the user's authentication properties, such as whether it requires a password to authenticate. Used in output responses.</p>
@@ -1740,15 +1765,20 @@ export interface DescribeEngineVersionsResponse {
1740
1765
  }
1741
1766
  /**
1742
1767
  * @public
1768
+ * @enum
1743
1769
  */
1744
- export declare enum SourceType {
1745
- acl = "acl",
1746
- cluster = "cluster",
1747
- node = "node",
1748
- parameter_group = "parameter-group",
1749
- subnet_group = "subnet-group",
1750
- user = "user"
1751
- }
1770
+ export declare const SourceType: {
1771
+ readonly acl: "acl";
1772
+ readonly cluster: "cluster";
1773
+ readonly node: "node";
1774
+ readonly parameter_group: "parameter-group";
1775
+ readonly subnet_group: "subnet-group";
1776
+ readonly user: "user";
1777
+ };
1778
+ /**
1779
+ * @public
1780
+ */
1781
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
1752
1782
  /**
1753
1783
  * @public
1754
1784
  */
@@ -2149,10 +2179,15 @@ export interface DescribeServiceUpdatesRequest {
2149
2179
  }
2150
2180
  /**
2151
2181
  * @public
2182
+ * @enum
2152
2183
  */
2153
- export declare enum ServiceUpdateType {
2154
- SECURITY_UPDATE = "security-update"
2155
- }
2184
+ export declare const ServiceUpdateType: {
2185
+ readonly SECURITY_UPDATE: "security-update";
2186
+ };
2187
+ /**
2188
+ * @public
2189
+ */
2190
+ export type ServiceUpdateType = (typeof ServiceUpdateType)[keyof typeof ServiceUpdateType];
2156
2191
  /**
2157
2192
  * @public
2158
2193
  * <p>An update that you can apply to your MemoryDB clusters.</p>
@@ -42,30 +42,35 @@ export interface BatchUpdateClusterRequest {
42
42
  ClusterNames: string[] | undefined;
43
43
  ServiceUpdate?: ServiceUpdateRequest;
44
44
  }
45
- export declare enum AZStatus {
46
- MultiAZ = "multiaz",
47
- SingleAZ = "singleaz",
48
- }
45
+ export declare const AZStatus: {
46
+ readonly MultiAZ: "multiaz";
47
+ readonly SingleAZ: "singleaz";
48
+ };
49
+ export type AZStatus = (typeof AZStatus)[keyof typeof AZStatus];
49
50
  export interface Endpoint {
50
51
  Address?: string;
51
52
  Port?: number;
52
53
  }
53
- export declare enum DataTieringStatus {
54
- FALSE = "false",
55
- TRUE = "true",
56
- }
54
+ export declare const DataTieringStatus: {
55
+ readonly FALSE: "false";
56
+ readonly TRUE: "true";
57
+ };
58
+ export type DataTieringStatus =
59
+ (typeof DataTieringStatus)[keyof typeof DataTieringStatus];
57
60
  export interface SlotMigration {
58
61
  ProgressPercentage?: number;
59
62
  }
60
63
  export interface ReshardingStatus {
61
64
  SlotMigration?: SlotMigration;
62
65
  }
63
- export declare enum ServiceUpdateStatus {
64
- COMPLETE = "complete",
65
- IN_PROGRESS = "in-progress",
66
- NOT_APPLIED = "available",
67
- SCHEDULED = "scheduled",
68
- }
66
+ export declare const ServiceUpdateStatus: {
67
+ readonly COMPLETE: "complete";
68
+ readonly IN_PROGRESS: "in-progress";
69
+ readonly NOT_APPLIED: "available";
70
+ readonly SCHEDULED: "scheduled";
71
+ };
72
+ export type ServiceUpdateStatus =
73
+ (typeof ServiceUpdateStatus)[keyof typeof ServiceUpdateStatus];
69
74
  export interface PendingModifiedServiceUpdate {
70
75
  ServiceUpdateName?: string;
71
76
  Status?: ServiceUpdateStatus | string;
@@ -515,9 +520,11 @@ export declare class SubnetQuotaExceededFault extends __BaseException {
515
520
  opts: __ExceptionOptionType<SubnetQuotaExceededFault, __BaseException>
516
521
  );
517
522
  }
518
- export declare enum InputAuthenticationType {
519
- PASSWORD = "password",
520
- }
523
+ export declare const InputAuthenticationType: {
524
+ readonly PASSWORD: "password";
525
+ };
526
+ export type InputAuthenticationType =
527
+ (typeof InputAuthenticationType)[keyof typeof InputAuthenticationType];
521
528
  export interface AuthenticationMode {
522
529
  Type?: InputAuthenticationType | string;
523
530
  Passwords?: string[];
@@ -528,10 +535,12 @@ export interface CreateUserRequest {
528
535
  AccessString: string | undefined;
529
536
  Tags?: Tag[];
530
537
  }
531
- export declare enum AuthenticationType {
532
- NO_PASSWORD = "no-password",
533
- PASSWORD = "password",
534
- }
538
+ export declare const AuthenticationType: {
539
+ readonly NO_PASSWORD: "no-password";
540
+ readonly PASSWORD: "password";
541
+ };
542
+ export type AuthenticationType =
543
+ (typeof AuthenticationType)[keyof typeof AuthenticationType];
535
544
  export interface Authentication {
536
545
  Type?: AuthenticationType | string;
537
546
  PasswordCount?: number;
@@ -648,14 +657,15 @@ export interface DescribeEngineVersionsResponse {
648
657
  NextToken?: string;
649
658
  EngineVersions?: EngineVersionInfo[];
650
659
  }
651
- export declare enum SourceType {
652
- acl = "acl",
653
- cluster = "cluster",
654
- node = "node",
655
- parameter_group = "parameter-group",
656
- subnet_group = "subnet-group",
657
- user = "user",
658
- }
660
+ export declare const SourceType: {
661
+ readonly acl: "acl";
662
+ readonly cluster: "cluster";
663
+ readonly node: "node";
664
+ readonly parameter_group: "parameter-group";
665
+ readonly subnet_group: "subnet-group";
666
+ readonly user: "user";
667
+ };
668
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
659
669
  export interface DescribeEventsRequest {
660
670
  SourceName?: string;
661
671
  SourceType?: SourceType | string;
@@ -775,9 +785,11 @@ export interface DescribeServiceUpdatesRequest {
775
785
  MaxResults?: number;
776
786
  NextToken?: string;
777
787
  }
778
- export declare enum ServiceUpdateType {
779
- SECURITY_UPDATE = "security-update",
780
- }
788
+ export declare const ServiceUpdateType: {
789
+ readonly SECURITY_UPDATE: "security-update";
790
+ };
791
+ export type ServiceUpdateType =
792
+ (typeof ServiceUpdateType)[keyof typeof ServiceUpdateType];
781
793
  export interface ServiceUpdate {
782
794
  ClusterName?: string;
783
795
  ServiceUpdateName?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-memorydb",
3
3
  "description": "AWS SDK for JavaScript Memorydb Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",