@aws-sdk/client-dynamodb 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +518 -821
- package/dist-es/protocols/Aws_json1_0.js +360 -663
- package/package.json +28 -28
|
@@ -4070,7 +4070,7 @@ var deserializeAws_json1_0TransactionInProgressExceptionResponse = function (par
|
|
|
4070
4070
|
});
|
|
4071
4071
|
}); };
|
|
4072
4072
|
var serializeAws_json1_0AttributeDefinition = function (input, context) {
|
|
4073
|
-
return __assign(__assign({}, (input.AttributeName
|
|
4073
|
+
return __assign(__assign({}, (input.AttributeName != null && { AttributeName: input.AttributeName })), (input.AttributeType != null && { AttributeType: input.AttributeType }));
|
|
4074
4074
|
};
|
|
4075
4075
|
var serializeAws_json1_0AttributeDefinitions = function (input, context) {
|
|
4076
4076
|
return input
|
|
@@ -4128,41 +4128,28 @@ var serializeAws_json1_0AttributeValueList = function (input, context) {
|
|
|
4128
4128
|
});
|
|
4129
4129
|
};
|
|
4130
4130
|
var serializeAws_json1_0AttributeValueUpdate = function (input, context) {
|
|
4131
|
-
return __assign(__assign({}, (input.Action
|
|
4132
|
-
input.Value !== null && { Value: serializeAws_json1_0AttributeValue(input.Value, context) }));
|
|
4131
|
+
return __assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Value != null && { Value: serializeAws_json1_0AttributeValue(input.Value, context) }));
|
|
4133
4132
|
};
|
|
4134
4133
|
var serializeAws_json1_0AutoScalingPolicyUpdate = function (input, context) {
|
|
4135
|
-
return __assign(__assign({}, (input.PolicyName
|
|
4136
|
-
input.TargetTrackingScalingPolicyConfiguration !== null && {
|
|
4134
|
+
return __assign(__assign({}, (input.PolicyName != null && { PolicyName: input.PolicyName })), (input.TargetTrackingScalingPolicyConfiguration != null && {
|
|
4137
4135
|
TargetTrackingScalingPolicyConfiguration: serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(input.TargetTrackingScalingPolicyConfiguration, context),
|
|
4138
4136
|
}));
|
|
4139
4137
|
};
|
|
4140
4138
|
var serializeAws_json1_0AutoScalingSettingsUpdate = function (input, context) {
|
|
4141
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingDisabled
|
|
4142
|
-
input.AutoScalingDisabled !== null && { AutoScalingDisabled: input.AutoScalingDisabled })), (input.AutoScalingRoleArn !== undefined &&
|
|
4143
|
-
input.AutoScalingRoleArn !== null && { AutoScalingRoleArn: input.AutoScalingRoleArn })), (input.MaximumUnits !== undefined && input.MaximumUnits !== null && { MaximumUnits: input.MaximumUnits })), (input.MinimumUnits !== undefined && input.MinimumUnits !== null && { MinimumUnits: input.MinimumUnits })), (input.ScalingPolicyUpdate !== undefined &&
|
|
4144
|
-
input.ScalingPolicyUpdate !== null && {
|
|
4139
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AutoScalingDisabled != null && { AutoScalingDisabled: input.AutoScalingDisabled })), (input.AutoScalingRoleArn != null && { AutoScalingRoleArn: input.AutoScalingRoleArn })), (input.MaximumUnits != null && { MaximumUnits: input.MaximumUnits })), (input.MinimumUnits != null && { MinimumUnits: input.MinimumUnits })), (input.ScalingPolicyUpdate != null && {
|
|
4145
4140
|
ScalingPolicyUpdate: serializeAws_json1_0AutoScalingPolicyUpdate(input.ScalingPolicyUpdate, context),
|
|
4146
4141
|
}));
|
|
4147
4142
|
};
|
|
4148
4143
|
var serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = function (input, context) {
|
|
4149
|
-
return __assign(__assign(__assign(__assign({}, (input.DisableScaleIn
|
|
4150
|
-
input.DisableScaleIn !== null && { DisableScaleIn: input.DisableScaleIn })), (input.ScaleInCooldown !== undefined &&
|
|
4151
|
-
input.ScaleInCooldown !== null && { ScaleInCooldown: input.ScaleInCooldown })), (input.ScaleOutCooldown !== undefined &&
|
|
4152
|
-
input.ScaleOutCooldown !== null && { ScaleOutCooldown: input.ScaleOutCooldown })), (input.TargetValue !== undefined &&
|
|
4153
|
-
input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
4144
|
+
return __assign(__assign(__assign(__assign({}, (input.DisableScaleIn != null && { DisableScaleIn: input.DisableScaleIn })), (input.ScaleInCooldown != null && { ScaleInCooldown: input.ScaleInCooldown })), (input.ScaleOutCooldown != null && { ScaleOutCooldown: input.ScaleOutCooldown })), (input.TargetValue != null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
4154
4145
|
};
|
|
4155
4146
|
var serializeAws_json1_0BatchExecuteStatementInput = function (input, context) {
|
|
4156
|
-
return __assign(__assign({}, (input.ReturnConsumedCapacity
|
|
4157
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statements !== undefined &&
|
|
4158
|
-
input.Statements !== null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }));
|
|
4147
|
+
return __assign(__assign({}, (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statements != null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }));
|
|
4159
4148
|
};
|
|
4160
4149
|
var serializeAws_json1_0BatchGetItemInput = function (input, context) {
|
|
4161
|
-
return __assign(__assign({}, (input.RequestItems
|
|
4162
|
-
input.RequestItems !== null && {
|
|
4150
|
+
return __assign(__assign({}, (input.RequestItems != null && {
|
|
4163
4151
|
RequestItems: serializeAws_json1_0BatchGetRequestMap(input.RequestItems, context),
|
|
4164
|
-
})), (input.ReturnConsumedCapacity
|
|
4165
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }));
|
|
4152
|
+
})), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }));
|
|
4166
4153
|
};
|
|
4167
4154
|
var serializeAws_json1_0BatchGetRequestMap = function (input, context) {
|
|
4168
4155
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4175,19 +4162,16 @@ var serializeAws_json1_0BatchGetRequestMap = function (input, context) {
|
|
|
4175
4162
|
}, {});
|
|
4176
4163
|
};
|
|
4177
4164
|
var serializeAws_json1_0BatchStatementRequest = function (input, context) {
|
|
4178
|
-
return __assign(__assign(__assign({}, (input.ConsistentRead
|
|
4179
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.Parameters !== undefined &&
|
|
4180
|
-
input.Parameters !== null && {
|
|
4165
|
+
return __assign(__assign(__assign({}, (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.Parameters != null && {
|
|
4181
4166
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
4182
|
-
})), (input.Statement
|
|
4167
|
+
})), (input.Statement != null && { Statement: input.Statement }));
|
|
4183
4168
|
};
|
|
4184
4169
|
var serializeAws_json1_0BatchWriteItemInput = function (input, context) {
|
|
4185
|
-
return __assign(__assign(__assign({}, (input.RequestItems
|
|
4186
|
-
input.RequestItems !== null && {
|
|
4170
|
+
return __assign(__assign(__assign({}, (input.RequestItems != null && {
|
|
4187
4171
|
RequestItems: serializeAws_json1_0BatchWriteItemRequestMap(input.RequestItems, context),
|
|
4188
|
-
})), (input.ReturnConsumedCapacity
|
|
4189
|
-
|
|
4190
|
-
|
|
4172
|
+
})), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ReturnItemCollectionMetrics != null && {
|
|
4173
|
+
ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics,
|
|
4174
|
+
}));
|
|
4191
4175
|
};
|
|
4192
4176
|
var serializeAws_json1_0BatchWriteItemRequestMap = function (input, context) {
|
|
4193
4177
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4210,175 +4194,137 @@ var serializeAws_json1_0BinarySetAttributeValue = function (input, context) {
|
|
|
4210
4194
|
});
|
|
4211
4195
|
};
|
|
4212
4196
|
var serializeAws_json1_0Condition = function (input, context) {
|
|
4213
|
-
return __assign(__assign({}, (input.AttributeValueList
|
|
4214
|
-
input.AttributeValueList !== null && {
|
|
4197
|
+
return __assign(__assign({}, (input.AttributeValueList != null && {
|
|
4215
4198
|
AttributeValueList: serializeAws_json1_0AttributeValueList(input.AttributeValueList, context),
|
|
4216
|
-
})), (input.ComparisonOperator
|
|
4217
|
-
input.ComparisonOperator !== null && { ComparisonOperator: input.ComparisonOperator }));
|
|
4199
|
+
})), (input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator }));
|
|
4218
4200
|
};
|
|
4219
4201
|
var serializeAws_json1_0ConditionCheck = function (input, context) {
|
|
4220
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
4221
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames !== undefined &&
|
|
4222
|
-
input.ExpressionAttributeNames !== null && {
|
|
4202
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames != null && {
|
|
4223
4203
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4224
|
-
})), (input.ExpressionAttributeValues
|
|
4225
|
-
input.ExpressionAttributeValues !== null && {
|
|
4204
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4226
4205
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4227
|
-
})), (input.Key
|
|
4228
|
-
input.ReturnValuesOnConditionCheckFailure !== null && {
|
|
4206
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ReturnValuesOnConditionCheckFailure != null && {
|
|
4229
4207
|
ReturnValuesOnConditionCheckFailure: input.ReturnValuesOnConditionCheckFailure,
|
|
4230
|
-
})), (input.TableName
|
|
4208
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
4231
4209
|
};
|
|
4232
4210
|
var serializeAws_json1_0CreateBackupInput = function (input, context) {
|
|
4233
|
-
return __assign(__assign({}, (input.BackupName
|
|
4211
|
+
return __assign(__assign({}, (input.BackupName != null && { BackupName: input.BackupName })), (input.TableName != null && { TableName: input.TableName }));
|
|
4234
4212
|
};
|
|
4235
4213
|
var serializeAws_json1_0CreateGlobalSecondaryIndexAction = function (input, context) {
|
|
4236
|
-
return __assign(__assign(__assign(__assign({}, (input.IndexName
|
|
4237
|
-
input.KeySchema !== null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection !== undefined &&
|
|
4238
|
-
input.Projection !== null && { Projection: serializeAws_json1_0Projection(input.Projection, context) })), (input.ProvisionedThroughput !== undefined &&
|
|
4239
|
-
input.ProvisionedThroughput !== null && {
|
|
4214
|
+
return __assign(__assign(__assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.KeySchema != null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection != null && { Projection: serializeAws_json1_0Projection(input.Projection, context) })), (input.ProvisionedThroughput != null && {
|
|
4240
4215
|
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
4241
4216
|
}));
|
|
4242
4217
|
};
|
|
4243
4218
|
var serializeAws_json1_0CreateGlobalTableInput = function (input, context) {
|
|
4244
|
-
return __assign(__assign({}, (input.GlobalTableName
|
|
4245
|
-
input.GlobalTableName !== null && { GlobalTableName: input.GlobalTableName })), (input.ReplicationGroup !== undefined &&
|
|
4246
|
-
input.ReplicationGroup !== null && {
|
|
4219
|
+
return __assign(__assign({}, (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName })), (input.ReplicationGroup != null && {
|
|
4247
4220
|
ReplicationGroup: serializeAws_json1_0ReplicaList(input.ReplicationGroup, context),
|
|
4248
4221
|
}));
|
|
4249
4222
|
};
|
|
4250
4223
|
var serializeAws_json1_0CreateReplicaAction = function (input, context) {
|
|
4251
|
-
return __assign({}, (input.RegionName
|
|
4224
|
+
return __assign({}, (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4252
4225
|
};
|
|
4253
4226
|
var serializeAws_json1_0CreateReplicationGroupMemberAction = function (input, context) {
|
|
4254
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes
|
|
4255
|
-
input.GlobalSecondaryIndexes !== null && {
|
|
4227
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes != null && {
|
|
4256
4228
|
GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
4257
|
-
})), (input.KMSMasterKeyId
|
|
4258
|
-
input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
|
|
4259
|
-
input.ProvisionedThroughputOverride !== null && {
|
|
4229
|
+
})), (input.KMSMasterKeyId != null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride != null && {
|
|
4260
4230
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
4261
|
-
})), (input.RegionName
|
|
4262
|
-
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
|
|
4231
|
+
})), (input.RegionName != null && { RegionName: input.RegionName })), (input.TableClassOverride != null && { TableClassOverride: input.TableClassOverride }));
|
|
4263
4232
|
};
|
|
4264
4233
|
var serializeAws_json1_0CreateTableInput = function (input, context) {
|
|
4265
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions
|
|
4266
|
-
input.AttributeDefinitions !== null && {
|
|
4234
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions != null && {
|
|
4267
4235
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
4268
|
-
})), (input.BillingMode
|
|
4269
|
-
input.GlobalSecondaryIndexes !== null && {
|
|
4236
|
+
})), (input.BillingMode != null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes != null && {
|
|
4270
4237
|
GlobalSecondaryIndexes: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
4271
|
-
})), (input.KeySchema
|
|
4272
|
-
input.KeySchema !== null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.LocalSecondaryIndexes !== undefined &&
|
|
4273
|
-
input.LocalSecondaryIndexes !== null && {
|
|
4238
|
+
})), (input.KeySchema != null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.LocalSecondaryIndexes != null && {
|
|
4274
4239
|
LocalSecondaryIndexes: serializeAws_json1_0LocalSecondaryIndexList(input.LocalSecondaryIndexes, context),
|
|
4275
|
-
})), (input.ProvisionedThroughput
|
|
4276
|
-
input.ProvisionedThroughput !== null && {
|
|
4240
|
+
})), (input.ProvisionedThroughput != null && {
|
|
4277
4241
|
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
4278
|
-
})), (input.SSESpecification
|
|
4279
|
-
input.SSESpecification !== null && {
|
|
4242
|
+
})), (input.SSESpecification != null && {
|
|
4280
4243
|
SSESpecification: serializeAws_json1_0SSESpecification(input.SSESpecification, context),
|
|
4281
|
-
})), (input.StreamSpecification
|
|
4282
|
-
input.StreamSpecification !== null && {
|
|
4244
|
+
})), (input.StreamSpecification != null && {
|
|
4283
4245
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
4284
|
-
})), (input.TableClass
|
|
4246
|
+
})), (input.TableClass != null && { TableClass: input.TableClass })), (input.TableName != null && { TableName: input.TableName })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
4285
4247
|
};
|
|
4286
4248
|
var serializeAws_json1_0Delete = function (input, context) {
|
|
4287
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
4288
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames !== undefined &&
|
|
4289
|
-
input.ExpressionAttributeNames !== null && {
|
|
4249
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames != null && {
|
|
4290
4250
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4291
|
-
})), (input.ExpressionAttributeValues
|
|
4292
|
-
input.ExpressionAttributeValues !== null && {
|
|
4251
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4293
4252
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4294
|
-
})), (input.Key
|
|
4295
|
-
input.ReturnValuesOnConditionCheckFailure !== null && {
|
|
4253
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ReturnValuesOnConditionCheckFailure != null && {
|
|
4296
4254
|
ReturnValuesOnConditionCheckFailure: input.ReturnValuesOnConditionCheckFailure,
|
|
4297
|
-
})), (input.TableName
|
|
4255
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
4298
4256
|
};
|
|
4299
4257
|
var serializeAws_json1_0DeleteBackupInput = function (input, context) {
|
|
4300
|
-
return __assign({}, (input.BackupArn
|
|
4258
|
+
return __assign({}, (input.BackupArn != null && { BackupArn: input.BackupArn }));
|
|
4301
4259
|
};
|
|
4302
4260
|
var serializeAws_json1_0DeleteGlobalSecondaryIndexAction = function (input, context) {
|
|
4303
|
-
return __assign({}, (input.IndexName
|
|
4261
|
+
return __assign({}, (input.IndexName != null && { IndexName: input.IndexName }));
|
|
4304
4262
|
};
|
|
4305
4263
|
var serializeAws_json1_0DeleteItemInput = function (input, context) {
|
|
4306
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
4307
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator !== undefined &&
|
|
4308
|
-
input.ConditionalOperator !== null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected !== undefined &&
|
|
4309
|
-
input.Expected !== null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames !== undefined &&
|
|
4310
|
-
input.ExpressionAttributeNames !== null && {
|
|
4264
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator != null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected != null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames != null && {
|
|
4311
4265
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4312
|
-
})), (input.ExpressionAttributeValues
|
|
4313
|
-
input.ExpressionAttributeValues !== null && {
|
|
4266
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4314
4267
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4315
|
-
})), (input.Key
|
|
4316
|
-
|
|
4317
|
-
|
|
4268
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ReturnItemCollectionMetrics != null && {
|
|
4269
|
+
ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics,
|
|
4270
|
+
})), (input.ReturnValues != null && { ReturnValues: input.ReturnValues })), (input.TableName != null && { TableName: input.TableName }));
|
|
4318
4271
|
};
|
|
4319
4272
|
var serializeAws_json1_0DeleteReplicaAction = function (input, context) {
|
|
4320
|
-
return __assign({}, (input.RegionName
|
|
4273
|
+
return __assign({}, (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4321
4274
|
};
|
|
4322
4275
|
var serializeAws_json1_0DeleteReplicationGroupMemberAction = function (input, context) {
|
|
4323
|
-
return __assign({}, (input.RegionName
|
|
4276
|
+
return __assign({}, (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4324
4277
|
};
|
|
4325
4278
|
var serializeAws_json1_0DeleteRequest = function (input, context) {
|
|
4326
|
-
return __assign({}, (input.Key
|
|
4279
|
+
return __assign({}, (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) }));
|
|
4327
4280
|
};
|
|
4328
4281
|
var serializeAws_json1_0DeleteTableInput = function (input, context) {
|
|
4329
|
-
return __assign({}, (input.TableName
|
|
4282
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4330
4283
|
};
|
|
4331
4284
|
var serializeAws_json1_0DescribeBackupInput = function (input, context) {
|
|
4332
|
-
return __assign({}, (input.BackupArn
|
|
4285
|
+
return __assign({}, (input.BackupArn != null && { BackupArn: input.BackupArn }));
|
|
4333
4286
|
};
|
|
4334
4287
|
var serializeAws_json1_0DescribeContinuousBackupsInput = function (input, context) {
|
|
4335
|
-
return __assign({}, (input.TableName
|
|
4288
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4336
4289
|
};
|
|
4337
4290
|
var serializeAws_json1_0DescribeContributorInsightsInput = function (input, context) {
|
|
4338
|
-
return __assign(__assign({}, (input.IndexName
|
|
4291
|
+
return __assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.TableName != null && { TableName: input.TableName }));
|
|
4339
4292
|
};
|
|
4340
4293
|
var serializeAws_json1_0DescribeEndpointsRequest = function (input, context) {
|
|
4341
4294
|
return {};
|
|
4342
4295
|
};
|
|
4343
4296
|
var serializeAws_json1_0DescribeExportInput = function (input, context) {
|
|
4344
|
-
return __assign({}, (input.ExportArn
|
|
4297
|
+
return __assign({}, (input.ExportArn != null && { ExportArn: input.ExportArn }));
|
|
4345
4298
|
};
|
|
4346
4299
|
var serializeAws_json1_0DescribeGlobalTableInput = function (input, context) {
|
|
4347
|
-
return __assign({}, (input.GlobalTableName
|
|
4348
|
-
input.GlobalTableName !== null && { GlobalTableName: input.GlobalTableName }));
|
|
4300
|
+
return __assign({}, (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName }));
|
|
4349
4301
|
};
|
|
4350
4302
|
var serializeAws_json1_0DescribeGlobalTableSettingsInput = function (input, context) {
|
|
4351
|
-
return __assign({}, (input.GlobalTableName
|
|
4352
|
-
input.GlobalTableName !== null && { GlobalTableName: input.GlobalTableName }));
|
|
4303
|
+
return __assign({}, (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName }));
|
|
4353
4304
|
};
|
|
4354
4305
|
var serializeAws_json1_0DescribeKinesisStreamingDestinationInput = function (input, context) {
|
|
4355
|
-
return __assign({}, (input.TableName
|
|
4306
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4356
4307
|
};
|
|
4357
4308
|
var serializeAws_json1_0DescribeLimitsInput = function (input, context) {
|
|
4358
4309
|
return {};
|
|
4359
4310
|
};
|
|
4360
4311
|
var serializeAws_json1_0DescribeTableInput = function (input, context) {
|
|
4361
|
-
return __assign({}, (input.TableName
|
|
4312
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4362
4313
|
};
|
|
4363
4314
|
var serializeAws_json1_0DescribeTableReplicaAutoScalingInput = function (input, context) {
|
|
4364
|
-
return __assign({}, (input.TableName
|
|
4315
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4365
4316
|
};
|
|
4366
4317
|
var serializeAws_json1_0DescribeTimeToLiveInput = function (input, context) {
|
|
4367
|
-
return __assign({}, (input.TableName
|
|
4318
|
+
return __assign({}, (input.TableName != null && { TableName: input.TableName }));
|
|
4368
4319
|
};
|
|
4369
4320
|
var serializeAws_json1_0ExecuteStatementInput = function (input, context) {
|
|
4370
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConsistentRead
|
|
4371
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Parameters !== undefined &&
|
|
4372
|
-
input.Parameters !== null && {
|
|
4321
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.Limit != null && { Limit: input.Limit })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Parameters != null && {
|
|
4373
4322
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
4374
|
-
})), (input.ReturnConsumedCapacity
|
|
4375
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }));
|
|
4323
|
+
})), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statement != null && { Statement: input.Statement }));
|
|
4376
4324
|
};
|
|
4377
4325
|
var serializeAws_json1_0ExecuteTransactionInput = function (input, context) {
|
|
4378
4326
|
var _a;
|
|
4379
|
-
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity
|
|
4380
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactStatements !== undefined &&
|
|
4381
|
-
input.TransactStatements !== null && {
|
|
4327
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactStatements != null && {
|
|
4382
4328
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
4383
4329
|
}));
|
|
4384
4330
|
};
|
|
@@ -4393,18 +4339,13 @@ var serializeAws_json1_0ExpectedAttributeMap = function (input, context) {
|
|
|
4393
4339
|
}, {});
|
|
4394
4340
|
};
|
|
4395
4341
|
var serializeAws_json1_0ExpectedAttributeValue = function (input, context) {
|
|
4396
|
-
return __assign(__assign(__assign(__assign({}, (input.AttributeValueList
|
|
4397
|
-
input.AttributeValueList !== null && {
|
|
4342
|
+
return __assign(__assign(__assign(__assign({}, (input.AttributeValueList != null && {
|
|
4398
4343
|
AttributeValueList: serializeAws_json1_0AttributeValueList(input.AttributeValueList, context),
|
|
4399
|
-
})), (input.ComparisonOperator
|
|
4400
|
-
input.ComparisonOperator !== null && { ComparisonOperator: input.ComparisonOperator })), (input.Exists !== undefined && input.Exists !== null && { Exists: input.Exists })), (input.Value !== undefined &&
|
|
4401
|
-
input.Value !== null && { Value: serializeAws_json1_0AttributeValue(input.Value, context) }));
|
|
4344
|
+
})), (input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator })), (input.Exists != null && { Exists: input.Exists })), (input.Value != null && { Value: serializeAws_json1_0AttributeValue(input.Value, context) }));
|
|
4402
4345
|
};
|
|
4403
4346
|
var serializeAws_json1_0ExportTableToPointInTimeInput = function (input, context) {
|
|
4404
4347
|
var _a;
|
|
4405
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ExportFormat
|
|
4406
|
-
input.ExportTime !== null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) })), (input.S3Bucket !== undefined && input.S3Bucket !== null && { S3Bucket: input.S3Bucket })), (input.S3BucketOwner !== undefined && input.S3BucketOwner !== null && { S3BucketOwner: input.S3BucketOwner })), (input.S3Prefix !== undefined && input.S3Prefix !== null && { S3Prefix: input.S3Prefix })), (input.S3SseAlgorithm !== undefined &&
|
|
4407
|
-
input.S3SseAlgorithm !== null && { S3SseAlgorithm: input.S3SseAlgorithm })), (input.S3SseKmsKeyId !== undefined && input.S3SseKmsKeyId !== null && { S3SseKmsKeyId: input.S3SseKmsKeyId })), (input.TableArn !== undefined && input.TableArn !== null && { TableArn: input.TableArn }));
|
|
4348
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ExportFormat != null && { ExportFormat: input.ExportFormat })), (input.ExportTime != null && { ExportTime: Math.round(input.ExportTime.getTime() / 1000) })), (input.S3Bucket != null && { S3Bucket: input.S3Bucket })), (input.S3BucketOwner != null && { S3BucketOwner: input.S3BucketOwner })), (input.S3Prefix != null && { S3Prefix: input.S3Prefix })), (input.S3SseAlgorithm != null && { S3SseAlgorithm: input.S3SseAlgorithm })), (input.S3SseKmsKeyId != null && { S3SseKmsKeyId: input.S3SseKmsKeyId })), (input.TableArn != null && { TableArn: input.TableArn }));
|
|
4408
4349
|
};
|
|
4409
4350
|
var serializeAws_json1_0ExpressionAttributeNameMap = function (input, context) {
|
|
4410
4351
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4437,35 +4378,24 @@ var serializeAws_json1_0FilterConditionMap = function (input, context) {
|
|
|
4437
4378
|
}, {});
|
|
4438
4379
|
};
|
|
4439
4380
|
var serializeAws_json1_0Get = function (input, context) {
|
|
4440
|
-
return __assign(__assign(__assign(__assign({}, (input.ExpressionAttributeNames
|
|
4441
|
-
input.ExpressionAttributeNames !== null && {
|
|
4381
|
+
return __assign(__assign(__assign(__assign({}, (input.ExpressionAttributeNames != null && {
|
|
4442
4382
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4443
|
-
})), (input.Key
|
|
4444
|
-
input.ProjectionExpression !== null && { ProjectionExpression: input.ProjectionExpression })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4383
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ProjectionExpression != null && { ProjectionExpression: input.ProjectionExpression })), (input.TableName != null && { TableName: input.TableName }));
|
|
4445
4384
|
};
|
|
4446
4385
|
var serializeAws_json1_0GetItemInput = function (input, context) {
|
|
4447
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet
|
|
4448
|
-
input.AttributesToGet !== null && {
|
|
4386
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet != null && {
|
|
4449
4387
|
AttributesToGet: serializeAws_json1_0AttributeNameList(input.AttributesToGet, context),
|
|
4450
|
-
})), (input.ConsistentRead
|
|
4451
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.ExpressionAttributeNames !== undefined &&
|
|
4452
|
-
input.ExpressionAttributeNames !== null && {
|
|
4388
|
+
})), (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.ExpressionAttributeNames != null && {
|
|
4453
4389
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4454
|
-
})), (input.Key
|
|
4455
|
-
input.ProjectionExpression !== null && { ProjectionExpression: input.ProjectionExpression })), (input.ReturnConsumedCapacity !== undefined &&
|
|
4456
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4390
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ProjectionExpression != null && { ProjectionExpression: input.ProjectionExpression })), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TableName != null && { TableName: input.TableName }));
|
|
4457
4391
|
};
|
|
4458
4392
|
var serializeAws_json1_0GlobalSecondaryIndex = function (input, context) {
|
|
4459
|
-
return __assign(__assign(__assign(__assign({}, (input.IndexName
|
|
4460
|
-
input.KeySchema !== null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection !== undefined &&
|
|
4461
|
-
input.Projection !== null && { Projection: serializeAws_json1_0Projection(input.Projection, context) })), (input.ProvisionedThroughput !== undefined &&
|
|
4462
|
-
input.ProvisionedThroughput !== null && {
|
|
4393
|
+
return __assign(__assign(__assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.KeySchema != null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection != null && { Projection: serializeAws_json1_0Projection(input.Projection, context) })), (input.ProvisionedThroughput != null && {
|
|
4463
4394
|
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
4464
4395
|
}));
|
|
4465
4396
|
};
|
|
4466
4397
|
var serializeAws_json1_0GlobalSecondaryIndexAutoScalingUpdate = function (input, context) {
|
|
4467
|
-
return __assign(__assign({}, (input.IndexName
|
|
4468
|
-
input.ProvisionedWriteCapacityAutoScalingUpdate !== null && {
|
|
4398
|
+
return __assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedWriteCapacityAutoScalingUpdate != null && {
|
|
4469
4399
|
ProvisionedWriteCapacityAutoScalingUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ProvisionedWriteCapacityAutoScalingUpdate, context),
|
|
4470
4400
|
}));
|
|
4471
4401
|
};
|
|
@@ -4490,10 +4420,13 @@ var serializeAws_json1_0GlobalSecondaryIndexList = function (input, context) {
|
|
|
4490
4420
|
});
|
|
4491
4421
|
};
|
|
4492
4422
|
var serializeAws_json1_0GlobalSecondaryIndexUpdate = function (input, context) {
|
|
4493
|
-
return __assign(__assign(__assign({}, (input.Create
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4423
|
+
return __assign(__assign(__assign({}, (input.Create != null && {
|
|
4424
|
+
Create: serializeAws_json1_0CreateGlobalSecondaryIndexAction(input.Create, context),
|
|
4425
|
+
})), (input.Delete != null && {
|
|
4426
|
+
Delete: serializeAws_json1_0DeleteGlobalSecondaryIndexAction(input.Delete, context),
|
|
4427
|
+
})), (input.Update != null && {
|
|
4428
|
+
Update: serializeAws_json1_0UpdateGlobalSecondaryIndexAction(input.Update, context),
|
|
4429
|
+
}));
|
|
4497
4430
|
};
|
|
4498
4431
|
var serializeAws_json1_0GlobalSecondaryIndexUpdateList = function (input, context) {
|
|
4499
4432
|
return input
|
|
@@ -4506,11 +4439,9 @@ var serializeAws_json1_0GlobalSecondaryIndexUpdateList = function (input, contex
|
|
|
4506
4439
|
});
|
|
4507
4440
|
};
|
|
4508
4441
|
var serializeAws_json1_0GlobalTableGlobalSecondaryIndexSettingsUpdate = function (input, context) {
|
|
4509
|
-
return __assign(__assign(__assign({}, (input.IndexName
|
|
4510
|
-
input.ProvisionedWriteCapacityAutoScalingSettingsUpdate !== null && {
|
|
4442
|
+
return __assign(__assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedWriteCapacityAutoScalingSettingsUpdate != null && {
|
|
4511
4443
|
ProvisionedWriteCapacityAutoScalingSettingsUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ProvisionedWriteCapacityAutoScalingSettingsUpdate, context),
|
|
4512
|
-
})), (input.ProvisionedWriteCapacityUnits
|
|
4513
|
-
input.ProvisionedWriteCapacityUnits !== null && {
|
|
4444
|
+
})), (input.ProvisionedWriteCapacityUnits != null && {
|
|
4514
4445
|
ProvisionedWriteCapacityUnits: input.ProvisionedWriteCapacityUnits,
|
|
4515
4446
|
}));
|
|
4516
4447
|
};
|
|
@@ -4555,15 +4486,11 @@ var serializeAws_json1_0KeyList = function (input, context) {
|
|
|
4555
4486
|
});
|
|
4556
4487
|
};
|
|
4557
4488
|
var serializeAws_json1_0KeysAndAttributes = function (input, context) {
|
|
4558
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet
|
|
4559
|
-
input.AttributesToGet !== null && {
|
|
4489
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet != null && {
|
|
4560
4490
|
AttributesToGet: serializeAws_json1_0AttributeNameList(input.AttributesToGet, context),
|
|
4561
|
-
})), (input.ConsistentRead
|
|
4562
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.ExpressionAttributeNames !== undefined &&
|
|
4563
|
-
input.ExpressionAttributeNames !== null && {
|
|
4491
|
+
})), (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.ExpressionAttributeNames != null && {
|
|
4564
4492
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4565
|
-
})), (input.Keys
|
|
4566
|
-
input.ProjectionExpression !== null && { ProjectionExpression: input.ProjectionExpression }));
|
|
4493
|
+
})), (input.Keys != null && { Keys: serializeAws_json1_0KeyList(input.Keys, context) })), (input.ProjectionExpression != null && { ProjectionExpression: input.ProjectionExpression }));
|
|
4567
4494
|
};
|
|
4568
4495
|
var serializeAws_json1_0KeySchema = function (input, context) {
|
|
4569
4496
|
return input
|
|
@@ -4576,10 +4503,10 @@ var serializeAws_json1_0KeySchema = function (input, context) {
|
|
|
4576
4503
|
});
|
|
4577
4504
|
};
|
|
4578
4505
|
var serializeAws_json1_0KeySchemaElement = function (input, context) {
|
|
4579
|
-
return __assign(__assign({}, (input.AttributeName
|
|
4506
|
+
return __assign(__assign({}, (input.AttributeName != null && { AttributeName: input.AttributeName })), (input.KeyType != null && { KeyType: input.KeyType }));
|
|
4580
4507
|
};
|
|
4581
4508
|
var serializeAws_json1_0KinesisStreamingDestinationInput = function (input, context) {
|
|
4582
|
-
return __assign(__assign({}, (input.StreamArn
|
|
4509
|
+
return __assign(__assign({}, (input.StreamArn != null && { StreamArn: input.StreamArn })), (input.TableName != null && { TableName: input.TableName }));
|
|
4583
4510
|
};
|
|
4584
4511
|
var serializeAws_json1_0ListAttributeValue = function (input, context) {
|
|
4585
4512
|
return input
|
|
@@ -4592,38 +4519,31 @@ var serializeAws_json1_0ListAttributeValue = function (input, context) {
|
|
|
4592
4519
|
});
|
|
4593
4520
|
};
|
|
4594
4521
|
var serializeAws_json1_0ListBackupsInput = function (input, context) {
|
|
4595
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupType
|
|
4596
|
-
input.ExclusiveStartBackupArn !== null && { ExclusiveStartBackupArn: input.ExclusiveStartBackupArn })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.TimeRangeLowerBound !== undefined &&
|
|
4597
|
-
input.TimeRangeLowerBound !== null && {
|
|
4522
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupType != null && { BackupType: input.BackupType })), (input.ExclusiveStartBackupArn != null && { ExclusiveStartBackupArn: input.ExclusiveStartBackupArn })), (input.Limit != null && { Limit: input.Limit })), (input.TableName != null && { TableName: input.TableName })), (input.TimeRangeLowerBound != null && {
|
|
4598
4523
|
TimeRangeLowerBound: Math.round(input.TimeRangeLowerBound.getTime() / 1000),
|
|
4599
|
-
})), (input.TimeRangeUpperBound
|
|
4600
|
-
input.TimeRangeUpperBound !== null && {
|
|
4524
|
+
})), (input.TimeRangeUpperBound != null && {
|
|
4601
4525
|
TimeRangeUpperBound: Math.round(input.TimeRangeUpperBound.getTime() / 1000),
|
|
4602
4526
|
}));
|
|
4603
4527
|
};
|
|
4604
4528
|
var serializeAws_json1_0ListContributorInsightsInput = function (input, context) {
|
|
4605
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
4529
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TableName != null && { TableName: input.TableName }));
|
|
4606
4530
|
};
|
|
4607
4531
|
var serializeAws_json1_0ListExportsInput = function (input, context) {
|
|
4608
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
4532
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.TableArn != null && { TableArn: input.TableArn }));
|
|
4609
4533
|
};
|
|
4610
4534
|
var serializeAws_json1_0ListGlobalTablesInput = function (input, context) {
|
|
4611
|
-
return __assign(__assign(__assign({}, (input.ExclusiveStartGlobalTableName
|
|
4612
|
-
input.ExclusiveStartGlobalTableName !== null && {
|
|
4535
|
+
return __assign(__assign(__assign({}, (input.ExclusiveStartGlobalTableName != null && {
|
|
4613
4536
|
ExclusiveStartGlobalTableName: input.ExclusiveStartGlobalTableName,
|
|
4614
|
-
})), (input.Limit
|
|
4537
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4615
4538
|
};
|
|
4616
4539
|
var serializeAws_json1_0ListTablesInput = function (input, context) {
|
|
4617
|
-
return __assign(__assign({}, (input.ExclusiveStartTableName
|
|
4618
|
-
input.ExclusiveStartTableName !== null && { ExclusiveStartTableName: input.ExclusiveStartTableName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }));
|
|
4540
|
+
return __assign(__assign({}, (input.ExclusiveStartTableName != null && { ExclusiveStartTableName: input.ExclusiveStartTableName })), (input.Limit != null && { Limit: input.Limit }));
|
|
4619
4541
|
};
|
|
4620
4542
|
var serializeAws_json1_0ListTagsOfResourceInput = function (input, context) {
|
|
4621
|
-
return __assign(__assign({}, (input.NextToken
|
|
4543
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
4622
4544
|
};
|
|
4623
4545
|
var serializeAws_json1_0LocalSecondaryIndex = function (input, context) {
|
|
4624
|
-
return __assign(__assign(__assign({}, (input.IndexName
|
|
4625
|
-
input.KeySchema !== null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection !== undefined &&
|
|
4626
|
-
input.Projection !== null && { Projection: serializeAws_json1_0Projection(input.Projection, context) }));
|
|
4546
|
+
return __assign(__assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.KeySchema != null && { KeySchema: serializeAws_json1_0KeySchema(input.KeySchema, context) })), (input.Projection != null && { Projection: serializeAws_json1_0Projection(input.Projection, context) }));
|
|
4627
4547
|
};
|
|
4628
4548
|
var serializeAws_json1_0LocalSecondaryIndexList = function (input, context) {
|
|
4629
4549
|
return input
|
|
@@ -4666,10 +4586,9 @@ var serializeAws_json1_0NumberSetAttributeValue = function (input, context) {
|
|
|
4666
4586
|
});
|
|
4667
4587
|
};
|
|
4668
4588
|
var serializeAws_json1_0ParameterizedStatement = function (input, context) {
|
|
4669
|
-
return __assign(__assign({}, (input.Parameters
|
|
4670
|
-
input.Parameters !== null && {
|
|
4589
|
+
return __assign(__assign({}, (input.Parameters != null && {
|
|
4671
4590
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
4672
|
-
})), (input.Statement
|
|
4591
|
+
})), (input.Statement != null && { Statement: input.Statement }));
|
|
4673
4592
|
};
|
|
4674
4593
|
var serializeAws_json1_0ParameterizedStatements = function (input, context) {
|
|
4675
4594
|
return input
|
|
@@ -4692,8 +4611,7 @@ var serializeAws_json1_0PartiQLBatchRequest = function (input, context) {
|
|
|
4692
4611
|
});
|
|
4693
4612
|
};
|
|
4694
4613
|
var serializeAws_json1_0PointInTimeRecoverySpecification = function (input, context) {
|
|
4695
|
-
return __assign({}, (input.PointInTimeRecoveryEnabled
|
|
4696
|
-
input.PointInTimeRecoveryEnabled !== null && { PointInTimeRecoveryEnabled: input.PointInTimeRecoveryEnabled }));
|
|
4614
|
+
return __assign({}, (input.PointInTimeRecoveryEnabled != null && { PointInTimeRecoveryEnabled: input.PointInTimeRecoveryEnabled }));
|
|
4697
4615
|
};
|
|
4698
4616
|
var serializeAws_json1_0PreparedStatementParameters = function (input, context) {
|
|
4699
4617
|
return input
|
|
@@ -4706,49 +4624,33 @@ var serializeAws_json1_0PreparedStatementParameters = function (input, context)
|
|
|
4706
4624
|
});
|
|
4707
4625
|
};
|
|
4708
4626
|
var serializeAws_json1_0Projection = function (input, context) {
|
|
4709
|
-
return __assign(__assign({}, (input.NonKeyAttributes
|
|
4710
|
-
input.NonKeyAttributes !== null && {
|
|
4627
|
+
return __assign(__assign({}, (input.NonKeyAttributes != null && {
|
|
4711
4628
|
NonKeyAttributes: serializeAws_json1_0NonKeyAttributeNameList(input.NonKeyAttributes, context),
|
|
4712
|
-
})), (input.ProjectionType
|
|
4713
|
-
input.ProjectionType !== null && { ProjectionType: input.ProjectionType }));
|
|
4629
|
+
})), (input.ProjectionType != null && { ProjectionType: input.ProjectionType }));
|
|
4714
4630
|
};
|
|
4715
4631
|
var serializeAws_json1_0ProvisionedThroughput = function (input, context) {
|
|
4716
|
-
return __assign(__assign({}, (input.ReadCapacityUnits
|
|
4717
|
-
input.ReadCapacityUnits !== null && { ReadCapacityUnits: input.ReadCapacityUnits })), (input.WriteCapacityUnits !== undefined &&
|
|
4718
|
-
input.WriteCapacityUnits !== null && { WriteCapacityUnits: input.WriteCapacityUnits }));
|
|
4632
|
+
return __assign(__assign({}, (input.ReadCapacityUnits != null && { ReadCapacityUnits: input.ReadCapacityUnits })), (input.WriteCapacityUnits != null && { WriteCapacityUnits: input.WriteCapacityUnits }));
|
|
4719
4633
|
};
|
|
4720
4634
|
var serializeAws_json1_0ProvisionedThroughputOverride = function (input, context) {
|
|
4721
|
-
return __assign({}, (input.ReadCapacityUnits
|
|
4722
|
-
input.ReadCapacityUnits !== null && { ReadCapacityUnits: input.ReadCapacityUnits }));
|
|
4635
|
+
return __assign({}, (input.ReadCapacityUnits != null && { ReadCapacityUnits: input.ReadCapacityUnits }));
|
|
4723
4636
|
};
|
|
4724
4637
|
var serializeAws_json1_0Put = function (input, context) {
|
|
4725
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
4726
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames !== undefined &&
|
|
4727
|
-
input.ExpressionAttributeNames !== null && {
|
|
4638
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames != null && {
|
|
4728
4639
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4729
|
-
})), (input.ExpressionAttributeValues
|
|
4730
|
-
input.ExpressionAttributeValues !== null && {
|
|
4640
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4731
4641
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4732
|
-
})), (input.Item
|
|
4733
|
-
input.Item !== null && { Item: serializeAws_json1_0PutItemInputAttributeMap(input.Item, context) })), (input.ReturnValuesOnConditionCheckFailure !== undefined &&
|
|
4734
|
-
input.ReturnValuesOnConditionCheckFailure !== null && {
|
|
4642
|
+
})), (input.Item != null && { Item: serializeAws_json1_0PutItemInputAttributeMap(input.Item, context) })), (input.ReturnValuesOnConditionCheckFailure != null && {
|
|
4735
4643
|
ReturnValuesOnConditionCheckFailure: input.ReturnValuesOnConditionCheckFailure,
|
|
4736
|
-
})), (input.TableName
|
|
4644
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
4737
4645
|
};
|
|
4738
4646
|
var serializeAws_json1_0PutItemInput = function (input, context) {
|
|
4739
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
4740
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator !== undefined &&
|
|
4741
|
-
input.ConditionalOperator !== null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected !== undefined &&
|
|
4742
|
-
input.Expected !== null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames !== undefined &&
|
|
4743
|
-
input.ExpressionAttributeNames !== null && {
|
|
4647
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator != null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected != null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames != null && {
|
|
4744
4648
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4745
|
-
})), (input.ExpressionAttributeValues
|
|
4746
|
-
input.ExpressionAttributeValues !== null && {
|
|
4649
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4747
4650
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4748
|
-
})), (input.Item
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
input.ReturnItemCollectionMetrics !== null && { ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics })), (input.ReturnValues !== undefined && input.ReturnValues !== null && { ReturnValues: input.ReturnValues })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4651
|
+
})), (input.Item != null && { Item: serializeAws_json1_0PutItemInputAttributeMap(input.Item, context) })), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ReturnItemCollectionMetrics != null && {
|
|
4652
|
+
ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics,
|
|
4653
|
+
})), (input.ReturnValues != null && { ReturnValues: input.ReturnValues })), (input.TableName != null && { TableName: input.TableName }));
|
|
4752
4654
|
};
|
|
4753
4655
|
var serializeAws_json1_0PutItemInputAttributeMap = function (input, context) {
|
|
4754
4656
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4761,46 +4663,30 @@ var serializeAws_json1_0PutItemInputAttributeMap = function (input, context) {
|
|
|
4761
4663
|
}, {});
|
|
4762
4664
|
};
|
|
4763
4665
|
var serializeAws_json1_0PutRequest = function (input, context) {
|
|
4764
|
-
return __assign({}, (input.Item
|
|
4765
|
-
input.Item !== null && { Item: serializeAws_json1_0PutItemInputAttributeMap(input.Item, context) }));
|
|
4666
|
+
return __assign({}, (input.Item != null && { Item: serializeAws_json1_0PutItemInputAttributeMap(input.Item, context) }));
|
|
4766
4667
|
};
|
|
4767
4668
|
var serializeAws_json1_0QueryInput = function (input, context) {
|
|
4768
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet
|
|
4769
|
-
input.AttributesToGet !== null && {
|
|
4669
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet != null && {
|
|
4770
4670
|
AttributesToGet: serializeAws_json1_0AttributeNameList(input.AttributesToGet, context),
|
|
4771
|
-
})), (input.ConditionalOperator
|
|
4772
|
-
input.ConditionalOperator !== null && { ConditionalOperator: input.ConditionalOperator })), (input.ConsistentRead !== undefined &&
|
|
4773
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.ExclusiveStartKey !== undefined &&
|
|
4774
|
-
input.ExclusiveStartKey !== null && {
|
|
4671
|
+
})), (input.ConditionalOperator != null && { ConditionalOperator: input.ConditionalOperator })), (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.ExclusiveStartKey != null && {
|
|
4775
4672
|
ExclusiveStartKey: serializeAws_json1_0Key(input.ExclusiveStartKey, context),
|
|
4776
|
-
})), (input.ExpressionAttributeNames
|
|
4777
|
-
input.ExpressionAttributeNames !== null && {
|
|
4673
|
+
})), (input.ExpressionAttributeNames != null && {
|
|
4778
4674
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4779
|
-
})), (input.ExpressionAttributeValues
|
|
4780
|
-
input.ExpressionAttributeValues !== null && {
|
|
4675
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4781
4676
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4782
|
-
})), (input.FilterExpression
|
|
4783
|
-
input.FilterExpression !== null && { FilterExpression: input.FilterExpression })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.KeyConditionExpression !== undefined &&
|
|
4784
|
-
input.KeyConditionExpression !== null && { KeyConditionExpression: input.KeyConditionExpression })), (input.KeyConditions !== undefined &&
|
|
4785
|
-
input.KeyConditions !== null && {
|
|
4677
|
+
})), (input.FilterExpression != null && { FilterExpression: input.FilterExpression })), (input.IndexName != null && { IndexName: input.IndexName })), (input.KeyConditionExpression != null && { KeyConditionExpression: input.KeyConditionExpression })), (input.KeyConditions != null && {
|
|
4786
4678
|
KeyConditions: serializeAws_json1_0KeyConditions(input.KeyConditions, context),
|
|
4787
|
-
})), (input.Limit
|
|
4788
|
-
input.ProjectionExpression !== null && { ProjectionExpression: input.ProjectionExpression })), (input.QueryFilter !== undefined &&
|
|
4789
|
-
input.QueryFilter !== null && {
|
|
4679
|
+
})), (input.Limit != null && { Limit: input.Limit })), (input.ProjectionExpression != null && { ProjectionExpression: input.ProjectionExpression })), (input.QueryFilter != null && {
|
|
4790
4680
|
QueryFilter: serializeAws_json1_0FilterConditionMap(input.QueryFilter, context),
|
|
4791
|
-
})), (input.ReturnConsumedCapacity
|
|
4792
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ScanIndexForward !== undefined &&
|
|
4793
|
-
input.ScanIndexForward !== null && { ScanIndexForward: input.ScanIndexForward })), (input.Select !== undefined && input.Select !== null && { Select: input.Select })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4681
|
+
})), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ScanIndexForward != null && { ScanIndexForward: input.ScanIndexForward })), (input.Select != null && { Select: input.Select })), (input.TableName != null && { TableName: input.TableName }));
|
|
4794
4682
|
};
|
|
4795
4683
|
var serializeAws_json1_0Replica = function (input, context) {
|
|
4796
|
-
return __assign({}, (input.RegionName
|
|
4684
|
+
return __assign({}, (input.RegionName != null && { RegionName: input.RegionName }));
|
|
4797
4685
|
};
|
|
4798
4686
|
var serializeAws_json1_0ReplicaAutoScalingUpdate = function (input, context) {
|
|
4799
|
-
return __assign(__assign(__assign({}, (input.RegionName
|
|
4800
|
-
input.ReplicaGlobalSecondaryIndexUpdates !== null && {
|
|
4687
|
+
return __assign(__assign(__assign({}, (input.RegionName != null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexUpdates != null && {
|
|
4801
4688
|
ReplicaGlobalSecondaryIndexUpdates: serializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingUpdateList(input.ReplicaGlobalSecondaryIndexUpdates, context),
|
|
4802
|
-
})), (input.ReplicaProvisionedReadCapacityAutoScalingUpdate
|
|
4803
|
-
input.ReplicaProvisionedReadCapacityAutoScalingUpdate !== null && {
|
|
4689
|
+
})), (input.ReplicaProvisionedReadCapacityAutoScalingUpdate != null && {
|
|
4804
4690
|
ReplicaProvisionedReadCapacityAutoScalingUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ReplicaProvisionedReadCapacityAutoScalingUpdate, context),
|
|
4805
4691
|
}));
|
|
4806
4692
|
};
|
|
@@ -4815,14 +4701,12 @@ var serializeAws_json1_0ReplicaAutoScalingUpdateList = function (input, context)
|
|
|
4815
4701
|
});
|
|
4816
4702
|
};
|
|
4817
4703
|
var serializeAws_json1_0ReplicaGlobalSecondaryIndex = function (input, context) {
|
|
4818
|
-
return __assign(__assign({}, (input.IndexName
|
|
4819
|
-
input.ProvisionedThroughputOverride !== null && {
|
|
4704
|
+
return __assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedThroughputOverride != null && {
|
|
4820
4705
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
4821
4706
|
}));
|
|
4822
4707
|
};
|
|
4823
4708
|
var serializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingUpdate = function (input, context) {
|
|
4824
|
-
return __assign(__assign({}, (input.IndexName
|
|
4825
|
-
input.ProvisionedReadCapacityAutoScalingUpdate !== null && {
|
|
4709
|
+
return __assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedReadCapacityAutoScalingUpdate != null && {
|
|
4826
4710
|
ProvisionedReadCapacityAutoScalingUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ProvisionedReadCapacityAutoScalingUpdate, context),
|
|
4827
4711
|
}));
|
|
4828
4712
|
};
|
|
@@ -4847,11 +4731,9 @@ var serializeAws_json1_0ReplicaGlobalSecondaryIndexList = function (input, conte
|
|
|
4847
4731
|
});
|
|
4848
4732
|
};
|
|
4849
4733
|
var serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdate = function (input, context) {
|
|
4850
|
-
return __assign(__assign(__assign({}, (input.IndexName
|
|
4851
|
-
input.ProvisionedReadCapacityAutoScalingSettingsUpdate !== null && {
|
|
4734
|
+
return __assign(__assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedReadCapacityAutoScalingSettingsUpdate != null && {
|
|
4852
4735
|
ProvisionedReadCapacityAutoScalingSettingsUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ProvisionedReadCapacityAutoScalingSettingsUpdate, context),
|
|
4853
|
-
})), (input.ProvisionedReadCapacityUnits
|
|
4854
|
-
input.ProvisionedReadCapacityUnits !== null && {
|
|
4736
|
+
})), (input.ProvisionedReadCapacityUnits != null && {
|
|
4855
4737
|
ProvisionedReadCapacityUnits: input.ProvisionedReadCapacityUnits,
|
|
4856
4738
|
}));
|
|
4857
4739
|
};
|
|
@@ -4876,17 +4758,13 @@ var serializeAws_json1_0ReplicaList = function (input, context) {
|
|
|
4876
4758
|
});
|
|
4877
4759
|
};
|
|
4878
4760
|
var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
|
|
4879
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.RegionName
|
|
4880
|
-
input.ReplicaGlobalSecondaryIndexSettingsUpdate !== null && {
|
|
4761
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.RegionName != null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate != null && {
|
|
4881
4762
|
ReplicaGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdateList(input.ReplicaGlobalSecondaryIndexSettingsUpdate, context),
|
|
4882
|
-
})), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate
|
|
4883
|
-
input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate !== null && {
|
|
4763
|
+
})), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate != null && {
|
|
4884
4764
|
ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate, context),
|
|
4885
|
-
})), (input.ReplicaProvisionedReadCapacityUnits
|
|
4886
|
-
input.ReplicaProvisionedReadCapacityUnits !== null && {
|
|
4765
|
+
})), (input.ReplicaProvisionedReadCapacityUnits != null && {
|
|
4887
4766
|
ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
|
|
4888
|
-
})), (input.ReplicaTableClass
|
|
4889
|
-
input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }));
|
|
4767
|
+
})), (input.ReplicaTableClass != null && { ReplicaTableClass: input.ReplicaTableClass }));
|
|
4890
4768
|
};
|
|
4891
4769
|
var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
|
|
4892
4770
|
return input
|
|
@@ -4899,14 +4777,11 @@ var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
|
|
|
4899
4777
|
});
|
|
4900
4778
|
};
|
|
4901
4779
|
var serializeAws_json1_0ReplicationGroupUpdate = function (input, context) {
|
|
4902
|
-
return __assign(__assign(__assign({}, (input.Create
|
|
4903
|
-
input.Create !== null && {
|
|
4780
|
+
return __assign(__assign(__assign({}, (input.Create != null && {
|
|
4904
4781
|
Create: serializeAws_json1_0CreateReplicationGroupMemberAction(input.Create, context),
|
|
4905
|
-
})), (input.Delete
|
|
4906
|
-
input.Delete !== null && {
|
|
4782
|
+
})), (input.Delete != null && {
|
|
4907
4783
|
Delete: serializeAws_json1_0DeleteReplicationGroupMemberAction(input.Delete, context),
|
|
4908
|
-
})), (input.Update
|
|
4909
|
-
input.Update !== null && {
|
|
4784
|
+
})), (input.Update != null && {
|
|
4910
4785
|
Update: serializeAws_json1_0UpdateReplicationGroupMemberAction(input.Update, context),
|
|
4911
4786
|
}));
|
|
4912
4787
|
};
|
|
@@ -4921,9 +4796,7 @@ var serializeAws_json1_0ReplicationGroupUpdateList = function (input, context) {
|
|
|
4921
4796
|
});
|
|
4922
4797
|
};
|
|
4923
4798
|
var serializeAws_json1_0ReplicaUpdate = function (input, context) {
|
|
4924
|
-
return __assign(__assign({}, (input.Create
|
|
4925
|
-
input.Create !== null && { Create: serializeAws_json1_0CreateReplicaAction(input.Create, context) })), (input.Delete !== undefined &&
|
|
4926
|
-
input.Delete !== null && { Delete: serializeAws_json1_0DeleteReplicaAction(input.Delete, context) }));
|
|
4799
|
+
return __assign(__assign({}, (input.Create != null && { Create: serializeAws_json1_0CreateReplicaAction(input.Create, context) })), (input.Delete != null && { Delete: serializeAws_json1_0DeleteReplicaAction(input.Delete, context) }));
|
|
4927
4800
|
};
|
|
4928
4801
|
var serializeAws_json1_0ReplicaUpdateList = function (input, context) {
|
|
4929
4802
|
return input
|
|
@@ -4936,71 +4809,43 @@ var serializeAws_json1_0ReplicaUpdateList = function (input, context) {
|
|
|
4936
4809
|
});
|
|
4937
4810
|
};
|
|
4938
4811
|
var serializeAws_json1_0RestoreTableFromBackupInput = function (input, context) {
|
|
4939
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupArn
|
|
4940
|
-
input.BillingModeOverride !== null && { BillingModeOverride: input.BillingModeOverride })), (input.GlobalSecondaryIndexOverride !== undefined &&
|
|
4941
|
-
input.GlobalSecondaryIndexOverride !== null && {
|
|
4812
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupArn != null && { BackupArn: input.BackupArn })), (input.BillingModeOverride != null && { BillingModeOverride: input.BillingModeOverride })), (input.GlobalSecondaryIndexOverride != null && {
|
|
4942
4813
|
GlobalSecondaryIndexOverride: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexOverride, context),
|
|
4943
|
-
})), (input.LocalSecondaryIndexOverride
|
|
4944
|
-
input.LocalSecondaryIndexOverride !== null && {
|
|
4814
|
+
})), (input.LocalSecondaryIndexOverride != null && {
|
|
4945
4815
|
LocalSecondaryIndexOverride: serializeAws_json1_0LocalSecondaryIndexList(input.LocalSecondaryIndexOverride, context),
|
|
4946
|
-
})), (input.ProvisionedThroughputOverride
|
|
4947
|
-
input.ProvisionedThroughputOverride !== null && {
|
|
4816
|
+
})), (input.ProvisionedThroughputOverride != null && {
|
|
4948
4817
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
|
|
4949
|
-
})), (input.SSESpecificationOverride
|
|
4950
|
-
input.SSESpecificationOverride !== null && {
|
|
4818
|
+
})), (input.SSESpecificationOverride != null && {
|
|
4951
4819
|
SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
|
|
4952
|
-
})), (input.TargetTableName
|
|
4953
|
-
input.TargetTableName !== null && { TargetTableName: input.TargetTableName }));
|
|
4820
|
+
})), (input.TargetTableName != null && { TargetTableName: input.TargetTableName }));
|
|
4954
4821
|
};
|
|
4955
4822
|
var serializeAws_json1_0RestoreTableToPointInTimeInput = function (input, context) {
|
|
4956
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BillingModeOverride
|
|
4957
|
-
input.BillingModeOverride !== null && { BillingModeOverride: input.BillingModeOverride })), (input.GlobalSecondaryIndexOverride !== undefined &&
|
|
4958
|
-
input.GlobalSecondaryIndexOverride !== null && {
|
|
4823
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BillingModeOverride != null && { BillingModeOverride: input.BillingModeOverride })), (input.GlobalSecondaryIndexOverride != null && {
|
|
4959
4824
|
GlobalSecondaryIndexOverride: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexOverride, context),
|
|
4960
|
-
})), (input.LocalSecondaryIndexOverride
|
|
4961
|
-
input.LocalSecondaryIndexOverride !== null && {
|
|
4825
|
+
})), (input.LocalSecondaryIndexOverride != null && {
|
|
4962
4826
|
LocalSecondaryIndexOverride: serializeAws_json1_0LocalSecondaryIndexList(input.LocalSecondaryIndexOverride, context),
|
|
4963
|
-
})), (input.ProvisionedThroughputOverride
|
|
4964
|
-
input.ProvisionedThroughputOverride !== null && {
|
|
4827
|
+
})), (input.ProvisionedThroughputOverride != null && {
|
|
4965
4828
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughputOverride, context),
|
|
4966
|
-
})), (input.RestoreDateTime
|
|
4967
|
-
input.RestoreDateTime !== null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) })), (input.SSESpecificationOverride !== undefined &&
|
|
4968
|
-
input.SSESpecificationOverride !== null && {
|
|
4829
|
+
})), (input.RestoreDateTime != null && { RestoreDateTime: Math.round(input.RestoreDateTime.getTime() / 1000) })), (input.SSESpecificationOverride != null && {
|
|
4969
4830
|
SSESpecificationOverride: serializeAws_json1_0SSESpecification(input.SSESpecificationOverride, context),
|
|
4970
|
-
})), (input.SourceTableArn
|
|
4971
|
-
input.SourceTableArn !== null && { SourceTableArn: input.SourceTableArn })), (input.SourceTableName !== undefined &&
|
|
4972
|
-
input.SourceTableName !== null && { SourceTableName: input.SourceTableName })), (input.TargetTableName !== undefined &&
|
|
4973
|
-
input.TargetTableName !== null && { TargetTableName: input.TargetTableName })), (input.UseLatestRestorableTime !== undefined &&
|
|
4974
|
-
input.UseLatestRestorableTime !== null && { UseLatestRestorableTime: input.UseLatestRestorableTime }));
|
|
4831
|
+
})), (input.SourceTableArn != null && { SourceTableArn: input.SourceTableArn })), (input.SourceTableName != null && { SourceTableName: input.SourceTableName })), (input.TargetTableName != null && { TargetTableName: input.TargetTableName })), (input.UseLatestRestorableTime != null && { UseLatestRestorableTime: input.UseLatestRestorableTime }));
|
|
4975
4832
|
};
|
|
4976
4833
|
var serializeAws_json1_0ScanInput = function (input, context) {
|
|
4977
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet
|
|
4978
|
-
input.AttributesToGet !== null && {
|
|
4834
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributesToGet != null && {
|
|
4979
4835
|
AttributesToGet: serializeAws_json1_0AttributeNameList(input.AttributesToGet, context),
|
|
4980
|
-
})), (input.ConditionalOperator
|
|
4981
|
-
input.ConditionalOperator !== null && { ConditionalOperator: input.ConditionalOperator })), (input.ConsistentRead !== undefined &&
|
|
4982
|
-
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.ExclusiveStartKey !== undefined &&
|
|
4983
|
-
input.ExclusiveStartKey !== null && {
|
|
4836
|
+
})), (input.ConditionalOperator != null && { ConditionalOperator: input.ConditionalOperator })), (input.ConsistentRead != null && { ConsistentRead: input.ConsistentRead })), (input.ExclusiveStartKey != null && {
|
|
4984
4837
|
ExclusiveStartKey: serializeAws_json1_0Key(input.ExclusiveStartKey, context),
|
|
4985
|
-
})), (input.ExpressionAttributeNames
|
|
4986
|
-
input.ExpressionAttributeNames !== null && {
|
|
4838
|
+
})), (input.ExpressionAttributeNames != null && {
|
|
4987
4839
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
4988
|
-
})), (input.ExpressionAttributeValues
|
|
4989
|
-
input.ExpressionAttributeValues !== null && {
|
|
4840
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
4990
4841
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
4991
|
-
})), (input.FilterExpression
|
|
4992
|
-
input.FilterExpression !== null && { FilterExpression: input.FilterExpression })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.ProjectionExpression !== undefined &&
|
|
4993
|
-
input.ProjectionExpression !== null && { ProjectionExpression: input.ProjectionExpression })), (input.ReturnConsumedCapacity !== undefined &&
|
|
4994
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ScanFilter !== undefined &&
|
|
4995
|
-
input.ScanFilter !== null && { ScanFilter: serializeAws_json1_0FilterConditionMap(input.ScanFilter, context) })), (input.Segment !== undefined && input.Segment !== null && { Segment: input.Segment })), (input.Select !== undefined && input.Select !== null && { Select: input.Select })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.TotalSegments !== undefined && input.TotalSegments !== null && { TotalSegments: input.TotalSegments }));
|
|
4842
|
+
})), (input.FilterExpression != null && { FilterExpression: input.FilterExpression })), (input.IndexName != null && { IndexName: input.IndexName })), (input.Limit != null && { Limit: input.Limit })), (input.ProjectionExpression != null && { ProjectionExpression: input.ProjectionExpression })), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ScanFilter != null && { ScanFilter: serializeAws_json1_0FilterConditionMap(input.ScanFilter, context) })), (input.Segment != null && { Segment: input.Segment })), (input.Select != null && { Select: input.Select })), (input.TableName != null && { TableName: input.TableName })), (input.TotalSegments != null && { TotalSegments: input.TotalSegments }));
|
|
4996
4843
|
};
|
|
4997
4844
|
var serializeAws_json1_0SSESpecification = function (input, context) {
|
|
4998
|
-
return __assign(__assign(__assign({}, (input.Enabled
|
|
4999
|
-
input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.SSEType !== undefined && input.SSEType !== null && { SSEType: input.SSEType }));
|
|
4845
|
+
return __assign(__assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.KMSMasterKeyId != null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.SSEType != null && { SSEType: input.SSEType }));
|
|
5000
4846
|
};
|
|
5001
4847
|
var serializeAws_json1_0StreamSpecification = function (input, context) {
|
|
5002
|
-
return __assign(__assign({}, (input.StreamEnabled
|
|
5003
|
-
input.StreamViewType !== null && { StreamViewType: input.StreamViewType }));
|
|
4848
|
+
return __assign(__assign({}, (input.StreamEnabled != null && { StreamEnabled: input.StreamEnabled })), (input.StreamViewType != null && { StreamViewType: input.StreamViewType }));
|
|
5004
4849
|
};
|
|
5005
4850
|
var serializeAws_json1_0StringSetAttributeValue = function (input, context) {
|
|
5006
4851
|
return input
|
|
@@ -5013,7 +4858,7 @@ var serializeAws_json1_0StringSetAttributeValue = function (input, context) {
|
|
|
5013
4858
|
});
|
|
5014
4859
|
};
|
|
5015
4860
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
5016
|
-
return __assign(__assign({}, (input.Key
|
|
4861
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
5017
4862
|
};
|
|
5018
4863
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
5019
4864
|
return input
|
|
@@ -5036,13 +4881,13 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
5036
4881
|
});
|
|
5037
4882
|
};
|
|
5038
4883
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
5039
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
4884
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
5040
4885
|
};
|
|
5041
4886
|
var serializeAws_json1_0TimeToLiveSpecification = function (input, context) {
|
|
5042
|
-
return __assign(__assign({}, (input.AttributeName
|
|
4887
|
+
return __assign(__assign({}, (input.AttributeName != null && { AttributeName: input.AttributeName })), (input.Enabled != null && { Enabled: input.Enabled }));
|
|
5043
4888
|
};
|
|
5044
4889
|
var serializeAws_json1_0TransactGetItem = function (input, context) {
|
|
5045
|
-
return __assign({}, (input.Get
|
|
4890
|
+
return __assign({}, (input.Get != null && { Get: serializeAws_json1_0Get(input.Get, context) }));
|
|
5046
4891
|
};
|
|
5047
4892
|
var serializeAws_json1_0TransactGetItemList = function (input, context) {
|
|
5048
4893
|
return input
|
|
@@ -5055,19 +4900,14 @@ var serializeAws_json1_0TransactGetItemList = function (input, context) {
|
|
|
5055
4900
|
});
|
|
5056
4901
|
};
|
|
5057
4902
|
var serializeAws_json1_0TransactGetItemsInput = function (input, context) {
|
|
5058
|
-
return __assign(__assign({}, (input.ReturnConsumedCapacity
|
|
5059
|
-
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactItems !== undefined &&
|
|
5060
|
-
input.TransactItems !== null && {
|
|
4903
|
+
return __assign(__assign({}, (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactItems != null && {
|
|
5061
4904
|
TransactItems: serializeAws_json1_0TransactGetItemList(input.TransactItems, context),
|
|
5062
4905
|
}));
|
|
5063
4906
|
};
|
|
5064
4907
|
var serializeAws_json1_0TransactWriteItem = function (input, context) {
|
|
5065
|
-
return __assign(__assign(__assign(__assign({}, (input.ConditionCheck
|
|
5066
|
-
input.ConditionCheck !== null && {
|
|
4908
|
+
return __assign(__assign(__assign(__assign({}, (input.ConditionCheck != null && {
|
|
5067
4909
|
ConditionCheck: serializeAws_json1_0ConditionCheck(input.ConditionCheck, context),
|
|
5068
|
-
})), (input.Delete
|
|
5069
|
-
input.Delete !== null && { Delete: serializeAws_json1_0Delete(input.Delete, context) })), (input.Put !== undefined && input.Put !== null && { Put: serializeAws_json1_0Put(input.Put, context) })), (input.Update !== undefined &&
|
|
5070
|
-
input.Update !== null && { Update: serializeAws_json1_0Update(input.Update, context) }));
|
|
4910
|
+
})), (input.Delete != null && { Delete: serializeAws_json1_0Delete(input.Delete, context) })), (input.Put != null && { Put: serializeAws_json1_0Put(input.Put, context) })), (input.Update != null && { Update: serializeAws_json1_0Update(input.Update, context) }));
|
|
5071
4911
|
};
|
|
5072
4912
|
var serializeAws_json1_0TransactWriteItemList = function (input, context) {
|
|
5073
4913
|
return input
|
|
@@ -5081,145 +4921,104 @@ var serializeAws_json1_0TransactWriteItemList = function (input, context) {
|
|
|
5081
4921
|
};
|
|
5082
4922
|
var serializeAws_json1_0TransactWriteItemsInput = function (input, context) {
|
|
5083
4923
|
var _a;
|
|
5084
|
-
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
input.TransactItems !== null && {
|
|
4924
|
+
return __assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ReturnItemCollectionMetrics != null && {
|
|
4925
|
+
ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics,
|
|
4926
|
+
})), (input.TransactItems != null && {
|
|
5088
4927
|
TransactItems: serializeAws_json1_0TransactWriteItemList(input.TransactItems, context),
|
|
5089
4928
|
}));
|
|
5090
4929
|
};
|
|
5091
4930
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
5092
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
5093
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
4931
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
5094
4932
|
};
|
|
5095
4933
|
var serializeAws_json1_0Update = function (input, context) {
|
|
5096
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression
|
|
5097
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames !== undefined &&
|
|
5098
|
-
input.ExpressionAttributeNames !== null && {
|
|
4934
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ExpressionAttributeNames != null && {
|
|
5099
4935
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
5100
|
-
})), (input.ExpressionAttributeValues
|
|
5101
|
-
input.ExpressionAttributeValues !== null && {
|
|
4936
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
5102
4937
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
5103
|
-
})), (input.Key
|
|
5104
|
-
input.ReturnValuesOnConditionCheckFailure !== null && {
|
|
4938
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ReturnValuesOnConditionCheckFailure != null && {
|
|
5105
4939
|
ReturnValuesOnConditionCheckFailure: input.ReturnValuesOnConditionCheckFailure,
|
|
5106
|
-
})), (input.TableName
|
|
5107
|
-
input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
|
|
4940
|
+
})), (input.TableName != null && { TableName: input.TableName })), (input.UpdateExpression != null && { UpdateExpression: input.UpdateExpression }));
|
|
5108
4941
|
};
|
|
5109
4942
|
var serializeAws_json1_0UpdateContinuousBackupsInput = function (input, context) {
|
|
5110
|
-
return __assign(__assign({}, (input.PointInTimeRecoverySpecification
|
|
5111
|
-
input.PointInTimeRecoverySpecification !== null && {
|
|
4943
|
+
return __assign(__assign({}, (input.PointInTimeRecoverySpecification != null && {
|
|
5112
4944
|
PointInTimeRecoverySpecification: serializeAws_json1_0PointInTimeRecoverySpecification(input.PointInTimeRecoverySpecification, context),
|
|
5113
|
-
})), (input.TableName
|
|
4945
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
5114
4946
|
};
|
|
5115
4947
|
var serializeAws_json1_0UpdateContributorInsightsInput = function (input, context) {
|
|
5116
|
-
return __assign(__assign(__assign({}, (input.ContributorInsightsAction
|
|
5117
|
-
input.ContributorInsightsAction !== null && { ContributorInsightsAction: input.ContributorInsightsAction })), (input.IndexName !== undefined && input.IndexName !== null && { IndexName: input.IndexName })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4948
|
+
return __assign(__assign(__assign({}, (input.ContributorInsightsAction != null && { ContributorInsightsAction: input.ContributorInsightsAction })), (input.IndexName != null && { IndexName: input.IndexName })), (input.TableName != null && { TableName: input.TableName }));
|
|
5118
4949
|
};
|
|
5119
4950
|
var serializeAws_json1_0UpdateGlobalSecondaryIndexAction = function (input, context) {
|
|
5120
|
-
return __assign(__assign({}, (input.IndexName
|
|
5121
|
-
input.ProvisionedThroughput !== null && {
|
|
4951
|
+
return __assign(__assign({}, (input.IndexName != null && { IndexName: input.IndexName })), (input.ProvisionedThroughput != null && {
|
|
5122
4952
|
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
5123
4953
|
}));
|
|
5124
4954
|
};
|
|
5125
4955
|
var serializeAws_json1_0UpdateGlobalTableInput = function (input, context) {
|
|
5126
|
-
return __assign(__assign({}, (input.GlobalTableName
|
|
5127
|
-
input.GlobalTableName !== null && { GlobalTableName: input.GlobalTableName })), (input.ReplicaUpdates !== undefined &&
|
|
5128
|
-
input.ReplicaUpdates !== null && {
|
|
4956
|
+
return __assign(__assign({}, (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName })), (input.ReplicaUpdates != null && {
|
|
5129
4957
|
ReplicaUpdates: serializeAws_json1_0ReplicaUpdateList(input.ReplicaUpdates, context),
|
|
5130
4958
|
}));
|
|
5131
4959
|
};
|
|
5132
4960
|
var serializeAws_json1_0UpdateGlobalTableSettingsInput = function (input, context) {
|
|
5133
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.GlobalTableBillingMode
|
|
5134
|
-
input.GlobalTableBillingMode !== null && { GlobalTableBillingMode: input.GlobalTableBillingMode })), (input.GlobalTableGlobalSecondaryIndexSettingsUpdate !== undefined &&
|
|
5135
|
-
input.GlobalTableGlobalSecondaryIndexSettingsUpdate !== null && {
|
|
4961
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.GlobalTableBillingMode != null && { GlobalTableBillingMode: input.GlobalTableBillingMode })), (input.GlobalTableGlobalSecondaryIndexSettingsUpdate != null && {
|
|
5136
4962
|
GlobalTableGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0GlobalTableGlobalSecondaryIndexSettingsUpdateList(input.GlobalTableGlobalSecondaryIndexSettingsUpdate, context),
|
|
5137
|
-
})), (input.GlobalTableName
|
|
5138
|
-
input.GlobalTableName !== null && { GlobalTableName: input.GlobalTableName })), (input.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate !== undefined &&
|
|
5139
|
-
input.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate !== null && {
|
|
4963
|
+
})), (input.GlobalTableName != null && { GlobalTableName: input.GlobalTableName })), (input.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate != null && {
|
|
5140
4964
|
GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate, context),
|
|
5141
|
-
})), (input.GlobalTableProvisionedWriteCapacityUnits
|
|
5142
|
-
input.GlobalTableProvisionedWriteCapacityUnits !== null && {
|
|
4965
|
+
})), (input.GlobalTableProvisionedWriteCapacityUnits != null && {
|
|
5143
4966
|
GlobalTableProvisionedWriteCapacityUnits: input.GlobalTableProvisionedWriteCapacityUnits,
|
|
5144
|
-
})), (input.ReplicaSettingsUpdate
|
|
5145
|
-
input.ReplicaSettingsUpdate !== null && {
|
|
4967
|
+
})), (input.ReplicaSettingsUpdate != null && {
|
|
5146
4968
|
ReplicaSettingsUpdate: serializeAws_json1_0ReplicaSettingsUpdateList(input.ReplicaSettingsUpdate, context),
|
|
5147
4969
|
}));
|
|
5148
4970
|
};
|
|
5149
4971
|
var serializeAws_json1_0UpdateItemInput = function (input, context) {
|
|
5150
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeUpdates
|
|
5151
|
-
input.AttributeUpdates !== null && {
|
|
4972
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeUpdates != null && {
|
|
5152
4973
|
AttributeUpdates: serializeAws_json1_0AttributeUpdates(input.AttributeUpdates, context),
|
|
5153
|
-
})), (input.ConditionExpression
|
|
5154
|
-
input.ConditionExpression !== null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator !== undefined &&
|
|
5155
|
-
input.ConditionalOperator !== null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected !== undefined &&
|
|
5156
|
-
input.Expected !== null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames !== undefined &&
|
|
5157
|
-
input.ExpressionAttributeNames !== null && {
|
|
4974
|
+
})), (input.ConditionExpression != null && { ConditionExpression: input.ConditionExpression })), (input.ConditionalOperator != null && { ConditionalOperator: input.ConditionalOperator })), (input.Expected != null && { Expected: serializeAws_json1_0ExpectedAttributeMap(input.Expected, context) })), (input.ExpressionAttributeNames != null && {
|
|
5158
4975
|
ExpressionAttributeNames: serializeAws_json1_0ExpressionAttributeNameMap(input.ExpressionAttributeNames, context),
|
|
5159
|
-
})), (input.ExpressionAttributeValues
|
|
5160
|
-
input.ExpressionAttributeValues !== null && {
|
|
4976
|
+
})), (input.ExpressionAttributeValues != null && {
|
|
5161
4977
|
ExpressionAttributeValues: serializeAws_json1_0ExpressionAttributeValueMap(input.ExpressionAttributeValues, context),
|
|
5162
|
-
})), (input.Key
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
|
|
4978
|
+
})), (input.Key != null && { Key: serializeAws_json1_0Key(input.Key, context) })), (input.ReturnConsumedCapacity != null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.ReturnItemCollectionMetrics != null && {
|
|
4979
|
+
ReturnItemCollectionMetrics: input.ReturnItemCollectionMetrics,
|
|
4980
|
+
})), (input.ReturnValues != null && { ReturnValues: input.ReturnValues })), (input.TableName != null && { TableName: input.TableName })), (input.UpdateExpression != null && { UpdateExpression: input.UpdateExpression }));
|
|
5166
4981
|
};
|
|
5167
4982
|
var serializeAws_json1_0UpdateReplicationGroupMemberAction = function (input, context) {
|
|
5168
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes
|
|
5169
|
-
input.GlobalSecondaryIndexes !== null && {
|
|
4983
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes != null && {
|
|
5170
4984
|
GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
5171
|
-
})), (input.KMSMasterKeyId
|
|
5172
|
-
input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
|
|
5173
|
-
input.ProvisionedThroughputOverride !== null && {
|
|
4985
|
+
})), (input.KMSMasterKeyId != null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride != null && {
|
|
5174
4986
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
5175
|
-
})), (input.RegionName
|
|
5176
|
-
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
|
|
4987
|
+
})), (input.RegionName != null && { RegionName: input.RegionName })), (input.TableClassOverride != null && { TableClassOverride: input.TableClassOverride }));
|
|
5177
4988
|
};
|
|
5178
4989
|
var serializeAws_json1_0UpdateTableInput = function (input, context) {
|
|
5179
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions
|
|
5180
|
-
input.AttributeDefinitions !== null && {
|
|
4990
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions != null && {
|
|
5181
4991
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
5182
|
-
})), (input.BillingMode
|
|
5183
|
-
input.GlobalSecondaryIndexUpdates !== null && {
|
|
4992
|
+
})), (input.BillingMode != null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexUpdates != null && {
|
|
5184
4993
|
GlobalSecondaryIndexUpdates: serializeAws_json1_0GlobalSecondaryIndexUpdateList(input.GlobalSecondaryIndexUpdates, context),
|
|
5185
|
-
})), (input.ProvisionedThroughput
|
|
5186
|
-
input.ProvisionedThroughput !== null && {
|
|
4994
|
+
})), (input.ProvisionedThroughput != null && {
|
|
5187
4995
|
ProvisionedThroughput: serializeAws_json1_0ProvisionedThroughput(input.ProvisionedThroughput, context),
|
|
5188
|
-
})), (input.ReplicaUpdates
|
|
5189
|
-
input.ReplicaUpdates !== null && {
|
|
4996
|
+
})), (input.ReplicaUpdates != null && {
|
|
5190
4997
|
ReplicaUpdates: serializeAws_json1_0ReplicationGroupUpdateList(input.ReplicaUpdates, context),
|
|
5191
|
-
})), (input.SSESpecification
|
|
5192
|
-
input.SSESpecification !== null && {
|
|
4998
|
+
})), (input.SSESpecification != null && {
|
|
5193
4999
|
SSESpecification: serializeAws_json1_0SSESpecification(input.SSESpecification, context),
|
|
5194
|
-
})), (input.StreamSpecification
|
|
5195
|
-
input.StreamSpecification !== null && {
|
|
5000
|
+
})), (input.StreamSpecification != null && {
|
|
5196
5001
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
5197
|
-
})), (input.TableClass
|
|
5002
|
+
})), (input.TableClass != null && { TableClass: input.TableClass })), (input.TableName != null && { TableName: input.TableName }));
|
|
5198
5003
|
};
|
|
5199
5004
|
var serializeAws_json1_0UpdateTableReplicaAutoScalingInput = function (input, context) {
|
|
5200
|
-
return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates
|
|
5201
|
-
input.GlobalSecondaryIndexUpdates !== null && {
|
|
5005
|
+
return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates != null && {
|
|
5202
5006
|
GlobalSecondaryIndexUpdates: serializeAws_json1_0GlobalSecondaryIndexAutoScalingUpdateList(input.GlobalSecondaryIndexUpdates, context),
|
|
5203
|
-
})), (input.ProvisionedWriteCapacityAutoScalingUpdate
|
|
5204
|
-
input.ProvisionedWriteCapacityAutoScalingUpdate !== null && {
|
|
5007
|
+
})), (input.ProvisionedWriteCapacityAutoScalingUpdate != null && {
|
|
5205
5008
|
ProvisionedWriteCapacityAutoScalingUpdate: serializeAws_json1_0AutoScalingSettingsUpdate(input.ProvisionedWriteCapacityAutoScalingUpdate, context),
|
|
5206
|
-
})), (input.ReplicaUpdates
|
|
5207
|
-
input.ReplicaUpdates !== null && {
|
|
5009
|
+
})), (input.ReplicaUpdates != null && {
|
|
5208
5010
|
ReplicaUpdates: serializeAws_json1_0ReplicaAutoScalingUpdateList(input.ReplicaUpdates, context),
|
|
5209
|
-
})), (input.TableName
|
|
5011
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
5210
5012
|
};
|
|
5211
5013
|
var serializeAws_json1_0UpdateTimeToLiveInput = function (input, context) {
|
|
5212
|
-
return __assign(__assign({}, (input.TableName
|
|
5213
|
-
input.TimeToLiveSpecification !== null && {
|
|
5014
|
+
return __assign(__assign({}, (input.TableName != null && { TableName: input.TableName })), (input.TimeToLiveSpecification != null && {
|
|
5214
5015
|
TimeToLiveSpecification: serializeAws_json1_0TimeToLiveSpecification(input.TimeToLiveSpecification, context),
|
|
5215
5016
|
}));
|
|
5216
5017
|
};
|
|
5217
5018
|
var serializeAws_json1_0WriteRequest = function (input, context) {
|
|
5218
|
-
return __assign(__assign({}, (input.DeleteRequest
|
|
5219
|
-
input.DeleteRequest !== null && {
|
|
5019
|
+
return __assign(__assign({}, (input.DeleteRequest != null && {
|
|
5220
5020
|
DeleteRequest: serializeAws_json1_0DeleteRequest(input.DeleteRequest, context),
|
|
5221
|
-
})), (input.PutRequest
|
|
5222
|
-
input.PutRequest !== null && { PutRequest: serializeAws_json1_0PutRequest(input.PutRequest, context) }));
|
|
5021
|
+
})), (input.PutRequest != null && { PutRequest: serializeAws_json1_0PutRequest(input.PutRequest, context) }));
|
|
5223
5022
|
};
|
|
5224
5023
|
var serializeAws_json1_0WriteRequests = function (input, context) {
|
|
5225
5024
|
return input
|
|
@@ -5234,7 +5033,7 @@ var serializeAws_json1_0WriteRequests = function (input, context) {
|
|
|
5234
5033
|
var deserializeAws_json1_0ArchivalSummary = function (output, context) {
|
|
5235
5034
|
return {
|
|
5236
5035
|
ArchivalBackupArn: __expectString(output.ArchivalBackupArn),
|
|
5237
|
-
ArchivalDateTime: output.ArchivalDateTime
|
|
5036
|
+
ArchivalDateTime: output.ArchivalDateTime != null
|
|
5238
5037
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ArchivalDateTime)))
|
|
5239
5038
|
: undefined,
|
|
5240
5039
|
ArchivalReason: __expectString(output.ArchivalReason),
|
|
@@ -5326,8 +5125,7 @@ var deserializeAws_json1_0AttributeValue = function (output, context) {
|
|
|
5326
5125
|
var deserializeAws_json1_0AutoScalingPolicyDescription = function (output, context) {
|
|
5327
5126
|
return {
|
|
5328
5127
|
PolicyName: __expectString(output.PolicyName),
|
|
5329
|
-
TargetTrackingScalingPolicyConfiguration: output.TargetTrackingScalingPolicyConfiguration
|
|
5330
|
-
output.TargetTrackingScalingPolicyConfiguration !== null
|
|
5128
|
+
TargetTrackingScalingPolicyConfiguration: output.TargetTrackingScalingPolicyConfiguration != null
|
|
5331
5129
|
? deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDescription(output.TargetTrackingScalingPolicyConfiguration, context)
|
|
5332
5130
|
: undefined,
|
|
5333
5131
|
};
|
|
@@ -5349,7 +5147,7 @@ var deserializeAws_json1_0AutoScalingSettingsDescription = function (output, con
|
|
|
5349
5147
|
AutoScalingRoleArn: __expectString(output.AutoScalingRoleArn),
|
|
5350
5148
|
MaximumUnits: __expectLong(output.MaximumUnits),
|
|
5351
5149
|
MinimumUnits: __expectLong(output.MinimumUnits),
|
|
5352
|
-
ScalingPolicies: output.ScalingPolicies
|
|
5150
|
+
ScalingPolicies: output.ScalingPolicies != null
|
|
5353
5151
|
? deserializeAws_json1_0AutoScalingPolicyDescriptionList(output.ScalingPolicies, context)
|
|
5354
5152
|
: undefined,
|
|
5355
5153
|
};
|
|
@@ -5364,13 +5162,11 @@ var deserializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationDes
|
|
|
5364
5162
|
};
|
|
5365
5163
|
var deserializeAws_json1_0BackupDescription = function (output, context) {
|
|
5366
5164
|
return {
|
|
5367
|
-
BackupDetails: output.BackupDetails
|
|
5368
|
-
|
|
5369
|
-
: undefined,
|
|
5370
|
-
SourceTableDetails: output.SourceTableDetails !== undefined && output.SourceTableDetails !== null
|
|
5165
|
+
BackupDetails: output.BackupDetails != null ? deserializeAws_json1_0BackupDetails(output.BackupDetails, context) : undefined,
|
|
5166
|
+
SourceTableDetails: output.SourceTableDetails != null
|
|
5371
5167
|
? deserializeAws_json1_0SourceTableDetails(output.SourceTableDetails, context)
|
|
5372
5168
|
: undefined,
|
|
5373
|
-
SourceTableFeatureDetails: output.SourceTableFeatureDetails
|
|
5169
|
+
SourceTableFeatureDetails: output.SourceTableFeatureDetails != null
|
|
5374
5170
|
? deserializeAws_json1_0SourceTableFeatureDetails(output.SourceTableFeatureDetails, context)
|
|
5375
5171
|
: undefined,
|
|
5376
5172
|
};
|
|
@@ -5378,10 +5174,10 @@ var deserializeAws_json1_0BackupDescription = function (output, context) {
|
|
|
5378
5174
|
var deserializeAws_json1_0BackupDetails = function (output, context) {
|
|
5379
5175
|
return {
|
|
5380
5176
|
BackupArn: __expectString(output.BackupArn),
|
|
5381
|
-
BackupCreationDateTime: output.BackupCreationDateTime
|
|
5177
|
+
BackupCreationDateTime: output.BackupCreationDateTime != null
|
|
5382
5178
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupCreationDateTime)))
|
|
5383
5179
|
: undefined,
|
|
5384
|
-
BackupExpiryDateTime: output.BackupExpiryDateTime
|
|
5180
|
+
BackupExpiryDateTime: output.BackupExpiryDateTime != null
|
|
5385
5181
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupExpiryDateTime)))
|
|
5386
5182
|
: undefined,
|
|
5387
5183
|
BackupName: __expectString(output.BackupName),
|
|
@@ -5414,10 +5210,10 @@ var deserializeAws_json1_0BackupSummaries = function (output, context) {
|
|
|
5414
5210
|
var deserializeAws_json1_0BackupSummary = function (output, context) {
|
|
5415
5211
|
return {
|
|
5416
5212
|
BackupArn: __expectString(output.BackupArn),
|
|
5417
|
-
BackupCreationDateTime: output.BackupCreationDateTime
|
|
5213
|
+
BackupCreationDateTime: output.BackupCreationDateTime != null
|
|
5418
5214
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupCreationDateTime)))
|
|
5419
5215
|
: undefined,
|
|
5420
|
-
BackupExpiryDateTime: output.BackupExpiryDateTime
|
|
5216
|
+
BackupExpiryDateTime: output.BackupExpiryDateTime != null
|
|
5421
5217
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.BackupExpiryDateTime)))
|
|
5422
5218
|
: undefined,
|
|
5423
5219
|
BackupName: __expectString(output.BackupName),
|
|
@@ -5431,23 +5227,19 @@ var deserializeAws_json1_0BackupSummary = function (output, context) {
|
|
|
5431
5227
|
};
|
|
5432
5228
|
var deserializeAws_json1_0BatchExecuteStatementOutput = function (output, context) {
|
|
5433
5229
|
return {
|
|
5434
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5230
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5435
5231
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
5436
5232
|
: undefined,
|
|
5437
|
-
Responses: output.Responses
|
|
5438
|
-
? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
|
|
5439
|
-
: undefined,
|
|
5233
|
+
Responses: output.Responses != null ? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context) : undefined,
|
|
5440
5234
|
};
|
|
5441
5235
|
};
|
|
5442
5236
|
var deserializeAws_json1_0BatchGetItemOutput = function (output, context) {
|
|
5443
5237
|
return {
|
|
5444
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5238
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5445
5239
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
5446
5240
|
: undefined,
|
|
5447
|
-
Responses: output.Responses
|
|
5448
|
-
|
|
5449
|
-
: undefined,
|
|
5450
|
-
UnprocessedKeys: output.UnprocessedKeys !== undefined && output.UnprocessedKeys !== null
|
|
5241
|
+
Responses: output.Responses != null ? deserializeAws_json1_0BatchGetResponseMap(output.Responses, context) : undefined,
|
|
5242
|
+
UnprocessedKeys: output.UnprocessedKeys != null
|
|
5451
5243
|
? deserializeAws_json1_0BatchGetRequestMap(output.UnprocessedKeys, context)
|
|
5452
5244
|
: undefined,
|
|
5453
5245
|
};
|
|
@@ -5480,24 +5272,20 @@ var deserializeAws_json1_0BatchStatementError = function (output, context) {
|
|
|
5480
5272
|
};
|
|
5481
5273
|
var deserializeAws_json1_0BatchStatementResponse = function (output, context) {
|
|
5482
5274
|
return {
|
|
5483
|
-
Error: output.Error
|
|
5484
|
-
|
|
5485
|
-
: undefined,
|
|
5486
|
-
Item: output.Item !== undefined && output.Item !== null
|
|
5487
|
-
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
5488
|
-
: undefined,
|
|
5275
|
+
Error: output.Error != null ? deserializeAws_json1_0BatchStatementError(output.Error, context) : undefined,
|
|
5276
|
+
Item: output.Item != null ? deserializeAws_json1_0AttributeMap(output.Item, context) : undefined,
|
|
5489
5277
|
TableName: __expectString(output.TableName),
|
|
5490
5278
|
};
|
|
5491
5279
|
};
|
|
5492
5280
|
var deserializeAws_json1_0BatchWriteItemOutput = function (output, context) {
|
|
5493
5281
|
return {
|
|
5494
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5282
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5495
5283
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
5496
5284
|
: undefined,
|
|
5497
|
-
ItemCollectionMetrics: output.ItemCollectionMetrics
|
|
5285
|
+
ItemCollectionMetrics: output.ItemCollectionMetrics != null
|
|
5498
5286
|
? deserializeAws_json1_0ItemCollectionMetricsPerTable(output.ItemCollectionMetrics, context)
|
|
5499
5287
|
: undefined,
|
|
5500
|
-
UnprocessedItems: output.UnprocessedItems
|
|
5288
|
+
UnprocessedItems: output.UnprocessedItems != null
|
|
5501
5289
|
? deserializeAws_json1_0BatchWriteItemRequestMap(output.UnprocessedItems, context)
|
|
5502
5290
|
: undefined,
|
|
5503
5291
|
};
|
|
@@ -5515,7 +5303,7 @@ var deserializeAws_json1_0BatchWriteItemRequestMap = function (output, context)
|
|
|
5515
5303
|
var deserializeAws_json1_0BillingModeSummary = function (output, context) {
|
|
5516
5304
|
return {
|
|
5517
5305
|
BillingMode: __expectString(output.BillingMode),
|
|
5518
|
-
LastUpdateToPayPerRequestDateTime: output.LastUpdateToPayPerRequestDateTime
|
|
5306
|
+
LastUpdateToPayPerRequestDateTime: output.LastUpdateToPayPerRequestDateTime != null
|
|
5519
5307
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateToPayPerRequestDateTime)))
|
|
5520
5308
|
: undefined,
|
|
5521
5309
|
};
|
|
@@ -5534,9 +5322,7 @@ var deserializeAws_json1_0BinarySetAttributeValue = function (output, context) {
|
|
|
5534
5322
|
var deserializeAws_json1_0CancellationReason = function (output, context) {
|
|
5535
5323
|
return {
|
|
5536
5324
|
Code: __expectString(output.Code),
|
|
5537
|
-
Item: output.Item
|
|
5538
|
-
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
5539
|
-
: undefined,
|
|
5325
|
+
Item: output.Item != null ? deserializeAws_json1_0AttributeMap(output.Item, context) : undefined,
|
|
5540
5326
|
Message: __expectString(output.Message),
|
|
5541
5327
|
};
|
|
5542
5328
|
};
|
|
@@ -5566,16 +5352,14 @@ var deserializeAws_json1_0ConditionalCheckFailedException = function (output, co
|
|
|
5566
5352
|
var deserializeAws_json1_0ConsumedCapacity = function (output, context) {
|
|
5567
5353
|
return {
|
|
5568
5354
|
CapacityUnits: __limitedParseDouble(output.CapacityUnits),
|
|
5569
|
-
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes
|
|
5355
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
5570
5356
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.GlobalSecondaryIndexes, context)
|
|
5571
5357
|
: undefined,
|
|
5572
|
-
LocalSecondaryIndexes: output.LocalSecondaryIndexes
|
|
5358
|
+
LocalSecondaryIndexes: output.LocalSecondaryIndexes != null
|
|
5573
5359
|
? deserializeAws_json1_0SecondaryIndexesCapacityMap(output.LocalSecondaryIndexes, context)
|
|
5574
5360
|
: undefined,
|
|
5575
5361
|
ReadCapacityUnits: __limitedParseDouble(output.ReadCapacityUnits),
|
|
5576
|
-
Table: output.Table
|
|
5577
|
-
? deserializeAws_json1_0Capacity(output.Table, context)
|
|
5578
|
-
: undefined,
|
|
5362
|
+
Table: output.Table != null ? deserializeAws_json1_0Capacity(output.Table, context) : undefined,
|
|
5579
5363
|
TableName: __expectString(output.TableName),
|
|
5580
5364
|
WriteCapacityUnits: __limitedParseDouble(output.WriteCapacityUnits),
|
|
5581
5365
|
};
|
|
@@ -5594,7 +5378,7 @@ var deserializeAws_json1_0ConsumedCapacityMultiple = function (output, context)
|
|
|
5594
5378
|
var deserializeAws_json1_0ContinuousBackupsDescription = function (output, context) {
|
|
5595
5379
|
return {
|
|
5596
5380
|
ContinuousBackupsStatus: __expectString(output.ContinuousBackupsStatus),
|
|
5597
|
-
PointInTimeRecoveryDescription: output.PointInTimeRecoveryDescription
|
|
5381
|
+
PointInTimeRecoveryDescription: output.PointInTimeRecoveryDescription != null
|
|
5598
5382
|
? deserializeAws_json1_0PointInTimeRecoveryDescription(output.PointInTimeRecoveryDescription, context)
|
|
5599
5383
|
: undefined,
|
|
5600
5384
|
};
|
|
@@ -5635,82 +5419,78 @@ var deserializeAws_json1_0ContributorInsightsSummary = function (output, context
|
|
|
5635
5419
|
};
|
|
5636
5420
|
var deserializeAws_json1_0CreateBackupOutput = function (output, context) {
|
|
5637
5421
|
return {
|
|
5638
|
-
BackupDetails: output.BackupDetails
|
|
5639
|
-
? deserializeAws_json1_0BackupDetails(output.BackupDetails, context)
|
|
5640
|
-
: undefined,
|
|
5422
|
+
BackupDetails: output.BackupDetails != null ? deserializeAws_json1_0BackupDetails(output.BackupDetails, context) : undefined,
|
|
5641
5423
|
};
|
|
5642
5424
|
};
|
|
5643
5425
|
var deserializeAws_json1_0CreateGlobalTableOutput = function (output, context) {
|
|
5644
5426
|
return {
|
|
5645
|
-
GlobalTableDescription: output.GlobalTableDescription
|
|
5427
|
+
GlobalTableDescription: output.GlobalTableDescription != null
|
|
5646
5428
|
? deserializeAws_json1_0GlobalTableDescription(output.GlobalTableDescription, context)
|
|
5647
5429
|
: undefined,
|
|
5648
5430
|
};
|
|
5649
5431
|
};
|
|
5650
5432
|
var deserializeAws_json1_0CreateTableOutput = function (output, context) {
|
|
5651
5433
|
return {
|
|
5652
|
-
TableDescription: output.TableDescription
|
|
5434
|
+
TableDescription: output.TableDescription != null
|
|
5653
5435
|
? deserializeAws_json1_0TableDescription(output.TableDescription, context)
|
|
5654
5436
|
: undefined,
|
|
5655
5437
|
};
|
|
5656
5438
|
};
|
|
5657
5439
|
var deserializeAws_json1_0DeleteBackupOutput = function (output, context) {
|
|
5658
5440
|
return {
|
|
5659
|
-
BackupDescription: output.BackupDescription
|
|
5441
|
+
BackupDescription: output.BackupDescription != null
|
|
5660
5442
|
? deserializeAws_json1_0BackupDescription(output.BackupDescription, context)
|
|
5661
5443
|
: undefined,
|
|
5662
5444
|
};
|
|
5663
5445
|
};
|
|
5664
5446
|
var deserializeAws_json1_0DeleteItemOutput = function (output, context) {
|
|
5665
5447
|
return {
|
|
5666
|
-
Attributes: output.Attributes
|
|
5667
|
-
|
|
5668
|
-
: undefined,
|
|
5669
|
-
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
5448
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_0AttributeMap(output.Attributes, context) : undefined,
|
|
5449
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5670
5450
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
5671
5451
|
: undefined,
|
|
5672
|
-
ItemCollectionMetrics: output.ItemCollectionMetrics
|
|
5452
|
+
ItemCollectionMetrics: output.ItemCollectionMetrics != null
|
|
5673
5453
|
? deserializeAws_json1_0ItemCollectionMetrics(output.ItemCollectionMetrics, context)
|
|
5674
5454
|
: undefined,
|
|
5675
5455
|
};
|
|
5676
5456
|
};
|
|
5677
5457
|
var deserializeAws_json1_0DeleteRequest = function (output, context) {
|
|
5678
5458
|
return {
|
|
5679
|
-
Key: output.Key
|
|
5459
|
+
Key: output.Key != null ? deserializeAws_json1_0Key(output.Key, context) : undefined,
|
|
5680
5460
|
};
|
|
5681
5461
|
};
|
|
5682
5462
|
var deserializeAws_json1_0DeleteTableOutput = function (output, context) {
|
|
5683
5463
|
return {
|
|
5684
|
-
TableDescription: output.TableDescription
|
|
5464
|
+
TableDescription: output.TableDescription != null
|
|
5685
5465
|
? deserializeAws_json1_0TableDescription(output.TableDescription, context)
|
|
5686
5466
|
: undefined,
|
|
5687
5467
|
};
|
|
5688
5468
|
};
|
|
5689
5469
|
var deserializeAws_json1_0DescribeBackupOutput = function (output, context) {
|
|
5690
5470
|
return {
|
|
5691
|
-
BackupDescription: output.BackupDescription
|
|
5471
|
+
BackupDescription: output.BackupDescription != null
|
|
5692
5472
|
? deserializeAws_json1_0BackupDescription(output.BackupDescription, context)
|
|
5693
5473
|
: undefined,
|
|
5694
5474
|
};
|
|
5695
5475
|
};
|
|
5696
5476
|
var deserializeAws_json1_0DescribeContinuousBackupsOutput = function (output, context) {
|
|
5697
5477
|
return {
|
|
5698
|
-
ContinuousBackupsDescription: output.ContinuousBackupsDescription
|
|
5478
|
+
ContinuousBackupsDescription: output.ContinuousBackupsDescription != null
|
|
5699
5479
|
? deserializeAws_json1_0ContinuousBackupsDescription(output.ContinuousBackupsDescription, context)
|
|
5700
5480
|
: undefined,
|
|
5701
5481
|
};
|
|
5702
5482
|
};
|
|
5703
5483
|
var deserializeAws_json1_0DescribeContributorInsightsOutput = function (output, context) {
|
|
5704
5484
|
return {
|
|
5705
|
-
ContributorInsightsRuleList: output.ContributorInsightsRuleList
|
|
5485
|
+
ContributorInsightsRuleList: output.ContributorInsightsRuleList != null
|
|
5706
5486
|
? deserializeAws_json1_0ContributorInsightsRuleList(output.ContributorInsightsRuleList, context)
|
|
5707
5487
|
: undefined,
|
|
5708
5488
|
ContributorInsightsStatus: __expectString(output.ContributorInsightsStatus),
|
|
5709
|
-
FailureException: output.FailureException
|
|
5489
|
+
FailureException: output.FailureException != null
|
|
5710
5490
|
? deserializeAws_json1_0FailureException(output.FailureException, context)
|
|
5711
5491
|
: undefined,
|
|
5712
5492
|
IndexName: __expectString(output.IndexName),
|
|
5713
|
-
LastUpdateDateTime: output.LastUpdateDateTime
|
|
5493
|
+
LastUpdateDateTime: output.LastUpdateDateTime != null
|
|
5714
5494
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
|
|
5715
5495
|
: undefined,
|
|
5716
5496
|
TableName: __expectString(output.TableName),
|
|
@@ -5718,21 +5498,19 @@ var deserializeAws_json1_0DescribeContributorInsightsOutput = function (output,
|
|
|
5718
5498
|
};
|
|
5719
5499
|
var deserializeAws_json1_0DescribeEndpointsResponse = function (output, context) {
|
|
5720
5500
|
return {
|
|
5721
|
-
Endpoints: output.Endpoints
|
|
5722
|
-
? deserializeAws_json1_0Endpoints(output.Endpoints, context)
|
|
5723
|
-
: undefined,
|
|
5501
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_0Endpoints(output.Endpoints, context) : undefined,
|
|
5724
5502
|
};
|
|
5725
5503
|
};
|
|
5726
5504
|
var deserializeAws_json1_0DescribeExportOutput = function (output, context) {
|
|
5727
5505
|
return {
|
|
5728
|
-
ExportDescription: output.ExportDescription
|
|
5506
|
+
ExportDescription: output.ExportDescription != null
|
|
5729
5507
|
? deserializeAws_json1_0ExportDescription(output.ExportDescription, context)
|
|
5730
5508
|
: undefined,
|
|
5731
5509
|
};
|
|
5732
5510
|
};
|
|
5733
5511
|
var deserializeAws_json1_0DescribeGlobalTableOutput = function (output, context) {
|
|
5734
5512
|
return {
|
|
5735
|
-
GlobalTableDescription: output.GlobalTableDescription
|
|
5513
|
+
GlobalTableDescription: output.GlobalTableDescription != null
|
|
5736
5514
|
? deserializeAws_json1_0GlobalTableDescription(output.GlobalTableDescription, context)
|
|
5737
5515
|
: undefined,
|
|
5738
5516
|
};
|
|
@@ -5740,14 +5518,14 @@ var deserializeAws_json1_0DescribeGlobalTableOutput = function (output, context)
|
|
|
5740
5518
|
var deserializeAws_json1_0DescribeGlobalTableSettingsOutput = function (output, context) {
|
|
5741
5519
|
return {
|
|
5742
5520
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
5743
|
-
ReplicaSettings: output.ReplicaSettings
|
|
5521
|
+
ReplicaSettings: output.ReplicaSettings != null
|
|
5744
5522
|
? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
|
|
5745
5523
|
: undefined,
|
|
5746
5524
|
};
|
|
5747
5525
|
};
|
|
5748
5526
|
var deserializeAws_json1_0DescribeKinesisStreamingDestinationOutput = function (output, context) {
|
|
5749
5527
|
return {
|
|
5750
|
-
KinesisDataStreamDestinations: output.KinesisDataStreamDestinations
|
|
5528
|
+
KinesisDataStreamDestinations: output.KinesisDataStreamDestinations != null
|
|
5751
5529
|
? deserializeAws_json1_0KinesisDataStreamDestinations(output.KinesisDataStreamDestinations, context)
|
|
5752
5530
|
: undefined,
|
|
5753
5531
|
TableName: __expectString(output.TableName),
|
|
@@ -5763,21 +5541,19 @@ var deserializeAws_json1_0DescribeLimitsOutput = function (output, context) {
|
|
|
5763
5541
|
};
|
|
5764
5542
|
var deserializeAws_json1_0DescribeTableOutput = function (output, context) {
|
|
5765
5543
|
return {
|
|
5766
|
-
Table: output.Table
|
|
5767
|
-
? deserializeAws_json1_0TableDescription(output.Table, context)
|
|
5768
|
-
: undefined,
|
|
5544
|
+
Table: output.Table != null ? deserializeAws_json1_0TableDescription(output.Table, context) : undefined,
|
|
5769
5545
|
};
|
|
5770
5546
|
};
|
|
5771
5547
|
var deserializeAws_json1_0DescribeTableReplicaAutoScalingOutput = function (output, context) {
|
|
5772
5548
|
return {
|
|
5773
|
-
TableAutoScalingDescription: output.TableAutoScalingDescription
|
|
5549
|
+
TableAutoScalingDescription: output.TableAutoScalingDescription != null
|
|
5774
5550
|
? deserializeAws_json1_0TableAutoScalingDescription(output.TableAutoScalingDescription, context)
|
|
5775
5551
|
: undefined,
|
|
5776
5552
|
};
|
|
5777
5553
|
};
|
|
5778
5554
|
var deserializeAws_json1_0DescribeTimeToLiveOutput = function (output, context) {
|
|
5779
5555
|
return {
|
|
5780
|
-
TimeToLiveDescription: output.TimeToLiveDescription
|
|
5556
|
+
TimeToLiveDescription: output.TimeToLiveDescription != null
|
|
5781
5557
|
? deserializeAws_json1_0TimeToLiveDescription(output.TimeToLiveDescription, context)
|
|
5782
5558
|
: undefined,
|
|
5783
5559
|
};
|
|
@@ -5806,26 +5582,20 @@ var deserializeAws_json1_0Endpoints = function (output, context) {
|
|
|
5806
5582
|
};
|
|
5807
5583
|
var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
|
|
5808
5584
|
return {
|
|
5809
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5585
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5810
5586
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
5811
5587
|
: undefined,
|
|
5812
|
-
Items: output.Items
|
|
5813
|
-
|
|
5814
|
-
: undefined,
|
|
5815
|
-
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
5816
|
-
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
5817
|
-
: undefined,
|
|
5588
|
+
Items: output.Items != null ? deserializeAws_json1_0ItemList(output.Items, context) : undefined,
|
|
5589
|
+
LastEvaluatedKey: output.LastEvaluatedKey != null ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context) : undefined,
|
|
5818
5590
|
NextToken: __expectString(output.NextToken),
|
|
5819
5591
|
};
|
|
5820
5592
|
};
|
|
5821
5593
|
var deserializeAws_json1_0ExecuteTransactionOutput = function (output, context) {
|
|
5822
5594
|
return {
|
|
5823
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5595
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5824
5596
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
5825
5597
|
: undefined,
|
|
5826
|
-
Responses: output.Responses
|
|
5827
|
-
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
5828
|
-
: undefined,
|
|
5598
|
+
Responses: output.Responses != null ? deserializeAws_json1_0ItemResponseList(output.Responses, context) : undefined,
|
|
5829
5599
|
};
|
|
5830
5600
|
};
|
|
5831
5601
|
var deserializeAws_json1_0ExportConflictException = function (output, context) {
|
|
@@ -5837,16 +5607,12 @@ var deserializeAws_json1_0ExportDescription = function (output, context) {
|
|
|
5837
5607
|
return {
|
|
5838
5608
|
BilledSizeBytes: __expectLong(output.BilledSizeBytes),
|
|
5839
5609
|
ClientToken: __expectString(output.ClientToken),
|
|
5840
|
-
EndTime: output.EndTime
|
|
5841
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
5842
|
-
: undefined,
|
|
5610
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
5843
5611
|
ExportArn: __expectString(output.ExportArn),
|
|
5844
5612
|
ExportFormat: __expectString(output.ExportFormat),
|
|
5845
5613
|
ExportManifest: __expectString(output.ExportManifest),
|
|
5846
5614
|
ExportStatus: __expectString(output.ExportStatus),
|
|
5847
|
-
ExportTime: output.ExportTime
|
|
5848
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExportTime)))
|
|
5849
|
-
: undefined,
|
|
5615
|
+
ExportTime: output.ExportTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExportTime))) : undefined,
|
|
5850
5616
|
FailureCode: __expectString(output.FailureCode),
|
|
5851
5617
|
FailureMessage: __expectString(output.FailureMessage),
|
|
5852
5618
|
ItemCount: __expectLong(output.ItemCount),
|
|
@@ -5855,9 +5621,7 @@ var deserializeAws_json1_0ExportDescription = function (output, context) {
|
|
|
5855
5621
|
S3Prefix: __expectString(output.S3Prefix),
|
|
5856
5622
|
S3SseAlgorithm: __expectString(output.S3SseAlgorithm),
|
|
5857
5623
|
S3SseKmsKeyId: __expectString(output.S3SseKmsKeyId),
|
|
5858
|
-
StartTime: output.StartTime
|
|
5859
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
5860
|
-
: undefined,
|
|
5624
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
5861
5625
|
TableArn: __expectString(output.TableArn),
|
|
5862
5626
|
TableId: __expectString(output.TableId),
|
|
5863
5627
|
};
|
|
@@ -5886,7 +5650,7 @@ var deserializeAws_json1_0ExportSummary = function (output, context) {
|
|
|
5886
5650
|
};
|
|
5887
5651
|
var deserializeAws_json1_0ExportTableToPointInTimeOutput = function (output, context) {
|
|
5888
5652
|
return {
|
|
5889
|
-
ExportDescription: output.ExportDescription
|
|
5653
|
+
ExportDescription: output.ExportDescription != null
|
|
5890
5654
|
? deserializeAws_json1_0ExportDescription(output.ExportDescription, context)
|
|
5891
5655
|
: undefined,
|
|
5892
5656
|
};
|
|
@@ -5909,12 +5673,10 @@ var deserializeAws_json1_0FailureException = function (output, context) {
|
|
|
5909
5673
|
};
|
|
5910
5674
|
var deserializeAws_json1_0GetItemOutput = function (output, context) {
|
|
5911
5675
|
return {
|
|
5912
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
5676
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
5913
5677
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
5914
5678
|
: undefined,
|
|
5915
|
-
Item: output.Item
|
|
5916
|
-
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
5917
|
-
: undefined,
|
|
5679
|
+
Item: output.Item != null ? deserializeAws_json1_0AttributeMap(output.Item, context) : undefined,
|
|
5918
5680
|
};
|
|
5919
5681
|
};
|
|
5920
5682
|
var deserializeAws_json1_0GlobalSecondaryIndexDescription = function (output, context) {
|
|
@@ -5925,13 +5687,9 @@ var deserializeAws_json1_0GlobalSecondaryIndexDescription = function (output, co
|
|
|
5925
5687
|
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
5926
5688
|
IndexStatus: __expectString(output.IndexStatus),
|
|
5927
5689
|
ItemCount: __expectLong(output.ItemCount),
|
|
5928
|
-
KeySchema: output.KeySchema
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
Projection: output.Projection !== undefined && output.Projection !== null
|
|
5932
|
-
? deserializeAws_json1_0Projection(output.Projection, context)
|
|
5933
|
-
: undefined,
|
|
5934
|
-
ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
|
|
5690
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
5691
|
+
Projection: output.Projection != null ? deserializeAws_json1_0Projection(output.Projection, context) : undefined,
|
|
5692
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
5935
5693
|
? deserializeAws_json1_0ProvisionedThroughputDescription(output.ProvisionedThroughput, context)
|
|
5936
5694
|
: undefined,
|
|
5937
5695
|
};
|
|
@@ -5961,13 +5719,9 @@ var deserializeAws_json1_0GlobalSecondaryIndexes = function (output, context) {
|
|
|
5961
5719
|
var deserializeAws_json1_0GlobalSecondaryIndexInfo = function (output, context) {
|
|
5962
5720
|
return {
|
|
5963
5721
|
IndexName: __expectString(output.IndexName),
|
|
5964
|
-
KeySchema: output.KeySchema
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
Projection: output.Projection !== undefined && output.Projection !== null
|
|
5968
|
-
? deserializeAws_json1_0Projection(output.Projection, context)
|
|
5969
|
-
: undefined,
|
|
5970
|
-
ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
|
|
5722
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
5723
|
+
Projection: output.Projection != null ? deserializeAws_json1_0Projection(output.Projection, context) : undefined,
|
|
5724
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
5971
5725
|
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
5972
5726
|
: undefined,
|
|
5973
5727
|
};
|
|
@@ -5975,9 +5729,7 @@ var deserializeAws_json1_0GlobalSecondaryIndexInfo = function (output, context)
|
|
|
5975
5729
|
var deserializeAws_json1_0GlobalTable = function (output, context) {
|
|
5976
5730
|
return {
|
|
5977
5731
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
5978
|
-
ReplicationGroup: output.ReplicationGroup
|
|
5979
|
-
? deserializeAws_json1_0ReplicaList(output.ReplicationGroup, context)
|
|
5980
|
-
: undefined,
|
|
5732
|
+
ReplicationGroup: output.ReplicationGroup != null ? deserializeAws_json1_0ReplicaList(output.ReplicationGroup, context) : undefined,
|
|
5981
5733
|
};
|
|
5982
5734
|
};
|
|
5983
5735
|
var deserializeAws_json1_0GlobalTableAlreadyExistsException = function (output, context) {
|
|
@@ -5987,13 +5739,13 @@ var deserializeAws_json1_0GlobalTableAlreadyExistsException = function (output,
|
|
|
5987
5739
|
};
|
|
5988
5740
|
var deserializeAws_json1_0GlobalTableDescription = function (output, context) {
|
|
5989
5741
|
return {
|
|
5990
|
-
CreationDateTime: output.CreationDateTime
|
|
5742
|
+
CreationDateTime: output.CreationDateTime != null
|
|
5991
5743
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDateTime)))
|
|
5992
5744
|
: undefined,
|
|
5993
5745
|
GlobalTableArn: __expectString(output.GlobalTableArn),
|
|
5994
5746
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
5995
5747
|
GlobalTableStatus: __expectString(output.GlobalTableStatus),
|
|
5996
|
-
ReplicationGroup: output.ReplicationGroup
|
|
5748
|
+
ReplicationGroup: output.ReplicationGroup != null
|
|
5997
5749
|
? deserializeAws_json1_0ReplicaDescriptionList(output.ReplicationGroup, context)
|
|
5998
5750
|
: undefined,
|
|
5999
5751
|
};
|
|
@@ -6056,10 +5808,10 @@ var deserializeAws_json1_0ItemCollectionKeyAttributeMap = function (output, cont
|
|
|
6056
5808
|
};
|
|
6057
5809
|
var deserializeAws_json1_0ItemCollectionMetrics = function (output, context) {
|
|
6058
5810
|
return {
|
|
6059
|
-
ItemCollectionKey: output.ItemCollectionKey
|
|
5811
|
+
ItemCollectionKey: output.ItemCollectionKey != null
|
|
6060
5812
|
? deserializeAws_json1_0ItemCollectionKeyAttributeMap(output.ItemCollectionKey, context)
|
|
6061
5813
|
: undefined,
|
|
6062
|
-
SizeEstimateRangeGB: output.SizeEstimateRangeGB
|
|
5814
|
+
SizeEstimateRangeGB: output.SizeEstimateRangeGB != null
|
|
6063
5815
|
? deserializeAws_json1_0ItemCollectionSizeEstimateRange(output.SizeEstimateRangeGB, context)
|
|
6064
5816
|
: undefined,
|
|
6065
5817
|
};
|
|
@@ -6114,9 +5866,7 @@ var deserializeAws_json1_0ItemList = function (output, context) {
|
|
|
6114
5866
|
};
|
|
6115
5867
|
var deserializeAws_json1_0ItemResponse = function (output, context) {
|
|
6116
5868
|
return {
|
|
6117
|
-
Item: output.Item
|
|
6118
|
-
? deserializeAws_json1_0AttributeMap(output.Item, context)
|
|
6119
|
-
: undefined,
|
|
5869
|
+
Item: output.Item != null ? deserializeAws_json1_0AttributeMap(output.Item, context) : undefined,
|
|
6120
5870
|
};
|
|
6121
5871
|
};
|
|
6122
5872
|
var deserializeAws_json1_0ItemResponseList = function (output, context) {
|
|
@@ -6153,16 +5903,14 @@ var deserializeAws_json1_0KeyList = function (output, context) {
|
|
|
6153
5903
|
};
|
|
6154
5904
|
var deserializeAws_json1_0KeysAndAttributes = function (output, context) {
|
|
6155
5905
|
return {
|
|
6156
|
-
AttributesToGet: output.AttributesToGet
|
|
5906
|
+
AttributesToGet: output.AttributesToGet != null
|
|
6157
5907
|
? deserializeAws_json1_0AttributeNameList(output.AttributesToGet, context)
|
|
6158
5908
|
: undefined,
|
|
6159
5909
|
ConsistentRead: __expectBoolean(output.ConsistentRead),
|
|
6160
|
-
ExpressionAttributeNames: output.ExpressionAttributeNames
|
|
5910
|
+
ExpressionAttributeNames: output.ExpressionAttributeNames != null
|
|
6161
5911
|
? deserializeAws_json1_0ExpressionAttributeNameMap(output.ExpressionAttributeNames, context)
|
|
6162
5912
|
: undefined,
|
|
6163
|
-
Keys: output.Keys
|
|
6164
|
-
? deserializeAws_json1_0KeyList(output.Keys, context)
|
|
6165
|
-
: undefined,
|
|
5913
|
+
Keys: output.Keys != null ? deserializeAws_json1_0KeyList(output.Keys, context) : undefined,
|
|
6166
5914
|
ProjectionExpression: __expectString(output.ProjectionExpression),
|
|
6167
5915
|
};
|
|
6168
5916
|
};
|
|
@@ -6226,7 +5974,7 @@ var deserializeAws_json1_0ListAttributeValue = function (output, context) {
|
|
|
6226
5974
|
};
|
|
6227
5975
|
var deserializeAws_json1_0ListBackupsOutput = function (output, context) {
|
|
6228
5976
|
return {
|
|
6229
|
-
BackupSummaries: output.BackupSummaries
|
|
5977
|
+
BackupSummaries: output.BackupSummaries != null
|
|
6230
5978
|
? deserializeAws_json1_0BackupSummaries(output.BackupSummaries, context)
|
|
6231
5979
|
: undefined,
|
|
6232
5980
|
LastEvaluatedBackupArn: __expectString(output.LastEvaluatedBackupArn),
|
|
@@ -6234,7 +5982,7 @@ var deserializeAws_json1_0ListBackupsOutput = function (output, context) {
|
|
|
6234
5982
|
};
|
|
6235
5983
|
var deserializeAws_json1_0ListContributorInsightsOutput = function (output, context) {
|
|
6236
5984
|
return {
|
|
6237
|
-
ContributorInsightsSummaries: output.ContributorInsightsSummaries
|
|
5985
|
+
ContributorInsightsSummaries: output.ContributorInsightsSummaries != null
|
|
6238
5986
|
? deserializeAws_json1_0ContributorInsightsSummaries(output.ContributorInsightsSummaries, context)
|
|
6239
5987
|
: undefined,
|
|
6240
5988
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6242,7 +5990,7 @@ var deserializeAws_json1_0ListContributorInsightsOutput = function (output, cont
|
|
|
6242
5990
|
};
|
|
6243
5991
|
var deserializeAws_json1_0ListExportsOutput = function (output, context) {
|
|
6244
5992
|
return {
|
|
6245
|
-
ExportSummaries: output.ExportSummaries
|
|
5993
|
+
ExportSummaries: output.ExportSummaries != null
|
|
6246
5994
|
? deserializeAws_json1_0ExportSummaries(output.ExportSummaries, context)
|
|
6247
5995
|
: undefined,
|
|
6248
5996
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6250,26 +5998,20 @@ var deserializeAws_json1_0ListExportsOutput = function (output, context) {
|
|
|
6250
5998
|
};
|
|
6251
5999
|
var deserializeAws_json1_0ListGlobalTablesOutput = function (output, context) {
|
|
6252
6000
|
return {
|
|
6253
|
-
GlobalTables: output.GlobalTables
|
|
6254
|
-
? deserializeAws_json1_0GlobalTableList(output.GlobalTables, context)
|
|
6255
|
-
: undefined,
|
|
6001
|
+
GlobalTables: output.GlobalTables != null ? deserializeAws_json1_0GlobalTableList(output.GlobalTables, context) : undefined,
|
|
6256
6002
|
LastEvaluatedGlobalTableName: __expectString(output.LastEvaluatedGlobalTableName),
|
|
6257
6003
|
};
|
|
6258
6004
|
};
|
|
6259
6005
|
var deserializeAws_json1_0ListTablesOutput = function (output, context) {
|
|
6260
6006
|
return {
|
|
6261
6007
|
LastEvaluatedTableName: __expectString(output.LastEvaluatedTableName),
|
|
6262
|
-
TableNames: output.TableNames
|
|
6263
|
-
? deserializeAws_json1_0TableNameList(output.TableNames, context)
|
|
6264
|
-
: undefined,
|
|
6008
|
+
TableNames: output.TableNames != null ? deserializeAws_json1_0TableNameList(output.TableNames, context) : undefined,
|
|
6265
6009
|
};
|
|
6266
6010
|
};
|
|
6267
6011
|
var deserializeAws_json1_0ListTagsOfResourceOutput = function (output, context) {
|
|
6268
6012
|
return {
|
|
6269
6013
|
NextToken: __expectString(output.NextToken),
|
|
6270
|
-
Tags: output.Tags
|
|
6271
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
6272
|
-
: undefined,
|
|
6014
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
6273
6015
|
};
|
|
6274
6016
|
};
|
|
6275
6017
|
var deserializeAws_json1_0LocalSecondaryIndexDescription = function (output, context) {
|
|
@@ -6278,12 +6020,8 @@ var deserializeAws_json1_0LocalSecondaryIndexDescription = function (output, con
|
|
|
6278
6020
|
IndexName: __expectString(output.IndexName),
|
|
6279
6021
|
IndexSizeBytes: __expectLong(output.IndexSizeBytes),
|
|
6280
6022
|
ItemCount: __expectLong(output.ItemCount),
|
|
6281
|
-
KeySchema: output.KeySchema
|
|
6282
|
-
|
|
6283
|
-
: undefined,
|
|
6284
|
-
Projection: output.Projection !== undefined && output.Projection !== null
|
|
6285
|
-
? deserializeAws_json1_0Projection(output.Projection, context)
|
|
6286
|
-
: undefined,
|
|
6023
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
6024
|
+
Projection: output.Projection != null ? deserializeAws_json1_0Projection(output.Projection, context) : undefined,
|
|
6287
6025
|
};
|
|
6288
6026
|
};
|
|
6289
6027
|
var deserializeAws_json1_0LocalSecondaryIndexDescriptionList = function (output, context) {
|
|
@@ -6311,12 +6049,8 @@ var deserializeAws_json1_0LocalSecondaryIndexes = function (output, context) {
|
|
|
6311
6049
|
var deserializeAws_json1_0LocalSecondaryIndexInfo = function (output, context) {
|
|
6312
6050
|
return {
|
|
6313
6051
|
IndexName: __expectString(output.IndexName),
|
|
6314
|
-
KeySchema: output.KeySchema
|
|
6315
|
-
|
|
6316
|
-
: undefined,
|
|
6317
|
-
Projection: output.Projection !== undefined && output.Projection !== null
|
|
6318
|
-
? deserializeAws_json1_0Projection(output.Projection, context)
|
|
6319
|
-
: undefined,
|
|
6052
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
6053
|
+
Projection: output.Projection != null ? deserializeAws_json1_0Projection(output.Projection, context) : undefined,
|
|
6320
6054
|
};
|
|
6321
6055
|
};
|
|
6322
6056
|
var deserializeAws_json1_0MapAttributeValue = function (output, context) {
|
|
@@ -6364,10 +6098,10 @@ var deserializeAws_json1_0PartiQLBatchResponse = function (output, context) {
|
|
|
6364
6098
|
};
|
|
6365
6099
|
var deserializeAws_json1_0PointInTimeRecoveryDescription = function (output, context) {
|
|
6366
6100
|
return {
|
|
6367
|
-
EarliestRestorableDateTime: output.EarliestRestorableDateTime
|
|
6101
|
+
EarliestRestorableDateTime: output.EarliestRestorableDateTime != null
|
|
6368
6102
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EarliestRestorableDateTime)))
|
|
6369
6103
|
: undefined,
|
|
6370
|
-
LatestRestorableDateTime: output.LatestRestorableDateTime
|
|
6104
|
+
LatestRestorableDateTime: output.LatestRestorableDateTime != null
|
|
6371
6105
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestRestorableDateTime)))
|
|
6372
6106
|
: undefined,
|
|
6373
6107
|
PointInTimeRecoveryStatus: __expectString(output.PointInTimeRecoveryStatus),
|
|
@@ -6380,7 +6114,7 @@ var deserializeAws_json1_0PointInTimeRecoveryUnavailableException = function (ou
|
|
|
6380
6114
|
};
|
|
6381
6115
|
var deserializeAws_json1_0Projection = function (output, context) {
|
|
6382
6116
|
return {
|
|
6383
|
-
NonKeyAttributes: output.NonKeyAttributes
|
|
6117
|
+
NonKeyAttributes: output.NonKeyAttributes != null
|
|
6384
6118
|
? deserializeAws_json1_0NonKeyAttributeNameList(output.NonKeyAttributes, context)
|
|
6385
6119
|
: undefined,
|
|
6386
6120
|
ProjectionType: __expectString(output.ProjectionType),
|
|
@@ -6394,10 +6128,10 @@ var deserializeAws_json1_0ProvisionedThroughput = function (output, context) {
|
|
|
6394
6128
|
};
|
|
6395
6129
|
var deserializeAws_json1_0ProvisionedThroughputDescription = function (output, context) {
|
|
6396
6130
|
return {
|
|
6397
|
-
LastDecreaseDateTime: output.LastDecreaseDateTime
|
|
6131
|
+
LastDecreaseDateTime: output.LastDecreaseDateTime != null
|
|
6398
6132
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastDecreaseDateTime)))
|
|
6399
6133
|
: undefined,
|
|
6400
|
-
LastIncreaseDateTime: output.LastIncreaseDateTime
|
|
6134
|
+
LastIncreaseDateTime: output.LastIncreaseDateTime != null
|
|
6401
6135
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastIncreaseDateTime)))
|
|
6402
6136
|
: undefined,
|
|
6403
6137
|
NumberOfDecreasesToday: __expectLong(output.NumberOfDecreasesToday),
|
|
@@ -6427,36 +6161,28 @@ var deserializeAws_json1_0PutItemInputAttributeMap = function (output, context)
|
|
|
6427
6161
|
};
|
|
6428
6162
|
var deserializeAws_json1_0PutItemOutput = function (output, context) {
|
|
6429
6163
|
return {
|
|
6430
|
-
Attributes: output.Attributes
|
|
6431
|
-
|
|
6432
|
-
: undefined,
|
|
6433
|
-
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6164
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_0AttributeMap(output.Attributes, context) : undefined,
|
|
6165
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6434
6166
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6435
6167
|
: undefined,
|
|
6436
|
-
ItemCollectionMetrics: output.ItemCollectionMetrics
|
|
6168
|
+
ItemCollectionMetrics: output.ItemCollectionMetrics != null
|
|
6437
6169
|
? deserializeAws_json1_0ItemCollectionMetrics(output.ItemCollectionMetrics, context)
|
|
6438
6170
|
: undefined,
|
|
6439
6171
|
};
|
|
6440
6172
|
};
|
|
6441
6173
|
var deserializeAws_json1_0PutRequest = function (output, context) {
|
|
6442
6174
|
return {
|
|
6443
|
-
Item: output.Item
|
|
6444
|
-
? deserializeAws_json1_0PutItemInputAttributeMap(output.Item, context)
|
|
6445
|
-
: undefined,
|
|
6175
|
+
Item: output.Item != null ? deserializeAws_json1_0PutItemInputAttributeMap(output.Item, context) : undefined,
|
|
6446
6176
|
};
|
|
6447
6177
|
};
|
|
6448
6178
|
var deserializeAws_json1_0QueryOutput = function (output, context) {
|
|
6449
6179
|
return {
|
|
6450
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
6180
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6451
6181
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6452
6182
|
: undefined,
|
|
6453
6183
|
Count: __expectInt32(output.Count),
|
|
6454
|
-
Items: output.Items
|
|
6455
|
-
|
|
6456
|
-
: undefined,
|
|
6457
|
-
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
6458
|
-
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
6459
|
-
: undefined,
|
|
6184
|
+
Items: output.Items != null ? deserializeAws_json1_0ItemList(output.Items, context) : undefined,
|
|
6185
|
+
LastEvaluatedKey: output.LastEvaluatedKey != null ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context) : undefined,
|
|
6460
6186
|
ScannedCount: __expectInt32(output.ScannedCount),
|
|
6461
6187
|
};
|
|
6462
6188
|
};
|
|
@@ -6472,16 +6198,14 @@ var deserializeAws_json1_0ReplicaAlreadyExistsException = function (output, cont
|
|
|
6472
6198
|
};
|
|
6473
6199
|
var deserializeAws_json1_0ReplicaAutoScalingDescription = function (output, context) {
|
|
6474
6200
|
return {
|
|
6475
|
-
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes
|
|
6201
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6476
6202
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
6477
6203
|
: undefined,
|
|
6478
6204
|
RegionName: __expectString(output.RegionName),
|
|
6479
|
-
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings
|
|
6480
|
-
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
6205
|
+
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings != null
|
|
6481
6206
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
6482
6207
|
: undefined,
|
|
6483
|
-
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings
|
|
6484
|
-
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
6208
|
+
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings != null
|
|
6485
6209
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
6486
6210
|
: undefined,
|
|
6487
6211
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
@@ -6500,21 +6224,21 @@ var deserializeAws_json1_0ReplicaAutoScalingDescriptionList = function (output,
|
|
|
6500
6224
|
};
|
|
6501
6225
|
var deserializeAws_json1_0ReplicaDescription = function (output, context) {
|
|
6502
6226
|
return {
|
|
6503
|
-
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes
|
|
6227
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6504
6228
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
6505
6229
|
: undefined,
|
|
6506
6230
|
KMSMasterKeyId: __expectString(output.KMSMasterKeyId),
|
|
6507
|
-
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride
|
|
6231
|
+
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
|
|
6508
6232
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
6509
6233
|
: undefined,
|
|
6510
6234
|
RegionName: __expectString(output.RegionName),
|
|
6511
|
-
ReplicaInaccessibleDateTime: output.ReplicaInaccessibleDateTime
|
|
6235
|
+
ReplicaInaccessibleDateTime: output.ReplicaInaccessibleDateTime != null
|
|
6512
6236
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplicaInaccessibleDateTime)))
|
|
6513
6237
|
: undefined,
|
|
6514
6238
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
6515
6239
|
ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
|
|
6516
6240
|
ReplicaStatusPercentProgress: __expectString(output.ReplicaStatusPercentProgress),
|
|
6517
|
-
ReplicaTableClassSummary: output.ReplicaTableClassSummary
|
|
6241
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary != null
|
|
6518
6242
|
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
6519
6243
|
: undefined,
|
|
6520
6244
|
};
|
|
@@ -6534,12 +6258,10 @@ var deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescription = fu
|
|
|
6534
6258
|
return {
|
|
6535
6259
|
IndexName: __expectString(output.IndexName),
|
|
6536
6260
|
IndexStatus: __expectString(output.IndexStatus),
|
|
6537
|
-
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings
|
|
6538
|
-
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
6261
|
+
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings != null
|
|
6539
6262
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
6540
6263
|
: undefined,
|
|
6541
|
-
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings
|
|
6542
|
-
output.ProvisionedWriteCapacityAutoScalingSettings !== null
|
|
6264
|
+
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings != null
|
|
6543
6265
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedWriteCapacityAutoScalingSettings, context)
|
|
6544
6266
|
: undefined,
|
|
6545
6267
|
};
|
|
@@ -6558,7 +6280,7 @@ var deserializeAws_json1_0ReplicaGlobalSecondaryIndexAutoScalingDescriptionList
|
|
|
6558
6280
|
var deserializeAws_json1_0ReplicaGlobalSecondaryIndexDescription = function (output, context) {
|
|
6559
6281
|
return {
|
|
6560
6282
|
IndexName: __expectString(output.IndexName),
|
|
6561
|
-
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride
|
|
6283
|
+
ProvisionedThroughputOverride: output.ProvisionedThroughputOverride != null
|
|
6562
6284
|
? deserializeAws_json1_0ProvisionedThroughputOverride(output.ProvisionedThroughputOverride, context)
|
|
6563
6285
|
: undefined,
|
|
6564
6286
|
};
|
|
@@ -6578,13 +6300,11 @@ var deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescription = funct
|
|
|
6578
6300
|
return {
|
|
6579
6301
|
IndexName: __expectString(output.IndexName),
|
|
6580
6302
|
IndexStatus: __expectString(output.IndexStatus),
|
|
6581
|
-
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings
|
|
6582
|
-
output.ProvisionedReadCapacityAutoScalingSettings !== null
|
|
6303
|
+
ProvisionedReadCapacityAutoScalingSettings: output.ProvisionedReadCapacityAutoScalingSettings != null
|
|
6583
6304
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedReadCapacityAutoScalingSettings, context)
|
|
6584
6305
|
: undefined,
|
|
6585
6306
|
ProvisionedReadCapacityUnits: __expectLong(output.ProvisionedReadCapacityUnits),
|
|
6586
|
-
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings
|
|
6587
|
-
output.ProvisionedWriteCapacityAutoScalingSettings !== null
|
|
6307
|
+
ProvisionedWriteCapacityAutoScalingSettings: output.ProvisionedWriteCapacityAutoScalingSettings != null
|
|
6588
6308
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ProvisionedWriteCapacityAutoScalingSettings, context)
|
|
6589
6309
|
: undefined,
|
|
6590
6310
|
ProvisionedWriteCapacityUnits: __expectLong(output.ProvisionedWriteCapacityUnits),
|
|
@@ -6620,24 +6340,22 @@ var deserializeAws_json1_0ReplicaNotFoundException = function (output, context)
|
|
|
6620
6340
|
var deserializeAws_json1_0ReplicaSettingsDescription = function (output, context) {
|
|
6621
6341
|
return {
|
|
6622
6342
|
RegionName: __expectString(output.RegionName),
|
|
6623
|
-
ReplicaBillingModeSummary: output.ReplicaBillingModeSummary
|
|
6343
|
+
ReplicaBillingModeSummary: output.ReplicaBillingModeSummary != null
|
|
6624
6344
|
? deserializeAws_json1_0BillingModeSummary(output.ReplicaBillingModeSummary, context)
|
|
6625
6345
|
: undefined,
|
|
6626
|
-
ReplicaGlobalSecondaryIndexSettings: output.ReplicaGlobalSecondaryIndexSettings
|
|
6346
|
+
ReplicaGlobalSecondaryIndexSettings: output.ReplicaGlobalSecondaryIndexSettings != null
|
|
6627
6347
|
? deserializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsDescriptionList(output.ReplicaGlobalSecondaryIndexSettings, context)
|
|
6628
6348
|
: undefined,
|
|
6629
|
-
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings
|
|
6630
|
-
output.ReplicaProvisionedReadCapacityAutoScalingSettings !== null
|
|
6349
|
+
ReplicaProvisionedReadCapacityAutoScalingSettings: output.ReplicaProvisionedReadCapacityAutoScalingSettings != null
|
|
6631
6350
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedReadCapacityAutoScalingSettings, context)
|
|
6632
6351
|
: undefined,
|
|
6633
6352
|
ReplicaProvisionedReadCapacityUnits: __expectLong(output.ReplicaProvisionedReadCapacityUnits),
|
|
6634
|
-
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings
|
|
6635
|
-
output.ReplicaProvisionedWriteCapacityAutoScalingSettings !== null
|
|
6353
|
+
ReplicaProvisionedWriteCapacityAutoScalingSettings: output.ReplicaProvisionedWriteCapacityAutoScalingSettings != null
|
|
6636
6354
|
? deserializeAws_json1_0AutoScalingSettingsDescription(output.ReplicaProvisionedWriteCapacityAutoScalingSettings, context)
|
|
6637
6355
|
: undefined,
|
|
6638
6356
|
ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
6639
6357
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
6640
|
-
ReplicaTableClassSummary: output.ReplicaTableClassSummary
|
|
6358
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary != null
|
|
6641
6359
|
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
6642
6360
|
: undefined,
|
|
6643
6361
|
};
|
|
@@ -6670,7 +6388,7 @@ var deserializeAws_json1_0ResourceNotFoundException = function (output, context)
|
|
|
6670
6388
|
};
|
|
6671
6389
|
var deserializeAws_json1_0RestoreSummary = function (output, context) {
|
|
6672
6390
|
return {
|
|
6673
|
-
RestoreDateTime: output.RestoreDateTime
|
|
6391
|
+
RestoreDateTime: output.RestoreDateTime != null
|
|
6674
6392
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RestoreDateTime)))
|
|
6675
6393
|
: undefined,
|
|
6676
6394
|
RestoreInProgress: __expectBoolean(output.RestoreInProgress),
|
|
@@ -6680,30 +6398,26 @@ var deserializeAws_json1_0RestoreSummary = function (output, context) {
|
|
|
6680
6398
|
};
|
|
6681
6399
|
var deserializeAws_json1_0RestoreTableFromBackupOutput = function (output, context) {
|
|
6682
6400
|
return {
|
|
6683
|
-
TableDescription: output.TableDescription
|
|
6401
|
+
TableDescription: output.TableDescription != null
|
|
6684
6402
|
? deserializeAws_json1_0TableDescription(output.TableDescription, context)
|
|
6685
6403
|
: undefined,
|
|
6686
6404
|
};
|
|
6687
6405
|
};
|
|
6688
6406
|
var deserializeAws_json1_0RestoreTableToPointInTimeOutput = function (output, context) {
|
|
6689
6407
|
return {
|
|
6690
|
-
TableDescription: output.TableDescription
|
|
6408
|
+
TableDescription: output.TableDescription != null
|
|
6691
6409
|
? deserializeAws_json1_0TableDescription(output.TableDescription, context)
|
|
6692
6410
|
: undefined,
|
|
6693
6411
|
};
|
|
6694
6412
|
};
|
|
6695
6413
|
var deserializeAws_json1_0ScanOutput = function (output, context) {
|
|
6696
6414
|
return {
|
|
6697
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
6415
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6698
6416
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6699
6417
|
: undefined,
|
|
6700
6418
|
Count: __expectInt32(output.Count),
|
|
6701
|
-
Items: output.Items
|
|
6702
|
-
|
|
6703
|
-
: undefined,
|
|
6704
|
-
LastEvaluatedKey: output.LastEvaluatedKey !== undefined && output.LastEvaluatedKey !== null
|
|
6705
|
-
? deserializeAws_json1_0Key(output.LastEvaluatedKey, context)
|
|
6706
|
-
: undefined,
|
|
6419
|
+
Items: output.Items != null ? deserializeAws_json1_0ItemList(output.Items, context) : undefined,
|
|
6420
|
+
LastEvaluatedKey: output.LastEvaluatedKey != null ? deserializeAws_json1_0Key(output.LastEvaluatedKey, context) : undefined,
|
|
6707
6421
|
ScannedCount: __expectInt32(output.ScannedCount),
|
|
6708
6422
|
};
|
|
6709
6423
|
};
|
|
@@ -6721,14 +6435,12 @@ var deserializeAws_json1_0SourceTableDetails = function (output, context) {
|
|
|
6721
6435
|
return {
|
|
6722
6436
|
BillingMode: __expectString(output.BillingMode),
|
|
6723
6437
|
ItemCount: __expectLong(output.ItemCount),
|
|
6724
|
-
KeySchema: output.KeySchema
|
|
6725
|
-
|
|
6726
|
-
: undefined,
|
|
6727
|
-
ProvisionedThroughput: output.ProvisionedThroughput !== undefined && output.ProvisionedThroughput !== null
|
|
6438
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
6439
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
6728
6440
|
? deserializeAws_json1_0ProvisionedThroughput(output.ProvisionedThroughput, context)
|
|
6729
6441
|
: undefined,
|
|
6730
6442
|
TableArn: __expectString(output.TableArn),
|
|
6731
|
-
TableCreationDateTime: output.TableCreationDateTime
|
|
6443
|
+
TableCreationDateTime: output.TableCreationDateTime != null
|
|
6732
6444
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TableCreationDateTime)))
|
|
6733
6445
|
: undefined,
|
|
6734
6446
|
TableId: __expectString(output.TableId),
|
|
@@ -6738,26 +6450,24 @@ var deserializeAws_json1_0SourceTableDetails = function (output, context) {
|
|
|
6738
6450
|
};
|
|
6739
6451
|
var deserializeAws_json1_0SourceTableFeatureDetails = function (output, context) {
|
|
6740
6452
|
return {
|
|
6741
|
-
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes
|
|
6453
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6742
6454
|
? deserializeAws_json1_0GlobalSecondaryIndexes(output.GlobalSecondaryIndexes, context)
|
|
6743
6455
|
: undefined,
|
|
6744
|
-
LocalSecondaryIndexes: output.LocalSecondaryIndexes
|
|
6456
|
+
LocalSecondaryIndexes: output.LocalSecondaryIndexes != null
|
|
6745
6457
|
? deserializeAws_json1_0LocalSecondaryIndexes(output.LocalSecondaryIndexes, context)
|
|
6746
6458
|
: undefined,
|
|
6747
|
-
SSEDescription: output.SSEDescription
|
|
6748
|
-
|
|
6749
|
-
: undefined,
|
|
6750
|
-
StreamDescription: output.StreamDescription !== undefined && output.StreamDescription !== null
|
|
6459
|
+
SSEDescription: output.SSEDescription != null ? deserializeAws_json1_0SSEDescription(output.SSEDescription, context) : undefined,
|
|
6460
|
+
StreamDescription: output.StreamDescription != null
|
|
6751
6461
|
? deserializeAws_json1_0StreamSpecification(output.StreamDescription, context)
|
|
6752
6462
|
: undefined,
|
|
6753
|
-
TimeToLiveDescription: output.TimeToLiveDescription
|
|
6463
|
+
TimeToLiveDescription: output.TimeToLiveDescription != null
|
|
6754
6464
|
? deserializeAws_json1_0TimeToLiveDescription(output.TimeToLiveDescription, context)
|
|
6755
6465
|
: undefined,
|
|
6756
6466
|
};
|
|
6757
6467
|
};
|
|
6758
6468
|
var deserializeAws_json1_0SSEDescription = function (output, context) {
|
|
6759
6469
|
return {
|
|
6760
|
-
InaccessibleEncryptionDateTime: output.InaccessibleEncryptionDateTime
|
|
6470
|
+
InaccessibleEncryptionDateTime: output.InaccessibleEncryptionDateTime != null
|
|
6761
6471
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InaccessibleEncryptionDateTime)))
|
|
6762
6472
|
: undefined,
|
|
6763
6473
|
KMSMasterKeyArn: __expectString(output.KMSMasterKeyArn),
|
|
@@ -6789,7 +6499,7 @@ var deserializeAws_json1_0TableAlreadyExistsException = function (output, contex
|
|
|
6789
6499
|
};
|
|
6790
6500
|
var deserializeAws_json1_0TableAutoScalingDescription = function (output, context) {
|
|
6791
6501
|
return {
|
|
6792
|
-
Replicas: output.Replicas
|
|
6502
|
+
Replicas: output.Replicas != null
|
|
6793
6503
|
? deserializeAws_json1_0ReplicaAutoScalingDescriptionList(output.Replicas, context)
|
|
6794
6504
|
: undefined,
|
|
6795
6505
|
TableName: __expectString(output.TableName),
|
|
@@ -6798,7 +6508,7 @@ var deserializeAws_json1_0TableAutoScalingDescription = function (output, contex
|
|
|
6798
6508
|
};
|
|
6799
6509
|
var deserializeAws_json1_0TableClassSummary = function (output, context) {
|
|
6800
6510
|
return {
|
|
6801
|
-
LastUpdateDateTime: output.LastUpdateDateTime
|
|
6511
|
+
LastUpdateDateTime: output.LastUpdateDateTime != null
|
|
6802
6512
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
|
|
6803
6513
|
: undefined,
|
|
6804
6514
|
TableClass: __expectString(output.TableClass),
|
|
@@ -6806,48 +6516,40 @@ var deserializeAws_json1_0TableClassSummary = function (output, context) {
|
|
|
6806
6516
|
};
|
|
6807
6517
|
var deserializeAws_json1_0TableDescription = function (output, context) {
|
|
6808
6518
|
return {
|
|
6809
|
-
ArchivalSummary: output.ArchivalSummary
|
|
6519
|
+
ArchivalSummary: output.ArchivalSummary != null
|
|
6810
6520
|
? deserializeAws_json1_0ArchivalSummary(output.ArchivalSummary, context)
|
|
6811
6521
|
: undefined,
|
|
6812
|
-
AttributeDefinitions: output.AttributeDefinitions
|
|
6522
|
+
AttributeDefinitions: output.AttributeDefinitions != null
|
|
6813
6523
|
? deserializeAws_json1_0AttributeDefinitions(output.AttributeDefinitions, context)
|
|
6814
6524
|
: undefined,
|
|
6815
|
-
BillingModeSummary: output.BillingModeSummary
|
|
6525
|
+
BillingModeSummary: output.BillingModeSummary != null
|
|
6816
6526
|
? deserializeAws_json1_0BillingModeSummary(output.BillingModeSummary, context)
|
|
6817
6527
|
: undefined,
|
|
6818
|
-
CreationDateTime: output.CreationDateTime
|
|
6528
|
+
CreationDateTime: output.CreationDateTime != null
|
|
6819
6529
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDateTime)))
|
|
6820
6530
|
: undefined,
|
|
6821
|
-
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes
|
|
6531
|
+
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6822
6532
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
6823
6533
|
: undefined,
|
|
6824
6534
|
GlobalTableVersion: __expectString(output.GlobalTableVersion),
|
|
6825
6535
|
ItemCount: __expectLong(output.ItemCount),
|
|
6826
|
-
KeySchema: output.KeySchema
|
|
6827
|
-
? deserializeAws_json1_0KeySchema(output.KeySchema, context)
|
|
6828
|
-
: undefined,
|
|
6536
|
+
KeySchema: output.KeySchema != null ? deserializeAws_json1_0KeySchema(output.KeySchema, context) : undefined,
|
|
6829
6537
|
LatestStreamArn: __expectString(output.LatestStreamArn),
|
|
6830
6538
|
LatestStreamLabel: __expectString(output.LatestStreamLabel),
|
|
6831
|
-
LocalSecondaryIndexes: output.LocalSecondaryIndexes
|
|
6539
|
+
LocalSecondaryIndexes: output.LocalSecondaryIndexes != null
|
|
6832
6540
|
? deserializeAws_json1_0LocalSecondaryIndexDescriptionList(output.LocalSecondaryIndexes, context)
|
|
6833
6541
|
: undefined,
|
|
6834
|
-
ProvisionedThroughput: output.ProvisionedThroughput
|
|
6542
|
+
ProvisionedThroughput: output.ProvisionedThroughput != null
|
|
6835
6543
|
? deserializeAws_json1_0ProvisionedThroughputDescription(output.ProvisionedThroughput, context)
|
|
6836
6544
|
: undefined,
|
|
6837
|
-
Replicas: output.Replicas
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
? deserializeAws_json1_0RestoreSummary(output.RestoreSummary, context)
|
|
6842
|
-
: undefined,
|
|
6843
|
-
SSEDescription: output.SSEDescription !== undefined && output.SSEDescription !== null
|
|
6844
|
-
? deserializeAws_json1_0SSEDescription(output.SSEDescription, context)
|
|
6845
|
-
: undefined,
|
|
6846
|
-
StreamSpecification: output.StreamSpecification !== undefined && output.StreamSpecification !== null
|
|
6545
|
+
Replicas: output.Replicas != null ? deserializeAws_json1_0ReplicaDescriptionList(output.Replicas, context) : undefined,
|
|
6546
|
+
RestoreSummary: output.RestoreSummary != null ? deserializeAws_json1_0RestoreSummary(output.RestoreSummary, context) : undefined,
|
|
6547
|
+
SSEDescription: output.SSEDescription != null ? deserializeAws_json1_0SSEDescription(output.SSEDescription, context) : undefined,
|
|
6548
|
+
StreamSpecification: output.StreamSpecification != null
|
|
6847
6549
|
? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
|
|
6848
6550
|
: undefined,
|
|
6849
6551
|
TableArn: __expectString(output.TableArn),
|
|
6850
|
-
TableClassSummary: output.TableClassSummary
|
|
6552
|
+
TableClassSummary: output.TableClassSummary != null
|
|
6851
6553
|
? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
|
|
6852
6554
|
: undefined,
|
|
6853
6555
|
TableId: __expectString(output.TableId),
|
|
@@ -6908,17 +6610,15 @@ var deserializeAws_json1_0TimeToLiveSpecification = function (output, context) {
|
|
|
6908
6610
|
};
|
|
6909
6611
|
var deserializeAws_json1_0TransactGetItemsOutput = function (output, context) {
|
|
6910
6612
|
return {
|
|
6911
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
6613
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6912
6614
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6913
6615
|
: undefined,
|
|
6914
|
-
Responses: output.Responses
|
|
6915
|
-
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
6916
|
-
: undefined,
|
|
6616
|
+
Responses: output.Responses != null ? deserializeAws_json1_0ItemResponseList(output.Responses, context) : undefined,
|
|
6917
6617
|
};
|
|
6918
6618
|
};
|
|
6919
6619
|
var deserializeAws_json1_0TransactionCanceledException = function (output, context) {
|
|
6920
6620
|
return {
|
|
6921
|
-
CancellationReasons: output.CancellationReasons
|
|
6621
|
+
CancellationReasons: output.CancellationReasons != null
|
|
6922
6622
|
? deserializeAws_json1_0CancellationReasonList(output.CancellationReasons, context)
|
|
6923
6623
|
: undefined,
|
|
6924
6624
|
Message: __expectString(output.Message),
|
|
@@ -6936,17 +6636,17 @@ var deserializeAws_json1_0TransactionInProgressException = function (output, con
|
|
|
6936
6636
|
};
|
|
6937
6637
|
var deserializeAws_json1_0TransactWriteItemsOutput = function (output, context) {
|
|
6938
6638
|
return {
|
|
6939
|
-
ConsumedCapacity: output.ConsumedCapacity
|
|
6639
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6940
6640
|
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6941
6641
|
: undefined,
|
|
6942
|
-
ItemCollectionMetrics: output.ItemCollectionMetrics
|
|
6642
|
+
ItemCollectionMetrics: output.ItemCollectionMetrics != null
|
|
6943
6643
|
? deserializeAws_json1_0ItemCollectionMetricsPerTable(output.ItemCollectionMetrics, context)
|
|
6944
6644
|
: undefined,
|
|
6945
6645
|
};
|
|
6946
6646
|
};
|
|
6947
6647
|
var deserializeAws_json1_0UpdateContinuousBackupsOutput = function (output, context) {
|
|
6948
6648
|
return {
|
|
6949
|
-
ContinuousBackupsDescription: output.ContinuousBackupsDescription
|
|
6649
|
+
ContinuousBackupsDescription: output.ContinuousBackupsDescription != null
|
|
6950
6650
|
? deserializeAws_json1_0ContinuousBackupsDescription(output.ContinuousBackupsDescription, context)
|
|
6951
6651
|
: undefined,
|
|
6952
6652
|
};
|
|
@@ -6960,7 +6660,7 @@ var deserializeAws_json1_0UpdateContributorInsightsOutput = function (output, co
|
|
|
6960
6660
|
};
|
|
6961
6661
|
var deserializeAws_json1_0UpdateGlobalTableOutput = function (output, context) {
|
|
6962
6662
|
return {
|
|
6963
|
-
GlobalTableDescription: output.GlobalTableDescription
|
|
6663
|
+
GlobalTableDescription: output.GlobalTableDescription != null
|
|
6964
6664
|
? deserializeAws_json1_0GlobalTableDescription(output.GlobalTableDescription, context)
|
|
6965
6665
|
: undefined,
|
|
6966
6666
|
};
|
|
@@ -6968,53 +6668,47 @@ var deserializeAws_json1_0UpdateGlobalTableOutput = function (output, context) {
|
|
|
6968
6668
|
var deserializeAws_json1_0UpdateGlobalTableSettingsOutput = function (output, context) {
|
|
6969
6669
|
return {
|
|
6970
6670
|
GlobalTableName: __expectString(output.GlobalTableName),
|
|
6971
|
-
ReplicaSettings: output.ReplicaSettings
|
|
6671
|
+
ReplicaSettings: output.ReplicaSettings != null
|
|
6972
6672
|
? deserializeAws_json1_0ReplicaSettingsDescriptionList(output.ReplicaSettings, context)
|
|
6973
6673
|
: undefined,
|
|
6974
6674
|
};
|
|
6975
6675
|
};
|
|
6976
6676
|
var deserializeAws_json1_0UpdateItemOutput = function (output, context) {
|
|
6977
6677
|
return {
|
|
6978
|
-
Attributes: output.Attributes
|
|
6979
|
-
|
|
6980
|
-
: undefined,
|
|
6981
|
-
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6678
|
+
Attributes: output.Attributes != null ? deserializeAws_json1_0AttributeMap(output.Attributes, context) : undefined,
|
|
6679
|
+
ConsumedCapacity: output.ConsumedCapacity != null
|
|
6982
6680
|
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6983
6681
|
: undefined,
|
|
6984
|
-
ItemCollectionMetrics: output.ItemCollectionMetrics
|
|
6682
|
+
ItemCollectionMetrics: output.ItemCollectionMetrics != null
|
|
6985
6683
|
? deserializeAws_json1_0ItemCollectionMetrics(output.ItemCollectionMetrics, context)
|
|
6986
6684
|
: undefined,
|
|
6987
6685
|
};
|
|
6988
6686
|
};
|
|
6989
6687
|
var deserializeAws_json1_0UpdateTableOutput = function (output, context) {
|
|
6990
6688
|
return {
|
|
6991
|
-
TableDescription: output.TableDescription
|
|
6689
|
+
TableDescription: output.TableDescription != null
|
|
6992
6690
|
? deserializeAws_json1_0TableDescription(output.TableDescription, context)
|
|
6993
6691
|
: undefined,
|
|
6994
6692
|
};
|
|
6995
6693
|
};
|
|
6996
6694
|
var deserializeAws_json1_0UpdateTableReplicaAutoScalingOutput = function (output, context) {
|
|
6997
6695
|
return {
|
|
6998
|
-
TableAutoScalingDescription: output.TableAutoScalingDescription
|
|
6696
|
+
TableAutoScalingDescription: output.TableAutoScalingDescription != null
|
|
6999
6697
|
? deserializeAws_json1_0TableAutoScalingDescription(output.TableAutoScalingDescription, context)
|
|
7000
6698
|
: undefined,
|
|
7001
6699
|
};
|
|
7002
6700
|
};
|
|
7003
6701
|
var deserializeAws_json1_0UpdateTimeToLiveOutput = function (output, context) {
|
|
7004
6702
|
return {
|
|
7005
|
-
TimeToLiveSpecification: output.TimeToLiveSpecification
|
|
6703
|
+
TimeToLiveSpecification: output.TimeToLiveSpecification != null
|
|
7006
6704
|
? deserializeAws_json1_0TimeToLiveSpecification(output.TimeToLiveSpecification, context)
|
|
7007
6705
|
: undefined,
|
|
7008
6706
|
};
|
|
7009
6707
|
};
|
|
7010
6708
|
var deserializeAws_json1_0WriteRequest = function (output, context) {
|
|
7011
6709
|
return {
|
|
7012
|
-
DeleteRequest: output.DeleteRequest
|
|
7013
|
-
|
|
7014
|
-
: undefined,
|
|
7015
|
-
PutRequest: output.PutRequest !== undefined && output.PutRequest !== null
|
|
7016
|
-
? deserializeAws_json1_0PutRequest(output.PutRequest, context)
|
|
7017
|
-
: undefined,
|
|
6710
|
+
DeleteRequest: output.DeleteRequest != null ? deserializeAws_json1_0DeleteRequest(output.DeleteRequest, context) : undefined,
|
|
6711
|
+
PutRequest: output.PutRequest != null ? deserializeAws_json1_0PutRequest(output.PutRequest, context) : undefined,
|
|
7018
6712
|
};
|
|
7019
6713
|
};
|
|
7020
6714
|
var deserializeAws_json1_0WriteRequests = function (output, context) {
|
|
@@ -7084,6 +6778,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7084
6778
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
7085
6779
|
var sanitizeErrorCode = function (rawValue) {
|
|
7086
6780
|
var cleanValue = rawValue;
|
|
6781
|
+
if (typeof cleanValue === "number") {
|
|
6782
|
+
cleanValue = cleanValue.toString();
|
|
6783
|
+
}
|
|
7087
6784
|
if (cleanValue.indexOf(":") >= 0) {
|
|
7088
6785
|
cleanValue = cleanValue.split(":")[0];
|
|
7089
6786
|
}
|