@aws-sdk/client-elasticache 3.28.0 → 3.32.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/CHANGELOG.md +35 -0
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +41 -41
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +42 -42
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/dist/types/models/models_0.d.ts +9 -9
- package/dist/types/ts3.4/models/models_0.d.ts +9 -9
- package/models/models_0.ts +9 -9
- package/package.json +32 -32
- package/protocols/Aws_query.ts +54 -42
|
@@ -890,11 +890,11 @@ export declare namespace ReshardingStatus {
|
|
|
890
890
|
*/
|
|
891
891
|
export interface UserGroupsUpdateStatus {
|
|
892
892
|
/**
|
|
893
|
-
* <p>The
|
|
893
|
+
* <p>The ID of the user group to add.</p>
|
|
894
894
|
*/
|
|
895
895
|
UserGroupIdsToAdd?: string[];
|
|
896
896
|
/**
|
|
897
|
-
* <p>The
|
|
897
|
+
* <p>The ID of the user group to remove.</p>
|
|
898
898
|
*/
|
|
899
899
|
UserGroupIdsToRemove?: string[];
|
|
900
900
|
}
|
|
@@ -927,7 +927,7 @@ export interface ReplicationGroupPendingModifiedValues {
|
|
|
927
927
|
*/
|
|
928
928
|
AuthTokenStatus?: AuthTokenUpdateStatus | string;
|
|
929
929
|
/**
|
|
930
|
-
* <p>The user
|
|
930
|
+
* <p>The user group being modified.</p>
|
|
931
931
|
*/
|
|
932
932
|
UserGroups?: UserGroupsUpdateStatus;
|
|
933
933
|
/**
|
|
@@ -1082,7 +1082,7 @@ export interface ReplicationGroup {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
ARN?: string;
|
|
1084
1084
|
/**
|
|
1085
|
-
* <p>The
|
|
1085
|
+
* <p>The ID of the user group associated to the replication group.</p>
|
|
1086
1086
|
*/
|
|
1087
1087
|
UserGroupIds?: string[];
|
|
1088
1088
|
/**
|
|
@@ -4666,7 +4666,7 @@ export interface UserGroup {
|
|
|
4666
4666
|
*/
|
|
4667
4667
|
UserIds?: string[];
|
|
4668
4668
|
/**
|
|
4669
|
-
* <p>A list of updates being applied to the user
|
|
4669
|
+
* <p>A list of updates being applied to the user group.</p>
|
|
4670
4670
|
*/
|
|
4671
4671
|
PendingChanges?: UserGroupPendingChanges;
|
|
4672
4672
|
/**
|
|
@@ -5099,7 +5099,7 @@ export declare namespace DeleteSnapshotResult {
|
|
|
5099
5099
|
const filterSensitiveLog: (obj: DeleteSnapshotResult) => any;
|
|
5100
5100
|
}
|
|
5101
5101
|
/**
|
|
5102
|
-
* <p
|
|
5102
|
+
* <p>The default user assigned to the user group.</p>
|
|
5103
5103
|
*/
|
|
5104
5104
|
export interface DefaultUserAssociatedToUserGroupFault extends __SmithyException, $MetadataBearer {
|
|
5105
5105
|
name: "DefaultUserAssociatedToUserGroupFault";
|
|
@@ -8720,15 +8720,15 @@ export interface ModifyReplicationGroupMessage {
|
|
|
8720
8720
|
*/
|
|
8721
8721
|
AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType | string;
|
|
8722
8722
|
/**
|
|
8723
|
-
* <p>The user group you are associating with the replication group.</p>
|
|
8723
|
+
* <p>The ID of the user group you are associating with the replication group.</p>
|
|
8724
8724
|
*/
|
|
8725
8725
|
UserGroupIdsToAdd?: string[];
|
|
8726
8726
|
/**
|
|
8727
|
-
* <p>The user group to
|
|
8727
|
+
* <p>The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.</p>
|
|
8728
8728
|
*/
|
|
8729
8729
|
UserGroupIdsToRemove?: string[];
|
|
8730
8730
|
/**
|
|
8731
|
-
* <p>Removes the user
|
|
8731
|
+
* <p>Removes the user group associated with this replication group.</p>
|
|
8732
8732
|
*/
|
|
8733
8733
|
RemoveUserGroups?: boolean;
|
|
8734
8734
|
/**
|
|
@@ -890,11 +890,11 @@ export declare namespace ReshardingStatus {
|
|
|
890
890
|
*/
|
|
891
891
|
export interface UserGroupsUpdateStatus {
|
|
892
892
|
/**
|
|
893
|
-
* <p>The
|
|
893
|
+
* <p>The ID of the user group to add.</p>
|
|
894
894
|
*/
|
|
895
895
|
UserGroupIdsToAdd?: string[];
|
|
896
896
|
/**
|
|
897
|
-
* <p>The
|
|
897
|
+
* <p>The ID of the user group to remove.</p>
|
|
898
898
|
*/
|
|
899
899
|
UserGroupIdsToRemove?: string[];
|
|
900
900
|
}
|
|
@@ -927,7 +927,7 @@ export interface ReplicationGroupPendingModifiedValues {
|
|
|
927
927
|
*/
|
|
928
928
|
AuthTokenStatus?: AuthTokenUpdateStatus | string;
|
|
929
929
|
/**
|
|
930
|
-
* <p>The user
|
|
930
|
+
* <p>The user group being modified.</p>
|
|
931
931
|
*/
|
|
932
932
|
UserGroups?: UserGroupsUpdateStatus;
|
|
933
933
|
/**
|
|
@@ -1082,7 +1082,7 @@ export interface ReplicationGroup {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
ARN?: string;
|
|
1084
1084
|
/**
|
|
1085
|
-
* <p>The
|
|
1085
|
+
* <p>The ID of the user group associated to the replication group.</p>
|
|
1086
1086
|
*/
|
|
1087
1087
|
UserGroupIds?: string[];
|
|
1088
1088
|
/**
|
|
@@ -4666,7 +4666,7 @@ export interface UserGroup {
|
|
|
4666
4666
|
*/
|
|
4667
4667
|
UserIds?: string[];
|
|
4668
4668
|
/**
|
|
4669
|
-
* <p>A list of updates being applied to the user
|
|
4669
|
+
* <p>A list of updates being applied to the user group.</p>
|
|
4670
4670
|
*/
|
|
4671
4671
|
PendingChanges?: UserGroupPendingChanges;
|
|
4672
4672
|
/**
|
|
@@ -5099,7 +5099,7 @@ export declare namespace DeleteSnapshotResult {
|
|
|
5099
5099
|
const filterSensitiveLog: (obj: DeleteSnapshotResult) => any;
|
|
5100
5100
|
}
|
|
5101
5101
|
/**
|
|
5102
|
-
* <p
|
|
5102
|
+
* <p>The default user assigned to the user group.</p>
|
|
5103
5103
|
*/
|
|
5104
5104
|
export interface DefaultUserAssociatedToUserGroupFault extends __SmithyException, $MetadataBearer {
|
|
5105
5105
|
name: "DefaultUserAssociatedToUserGroupFault";
|
|
@@ -8720,15 +8720,15 @@ export interface ModifyReplicationGroupMessage {
|
|
|
8720
8720
|
*/
|
|
8721
8721
|
AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType | string;
|
|
8722
8722
|
/**
|
|
8723
|
-
* <p>The user group you are associating with the replication group.</p>
|
|
8723
|
+
* <p>The ID of the user group you are associating with the replication group.</p>
|
|
8724
8724
|
*/
|
|
8725
8725
|
UserGroupIdsToAdd?: string[];
|
|
8726
8726
|
/**
|
|
8727
|
-
* <p>The user group to
|
|
8727
|
+
* <p>The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.</p>
|
|
8728
8728
|
*/
|
|
8729
8729
|
UserGroupIdsToRemove?: string[];
|
|
8730
8730
|
/**
|
|
8731
|
-
* <p>Removes the user
|
|
8731
|
+
* <p>Removes the user group associated with this replication group.</p>
|
|
8732
8732
|
*/
|
|
8733
8733
|
RemoveUserGroups?: boolean;
|
|
8734
8734
|
/**
|
package/models/models_0.ts
CHANGED
|
@@ -1113,12 +1113,12 @@ export namespace ReshardingStatus {
|
|
|
1113
1113
|
*/
|
|
1114
1114
|
export interface UserGroupsUpdateStatus {
|
|
1115
1115
|
/**
|
|
1116
|
-
* <p>The
|
|
1116
|
+
* <p>The ID of the user group to add.</p>
|
|
1117
1117
|
*/
|
|
1118
1118
|
UserGroupIdsToAdd?: string[];
|
|
1119
1119
|
|
|
1120
1120
|
/**
|
|
1121
|
-
* <p>The
|
|
1121
|
+
* <p>The ID of the user group to remove.</p>
|
|
1122
1122
|
*/
|
|
1123
1123
|
UserGroupIdsToRemove?: string[];
|
|
1124
1124
|
}
|
|
@@ -1159,7 +1159,7 @@ export interface ReplicationGroupPendingModifiedValues {
|
|
|
1159
1159
|
AuthTokenStatus?: AuthTokenUpdateStatus | string;
|
|
1160
1160
|
|
|
1161
1161
|
/**
|
|
1162
|
-
* <p>The user
|
|
1162
|
+
* <p>The user group being modified.</p>
|
|
1163
1163
|
*/
|
|
1164
1164
|
UserGroups?: UserGroupsUpdateStatus;
|
|
1165
1165
|
|
|
@@ -1341,7 +1341,7 @@ export interface ReplicationGroup {
|
|
|
1341
1341
|
ARN?: string;
|
|
1342
1342
|
|
|
1343
1343
|
/**
|
|
1344
|
-
* <p>The
|
|
1344
|
+
* <p>The ID of the user group associated to the replication group.</p>
|
|
1345
1345
|
*/
|
|
1346
1346
|
UserGroupIds?: string[];
|
|
1347
1347
|
|
|
@@ -5443,7 +5443,7 @@ export interface UserGroup {
|
|
|
5443
5443
|
UserIds?: string[];
|
|
5444
5444
|
|
|
5445
5445
|
/**
|
|
5446
|
-
* <p>A list of updates being applied to the user
|
|
5446
|
+
* <p>A list of updates being applied to the user group.</p>
|
|
5447
5447
|
*/
|
|
5448
5448
|
PendingChanges?: UserGroupPendingChanges;
|
|
5449
5449
|
|
|
@@ -5977,7 +5977,7 @@ export namespace DeleteSnapshotResult {
|
|
|
5977
5977
|
}
|
|
5978
5978
|
|
|
5979
5979
|
/**
|
|
5980
|
-
* <p
|
|
5980
|
+
* <p>The default user assigned to the user group.</p>
|
|
5981
5981
|
*/
|
|
5982
5982
|
export interface DefaultUserAssociatedToUserGroupFault extends __SmithyException, $MetadataBearer {
|
|
5983
5983
|
name: "DefaultUserAssociatedToUserGroupFault";
|
|
@@ -10167,17 +10167,17 @@ export interface ModifyReplicationGroupMessage {
|
|
|
10167
10167
|
AuthTokenUpdateStrategy?: AuthTokenUpdateStrategyType | string;
|
|
10168
10168
|
|
|
10169
10169
|
/**
|
|
10170
|
-
* <p>The user group you are associating with the replication group.</p>
|
|
10170
|
+
* <p>The ID of the user group you are associating with the replication group.</p>
|
|
10171
10171
|
*/
|
|
10172
10172
|
UserGroupIdsToAdd?: string[];
|
|
10173
10173
|
|
|
10174
10174
|
/**
|
|
10175
|
-
* <p>The user group to
|
|
10175
|
+
* <p>The ID of the user group to disassociate from the replication group, meaning the users in the group no longer can access the replication group.</p>
|
|
10176
10176
|
*/
|
|
10177
10177
|
UserGroupIdsToRemove?: string[];
|
|
10178
10178
|
|
|
10179
10179
|
/**
|
|
10180
|
-
* <p>Removes the user
|
|
10180
|
+
* <p>Removes the user group associated with this replication group.</p>
|
|
10181
10181
|
*/
|
|
10182
10182
|
RemoveUserGroups?: boolean;
|
|
10183
10183
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticache",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,48 +27,48 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
58
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
59
59
|
"entities": "2.2.0",
|
|
60
60
|
"fast-xml-parser": "3.19.0",
|
|
61
61
|
"tslib": "^2.3.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
64
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
65
65
|
"@types/node": "^12.7.5",
|
|
66
66
|
"downlevel-dts": "0.7.0",
|
|
67
67
|
"jest": "^26.1.0",
|
|
68
68
|
"rimraf": "^3.0.0",
|
|
69
69
|
"ts-jest": "^26.4.1",
|
|
70
70
|
"typedoc": "^0.19.2",
|
|
71
|
-
"typescript": "~4.3.
|
|
71
|
+
"typescript": "~4.3.5"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -448,13 +448,15 @@ import {
|
|
|
448
448
|
} from "../models/models_0";
|
|
449
449
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
450
450
|
import {
|
|
451
|
+
expectNonNull as __expectNonNull,
|
|
451
452
|
expectString as __expectString,
|
|
452
453
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
453
454
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
454
455
|
getValueFromTextNode as __getValueFromTextNode,
|
|
455
456
|
parseBoolean as __parseBoolean,
|
|
457
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
456
458
|
strictParseFloat as __strictParseFloat,
|
|
457
|
-
|
|
459
|
+
strictParseInt32 as __strictParseInt32,
|
|
458
460
|
} from "@aws-sdk/smithy-client";
|
|
459
461
|
import {
|
|
460
462
|
Endpoint as __Endpoint,
|
|
@@ -10783,7 +10785,7 @@ const deserializeAws_queryAuthentication = (output: any, context: __SerdeContext
|
|
|
10783
10785
|
contents.Type = __expectString(output["Type"]);
|
|
10784
10786
|
}
|
|
10785
10787
|
if (output["PasswordCount"] !== undefined) {
|
|
10786
|
-
contents.PasswordCount =
|
|
10788
|
+
contents.PasswordCount = __strictParseInt32(output["PasswordCount"]) as number;
|
|
10787
10789
|
}
|
|
10788
10790
|
return contents;
|
|
10789
10791
|
};
|
|
@@ -10903,7 +10905,7 @@ const deserializeAws_queryCacheCluster = (output: any, context: __SerdeContext):
|
|
|
10903
10905
|
contents.CacheClusterStatus = __expectString(output["CacheClusterStatus"]);
|
|
10904
10906
|
}
|
|
10905
10907
|
if (output["NumCacheNodes"] !== undefined) {
|
|
10906
|
-
contents.NumCacheNodes =
|
|
10908
|
+
contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]) as number;
|
|
10907
10909
|
}
|
|
10908
10910
|
if (output["PreferredAvailabilityZone"] !== undefined) {
|
|
10909
10911
|
contents.PreferredAvailabilityZone = __expectString(output["PreferredAvailabilityZone"]);
|
|
@@ -10912,7 +10914,7 @@ const deserializeAws_queryCacheCluster = (output: any, context: __SerdeContext):
|
|
|
10912
10914
|
contents.PreferredOutpostArn = __expectString(output["PreferredOutpostArn"]);
|
|
10913
10915
|
}
|
|
10914
10916
|
if (output["CacheClusterCreateTime"] !== undefined) {
|
|
10915
|
-
contents.CacheClusterCreateTime =
|
|
10917
|
+
contents.CacheClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheClusterCreateTime"]));
|
|
10916
10918
|
}
|
|
10917
10919
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
10918
10920
|
contents.PreferredMaintenanceWindow = __expectString(output["PreferredMaintenanceWindow"]);
|
|
@@ -10975,7 +10977,7 @@ const deserializeAws_queryCacheCluster = (output: any, context: __SerdeContext):
|
|
|
10975
10977
|
contents.ReplicationGroupId = __expectString(output["ReplicationGroupId"]);
|
|
10976
10978
|
}
|
|
10977
10979
|
if (output["SnapshotRetentionLimit"] !== undefined) {
|
|
10978
|
-
contents.SnapshotRetentionLimit =
|
|
10980
|
+
contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]) as number;
|
|
10979
10981
|
}
|
|
10980
10982
|
if (output["SnapshotWindow"] !== undefined) {
|
|
10981
10983
|
contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
|
|
@@ -10984,7 +10986,7 @@ const deserializeAws_queryCacheCluster = (output: any, context: __SerdeContext):
|
|
|
10984
10986
|
contents.AuthTokenEnabled = __parseBoolean(output["AuthTokenEnabled"]);
|
|
10985
10987
|
}
|
|
10986
10988
|
if (output["AuthTokenLastModifiedDate"] !== undefined) {
|
|
10987
|
-
contents.AuthTokenLastModifiedDate =
|
|
10989
|
+
contents.AuthTokenLastModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
|
|
10988
10990
|
}
|
|
10989
10991
|
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
10990
10992
|
contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
|
|
@@ -11151,7 +11153,7 @@ const deserializeAws_queryCacheNode = (output: any, context: __SerdeContext): Ca
|
|
|
11151
11153
|
contents.CacheNodeStatus = __expectString(output["CacheNodeStatus"]);
|
|
11152
11154
|
}
|
|
11153
11155
|
if (output["CacheNodeCreateTime"] !== undefined) {
|
|
11154
|
-
contents.CacheNodeCreateTime =
|
|
11156
|
+
contents.CacheNodeCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheNodeCreateTime"]));
|
|
11155
11157
|
}
|
|
11156
11158
|
if (output["Endpoint"] !== undefined) {
|
|
11157
11159
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
@@ -11310,22 +11312,24 @@ const deserializeAws_queryCacheNodeUpdateStatus = (output: any, context: __Serde
|
|
|
11310
11312
|
contents.NodeUpdateStatus = __expectString(output["NodeUpdateStatus"]);
|
|
11311
11313
|
}
|
|
11312
11314
|
if (output["NodeDeletionDate"] !== undefined) {
|
|
11313
|
-
contents.NodeDeletionDate =
|
|
11315
|
+
contents.NodeDeletionDate = __expectNonNull(__parseRfc3339DateTime(output["NodeDeletionDate"]));
|
|
11314
11316
|
}
|
|
11315
11317
|
if (output["NodeUpdateStartDate"] !== undefined) {
|
|
11316
|
-
contents.NodeUpdateStartDate =
|
|
11318
|
+
contents.NodeUpdateStartDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStartDate"]));
|
|
11317
11319
|
}
|
|
11318
11320
|
if (output["NodeUpdateEndDate"] !== undefined) {
|
|
11319
|
-
contents.NodeUpdateEndDate =
|
|
11321
|
+
contents.NodeUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateEndDate"]));
|
|
11320
11322
|
}
|
|
11321
11323
|
if (output["NodeUpdateInitiatedBy"] !== undefined) {
|
|
11322
11324
|
contents.NodeUpdateInitiatedBy = __expectString(output["NodeUpdateInitiatedBy"]);
|
|
11323
11325
|
}
|
|
11324
11326
|
if (output["NodeUpdateInitiatedDate"] !== undefined) {
|
|
11325
|
-
contents.NodeUpdateInitiatedDate =
|
|
11327
|
+
contents.NodeUpdateInitiatedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
|
|
11326
11328
|
}
|
|
11327
11329
|
if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
|
|
11328
|
-
contents.NodeUpdateStatusModifiedDate =
|
|
11330
|
+
contents.NodeUpdateStatusModifiedDate = __expectNonNull(
|
|
11331
|
+
__parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"])
|
|
11332
|
+
);
|
|
11329
11333
|
}
|
|
11330
11334
|
return contents;
|
|
11331
11335
|
};
|
|
@@ -12224,7 +12228,7 @@ const deserializeAws_queryEndpoint = (output: any, context: __SerdeContext): End
|
|
|
12224
12228
|
contents.Address = __expectString(output["Address"]);
|
|
12225
12229
|
}
|
|
12226
12230
|
if (output["Port"] !== undefined) {
|
|
12227
|
-
contents.Port =
|
|
12231
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
12228
12232
|
}
|
|
12229
12233
|
return contents;
|
|
12230
12234
|
};
|
|
@@ -12283,7 +12287,7 @@ const deserializeAws_queryEvent = (output: any, context: __SerdeContext): Event
|
|
|
12283
12287
|
contents.Message = __expectString(output["Message"]);
|
|
12284
12288
|
}
|
|
12285
12289
|
if (output["Date"] !== undefined) {
|
|
12286
|
-
contents.Date =
|
|
12290
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
|
|
12287
12291
|
}
|
|
12288
12292
|
return contents;
|
|
12289
12293
|
};
|
|
@@ -12920,7 +12924,7 @@ const deserializeAws_queryNodeGroupConfiguration = (output: any, context: __Serd
|
|
|
12920
12924
|
contents.Slots = __expectString(output["Slots"]);
|
|
12921
12925
|
}
|
|
12922
12926
|
if (output["ReplicaCount"] !== undefined) {
|
|
12923
|
-
contents.ReplicaCount =
|
|
12927
|
+
contents.ReplicaCount = __strictParseInt32(output["ReplicaCount"]) as number;
|
|
12924
12928
|
}
|
|
12925
12929
|
if (output["PrimaryAvailabilityZone"] !== undefined) {
|
|
12926
12930
|
contents.PrimaryAvailabilityZone = __expectString(output["PrimaryAvailabilityZone"]);
|
|
@@ -13029,22 +13033,24 @@ const deserializeAws_queryNodeGroupMemberUpdateStatus = (
|
|
|
13029
13033
|
contents.NodeUpdateStatus = __expectString(output["NodeUpdateStatus"]);
|
|
13030
13034
|
}
|
|
13031
13035
|
if (output["NodeDeletionDate"] !== undefined) {
|
|
13032
|
-
contents.NodeDeletionDate =
|
|
13036
|
+
contents.NodeDeletionDate = __expectNonNull(__parseRfc3339DateTime(output["NodeDeletionDate"]));
|
|
13033
13037
|
}
|
|
13034
13038
|
if (output["NodeUpdateStartDate"] !== undefined) {
|
|
13035
|
-
contents.NodeUpdateStartDate =
|
|
13039
|
+
contents.NodeUpdateStartDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStartDate"]));
|
|
13036
13040
|
}
|
|
13037
13041
|
if (output["NodeUpdateEndDate"] !== undefined) {
|
|
13038
|
-
contents.NodeUpdateEndDate =
|
|
13042
|
+
contents.NodeUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateEndDate"]));
|
|
13039
13043
|
}
|
|
13040
13044
|
if (output["NodeUpdateInitiatedBy"] !== undefined) {
|
|
13041
13045
|
contents.NodeUpdateInitiatedBy = __expectString(output["NodeUpdateInitiatedBy"]);
|
|
13042
13046
|
}
|
|
13043
13047
|
if (output["NodeUpdateInitiatedDate"] !== undefined) {
|
|
13044
|
-
contents.NodeUpdateInitiatedDate =
|
|
13048
|
+
contents.NodeUpdateInitiatedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
|
|
13045
13049
|
}
|
|
13046
13050
|
if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
|
|
13047
|
-
contents.NodeUpdateStatusModifiedDate =
|
|
13051
|
+
contents.NodeUpdateStatusModifiedDate = __expectNonNull(
|
|
13052
|
+
__parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"])
|
|
13053
|
+
);
|
|
13048
13054
|
}
|
|
13049
13055
|
return contents;
|
|
13050
13056
|
};
|
|
@@ -13178,10 +13184,10 @@ const deserializeAws_queryNodeSnapshot = (output: any, context: __SerdeContext):
|
|
|
13178
13184
|
contents.CacheSize = __expectString(output["CacheSize"]);
|
|
13179
13185
|
}
|
|
13180
13186
|
if (output["CacheNodeCreateTime"] !== undefined) {
|
|
13181
|
-
contents.CacheNodeCreateTime =
|
|
13187
|
+
contents.CacheNodeCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheNodeCreateTime"]));
|
|
13182
13188
|
}
|
|
13183
13189
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
13184
|
-
contents.SnapshotCreateTime =
|
|
13190
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
13185
13191
|
}
|
|
13186
13192
|
return contents;
|
|
13187
13193
|
};
|
|
@@ -13348,7 +13354,7 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
13348
13354
|
LogDeliveryConfigurations: undefined,
|
|
13349
13355
|
};
|
|
13350
13356
|
if (output["NumCacheNodes"] !== undefined) {
|
|
13351
|
-
contents.NumCacheNodes =
|
|
13357
|
+
contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]) as number;
|
|
13352
13358
|
}
|
|
13353
13359
|
if (output.CacheNodeIdsToRemove === "") {
|
|
13354
13360
|
contents.CacheNodeIdsToRemove = [];
|
|
@@ -13566,7 +13572,7 @@ const deserializeAws_queryReplicationGroup = (output: any, context: __SerdeConte
|
|
|
13566
13572
|
contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
|
|
13567
13573
|
}
|
|
13568
13574
|
if (output["SnapshotRetentionLimit"] !== undefined) {
|
|
13569
|
-
contents.SnapshotRetentionLimit =
|
|
13575
|
+
contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]) as number;
|
|
13570
13576
|
}
|
|
13571
13577
|
if (output["SnapshotWindow"] !== undefined) {
|
|
13572
13578
|
contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
|
|
@@ -13581,7 +13587,7 @@ const deserializeAws_queryReplicationGroup = (output: any, context: __SerdeConte
|
|
|
13581
13587
|
contents.AuthTokenEnabled = __parseBoolean(output["AuthTokenEnabled"]);
|
|
13582
13588
|
}
|
|
13583
13589
|
if (output["AuthTokenLastModifiedDate"] !== undefined) {
|
|
13584
|
-
contents.AuthTokenLastModifiedDate =
|
|
13590
|
+
contents.AuthTokenLastModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
|
|
13585
13591
|
}
|
|
13586
13592
|
if (output["TransitEncryptionEnabled"] !== undefined) {
|
|
13587
13593
|
contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
|
|
@@ -13629,7 +13635,7 @@ const deserializeAws_queryReplicationGroup = (output: any, context: __SerdeConte
|
|
|
13629
13635
|
);
|
|
13630
13636
|
}
|
|
13631
13637
|
if (output["ReplicationGroupCreateTime"] !== undefined) {
|
|
13632
|
-
contents.ReplicationGroupCreateTime =
|
|
13638
|
+
contents.ReplicationGroupCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
|
|
13633
13639
|
}
|
|
13634
13640
|
return contents;
|
|
13635
13641
|
};
|
|
@@ -13796,10 +13802,10 @@ const deserializeAws_queryReservedCacheNode = (output: any, context: __SerdeCont
|
|
|
13796
13802
|
contents.CacheNodeType = __expectString(output["CacheNodeType"]);
|
|
13797
13803
|
}
|
|
13798
13804
|
if (output["StartTime"] !== undefined) {
|
|
13799
|
-
contents.StartTime =
|
|
13805
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
|
|
13800
13806
|
}
|
|
13801
13807
|
if (output["Duration"] !== undefined) {
|
|
13802
|
-
contents.Duration =
|
|
13808
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
13803
13809
|
}
|
|
13804
13810
|
if (output["FixedPrice"] !== undefined) {
|
|
13805
13811
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -13808,7 +13814,7 @@ const deserializeAws_queryReservedCacheNode = (output: any, context: __SerdeCont
|
|
|
13808
13814
|
contents.UsagePrice = __strictParseFloat(output["UsagePrice"]) as number;
|
|
13809
13815
|
}
|
|
13810
13816
|
if (output["CacheNodeCount"] !== undefined) {
|
|
13811
|
-
contents.CacheNodeCount =
|
|
13817
|
+
contents.CacheNodeCount = __strictParseInt32(output["CacheNodeCount"]) as number;
|
|
13812
13818
|
}
|
|
13813
13819
|
if (output["ProductDescription"] !== undefined) {
|
|
13814
13820
|
contents.ProductDescription = __expectString(output["ProductDescription"]);
|
|
@@ -13928,7 +13934,7 @@ const deserializeAws_queryReservedCacheNodesOffering = (
|
|
|
13928
13934
|
contents.CacheNodeType = __expectString(output["CacheNodeType"]);
|
|
13929
13935
|
}
|
|
13930
13936
|
if (output["Duration"] !== undefined) {
|
|
13931
|
-
contents.Duration =
|
|
13937
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
13932
13938
|
}
|
|
13933
13939
|
if (output["FixedPrice"] !== undefined) {
|
|
13934
13940
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -14090,16 +14096,18 @@ const deserializeAws_queryServiceUpdate = (output: any, context: __SerdeContext)
|
|
|
14090
14096
|
contents.ServiceUpdateName = __expectString(output["ServiceUpdateName"]);
|
|
14091
14097
|
}
|
|
14092
14098
|
if (output["ServiceUpdateReleaseDate"] !== undefined) {
|
|
14093
|
-
contents.ServiceUpdateReleaseDate =
|
|
14099
|
+
contents.ServiceUpdateReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
|
|
14094
14100
|
}
|
|
14095
14101
|
if (output["ServiceUpdateEndDate"] !== undefined) {
|
|
14096
|
-
contents.ServiceUpdateEndDate =
|
|
14102
|
+
contents.ServiceUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateEndDate"]));
|
|
14097
14103
|
}
|
|
14098
14104
|
if (output["ServiceUpdateSeverity"] !== undefined) {
|
|
14099
14105
|
contents.ServiceUpdateSeverity = __expectString(output["ServiceUpdateSeverity"]);
|
|
14100
14106
|
}
|
|
14101
14107
|
if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
|
|
14102
|
-
contents.ServiceUpdateRecommendedApplyByDate =
|
|
14108
|
+
contents.ServiceUpdateRecommendedApplyByDate = __expectNonNull(
|
|
14109
|
+
__parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"])
|
|
14110
|
+
);
|
|
14103
14111
|
}
|
|
14104
14112
|
if (output["ServiceUpdateStatus"] !== undefined) {
|
|
14105
14113
|
contents.ServiceUpdateStatus = __expectString(output["ServiceUpdateStatus"]);
|
|
@@ -14237,7 +14245,7 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
14237
14245
|
contents.EngineVersion = __expectString(output["EngineVersion"]);
|
|
14238
14246
|
}
|
|
14239
14247
|
if (output["NumCacheNodes"] !== undefined) {
|
|
14240
|
-
contents.NumCacheNodes =
|
|
14248
|
+
contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]) as number;
|
|
14241
14249
|
}
|
|
14242
14250
|
if (output["PreferredAvailabilityZone"] !== undefined) {
|
|
14243
14251
|
contents.PreferredAvailabilityZone = __expectString(output["PreferredAvailabilityZone"]);
|
|
@@ -14246,7 +14254,7 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
14246
14254
|
contents.PreferredOutpostArn = __expectString(output["PreferredOutpostArn"]);
|
|
14247
14255
|
}
|
|
14248
14256
|
if (output["CacheClusterCreateTime"] !== undefined) {
|
|
14249
|
-
contents.CacheClusterCreateTime =
|
|
14257
|
+
contents.CacheClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheClusterCreateTime"]));
|
|
14250
14258
|
}
|
|
14251
14259
|
if (output["PreferredMaintenanceWindow"] !== undefined) {
|
|
14252
14260
|
contents.PreferredMaintenanceWindow = __expectString(output["PreferredMaintenanceWindow"]);
|
|
@@ -14255,7 +14263,7 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
14255
14263
|
contents.TopicArn = __expectString(output["TopicArn"]);
|
|
14256
14264
|
}
|
|
14257
14265
|
if (output["Port"] !== undefined) {
|
|
14258
|
-
contents.Port =
|
|
14266
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
14259
14267
|
}
|
|
14260
14268
|
if (output["CacheParameterGroupName"] !== undefined) {
|
|
14261
14269
|
contents.CacheParameterGroupName = __expectString(output["CacheParameterGroupName"]);
|
|
@@ -14270,13 +14278,13 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
14270
14278
|
contents.AutoMinorVersionUpgrade = __parseBoolean(output["AutoMinorVersionUpgrade"]);
|
|
14271
14279
|
}
|
|
14272
14280
|
if (output["SnapshotRetentionLimit"] !== undefined) {
|
|
14273
|
-
contents.SnapshotRetentionLimit =
|
|
14281
|
+
contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]) as number;
|
|
14274
14282
|
}
|
|
14275
14283
|
if (output["SnapshotWindow"] !== undefined) {
|
|
14276
14284
|
contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
|
|
14277
14285
|
}
|
|
14278
14286
|
if (output["NumNodeGroups"] !== undefined) {
|
|
14279
|
-
contents.NumNodeGroups =
|
|
14287
|
+
contents.NumNodeGroups = __strictParseInt32(output["NumNodeGroups"]) as number;
|
|
14280
14288
|
}
|
|
14281
14289
|
if (output["AutomaticFailover"] !== undefined) {
|
|
14282
14290
|
contents.AutomaticFailover = __expectString(output["AutomaticFailover"]);
|
|
@@ -14593,7 +14601,7 @@ const deserializeAws_queryUpdateAction = (output: any, context: __SerdeContext):
|
|
|
14593
14601
|
contents.ServiceUpdateName = __expectString(output["ServiceUpdateName"]);
|
|
14594
14602
|
}
|
|
14595
14603
|
if (output["ServiceUpdateReleaseDate"] !== undefined) {
|
|
14596
|
-
contents.ServiceUpdateReleaseDate =
|
|
14604
|
+
contents.ServiceUpdateReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
|
|
14597
14605
|
}
|
|
14598
14606
|
if (output["ServiceUpdateSeverity"] !== undefined) {
|
|
14599
14607
|
contents.ServiceUpdateSeverity = __expectString(output["ServiceUpdateSeverity"]);
|
|
@@ -14602,13 +14610,15 @@ const deserializeAws_queryUpdateAction = (output: any, context: __SerdeContext):
|
|
|
14602
14610
|
contents.ServiceUpdateStatus = __expectString(output["ServiceUpdateStatus"]);
|
|
14603
14611
|
}
|
|
14604
14612
|
if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
|
|
14605
|
-
contents.ServiceUpdateRecommendedApplyByDate =
|
|
14613
|
+
contents.ServiceUpdateRecommendedApplyByDate = __expectNonNull(
|
|
14614
|
+
__parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"])
|
|
14615
|
+
);
|
|
14606
14616
|
}
|
|
14607
14617
|
if (output["ServiceUpdateType"] !== undefined) {
|
|
14608
14618
|
contents.ServiceUpdateType = __expectString(output["ServiceUpdateType"]);
|
|
14609
14619
|
}
|
|
14610
14620
|
if (output["UpdateActionAvailableDate"] !== undefined) {
|
|
14611
|
-
contents.UpdateActionAvailableDate =
|
|
14621
|
+
contents.UpdateActionAvailableDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateActionAvailableDate"]));
|
|
14612
14622
|
}
|
|
14613
14623
|
if (output["UpdateActionStatus"] !== undefined) {
|
|
14614
14624
|
contents.UpdateActionStatus = __expectString(output["UpdateActionStatus"]);
|
|
@@ -14617,7 +14627,9 @@ const deserializeAws_queryUpdateAction = (output: any, context: __SerdeContext):
|
|
|
14617
14627
|
contents.NodesUpdated = __expectString(output["NodesUpdated"]);
|
|
14618
14628
|
}
|
|
14619
14629
|
if (output["UpdateActionStatusModifiedDate"] !== undefined) {
|
|
14620
|
-
contents.UpdateActionStatusModifiedDate =
|
|
14630
|
+
contents.UpdateActionStatusModifiedDate = __expectNonNull(
|
|
14631
|
+
__parseRfc3339DateTime(output["UpdateActionStatusModifiedDate"])
|
|
14632
|
+
);
|
|
14621
14633
|
}
|
|
14622
14634
|
if (output["SlaMet"] !== undefined) {
|
|
14623
14635
|
contents.SlaMet = __expectString(output["SlaMet"]);
|