// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Do not modify this file. This file is machine generated, and any changes to it will be overwritten. using System.Linq; using System; namespace Com.Amazonaws.Dynamodb { public static class TypeConversion { internal static Amazon.DynamoDBv2.AttributeAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_AttributeAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeAction value) { if (value.is_ADD) return Amazon.DynamoDBv2.AttributeAction.ADD; if (value.is_PUT) return Amazon.DynamoDBv2.AttributeAction.PUT; if (value.is_DELETE) return Amazon.DynamoDBv2.AttributeAction.DELETE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.AttributeAction value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_AttributeAction (Amazon.DynamoDBv2.AttributeAction value) { if (Amazon.DynamoDBv2.AttributeAction.ADD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeAction.create_ADD(); if (Amazon.DynamoDBv2.AttributeAction.PUT.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeAction.create_PUT(); if (Amazon.DynamoDBv2.AttributeAction.DELETE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeAction.create_DELETE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.AttributeAction value"); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue)value; var converted = new Amazon.DynamoDBv2.Model.AttributeValue(); if (value.is_S) { converted.S = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_S(concrete.dtor_S); return converted; } if (value.is_N) { converted.N = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_N(concrete.dtor_N); return converted; } if (value.is_B) { converted.B = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_B(concrete.dtor_B); return converted; } if (value.is_SS) { converted.SS = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_SS(concrete.dtor_SS); return converted; } if (value.is_NS) { converted.NS = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_NS(concrete.dtor_NS); return converted; } if (value.is_BS) { converted.BS = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_BS(concrete.dtor_BS); return converted; } if (value.is_M) { converted.M = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_M(concrete.dtor_M); return converted; } if (value.is_L) { converted.L = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_L(concrete.dtor_L); return converted; } if (value.is_NULL) { converted.NULL = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_NULL(concrete.dtor_NULL); return converted; } if (value.is_BOOL) { converted.BOOL = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_BOOL(concrete.dtor_BOOL); return converted; } throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.Model.AttributeValue state"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue (Amazon.DynamoDBv2.Model.AttributeValue value) { if (value.S != null) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_S(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_S(value.S)); } if (value.N != null) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_N(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_N(value.N)); } if (value.B != null) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_B(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_B(value.B)); } if (!value.SS.Any()) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_SS(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_SS(value.SS)); } if (!value.NS.Any()) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_NS(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_NS(value.NS)); } if (!value.BS.Any()) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_BS(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_BS(value.BS)); } if (value.IsMSet) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_M(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_M(value.M)); } if (value.IsLSet) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_L(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_L(value.L)); } if (value.NULL == true) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_NULL(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_NULL(value.NULL)); } if (value.IsBOOLSet) { return software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValue.create_BOOL(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_BOOL(value.BOOL)); } throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.Model.AttributeValue state"); } internal static Amazon.DynamoDBv2.Model.BackupInUseException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupInUseException value) { return new Amazon.DynamoDBv2.Model.BackupInUseException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupInUseException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException (Amazon.DynamoDBv2.Model.BackupInUseException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupInUseException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.BackupNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupNotFoundException value) { return new Amazon.DynamoDBv2.Model.BackupNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException (Amazon.DynamoDBv2.Model.BackupNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.BackupStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupStatus value) { if (value.is_CREATING) return Amazon.DynamoDBv2.BackupStatus.CREATING; if (value.is_DELETED) return Amazon.DynamoDBv2.BackupStatus.DELETED; if (value.is_AVAILABLE) return Amazon.DynamoDBv2.BackupStatus.AVAILABLE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus (Amazon.DynamoDBv2.BackupStatus value) { if (Amazon.DynamoDBv2.BackupStatus.CREATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupStatus.create_CREATING(); if (Amazon.DynamoDBv2.BackupStatus.DELETED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupStatus.create_DELETED(); if (Amazon.DynamoDBv2.BackupStatus.AVAILABLE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupStatus.create_AVAILABLE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupStatus value"); } internal static Amazon.DynamoDBv2.BackupType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupType value) { if (value.is_USER) return Amazon.DynamoDBv2.BackupType.USER; if (value.is_SYSTEM) return Amazon.DynamoDBv2.BackupType.SYSTEM; if (value.is_AWS__BACKUP) return Amazon.DynamoDBv2.BackupType.AWS_BACKUP; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType (Amazon.DynamoDBv2.BackupType value) { if (Amazon.DynamoDBv2.BackupType.USER.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupType.create_USER(); if (Amazon.DynamoDBv2.BackupType.SYSTEM.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupType.create_SYSTEM(); if (Amazon.DynamoDBv2.BackupType.AWS_BACKUP.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupType.create_AWS__BACKUP(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupType value"); } internal static Amazon.DynamoDBv2.BackupTypeFilter FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_BackupTypeFilter (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupTypeFilter value) { if (value.is_USER) return Amazon.DynamoDBv2.BackupTypeFilter.USER; if (value.is_SYSTEM) return Amazon.DynamoDBv2.BackupTypeFilter.SYSTEM; if (value.is_AWS__BACKUP) return Amazon.DynamoDBv2.BackupTypeFilter.AWS_BACKUP; if (value.is_ALL) return Amazon.DynamoDBv2.BackupTypeFilter.ALL; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupTypeFilter value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupTypeFilter ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_BackupTypeFilter (Amazon.DynamoDBv2.BackupTypeFilter value) { if (Amazon.DynamoDBv2.BackupTypeFilter.USER.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupTypeFilter.create_USER(); if (Amazon.DynamoDBv2.BackupTypeFilter.SYSTEM.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupTypeFilter.create_SYSTEM(); if (Amazon.DynamoDBv2.BackupTypeFilter.AWS_BACKUP.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupTypeFilter.create_AWS__BACKUP(); if (Amazon.DynamoDBv2.BackupTypeFilter.ALL.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupTypeFilter.create_ALL(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BackupTypeFilter value"); } internal static Amazon.DynamoDBv2.Model.BatchExecuteStatementRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchExecuteStatementInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementInput)value; Amazon.DynamoDBv2.Model.BatchExecuteStatementRequest converted = new Amazon.DynamoDBv2.Model.BatchExecuteStatementRequest(); converted.Statements = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M10_Statements(concrete._Statements); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchExecuteStatementInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput (Amazon.DynamoDBv2.Model.BatchExecuteStatementRequest value) { Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M10_Statements(value.Statements) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.BatchExecuteStatementResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchExecuteStatementOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementOutput)value; Amazon.DynamoDBv2.Model.BatchExecuteStatementResponse converted = new Amazon.DynamoDBv2.Model.BatchExecuteStatementResponse(); if (concrete._Responses.is_Some) converted.Responses = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M9_Responses(concrete._Responses); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchExecuteStatementOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput (Amazon.DynamoDBv2.Model.BatchExecuteStatementResponse value) { System.Collections.Generic.List var_responses = value.Responses; System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchExecuteStatementOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M9_Responses(var_responses) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.BatchGetItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchGetItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemInput)value; Amazon.DynamoDBv2.Model.BatchGetItemRequest converted = new Amazon.DynamoDBv2.Model.BatchGetItemRequest(); converted.RequestItems = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M12_RequestItems(concrete._RequestItems); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchGetItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput (Amazon.DynamoDBv2.Model.BatchGetItemRequest value) { Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M12_RequestItems(value.RequestItems) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.BatchGetItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchGetItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemOutput)value; Amazon.DynamoDBv2.Model.BatchGetItemResponse converted = new Amazon.DynamoDBv2.Model.BatchGetItemResponse(); if (concrete._Responses.is_Some) converted.Responses = (System.Collections.Generic.Dictionary>>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M9_Responses(concrete._Responses); if (concrete._UnprocessedKeys.is_Some) converted.UnprocessedKeys = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M15_UnprocessedKeys(concrete._UnprocessedKeys); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchGetItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput (Amazon.DynamoDBv2.Model.BatchGetItemResponse value) { System.Collections.Generic.Dictionary>> var_responses = value.Responses; System.Collections.Generic.Dictionary var_unprocessedKeys = value.UnprocessedKeys; System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchGetItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M9_Responses(var_responses) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M15_UnprocessedKeys(var_unprocessedKeys) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.BatchStatementErrorCodeEnum FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchStatementErrorCodeEnum (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementErrorCodeEnum value) { if (value.is_ConditionalCheckFailed) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ConditionalCheckFailed; if (value.is_ItemCollectionSizeLimitExceeded) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ItemCollectionSizeLimitExceeded; if (value.is_RequestLimitExceeded) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.RequestLimitExceeded; if (value.is_ValidationError) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ValidationError; if (value.is_ProvisionedThroughputExceeded) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ProvisionedThroughputExceeded; if (value.is_TransactionConflict) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.TransactionConflict; if (value.is_ThrottlingError) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ThrottlingError; if (value.is_InternalServerError) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.InternalServerError; if (value.is_ResourceNotFound) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ResourceNotFound; if (value.is_AccessDenied) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.AccessDenied; if (value.is_DuplicateItem) return Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.DuplicateItem; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BatchStatementErrorCodeEnum value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementErrorCodeEnum ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchStatementErrorCodeEnum (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum value) { if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ConditionalCheckFailed.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ConditionalCheckFailed(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ItemCollectionSizeLimitExceeded.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ItemCollectionSizeLimitExceeded(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.RequestLimitExceeded.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_RequestLimitExceeded(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ValidationError.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ValidationError(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ProvisionedThroughputExceeded.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ProvisionedThroughputExceeded(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.TransactionConflict.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_TransactionConflict(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ThrottlingError.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ThrottlingError(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.InternalServerError.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_InternalServerError(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.ResourceNotFound.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_ResourceNotFound(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.AccessDenied.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_AccessDenied(); if (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum.DuplicateItem.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementErrorCodeEnum.create_DuplicateItem(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BatchStatementErrorCodeEnum value"); } internal static Amazon.DynamoDBv2.Model.BatchWriteItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchWriteItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemInput)value; Amazon.DynamoDBv2.Model.BatchWriteItemRequest converted = new Amazon.DynamoDBv2.Model.BatchWriteItemRequest(); converted.RequestItems = (System.Collections.Generic.Dictionary>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M12_RequestItems(concrete._RequestItems); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ReturnItemCollectionMetrics.is_Some) converted.ReturnItemCollectionMetrics = (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M27_ReturnItemCollectionMetrics(concrete._ReturnItemCollectionMetrics); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchWriteItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput (Amazon.DynamoDBv2.Model.BatchWriteItemRequest value) { Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; Amazon.DynamoDBv2.ReturnItemCollectionMetrics var_returnItemCollectionMetrics = value.ReturnItemCollectionMetrics; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M12_RequestItems(value.RequestItems) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M27_ReturnItemCollectionMetrics(var_returnItemCollectionMetrics) ) ; } internal static Amazon.DynamoDBv2.Model.BatchWriteItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchWriteItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemOutput)value; Amazon.DynamoDBv2.Model.BatchWriteItemResponse converted = new Amazon.DynamoDBv2.Model.BatchWriteItemResponse(); if (concrete._UnprocessedItems.is_Some) converted.UnprocessedItems = (System.Collections.Generic.Dictionary>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_UnprocessedItems(concrete._UnprocessedItems); if (concrete._ItemCollectionMetrics.is_Some) converted.ItemCollectionMetrics = (System.Collections.Generic.Dictionary>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M21_ItemCollectionMetrics(concrete._ItemCollectionMetrics); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchWriteItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput (Amazon.DynamoDBv2.Model.BatchWriteItemResponse value) { System.Collections.Generic.Dictionary> var_unprocessedItems = value.UnprocessedItems; System.Collections.Generic.Dictionary> var_itemCollectionMetrics = value.ItemCollectionMetrics; System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchWriteItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_UnprocessedItems(var_unprocessedItems) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M21_ItemCollectionMetrics(var_itemCollectionMetrics) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBillingMode value) { if (value.is_PROVISIONED) return Amazon.DynamoDBv2.BillingMode.PROVISIONED; if (value.is_PAY__PER__REQUEST) return Amazon.DynamoDBv2.BillingMode.PAY_PER_REQUEST; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BillingMode value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBillingMode ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { if (Amazon.DynamoDBv2.BillingMode.PROVISIONED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BillingMode.create_PROVISIONED(); if (Amazon.DynamoDBv2.BillingMode.PAY_PER_REQUEST.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.BillingMode.create_PAY__PER__REQUEST(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.BillingMode value"); } internal static Amazon.DynamoDBv2.ComparisonOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator (software.amazon.cryptography.services.dynamodb.internaldafny.types._IComparisonOperator value) { if (value.is_EQ) return Amazon.DynamoDBv2.ComparisonOperator.EQ; if (value.is_NE) return Amazon.DynamoDBv2.ComparisonOperator.NE; if (value.is_IN) return Amazon.DynamoDBv2.ComparisonOperator.IN; if (value.is_LE) return Amazon.DynamoDBv2.ComparisonOperator.LE; if (value.is_LT) return Amazon.DynamoDBv2.ComparisonOperator.LT; if (value.is_GE) return Amazon.DynamoDBv2.ComparisonOperator.GE; if (value.is_GT) return Amazon.DynamoDBv2.ComparisonOperator.GT; if (value.is_BETWEEN) return Amazon.DynamoDBv2.ComparisonOperator.BETWEEN; if (value.is_NOT__NULL) return Amazon.DynamoDBv2.ComparisonOperator.NOT_NULL; if (value.is_NULL) return Amazon.DynamoDBv2.ComparisonOperator.NULL; if (value.is_CONTAINS) return Amazon.DynamoDBv2.ComparisonOperator.CONTAINS; if (value.is_NOT__CONTAINS) return Amazon.DynamoDBv2.ComparisonOperator.NOT_CONTAINS; if (value.is_BEGINS__WITH) return Amazon.DynamoDBv2.ComparisonOperator.BEGINS_WITH; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ComparisonOperator value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IComparisonOperator ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator (Amazon.DynamoDBv2.ComparisonOperator value) { if (Amazon.DynamoDBv2.ComparisonOperator.EQ.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_EQ(); if (Amazon.DynamoDBv2.ComparisonOperator.NE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_NE(); if (Amazon.DynamoDBv2.ComparisonOperator.IN.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_IN(); if (Amazon.DynamoDBv2.ComparisonOperator.LE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_LE(); if (Amazon.DynamoDBv2.ComparisonOperator.LT.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_LT(); if (Amazon.DynamoDBv2.ComparisonOperator.GE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_GE(); if (Amazon.DynamoDBv2.ComparisonOperator.GT.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_GT(); if (Amazon.DynamoDBv2.ComparisonOperator.BETWEEN.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_BETWEEN(); if (Amazon.DynamoDBv2.ComparisonOperator.NOT_NULL.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_NOT__NULL(); if (Amazon.DynamoDBv2.ComparisonOperator.NULL.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_NULL(); if (Amazon.DynamoDBv2.ComparisonOperator.CONTAINS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_CONTAINS(); if (Amazon.DynamoDBv2.ComparisonOperator.NOT_CONTAINS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_NOT__CONTAINS(); if (Amazon.DynamoDBv2.ComparisonOperator.BEGINS_WITH.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ComparisonOperator.create_BEGINS__WITH(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ComparisonOperator value"); } internal static Amazon.DynamoDBv2.Model.ConditionalCheckFailedException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException value) { return new Amazon.DynamoDBv2.Model.ConditionalCheckFailedException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException (Amazon.DynamoDBv2.Model.ConditionalCheckFailedException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator (software.amazon.cryptography.services.dynamodb.internaldafny.types._IConditionalOperator value) { if (value.is_AND) return Amazon.DynamoDBv2.ConditionalOperator.AND; if (value.is_OR) return Amazon.DynamoDBv2.ConditionalOperator.OR; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ConditionalOperator value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IConditionalOperator ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { if (Amazon.DynamoDBv2.ConditionalOperator.AND.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ConditionalOperator.create_AND(); if (Amazon.DynamoDBv2.ConditionalOperator.OR.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ConditionalOperator.create_OR(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ConditionalOperator value"); } internal static Amazon.DynamoDBv2.ContinuousBackupsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContinuousBackupsStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsStatus value) { if (value.is_ENABLED) return Amazon.DynamoDBv2.ContinuousBackupsStatus.ENABLED; if (value.is_DISABLED) return Amazon.DynamoDBv2.ContinuousBackupsStatus.DISABLED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContinuousBackupsStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContinuousBackupsStatus (Amazon.DynamoDBv2.ContinuousBackupsStatus value) { if (Amazon.DynamoDBv2.ContinuousBackupsStatus.ENABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContinuousBackupsStatus.create_ENABLED(); if (Amazon.DynamoDBv2.ContinuousBackupsStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContinuousBackupsStatus.create_DISABLED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContinuousBackupsStatus value"); } internal static Amazon.DynamoDBv2.Model.ContinuousBackupsUnavailableException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ContinuousBackupsUnavailableException value) { return new Amazon.DynamoDBv2.Model.ContinuousBackupsUnavailableException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ContinuousBackupsUnavailableException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException (Amazon.DynamoDBv2.Model.ContinuousBackupsUnavailableException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ContinuousBackupsUnavailableException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ContributorInsightsAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsAction value) { if (value.is_ENABLE) return Amazon.DynamoDBv2.ContributorInsightsAction.ENABLE; if (value.is_DISABLE) return Amazon.DynamoDBv2.ContributorInsightsAction.DISABLE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContributorInsightsAction value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsAction (Amazon.DynamoDBv2.ContributorInsightsAction value) { if (Amazon.DynamoDBv2.ContributorInsightsAction.ENABLE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsAction.create_ENABLE(); if (Amazon.DynamoDBv2.ContributorInsightsAction.DISABLE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsAction.create_DISABLE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContributorInsightsAction value"); } internal static Amazon.DynamoDBv2.ContributorInsightsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsStatus value) { if (value.is_ENABLING) return Amazon.DynamoDBv2.ContributorInsightsStatus.ENABLING; if (value.is_ENABLED) return Amazon.DynamoDBv2.ContributorInsightsStatus.ENABLED; if (value.is_DISABLING) return Amazon.DynamoDBv2.ContributorInsightsStatus.DISABLING; if (value.is_DISABLED) return Amazon.DynamoDBv2.ContributorInsightsStatus.DISABLED; if (value.is_FAILED) return Amazon.DynamoDBv2.ContributorInsightsStatus.FAILED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContributorInsightsStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus (Amazon.DynamoDBv2.ContributorInsightsStatus value) { if (Amazon.DynamoDBv2.ContributorInsightsStatus.ENABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsStatus.create_ENABLING(); if (Amazon.DynamoDBv2.ContributorInsightsStatus.ENABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsStatus.create_ENABLED(); if (Amazon.DynamoDBv2.ContributorInsightsStatus.DISABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsStatus.create_DISABLING(); if (Amazon.DynamoDBv2.ContributorInsightsStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsStatus.create_DISABLED(); if (Amazon.DynamoDBv2.ContributorInsightsStatus.FAILED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsStatus.create_FAILED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ContributorInsightsStatus value"); } internal static Amazon.DynamoDBv2.Model.CreateBackupRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateBackupInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupInput)value; Amazon.DynamoDBv2.Model.CreateBackupRequest converted = new Amazon.DynamoDBv2.Model.CreateBackupRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M9_TableName(concrete._TableName); converted.BackupName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M10_BackupName(concrete._BackupName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateBackupInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput (Amazon.DynamoDBv2.Model.CreateBackupRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M10_BackupName(value.BackupName) ) ; } internal static Amazon.DynamoDBv2.Model.CreateBackupResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateBackupOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupOutput)value; Amazon.DynamoDBv2.Model.CreateBackupResponse converted = new Amazon.DynamoDBv2.Model.CreateBackupResponse(); if (concrete._BackupDetails.is_Some) converted.BackupDetails = (Amazon.DynamoDBv2.Model.BackupDetails) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput__M13_BackupDetails(concrete._BackupDetails); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateBackupOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput (Amazon.DynamoDBv2.Model.CreateBackupResponse value) { Amazon.DynamoDBv2.Model.BackupDetails var_backupDetails = value.BackupDetails; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateBackupOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput__M13_BackupDetails(var_backupDetails) ) ; } internal static Amazon.DynamoDBv2.Model.CreateGlobalTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableInput)value; Amazon.DynamoDBv2.Model.CreateGlobalTableRequest converted = new Amazon.DynamoDBv2.Model.CreateGlobalTableRequest(); converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M15_GlobalTableName(concrete._GlobalTableName); converted.ReplicationGroup = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M16_ReplicationGroup(concrete._ReplicationGroup); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput (Amazon.DynamoDBv2.Model.CreateGlobalTableRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M15_GlobalTableName(value.GlobalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M16_ReplicationGroup(value.ReplicationGroup) ) ; } internal static Amazon.DynamoDBv2.Model.CreateGlobalTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableOutput)value; Amazon.DynamoDBv2.Model.CreateGlobalTableResponse converted = new Amazon.DynamoDBv2.Model.CreateGlobalTableResponse(); if (concrete._GlobalTableDescription.is_Some) converted.GlobalTableDescription = (Amazon.DynamoDBv2.Model.GlobalTableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput__M22_GlobalTableDescription(concrete._GlobalTableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput (Amazon.DynamoDBv2.Model.CreateGlobalTableResponse value) { Amazon.DynamoDBv2.Model.GlobalTableDescription var_globalTableDescription = value.GlobalTableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput__M22_GlobalTableDescription(var_globalTableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.CreateTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableInput)value; Amazon.DynamoDBv2.Model.CreateTableRequest converted = new Amazon.DynamoDBv2.Model.CreateTableRequest(); converted.AttributeDefinitions = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M20_AttributeDefinitions(concrete._AttributeDefinitions); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_TableName(concrete._TableName); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_KeySchema(concrete._KeySchema); if (concrete._LocalSecondaryIndexes.is_Some) converted.LocalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_LocalSecondaryIndexes(concrete._LocalSecondaryIndexes); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._BillingMode.is_Some) converted.BillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M11_BillingMode(concrete._BillingMode); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._StreamSpecification.is_Some) converted.StreamSpecification = (Amazon.DynamoDBv2.Model.StreamSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M19_StreamSpecification(concrete._StreamSpecification); if (concrete._SSESpecification.is_Some) converted.SSESpecification = (Amazon.DynamoDBv2.Model.SSESpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M16_SSESpecification(concrete._SSESpecification); if (concrete._Tags.is_Some) converted.Tags = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M4_Tags(concrete._Tags); if (concrete._TableClass.is_Some) converted.TableClass = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M10_TableClass(concrete._TableClass); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput (Amazon.DynamoDBv2.Model.CreateTableRequest value) { System.Collections.Generic.List var_localSecondaryIndexes = value.LocalSecondaryIndexes; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.BillingMode var_billingMode = value.BillingMode; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; Amazon.DynamoDBv2.Model.StreamSpecification var_streamSpecification = value.StreamSpecification; Amazon.DynamoDBv2.Model.SSESpecification var_sSESpecification = value.SSESpecification; System.Collections.Generic.List var_tags = value.Tags; Amazon.DynamoDBv2.TableClass var_tableClass = value.TableClass; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M20_AttributeDefinitions(value.AttributeDefinitions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_LocalSecondaryIndexes(var_localSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M11_BillingMode(var_billingMode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_ProvisionedThroughput(var_provisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M19_StreamSpecification(var_streamSpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M16_SSESpecification(var_sSESpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M4_Tags(var_tags) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M10_TableClass(var_tableClass) ) ; } internal static Amazon.DynamoDBv2.Model.CreateTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableOutput)value; Amazon.DynamoDBv2.Model.CreateTableResponse converted = new Amazon.DynamoDBv2.Model.CreateTableResponse(); if (concrete._TableDescription.is_Some) converted.TableDescription = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput__M16_TableDescription(concrete._TableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput (Amazon.DynamoDBv2.Model.CreateTableResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_tableDescription = value.TableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput__M16_TableDescription(var_tableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteBackupRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteBackupInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupInput)value; Amazon.DynamoDBv2.Model.DeleteBackupRequest converted = new Amazon.DynamoDBv2.Model.DeleteBackupRequest(); converted.BackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput__M9_BackupArn(concrete._BackupArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteBackupInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput (Amazon.DynamoDBv2.Model.DeleteBackupRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput__M9_BackupArn(value.BackupArn) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteBackupResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteBackupOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupOutput)value; Amazon.DynamoDBv2.Model.DeleteBackupResponse converted = new Amazon.DynamoDBv2.Model.DeleteBackupResponse(); if (concrete._BackupDescription.is_Some) converted.BackupDescription = (Amazon.DynamoDBv2.Model.BackupDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput__M17_BackupDescription(concrete._BackupDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteBackupOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput (Amazon.DynamoDBv2.Model.DeleteBackupResponse value) { Amazon.DynamoDBv2.Model.BackupDescription var_backupDescription = value.BackupDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteBackupOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput__M17_BackupDescription(var_backupDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemInput)value; Amazon.DynamoDBv2.Model.DeleteItemRequest converted = new Amazon.DynamoDBv2.Model.DeleteItemRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M9_TableName(concrete._TableName); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M3_Key(concrete._Key); if (concrete._Expected.is_Some) converted.Expected = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M8_Expected(concrete._Expected); if (concrete._ConditionalOperator.is_Some) converted.ConditionalOperator = (Amazon.DynamoDBv2.ConditionalOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionalOperator(concrete._ConditionalOperator); if (concrete._ReturnValues.is_Some) converted.ReturnValues = (Amazon.DynamoDBv2.ReturnValue) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M12_ReturnValues(concrete._ReturnValues); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ReturnItemCollectionMetrics.is_Some) converted.ReturnItemCollectionMetrics = (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M27_ReturnItemCollectionMetrics(concrete._ReturnItemCollectionMetrics); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput (Amazon.DynamoDBv2.Model.DeleteItemRequest value) { System.Collections.Generic.Dictionary var_expected = value.Expected; Amazon.DynamoDBv2.ConditionalOperator var_conditionalOperator = value.ConditionalOperator; Amazon.DynamoDBv2.ReturnValue var_returnValues = value.ReturnValues; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; Amazon.DynamoDBv2.ReturnItemCollectionMetrics var_returnItemCollectionMetrics = value.ReturnItemCollectionMetrics; string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M8_Expected(var_expected) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionalOperator(var_conditionalOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M12_ReturnValues(var_returnValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M27_ReturnItemCollectionMetrics(var_returnItemCollectionMetrics) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M25_ExpressionAttributeValues(var_expressionAttributeValues) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemOutput)value; Amazon.DynamoDBv2.Model.DeleteItemResponse converted = new Amazon.DynamoDBv2.Model.DeleteItemResponse(); if (concrete._Attributes.is_Some) converted.Attributes = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M10_Attributes(concrete._Attributes); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._ItemCollectionMetrics.is_Some) converted.ItemCollectionMetrics = (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M21_ItemCollectionMetrics(concrete._ItemCollectionMetrics); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput (Amazon.DynamoDBv2.Model.DeleteItemResponse value) { System.Collections.Generic.Dictionary var_attributes = value.Attributes; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; Amazon.DynamoDBv2.Model.ItemCollectionMetrics var_itemCollectionMetrics = value.ItemCollectionMetrics; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M10_Attributes(var_attributes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M21_ItemCollectionMetrics(var_itemCollectionMetrics) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableInput)value; Amazon.DynamoDBv2.Model.DeleteTableRequest converted = new Amazon.DynamoDBv2.Model.DeleteTableRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput (Amazon.DynamoDBv2.Model.DeleteTableRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableOutput)value; Amazon.DynamoDBv2.Model.DeleteTableResponse converted = new Amazon.DynamoDBv2.Model.DeleteTableResponse(); if (concrete._TableDescription.is_Some) converted.TableDescription = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput__M16_TableDescription(concrete._TableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput (Amazon.DynamoDBv2.Model.DeleteTableResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_tableDescription = value.TableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput__M16_TableDescription(var_tableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeBackupRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeBackupInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupInput)value; Amazon.DynamoDBv2.Model.DescribeBackupRequest converted = new Amazon.DynamoDBv2.Model.DescribeBackupRequest(); converted.BackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput__M9_BackupArn(concrete._BackupArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeBackupInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput (Amazon.DynamoDBv2.Model.DescribeBackupRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput__M9_BackupArn(value.BackupArn) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeBackupResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeBackupOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupOutput)value; Amazon.DynamoDBv2.Model.DescribeBackupResponse converted = new Amazon.DynamoDBv2.Model.DescribeBackupResponse(); if (concrete._BackupDescription.is_Some) converted.BackupDescription = (Amazon.DynamoDBv2.Model.BackupDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput__M17_BackupDescription(concrete._BackupDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeBackupOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput (Amazon.DynamoDBv2.Model.DescribeBackupResponse value) { Amazon.DynamoDBv2.Model.BackupDescription var_backupDescription = value.BackupDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeBackupOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput__M17_BackupDescription(var_backupDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeContinuousBackupsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContinuousBackupsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsInput)value; Amazon.DynamoDBv2.Model.DescribeContinuousBackupsRequest converted = new Amazon.DynamoDBv2.Model.DescribeContinuousBackupsRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContinuousBackupsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput (Amazon.DynamoDBv2.Model.DescribeContinuousBackupsRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeContinuousBackupsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContinuousBackupsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsOutput)value; Amazon.DynamoDBv2.Model.DescribeContinuousBackupsResponse converted = new Amazon.DynamoDBv2.Model.DescribeContinuousBackupsResponse(); if (concrete._ContinuousBackupsDescription.is_Some) converted.ContinuousBackupsDescription = (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput__M28_ContinuousBackupsDescription(concrete._ContinuousBackupsDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContinuousBackupsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput (Amazon.DynamoDBv2.Model.DescribeContinuousBackupsResponse value) { Amazon.DynamoDBv2.Model.ContinuousBackupsDescription var_continuousBackupsDescription = value.ContinuousBackupsDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContinuousBackupsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput__M28_ContinuousBackupsDescription(var_continuousBackupsDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeContributorInsightsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContributorInsightsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsInput)value; Amazon.DynamoDBv2.Model.DescribeContributorInsightsRequest converted = new Amazon.DynamoDBv2.Model.DescribeContributorInsightsRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_IndexName(concrete._IndexName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContributorInsightsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput (Amazon.DynamoDBv2.Model.DescribeContributorInsightsRequest value) { string var_indexName = value.IndexName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_IndexName(var_indexName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeContributorInsightsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContributorInsightsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsOutput)value; Amazon.DynamoDBv2.Model.DescribeContributorInsightsResponse converted = new Amazon.DynamoDBv2.Model.DescribeContributorInsightsResponse(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_IndexName(concrete._IndexName); if (concrete._ContributorInsightsRuleList.is_Some) converted.ContributorInsightsRuleList = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M27_ContributorInsightsRuleList(concrete._ContributorInsightsRuleList); if (concrete._ContributorInsightsStatus.is_Some) converted.ContributorInsightsStatus = (Amazon.DynamoDBv2.ContributorInsightsStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M25_ContributorInsightsStatus(concrete._ContributorInsightsStatus); if (concrete._LastUpdateDateTime.is_Some) converted.LastUpdateDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M18_LastUpdateDateTime(concrete._LastUpdateDateTime); if (concrete._FailureException.is_Some) converted.FailureException = (Amazon.DynamoDBv2.Model.FailureException) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M16_FailureException(concrete._FailureException); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeContributorInsightsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput (Amazon.DynamoDBv2.Model.DescribeContributorInsightsResponse value) { string var_tableName = value.TableName; string var_indexName = value.IndexName; System.Collections.Generic.List var_contributorInsightsRuleList = value.ContributorInsightsRuleList; Amazon.DynamoDBv2.ContributorInsightsStatus var_contributorInsightsStatus = value.ContributorInsightsStatus; System.DateTime? var_lastUpdateDateTime = value.LastUpdateDateTime; Amazon.DynamoDBv2.Model.FailureException var_failureException = value.FailureException; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeContributorInsightsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M27_ContributorInsightsRuleList(var_contributorInsightsRuleList) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M25_ContributorInsightsStatus(var_contributorInsightsStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M18_LastUpdateDateTime(var_lastUpdateDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M16_FailureException(var_failureException) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeEndpointsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeEndpointsRequest (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeEndpointsRequest value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsRequest concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsRequest)value; Amazon.DynamoDBv2.Model.DescribeEndpointsRequest converted = new Amazon.DynamoDBv2.Model.DescribeEndpointsRequest(); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeEndpointsRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeEndpointsRequest (Amazon.DynamoDBv2.Model.DescribeEndpointsRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsRequest ( ) ; } internal static Amazon.DynamoDBv2.Model.DescribeEndpointsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeEndpointsResponse value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsResponse concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsResponse)value; Amazon.DynamoDBv2.Model.DescribeEndpointsResponse converted = new Amazon.DynamoDBv2.Model.DescribeEndpointsResponse(); converted.Endpoints = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse__M9_Endpoints(concrete._Endpoints); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeEndpointsResponse ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse (Amazon.DynamoDBv2.Model.DescribeEndpointsResponse value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeEndpointsResponse ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse__M9_Endpoints(value.Endpoints) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeExportRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeExportInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportInput)value; Amazon.DynamoDBv2.Model.DescribeExportRequest converted = new Amazon.DynamoDBv2.Model.DescribeExportRequest(); converted.ExportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput__M9_ExportArn(concrete._ExportArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeExportInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput (Amazon.DynamoDBv2.Model.DescribeExportRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput__M9_ExportArn(value.ExportArn) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeExportResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeExportOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportOutput)value; Amazon.DynamoDBv2.Model.DescribeExportResponse converted = new Amazon.DynamoDBv2.Model.DescribeExportResponse(); if (concrete._ExportDescription.is_Some) converted.ExportDescription = (Amazon.DynamoDBv2.Model.ExportDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput__M17_ExportDescription(concrete._ExportDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeExportOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput (Amazon.DynamoDBv2.Model.DescribeExportResponse value) { Amazon.DynamoDBv2.Model.ExportDescription var_exportDescription = value.ExportDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeExportOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput__M17_ExportDescription(var_exportDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeGlobalTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableInput)value; Amazon.DynamoDBv2.Model.DescribeGlobalTableRequest converted = new Amazon.DynamoDBv2.Model.DescribeGlobalTableRequest(); converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput__M15_GlobalTableName(concrete._GlobalTableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput (Amazon.DynamoDBv2.Model.DescribeGlobalTableRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput__M15_GlobalTableName(value.GlobalTableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeGlobalTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableOutput)value; Amazon.DynamoDBv2.Model.DescribeGlobalTableResponse converted = new Amazon.DynamoDBv2.Model.DescribeGlobalTableResponse(); if (concrete._GlobalTableDescription.is_Some) converted.GlobalTableDescription = (Amazon.DynamoDBv2.Model.GlobalTableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput__M22_GlobalTableDescription(concrete._GlobalTableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput (Amazon.DynamoDBv2.Model.DescribeGlobalTableResponse value) { Amazon.DynamoDBv2.Model.GlobalTableDescription var_globalTableDescription = value.GlobalTableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput__M22_GlobalTableDescription(var_globalTableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableSettingsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsInput)value; Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsRequest converted = new Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsRequest(); converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput__M15_GlobalTableName(concrete._GlobalTableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableSettingsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput (Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput__M15_GlobalTableName(value.GlobalTableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableSettingsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsOutput)value; Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsResponse converted = new Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsResponse(); if (concrete._GlobalTableName.is_Some) converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_GlobalTableName(concrete._GlobalTableName); if (concrete._ReplicaSettings.is_Some) converted.ReplicaSettings = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_ReplicaSettings(concrete._ReplicaSettings); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeGlobalTableSettingsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput (Amazon.DynamoDBv2.Model.DescribeGlobalTableSettingsResponse value) { string var_globalTableName = value.GlobalTableName; System.Collections.Generic.List var_replicaSettings = value.ReplicaSettings; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeGlobalTableSettingsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_GlobalTableName(var_globalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_ReplicaSettings(var_replicaSettings) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeImportRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeImportInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportInput)value; Amazon.DynamoDBv2.Model.DescribeImportRequest converted = new Amazon.DynamoDBv2.Model.DescribeImportRequest(); converted.ImportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput__M9_ImportArn(concrete._ImportArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeImportInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput (Amazon.DynamoDBv2.Model.DescribeImportRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput__M9_ImportArn(value.ImportArn) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeImportResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeImportOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportOutput)value; Amazon.DynamoDBv2.Model.DescribeImportResponse converted = new Amazon.DynamoDBv2.Model.DescribeImportResponse(); converted.ImportTableDescription = (Amazon.DynamoDBv2.Model.ImportTableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput__M22_ImportTableDescription(concrete._ImportTableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeImportOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput (Amazon.DynamoDBv2.Model.DescribeImportResponse value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeImportOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput__M22_ImportTableDescription(value.ImportTableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeKinesisStreamingDestinationInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationInput)value; Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationRequest converted = new Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeKinesisStreamingDestinationInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput (Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeKinesisStreamingDestinationOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationOutput)value; Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationResponse converted = new Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationResponse(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M9_TableName(concrete._TableName); if (concrete._KinesisDataStreamDestinations.is_Some) converted.KinesisDataStreamDestinations = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M29_KinesisDataStreamDestinations(concrete._KinesisDataStreamDestinations); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeKinesisStreamingDestinationOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput (Amazon.DynamoDBv2.Model.DescribeKinesisStreamingDestinationResponse value) { string var_tableName = value.TableName; System.Collections.Generic.List var_kinesisDataStreamDestinations = value.KinesisDataStreamDestinations; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeKinesisStreamingDestinationOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M29_KinesisDataStreamDestinations(var_kinesisDataStreamDestinations) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeLimitsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeLimitsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeLimitsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsInput)value; Amazon.DynamoDBv2.Model.DescribeLimitsRequest converted = new Amazon.DynamoDBv2.Model.DescribeLimitsRequest(); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeLimitsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeLimitsInput (Amazon.DynamoDBv2.Model.DescribeLimitsRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsInput ( ) ; } internal static Amazon.DynamoDBv2.Model.DescribeLimitsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeLimitsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsOutput)value; Amazon.DynamoDBv2.Model.DescribeLimitsResponse converted = new Amazon.DynamoDBv2.Model.DescribeLimitsResponse(); if (concrete._AccountMaxReadCapacityUnits.is_Some) converted.AccountMaxReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M27_AccountMaxReadCapacityUnits(concrete._AccountMaxReadCapacityUnits); if (concrete._AccountMaxWriteCapacityUnits.is_Some) converted.AccountMaxWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M28_AccountMaxWriteCapacityUnits(concrete._AccountMaxWriteCapacityUnits); if (concrete._TableMaxReadCapacityUnits.is_Some) converted.TableMaxReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M25_TableMaxReadCapacityUnits(concrete._TableMaxReadCapacityUnits); if (concrete._TableMaxWriteCapacityUnits.is_Some) converted.TableMaxWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M26_TableMaxWriteCapacityUnits(concrete._TableMaxWriteCapacityUnits); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeLimitsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput (Amazon.DynamoDBv2.Model.DescribeLimitsResponse value) { long? var_accountMaxReadCapacityUnits = value.AccountMaxReadCapacityUnits; long? var_accountMaxWriteCapacityUnits = value.AccountMaxWriteCapacityUnits; long? var_tableMaxReadCapacityUnits = value.TableMaxReadCapacityUnits; long? var_tableMaxWriteCapacityUnits = value.TableMaxWriteCapacityUnits; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeLimitsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M27_AccountMaxReadCapacityUnits(var_accountMaxReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M28_AccountMaxWriteCapacityUnits(var_accountMaxWriteCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M25_TableMaxReadCapacityUnits(var_tableMaxReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M26_TableMaxWriteCapacityUnits(var_tableMaxWriteCapacityUnits) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableInput)value; Amazon.DynamoDBv2.Model.DescribeTableRequest converted = new Amazon.DynamoDBv2.Model.DescribeTableRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput (Amazon.DynamoDBv2.Model.DescribeTableRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableOutput)value; Amazon.DynamoDBv2.Model.DescribeTableResponse converted = new Amazon.DynamoDBv2.Model.DescribeTableResponse(); if (concrete._Table.is_Some) converted.Table = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput__M5_Table(concrete._Table); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput (Amazon.DynamoDBv2.Model.DescribeTableResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_table = value.Table; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput__M5_Table(var_table) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableReplicaAutoScalingInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingInput)value; Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingRequest converted = new Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableReplicaAutoScalingInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput (Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableReplicaAutoScalingOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingOutput)value; Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingResponse converted = new Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingResponse(); if (concrete._TableAutoScalingDescription.is_Some) converted.TableAutoScalingDescription = (Amazon.DynamoDBv2.Model.TableAutoScalingDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription(concrete._TableAutoScalingDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTableReplicaAutoScalingOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput (Amazon.DynamoDBv2.Model.DescribeTableReplicaAutoScalingResponse value) { Amazon.DynamoDBv2.Model.TableAutoScalingDescription var_tableAutoScalingDescription = value.TableAutoScalingDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTableReplicaAutoScalingOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription(var_tableAutoScalingDescription) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTimeToLiveRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTimeToLiveInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveInput)value; Amazon.DynamoDBv2.Model.DescribeTimeToLiveRequest converted = new Amazon.DynamoDBv2.Model.DescribeTimeToLiveRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput__M9_TableName(concrete._TableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTimeToLiveInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput (Amazon.DynamoDBv2.Model.DescribeTimeToLiveRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput__M9_TableName(value.TableName) ) ; } internal static Amazon.DynamoDBv2.Model.DescribeTimeToLiveResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTimeToLiveOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveOutput)value; Amazon.DynamoDBv2.Model.DescribeTimeToLiveResponse converted = new Amazon.DynamoDBv2.Model.DescribeTimeToLiveResponse(); if (concrete._TimeToLiveDescription.is_Some) converted.TimeToLiveDescription = (Amazon.DynamoDBv2.Model.TimeToLiveDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput__M21_TimeToLiveDescription(concrete._TimeToLiveDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDescribeTimeToLiveOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput (Amazon.DynamoDBv2.Model.DescribeTimeToLiveResponse value) { Amazon.DynamoDBv2.Model.TimeToLiveDescription var_timeToLiveDescription = value.TimeToLiveDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DescribeTimeToLiveOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput__M21_TimeToLiveDescription(var_timeToLiveDescription) ) ; } internal static Amazon.DynamoDBv2.DestinationStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDestinationStatus value) { if (value.is_ENABLING) return Amazon.DynamoDBv2.DestinationStatus.ENABLING; if (value.is_ACTIVE) return Amazon.DynamoDBv2.DestinationStatus.ACTIVE; if (value.is_DISABLING) return Amazon.DynamoDBv2.DestinationStatus.DISABLING; if (value.is_DISABLED) return Amazon.DynamoDBv2.DestinationStatus.DISABLED; if (value.is_ENABLE__FAILED) return Amazon.DynamoDBv2.DestinationStatus.ENABLE_FAILED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.DestinationStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDestinationStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus (Amazon.DynamoDBv2.DestinationStatus value) { if (Amazon.DynamoDBv2.DestinationStatus.ENABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.DestinationStatus.create_ENABLING(); if (Amazon.DynamoDBv2.DestinationStatus.ACTIVE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.DestinationStatus.create_ACTIVE(); if (Amazon.DynamoDBv2.DestinationStatus.DISABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.DestinationStatus.create_DISABLING(); if (Amazon.DynamoDBv2.DestinationStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.DestinationStatus.create_DISABLED(); if (Amazon.DynamoDBv2.DestinationStatus.ENABLE_FAILED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.DestinationStatus.create_ENABLE__FAILED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.DestinationStatus value"); } internal static Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDisableKinesisStreamingDestinationInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationInput)value; Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationRequest converted = new Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_TableName(concrete._TableName); converted.StreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_StreamArn(concrete._StreamArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDisableKinesisStreamingDestinationInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput (Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_StreamArn(value.StreamArn) ) ; } internal static Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDisableKinesisStreamingDestinationOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationOutput)value; Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationResponse converted = new Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationResponse(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_TableName(concrete._TableName); if (concrete._StreamArn.is_Some) converted.StreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_StreamArn(concrete._StreamArn); if (concrete._DestinationStatus.is_Some) converted.DestinationStatus = (Amazon.DynamoDBv2.DestinationStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M17_DestinationStatus(concrete._DestinationStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDisableKinesisStreamingDestinationOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput (Amazon.DynamoDBv2.Model.DisableKinesisStreamingDestinationResponse value) { string var_tableName = value.TableName; string var_streamArn = value.StreamArn; Amazon.DynamoDBv2.DestinationStatus var_destinationStatus = value.DestinationStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DisableKinesisStreamingDestinationOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_StreamArn(var_streamArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M17_DestinationStatus(var_destinationStatus) ) ; } internal static Amazon.DynamoDBv2.Model.DuplicateItemException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_DuplicateItemException value) { return new Amazon.DynamoDBv2.Model.DuplicateItemException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_DuplicateItemException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException (Amazon.DynamoDBv2.Model.DuplicateItemException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_DuplicateItemException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IEnableKinesisStreamingDestinationInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationInput)value; Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationRequest converted = new Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_TableName(concrete._TableName); converted.StreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_StreamArn(concrete._StreamArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IEnableKinesisStreamingDestinationInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput (Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_StreamArn(value.StreamArn) ) ; } internal static Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IEnableKinesisStreamingDestinationOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationOutput)value; Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationResponse converted = new Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationResponse(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_TableName(concrete._TableName); if (concrete._StreamArn.is_Some) converted.StreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_StreamArn(concrete._StreamArn); if (concrete._DestinationStatus.is_Some) converted.DestinationStatus = (Amazon.DynamoDBv2.DestinationStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M17_DestinationStatus(concrete._DestinationStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IEnableKinesisStreamingDestinationOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput (Amazon.DynamoDBv2.Model.EnableKinesisStreamingDestinationResponse value) { string var_tableName = value.TableName; string var_streamArn = value.StreamArn; Amazon.DynamoDBv2.DestinationStatus var_destinationStatus = value.DestinationStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.EnableKinesisStreamingDestinationOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_StreamArn(var_streamArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M17_DestinationStatus(var_destinationStatus) ) ; } internal static Amazon.DynamoDBv2.Model.ExecuteStatementRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteStatementInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementInput)value; Amazon.DynamoDBv2.Model.ExecuteStatementRequest converted = new Amazon.DynamoDBv2.Model.ExecuteStatementRequest(); converted.Statement = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_Statement(concrete._Statement); if (concrete._Parameters.is_Some) converted.Parameters = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M10_Parameters(concrete._Parameters); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M14_ConsistentRead(concrete._ConsistentRead); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_NextToken(concrete._NextToken); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M5_Limit(concrete._Limit); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteStatementInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput (Amazon.DynamoDBv2.Model.ExecuteStatementRequest value) { System.Collections.Generic.List var_parameters = value.Parameters; bool? var_consistentRead = value.ConsistentRead; string var_nextToken = value.NextToken; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; int? var_limit = value.Limit; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_Statement(value.Statement) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M10_Parameters(var_parameters) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M14_ConsistentRead(var_consistentRead) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_NextToken(var_nextToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M5_Limit(var_limit) ) ; } internal static Amazon.DynamoDBv2.Model.ExecuteStatementResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteStatementOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementOutput)value; Amazon.DynamoDBv2.Model.ExecuteStatementResponse converted = new Amazon.DynamoDBv2.Model.ExecuteStatementResponse(); if (concrete._Items.is_Some) converted.Items = (System.Collections.Generic.List>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M5_Items(concrete._Items); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M9_NextToken(concrete._NextToken); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._LastEvaluatedKey.is_Some) converted.LastEvaluatedKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_LastEvaluatedKey(concrete._LastEvaluatedKey); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteStatementOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput (Amazon.DynamoDBv2.Model.ExecuteStatementResponse value) { System.Collections.Generic.List> var_items = value.Items; string var_nextToken = value.NextToken; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; System.Collections.Generic.Dictionary var_lastEvaluatedKey = value.LastEvaluatedKey; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteStatementOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M5_Items(var_items) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M9_NextToken(var_nextToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_LastEvaluatedKey(var_lastEvaluatedKey) ) ; } internal static Amazon.DynamoDBv2.Model.ExecuteTransactionRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteTransactionInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionInput)value; Amazon.DynamoDBv2.Model.ExecuteTransactionRequest converted = new Amazon.DynamoDBv2.Model.ExecuteTransactionRequest(); converted.TransactStatements = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_TransactStatements(concrete._TransactStatements); if (concrete._ClientRequestToken.is_Some) converted.ClientRequestToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_ClientRequestToken(concrete._ClientRequestToken); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteTransactionInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput (Amazon.DynamoDBv2.Model.ExecuteTransactionRequest value) { string var_clientRequestToken = value.ClientRequestToken; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_TransactStatements(value.TransactStatements) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_ClientRequestToken(var_clientRequestToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.ExecuteTransactionResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteTransactionOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionOutput)value; Amazon.DynamoDBv2.Model.ExecuteTransactionResponse converted = new Amazon.DynamoDBv2.Model.ExecuteTransactionResponse(); if (concrete._Responses.is_Some) converted.Responses = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M9_Responses(concrete._Responses); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExecuteTransactionOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput (Amazon.DynamoDBv2.Model.ExecuteTransactionResponse value) { System.Collections.Generic.List var_responses = value.Responses; System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExecuteTransactionOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M9_Responses(var_responses) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.ExportConflictException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportConflictException value) { return new Amazon.DynamoDBv2.Model.ExportConflictException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportConflictException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException (Amazon.DynamoDBv2.Model.ExportConflictException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportConflictException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ExportFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportFormat value) { if (value.is_DYNAMODB__JSON) return Amazon.DynamoDBv2.ExportFormat.DYNAMODB_JSON; if (value.is_ION) return Amazon.DynamoDBv2.ExportFormat.ION; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ExportFormat value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportFormat ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat (Amazon.DynamoDBv2.ExportFormat value) { if (Amazon.DynamoDBv2.ExportFormat.DYNAMODB_JSON.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportFormat.create_DYNAMODB__JSON(); if (Amazon.DynamoDBv2.ExportFormat.ION.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportFormat.create_ION(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ExportFormat value"); } internal static Amazon.DynamoDBv2.Model.ExportNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportNotFoundException value) { return new Amazon.DynamoDBv2.Model.ExportNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException (Amazon.DynamoDBv2.Model.ExportNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ExportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportStatus value) { if (value.is_IN__PROGRESS) return Amazon.DynamoDBv2.ExportStatus.IN_PROGRESS; if (value.is_COMPLETED) return Amazon.DynamoDBv2.ExportStatus.COMPLETED; if (value.is_FAILED) return Amazon.DynamoDBv2.ExportStatus.FAILED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ExportStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus (Amazon.DynamoDBv2.ExportStatus value) { if (Amazon.DynamoDBv2.ExportStatus.IN_PROGRESS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportStatus.create_IN__PROGRESS(); if (Amazon.DynamoDBv2.ExportStatus.COMPLETED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportStatus.create_COMPLETED(); if (Amazon.DynamoDBv2.ExportStatus.FAILED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportStatus.create_FAILED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ExportStatus value"); } internal static Amazon.DynamoDBv2.Model.ExportTableToPointInTimeRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportTableToPointInTimeInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeInput)value; Amazon.DynamoDBv2.Model.ExportTableToPointInTimeRequest converted = new Amazon.DynamoDBv2.Model.ExportTableToPointInTimeRequest(); converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_TableArn(concrete._TableArn); if (concrete._ExportTime.is_Some) converted.ExportTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M10_ExportTime(concrete._ExportTime); if (concrete._ClientToken.is_Some) converted.ClientToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M11_ClientToken(concrete._ClientToken); converted.S3Bucket = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Bucket(concrete._S3Bucket); if (concrete._S3BucketOwner.is_Some) converted.S3BucketOwner = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3BucketOwner(concrete._S3BucketOwner); if (concrete._S3Prefix.is_Some) converted.S3Prefix = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Prefix(concrete._S3Prefix); if (concrete._S3SseAlgorithm.is_Some) converted.S3SseAlgorithm = (Amazon.DynamoDBv2.S3SseAlgorithm) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M14_S3SseAlgorithm(concrete._S3SseAlgorithm); if (concrete._S3SseKmsKeyId.is_Some) converted.S3SseKmsKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3SseKmsKeyId(concrete._S3SseKmsKeyId); if (concrete._ExportFormat.is_Some) converted.ExportFormat = (Amazon.DynamoDBv2.ExportFormat) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M12_ExportFormat(concrete._ExportFormat); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportTableToPointInTimeInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput (Amazon.DynamoDBv2.Model.ExportTableToPointInTimeRequest value) { System.DateTime? var_exportTime = value.ExportTime; string var_clientToken = value.ClientToken; string var_s3BucketOwner = value.S3BucketOwner; string var_s3Prefix = value.S3Prefix; Amazon.DynamoDBv2.S3SseAlgorithm var_s3SseAlgorithm = value.S3SseAlgorithm; string var_s3SseKmsKeyId = value.S3SseKmsKeyId; Amazon.DynamoDBv2.ExportFormat var_exportFormat = value.ExportFormat; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_TableArn(value.TableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M10_ExportTime(var_exportTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M11_ClientToken(var_clientToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Bucket(value.S3Bucket) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3BucketOwner(var_s3BucketOwner) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Prefix(var_s3Prefix) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M14_S3SseAlgorithm(var_s3SseAlgorithm) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3SseKmsKeyId(var_s3SseKmsKeyId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M12_ExportFormat(var_exportFormat) ) ; } internal static Amazon.DynamoDBv2.Model.ExportTableToPointInTimeResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportTableToPointInTimeOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeOutput)value; Amazon.DynamoDBv2.Model.ExportTableToPointInTimeResponse converted = new Amazon.DynamoDBv2.Model.ExportTableToPointInTimeResponse(); if (concrete._ExportDescription.is_Some) converted.ExportDescription = (Amazon.DynamoDBv2.Model.ExportDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput__M17_ExportDescription(concrete._ExportDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportTableToPointInTimeOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput (Amazon.DynamoDBv2.Model.ExportTableToPointInTimeResponse value) { Amazon.DynamoDBv2.Model.ExportDescription var_exportDescription = value.ExportDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportTableToPointInTimeOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput__M17_ExportDescription(var_exportDescription) ) ; } internal static Amazon.DynamoDBv2.Model.GetItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGetItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemInput)value; Amazon.DynamoDBv2.Model.GetItemRequest converted = new Amazon.DynamoDBv2.Model.GetItemRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M9_TableName(concrete._TableName); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M3_Key(concrete._Key); if (concrete._AttributesToGet.is_Some) converted.AttributesToGet = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M15_AttributesToGet(concrete._AttributesToGet); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M14_ConsistentRead(concrete._ConsistentRead); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ProjectionExpression.is_Some) converted.ProjectionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M20_ProjectionExpression(concrete._ProjectionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGetItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput (Amazon.DynamoDBv2.Model.GetItemRequest value) { System.Collections.Generic.List var_attributesToGet = value.AttributesToGet; bool? var_consistentRead = value.ConsistentRead; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; string var_projectionExpression = value.ProjectionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M15_AttributesToGet(var_attributesToGet) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M14_ConsistentRead(var_consistentRead) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M20_ProjectionExpression(var_projectionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) ) ; } internal static Amazon.DynamoDBv2.Model.GetItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGetItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemOutput)value; Amazon.DynamoDBv2.Model.GetItemResponse converted = new Amazon.DynamoDBv2.Model.GetItemResponse(); if (concrete._Item.is_Some) converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M4_Item(concrete._Item); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGetItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput (Amazon.DynamoDBv2.Model.GetItemResponse value) { System.Collections.Generic.Dictionary var_item = value.Item; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GetItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M4_Item(var_item) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalTableAlreadyExistsException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableAlreadyExistsException value) { return new Amazon.DynamoDBv2.Model.GlobalTableAlreadyExistsException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableAlreadyExistsException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException (Amazon.DynamoDBv2.Model.GlobalTableAlreadyExistsException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableAlreadyExistsException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalTableNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableNotFoundException value) { return new Amazon.DynamoDBv2.Model.GlobalTableNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException (Amazon.DynamoDBv2.Model.GlobalTableNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.GlobalTableStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_GlobalTableStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableStatus value) { if (value.is_CREATING) return Amazon.DynamoDBv2.GlobalTableStatus.CREATING; if (value.is_ACTIVE) return Amazon.DynamoDBv2.GlobalTableStatus.ACTIVE; if (value.is_DELETING) return Amazon.DynamoDBv2.GlobalTableStatus.DELETING; if (value.is_UPDATING) return Amazon.DynamoDBv2.GlobalTableStatus.UPDATING; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.GlobalTableStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_GlobalTableStatus (Amazon.DynamoDBv2.GlobalTableStatus value) { if (Amazon.DynamoDBv2.GlobalTableStatus.CREATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableStatus.create_CREATING(); if (Amazon.DynamoDBv2.GlobalTableStatus.ACTIVE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableStatus.create_ACTIVE(); if (Amazon.DynamoDBv2.GlobalTableStatus.DELETING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableStatus.create_DELETING(); if (Amazon.DynamoDBv2.GlobalTableStatus.UPDATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableStatus.create_UPDATING(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.GlobalTableStatus value"); } internal static Amazon.DynamoDBv2.Model.IdempotentParameterMismatchException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IdempotentParameterMismatchException value) { return new Amazon.DynamoDBv2.Model.IdempotentParameterMismatchException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException__M7_Message(value._Message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IdempotentParameterMismatchException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException (Amazon.DynamoDBv2.Model.IdempotentParameterMismatchException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IdempotentParameterMismatchException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException__M7_Message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ImportConflictException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportConflictException value) { return new Amazon.DynamoDBv2.Model.ImportConflictException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportConflictException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException (Amazon.DynamoDBv2.Model.ImportConflictException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportConflictException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ImportNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportNotFoundException value) { return new Amazon.DynamoDBv2.Model.ImportNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException (Amazon.DynamoDBv2.Model.ImportNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ImportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportStatus value) { if (value.is_IN__PROGRESS) return Amazon.DynamoDBv2.ImportStatus.IN_PROGRESS; if (value.is_COMPLETED) return Amazon.DynamoDBv2.ImportStatus.COMPLETED; if (value.is_CANCELLING) return Amazon.DynamoDBv2.ImportStatus.CANCELLING; if (value.is_CANCELLED) return Amazon.DynamoDBv2.ImportStatus.CANCELLED; if (value.is_FAILED) return Amazon.DynamoDBv2.ImportStatus.FAILED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ImportStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus (Amazon.DynamoDBv2.ImportStatus value) { if (Amazon.DynamoDBv2.ImportStatus.IN_PROGRESS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportStatus.create_IN__PROGRESS(); if (Amazon.DynamoDBv2.ImportStatus.COMPLETED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportStatus.create_COMPLETED(); if (Amazon.DynamoDBv2.ImportStatus.CANCELLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportStatus.create_CANCELLING(); if (Amazon.DynamoDBv2.ImportStatus.CANCELLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportStatus.create_CANCELLED(); if (Amazon.DynamoDBv2.ImportStatus.FAILED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportStatus.create_FAILED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ImportStatus value"); } internal static Amazon.DynamoDBv2.Model.ImportTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableInput)value; Amazon.DynamoDBv2.Model.ImportTableRequest converted = new Amazon.DynamoDBv2.Model.ImportTableRequest(); if (concrete._ClientToken.is_Some) converted.ClientToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_ClientToken(concrete._ClientToken); converted.S3BucketSource = (Amazon.DynamoDBv2.Model.S3BucketSource) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M14_S3BucketSource(concrete._S3BucketSource); converted.InputFormat = (Amazon.DynamoDBv2.InputFormat) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_InputFormat(concrete._InputFormat); if (concrete._InputFormatOptions.is_Some) converted.InputFormatOptions = (Amazon.DynamoDBv2.Model.InputFormatOptions) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M18_InputFormatOptions(concrete._InputFormatOptions); if (concrete._InputCompressionType.is_Some) converted.InputCompressionType = (Amazon.DynamoDBv2.InputCompressionType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M20_InputCompressionType(concrete._InputCompressionType); converted.TableCreationParameters = (Amazon.DynamoDBv2.Model.TableCreationParameters) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M23_TableCreationParameters(concrete._TableCreationParameters); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput (Amazon.DynamoDBv2.Model.ImportTableRequest value) { string var_clientToken = value.ClientToken; Amazon.DynamoDBv2.Model.InputFormatOptions var_inputFormatOptions = value.InputFormatOptions; Amazon.DynamoDBv2.InputCompressionType var_inputCompressionType = value.InputCompressionType; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_ClientToken(var_clientToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M14_S3BucketSource(value.S3BucketSource) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_InputFormat(value.InputFormat) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M18_InputFormatOptions(var_inputFormatOptions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M20_InputCompressionType(var_inputCompressionType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M23_TableCreationParameters(value.TableCreationParameters) ) ; } internal static Amazon.DynamoDBv2.Model.ImportTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableOutput)value; Amazon.DynamoDBv2.Model.ImportTableResponse converted = new Amazon.DynamoDBv2.Model.ImportTableResponse(); converted.ImportTableDescription = (Amazon.DynamoDBv2.Model.ImportTableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput__M22_ImportTableDescription(concrete._ImportTableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput (Amazon.DynamoDBv2.Model.ImportTableResponse value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput__M22_ImportTableDescription(value.ImportTableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.IndexNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IndexNotFoundException value) { return new Amazon.DynamoDBv2.Model.IndexNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IndexNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException (Amazon.DynamoDBv2.Model.IndexNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IndexNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.IndexStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IIndexStatus value) { if (value.is_CREATING) return Amazon.DynamoDBv2.IndexStatus.CREATING; if (value.is_UPDATING) return Amazon.DynamoDBv2.IndexStatus.UPDATING; if (value.is_DELETING) return Amazon.DynamoDBv2.IndexStatus.DELETING; if (value.is_ACTIVE) return Amazon.DynamoDBv2.IndexStatus.ACTIVE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.IndexStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IIndexStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus (Amazon.DynamoDBv2.IndexStatus value) { if (Amazon.DynamoDBv2.IndexStatus.CREATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.IndexStatus.create_CREATING(); if (Amazon.DynamoDBv2.IndexStatus.UPDATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.IndexStatus.create_UPDATING(); if (Amazon.DynamoDBv2.IndexStatus.DELETING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.IndexStatus.create_DELETING(); if (Amazon.DynamoDBv2.IndexStatus.ACTIVE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.IndexStatus.create_ACTIVE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.IndexStatus value"); } internal static Amazon.DynamoDBv2.InputCompressionType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputCompressionType value) { if (value.is_GZIP) return Amazon.DynamoDBv2.InputCompressionType.GZIP; if (value.is_ZSTD) return Amazon.DynamoDBv2.InputCompressionType.ZSTD; if (value.is_NONE) return Amazon.DynamoDBv2.InputCompressionType.NONE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.InputCompressionType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputCompressionType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType (Amazon.DynamoDBv2.InputCompressionType value) { if (Amazon.DynamoDBv2.InputCompressionType.GZIP.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputCompressionType.create_GZIP(); if (Amazon.DynamoDBv2.InputCompressionType.ZSTD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputCompressionType.create_ZSTD(); if (Amazon.DynamoDBv2.InputCompressionType.NONE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputCompressionType.create_NONE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.InputCompressionType value"); } internal static Amazon.DynamoDBv2.InputFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat (software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormat value) { if (value.is_DYNAMODB__JSON) return Amazon.DynamoDBv2.InputFormat.DYNAMODB_JSON; if (value.is_ION) return Amazon.DynamoDBv2.InputFormat.ION; if (value.is_CSV) return Amazon.DynamoDBv2.InputFormat.CSV; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.InputFormat value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormat ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat (Amazon.DynamoDBv2.InputFormat value) { if (Amazon.DynamoDBv2.InputFormat.DYNAMODB_JSON.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormat.create_DYNAMODB__JSON(); if (Amazon.DynamoDBv2.InputFormat.ION.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormat.create_ION(); if (Amazon.DynamoDBv2.InputFormat.CSV.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormat.create_CSV(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.InputFormat value"); } internal static Amazon.DynamoDBv2.Model.InternalServerErrorException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InternalServerError value) { return new Amazon.DynamoDBv2.Model.InternalServerErrorException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InternalServerError ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError (Amazon.DynamoDBv2.Model.InternalServerErrorException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InternalServerError ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.InvalidExportTimeException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidExportTimeException value) { return new Amazon.DynamoDBv2.Model.InvalidExportTimeException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidExportTimeException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException (Amazon.DynamoDBv2.Model.InvalidExportTimeException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidExportTimeException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.InvalidRestoreTimeException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidRestoreTimeException value) { return new Amazon.DynamoDBv2.Model.InvalidRestoreTimeException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidRestoreTimeException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException (Amazon.DynamoDBv2.Model.InvalidRestoreTimeException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidRestoreTimeException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ItemCollectionSizeLimitExceededException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ItemCollectionSizeLimitExceededException value) { return new Amazon.DynamoDBv2.Model.ItemCollectionSizeLimitExceededException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ItemCollectionSizeLimitExceededException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException (Amazon.DynamoDBv2.Model.ItemCollectionSizeLimitExceededException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ItemCollectionSizeLimitExceededException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.KeyType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeyType value) { if (value.is_HASH) return Amazon.DynamoDBv2.KeyType.HASH; if (value.is_RANGE) return Amazon.DynamoDBv2.KeyType.RANGE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.KeyType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeyType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyType (Amazon.DynamoDBv2.KeyType value) { if (Amazon.DynamoDBv2.KeyType.HASH.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.KeyType.create_HASH(); if (Amazon.DynamoDBv2.KeyType.RANGE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.KeyType.create_RANGE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.KeyType value"); } internal static Amazon.DynamoDBv2.Model.LimitExceededException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_LimitExceededException value) { return new Amazon.DynamoDBv2.Model.LimitExceededException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_LimitExceededException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException (Amazon.DynamoDBv2.Model.LimitExceededException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_LimitExceededException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ListBackupsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListBackupsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsInput)value; Amazon.DynamoDBv2.Model.ListBackupsRequest converted = new Amazon.DynamoDBv2.Model.ListBackupsRequest(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M9_TableName(concrete._TableName); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M5_Limit(concrete._Limit); if (concrete._TimeRangeLowerBound.is_Some) converted.TimeRangeLowerBound = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeLowerBound(concrete._TimeRangeLowerBound); if (concrete._TimeRangeUpperBound.is_Some) converted.TimeRangeUpperBound = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeUpperBound(concrete._TimeRangeUpperBound); if (concrete._ExclusiveStartBackupArn.is_Some) converted.ExclusiveStartBackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M23_ExclusiveStartBackupArn(concrete._ExclusiveStartBackupArn); if (concrete._BackupType.is_Some) converted.BackupType = (Amazon.DynamoDBv2.BackupTypeFilter) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M10_BackupType(concrete._BackupType); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListBackupsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput (Amazon.DynamoDBv2.Model.ListBackupsRequest value) { string var_tableName = value.TableName; int? var_limit = value.Limit; System.DateTime? var_timeRangeLowerBound = value.TimeRangeLowerBound; System.DateTime? var_timeRangeUpperBound = value.TimeRangeUpperBound; string var_exclusiveStartBackupArn = value.ExclusiveStartBackupArn; Amazon.DynamoDBv2.BackupTypeFilter var_backupType = value.BackupType; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M5_Limit(var_limit) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeLowerBound(var_timeRangeLowerBound) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeUpperBound(var_timeRangeUpperBound) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M23_ExclusiveStartBackupArn(var_exclusiveStartBackupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M10_BackupType(var_backupType) ) ; } internal static Amazon.DynamoDBv2.Model.ListBackupsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListBackupsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsOutput)value; Amazon.DynamoDBv2.Model.ListBackupsResponse converted = new Amazon.DynamoDBv2.Model.ListBackupsResponse(); if (concrete._BackupSummaries.is_Some) converted.BackupSummaries = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M15_BackupSummaries(concrete._BackupSummaries); if (concrete._LastEvaluatedBackupArn.is_Some) converted.LastEvaluatedBackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M22_LastEvaluatedBackupArn(concrete._LastEvaluatedBackupArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListBackupsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput (Amazon.DynamoDBv2.Model.ListBackupsResponse value) { System.Collections.Generic.List var_backupSummaries = value.BackupSummaries; string var_lastEvaluatedBackupArn = value.LastEvaluatedBackupArn; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListBackupsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M15_BackupSummaries(var_backupSummaries) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M22_LastEvaluatedBackupArn(var_lastEvaluatedBackupArn) ) ; } internal static Amazon.DynamoDBv2.Model.ListContributorInsightsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListContributorInsightsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsInput)value; Amazon.DynamoDBv2.Model.ListContributorInsightsRequest converted = new Amazon.DynamoDBv2.Model.ListContributorInsightsRequest(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_TableName(concrete._TableName); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_NextToken(concrete._NextToken); if (concrete._MaxResults.is_Some) converted.MaxResults = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M10_MaxResults(concrete._MaxResults); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListContributorInsightsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput (Amazon.DynamoDBv2.Model.ListContributorInsightsRequest value) { string var_tableName = value.TableName; string var_nextToken = value.NextToken; int? var_maxResults = value.MaxResults; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_NextToken(var_nextToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M10_MaxResults(var_maxResults) ) ; } internal static Amazon.DynamoDBv2.Model.ListContributorInsightsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListContributorInsightsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsOutput)value; Amazon.DynamoDBv2.Model.ListContributorInsightsResponse converted = new Amazon.DynamoDBv2.Model.ListContributorInsightsResponse(); if (concrete._ContributorInsightsSummaries.is_Some) converted.ContributorInsightsSummaries = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M28_ContributorInsightsSummaries(concrete._ContributorInsightsSummaries); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListContributorInsightsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput (Amazon.DynamoDBv2.Model.ListContributorInsightsResponse value) { System.Collections.Generic.List var_contributorInsightsSummaries = value.ContributorInsightsSummaries; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListContributorInsightsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M28_ContributorInsightsSummaries(var_contributorInsightsSummaries) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListExportsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListExportsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsInput)value; Amazon.DynamoDBv2.Model.ListExportsRequest converted = new Amazon.DynamoDBv2.Model.ListExportsRequest(); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M8_TableArn(concrete._TableArn); if (concrete._MaxResults.is_Some) converted.MaxResults = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M10_MaxResults(concrete._MaxResults); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListExportsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput (Amazon.DynamoDBv2.Model.ListExportsRequest value) { string var_tableArn = value.TableArn; int? var_maxResults = value.MaxResults; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M10_MaxResults(var_maxResults) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListExportsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListExportsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsOutput)value; Amazon.DynamoDBv2.Model.ListExportsResponse converted = new Amazon.DynamoDBv2.Model.ListExportsResponse(); if (concrete._ExportSummaries.is_Some) converted.ExportSummaries = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M15_ExportSummaries(concrete._ExportSummaries); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListExportsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput (Amazon.DynamoDBv2.Model.ListExportsResponse value) { System.Collections.Generic.List var_exportSummaries = value.ExportSummaries; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListExportsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M15_ExportSummaries(var_exportSummaries) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListGlobalTablesRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListGlobalTablesInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesInput)value; Amazon.DynamoDBv2.Model.ListGlobalTablesRequest converted = new Amazon.DynamoDBv2.Model.ListGlobalTablesRequest(); if (concrete._ExclusiveStartGlobalTableName.is_Some) converted.ExclusiveStartGlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M29_ExclusiveStartGlobalTableName(concrete._ExclusiveStartGlobalTableName); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M5_Limit(concrete._Limit); if (concrete._RegionName.is_Some) converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M10_RegionName(concrete._RegionName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListGlobalTablesInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput (Amazon.DynamoDBv2.Model.ListGlobalTablesRequest value) { string var_exclusiveStartGlobalTableName = value.ExclusiveStartGlobalTableName; int? var_limit = value.Limit; string var_regionName = value.RegionName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M29_ExclusiveStartGlobalTableName(var_exclusiveStartGlobalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M5_Limit(var_limit) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M10_RegionName(var_regionName) ) ; } internal static Amazon.DynamoDBv2.Model.ListGlobalTablesResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListGlobalTablesOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesOutput)value; Amazon.DynamoDBv2.Model.ListGlobalTablesResponse converted = new Amazon.DynamoDBv2.Model.ListGlobalTablesResponse(); if (concrete._GlobalTables.is_Some) converted.GlobalTables = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M12_GlobalTables(concrete._GlobalTables); if (concrete._LastEvaluatedGlobalTableName.is_Some) converted.LastEvaluatedGlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M28_LastEvaluatedGlobalTableName(concrete._LastEvaluatedGlobalTableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListGlobalTablesOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput (Amazon.DynamoDBv2.Model.ListGlobalTablesResponse value) { System.Collections.Generic.List var_globalTables = value.GlobalTables; string var_lastEvaluatedGlobalTableName = value.LastEvaluatedGlobalTableName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListGlobalTablesOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M12_GlobalTables(var_globalTables) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M28_LastEvaluatedGlobalTableName(var_lastEvaluatedGlobalTableName) ) ; } internal static Amazon.DynamoDBv2.Model.ListImportsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListImportsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsInput)value; Amazon.DynamoDBv2.Model.ListImportsRequest converted = new Amazon.DynamoDBv2.Model.ListImportsRequest(); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_TableArn(concrete._TableArn); if (concrete._PageSize.is_Some) converted.PageSize = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_PageSize(concrete._PageSize); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListImportsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput (Amazon.DynamoDBv2.Model.ListImportsRequest value) { string var_tableArn = value.TableArn; int? var_pageSize = value.PageSize; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_PageSize(var_pageSize) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListImportsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListImportsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsOutput)value; Amazon.DynamoDBv2.Model.ListImportsResponse converted = new Amazon.DynamoDBv2.Model.ListImportsResponse(); if (concrete._ImportSummaryList.is_Some) converted.ImportSummaryList = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M17_ImportSummaryList(concrete._ImportSummaryList); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListImportsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput (Amazon.DynamoDBv2.Model.ListImportsResponse value) { System.Collections.Generic.List var_importSummaryList = value.ImportSummaryList; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListImportsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M17_ImportSummaryList(var_importSummaryList) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListTablesRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTablesInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesInput)value; Amazon.DynamoDBv2.Model.ListTablesRequest converted = new Amazon.DynamoDBv2.Model.ListTablesRequest(); if (concrete._ExclusiveStartTableName.is_Some) converted.ExclusiveStartTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M23_ExclusiveStartTableName(concrete._ExclusiveStartTableName); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M5_Limit(concrete._Limit); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTablesInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput (Amazon.DynamoDBv2.Model.ListTablesRequest value) { string var_exclusiveStartTableName = value.ExclusiveStartTableName; int? var_limit = value.Limit; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M23_ExclusiveStartTableName(var_exclusiveStartTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M5_Limit(var_limit) ) ; } internal static Amazon.DynamoDBv2.Model.ListTablesResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTablesOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesOutput)value; Amazon.DynamoDBv2.Model.ListTablesResponse converted = new Amazon.DynamoDBv2.Model.ListTablesResponse(); if (concrete._TableNames.is_Some) converted.TableNames = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M10_TableNames(concrete._TableNames); if (concrete._LastEvaluatedTableName.is_Some) converted.LastEvaluatedTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M22_LastEvaluatedTableName(concrete._LastEvaluatedTableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTablesOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput (Amazon.DynamoDBv2.Model.ListTablesResponse value) { System.Collections.Generic.List var_tableNames = value.TableNames; string var_lastEvaluatedTableName = value.LastEvaluatedTableName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTablesOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M10_TableNames(var_tableNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M22_LastEvaluatedTableName(var_lastEvaluatedTableName) ) ; } internal static Amazon.DynamoDBv2.Model.ListTagsOfResourceRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTagsOfResourceInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceInput)value; Amazon.DynamoDBv2.Model.ListTagsOfResourceRequest converted = new Amazon.DynamoDBv2.Model.ListTagsOfResourceRequest(); converted.ResourceArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M11_ResourceArn(concrete._ResourceArn); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTagsOfResourceInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput (Amazon.DynamoDBv2.Model.ListTagsOfResourceRequest value) { string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M11_ResourceArn(value.ResourceArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.Model.ListTagsOfResourceResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTagsOfResourceOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceOutput)value; Amazon.DynamoDBv2.Model.ListTagsOfResourceResponse converted = new Amazon.DynamoDBv2.Model.ListTagsOfResourceResponse(); if (concrete._Tags.is_Some) converted.Tags = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M4_Tags(concrete._Tags); if (concrete._NextToken.is_Some) converted.NextToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M9_NextToken(concrete._NextToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IListTagsOfResourceOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput (Amazon.DynamoDBv2.Model.ListTagsOfResourceResponse value) { System.Collections.Generic.List var_tags = value.Tags; string var_nextToken = value.NextToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ListTagsOfResourceOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M4_Tags(var_tags) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M9_NextToken(var_nextToken) ) ; } internal static Amazon.DynamoDBv2.PointInTimeRecoveryStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_PointInTimeRecoveryStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoveryStatus value) { if (value.is_ENABLED) return Amazon.DynamoDBv2.PointInTimeRecoveryStatus.ENABLED; if (value.is_DISABLED) return Amazon.DynamoDBv2.PointInTimeRecoveryStatus.DISABLED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.PointInTimeRecoveryStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoveryStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_PointInTimeRecoveryStatus (Amazon.DynamoDBv2.PointInTimeRecoveryStatus value) { if (Amazon.DynamoDBv2.PointInTimeRecoveryStatus.ENABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoveryStatus.create_ENABLED(); if (Amazon.DynamoDBv2.PointInTimeRecoveryStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoveryStatus.create_DISABLED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.PointInTimeRecoveryStatus value"); } internal static Amazon.DynamoDBv2.Model.PointInTimeRecoveryUnavailableException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_PointInTimeRecoveryUnavailableException value) { return new Amazon.DynamoDBv2.Model.PointInTimeRecoveryUnavailableException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_PointInTimeRecoveryUnavailableException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException (Amazon.DynamoDBv2.Model.PointInTimeRecoveryUnavailableException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_PointInTimeRecoveryUnavailableException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ProjectionType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ProjectionType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjectionType value) { if (value.is_ALL) return Amazon.DynamoDBv2.ProjectionType.ALL; if (value.is_KEYS__ONLY) return Amazon.DynamoDBv2.ProjectionType.KEYS_ONLY; if (value.is_INCLUDE) return Amazon.DynamoDBv2.ProjectionType.INCLUDE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ProjectionType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjectionType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ProjectionType (Amazon.DynamoDBv2.ProjectionType value) { if (Amazon.DynamoDBv2.ProjectionType.ALL.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ProjectionType.create_ALL(); if (Amazon.DynamoDBv2.ProjectionType.KEYS_ONLY.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ProjectionType.create_KEYS__ONLY(); if (Amazon.DynamoDBv2.ProjectionType.INCLUDE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ProjectionType.create_INCLUDE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ProjectionType value"); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputExceededException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ProvisionedThroughputExceededException value) { return new Amazon.DynamoDBv2.Model.ProvisionedThroughputExceededException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ProvisionedThroughputExceededException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException (Amazon.DynamoDBv2.Model.ProvisionedThroughputExceededException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ProvisionedThroughputExceededException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.PutItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemInput)value; Amazon.DynamoDBv2.Model.PutItemRequest converted = new Amazon.DynamoDBv2.Model.PutItemRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M9_TableName(concrete._TableName); converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M4_Item(concrete._Item); if (concrete._Expected.is_Some) converted.Expected = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M8_Expected(concrete._Expected); if (concrete._ReturnValues.is_Some) converted.ReturnValues = (Amazon.DynamoDBv2.ReturnValue) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M12_ReturnValues(concrete._ReturnValues); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ReturnItemCollectionMetrics.is_Some) converted.ReturnItemCollectionMetrics = (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M27_ReturnItemCollectionMetrics(concrete._ReturnItemCollectionMetrics); if (concrete._ConditionalOperator.is_Some) converted.ConditionalOperator = (Amazon.DynamoDBv2.ConditionalOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionalOperator(concrete._ConditionalOperator); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput (Amazon.DynamoDBv2.Model.PutItemRequest value) { System.Collections.Generic.Dictionary var_expected = value.Expected; Amazon.DynamoDBv2.ReturnValue var_returnValues = value.ReturnValues; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; Amazon.DynamoDBv2.ReturnItemCollectionMetrics var_returnItemCollectionMetrics = value.ReturnItemCollectionMetrics; Amazon.DynamoDBv2.ConditionalOperator var_conditionalOperator = value.ConditionalOperator; string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M4_Item(value.Item) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M8_Expected(var_expected) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M12_ReturnValues(var_returnValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M27_ReturnItemCollectionMetrics(var_returnItemCollectionMetrics) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionalOperator(var_conditionalOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M25_ExpressionAttributeValues(var_expressionAttributeValues) ) ; } internal static Amazon.DynamoDBv2.Model.PutItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemOutput)value; Amazon.DynamoDBv2.Model.PutItemResponse converted = new Amazon.DynamoDBv2.Model.PutItemResponse(); if (concrete._Attributes.is_Some) converted.Attributes = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M10_Attributes(concrete._Attributes); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._ItemCollectionMetrics.is_Some) converted.ItemCollectionMetrics = (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M21_ItemCollectionMetrics(concrete._ItemCollectionMetrics); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput (Amazon.DynamoDBv2.Model.PutItemResponse value) { System.Collections.Generic.Dictionary var_attributes = value.Attributes; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; Amazon.DynamoDBv2.Model.ItemCollectionMetrics var_itemCollectionMetrics = value.ItemCollectionMetrics; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.PutItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M10_Attributes(var_attributes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M21_ItemCollectionMetrics(var_itemCollectionMetrics) ) ; } internal static Amazon.DynamoDBv2.Model.QueryRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IQueryInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryInput)value; Amazon.DynamoDBv2.Model.QueryRequest converted = new Amazon.DynamoDBv2.Model.QueryRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_IndexName(concrete._IndexName); if (concrete._Select.is_Some) converted.Select = (Amazon.DynamoDBv2.Select) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M6_Select(concrete._Select); if (concrete._AttributesToGet.is_Some) converted.AttributesToGet = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M15_AttributesToGet(concrete._AttributesToGet); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M5_Limit(concrete._Limit); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M14_ConsistentRead(concrete._ConsistentRead); if (concrete._KeyConditions.is_Some) converted.KeyConditions = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M13_KeyConditions(concrete._KeyConditions); if (concrete._QueryFilter.is_Some) converted.QueryFilter = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M11_QueryFilter(concrete._QueryFilter); if (concrete._ConditionalOperator.is_Some) converted.ConditionalOperator = (Amazon.DynamoDBv2.ConditionalOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M19_ConditionalOperator(concrete._ConditionalOperator); if (concrete._ScanIndexForward.is_Some) converted.ScanIndexForward = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_ScanIndexForward(concrete._ScanIndexForward); if (concrete._ExclusiveStartKey.is_Some) converted.ExclusiveStartKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M17_ExclusiveStartKey(concrete._ExclusiveStartKey); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ProjectionExpression.is_Some) converted.ProjectionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M20_ProjectionExpression(concrete._ProjectionExpression); if (concrete._FilterExpression.is_Some) converted.FilterExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_FilterExpression(concrete._FilterExpression); if (concrete._KeyConditionExpression.is_Some) converted.KeyConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_KeyConditionExpression(concrete._KeyConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IQueryInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput (Amazon.DynamoDBv2.Model.QueryRequest value) { string var_indexName = value.IndexName; Amazon.DynamoDBv2.Select var_select = value.Select; System.Collections.Generic.List var_attributesToGet = value.AttributesToGet; int? var_limit = value.Limit; bool? var_consistentRead = value.ConsistentRead; System.Collections.Generic.Dictionary var_keyConditions = value.KeyConditions; System.Collections.Generic.Dictionary var_queryFilter = value.QueryFilter; Amazon.DynamoDBv2.ConditionalOperator var_conditionalOperator = value.ConditionalOperator; bool? var_scanIndexForward = value.ScanIndexForward; System.Collections.Generic.Dictionary var_exclusiveStartKey = value.ExclusiveStartKey; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; string var_projectionExpression = value.ProjectionExpression; string var_filterExpression = value.FilterExpression; string var_keyConditionExpression = value.KeyConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M6_Select(var_select) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M15_AttributesToGet(var_attributesToGet) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M5_Limit(var_limit) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M14_ConsistentRead(var_consistentRead) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M13_KeyConditions(var_keyConditions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M11_QueryFilter(var_queryFilter) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M19_ConditionalOperator(var_conditionalOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_ScanIndexForward(var_scanIndexForward) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M17_ExclusiveStartKey(var_exclusiveStartKey) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M20_ProjectionExpression(var_projectionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_FilterExpression(var_filterExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_KeyConditionExpression(var_keyConditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M25_ExpressionAttributeValues(var_expressionAttributeValues) ) ; } internal static Amazon.DynamoDBv2.Model.QueryResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IQueryOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryOutput)value; Amazon.DynamoDBv2.Model.QueryResponse converted = new Amazon.DynamoDBv2.Model.QueryResponse(); if (concrete._Items.is_Some) converted.Items = (System.Collections.Generic.List>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Items(concrete._Items); if (concrete._Count.is_Some) converted.Count = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Count(concrete._Count); if (concrete._ScannedCount.is_Some) converted.ScannedCount = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M12_ScannedCount(concrete._ScannedCount); if (concrete._LastEvaluatedKey.is_Some) converted.LastEvaluatedKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_LastEvaluatedKey(concrete._LastEvaluatedKey); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IQueryOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput (Amazon.DynamoDBv2.Model.QueryResponse value) { System.Collections.Generic.List> var_items = value.Items; int? var_count = value.Count; int? var_scannedCount = value.ScannedCount; System.Collections.Generic.Dictionary var_lastEvaluatedKey = value.LastEvaluatedKey; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.QueryOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Items(var_items) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Count(var_count) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M12_ScannedCount(var_scannedCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_LastEvaluatedKey(var_lastEvaluatedKey) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaAlreadyExistsException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaAlreadyExistsException value) { return new Amazon.DynamoDBv2.Model.ReplicaAlreadyExistsException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaAlreadyExistsException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException (Amazon.DynamoDBv2.Model.ReplicaAlreadyExistsException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaAlreadyExistsException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaNotFoundException value) { return new Amazon.DynamoDBv2.Model.ReplicaNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException (Amazon.DynamoDBv2.Model.ReplicaNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.ReplicaStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaStatus value) { if (value.is_CREATING) return Amazon.DynamoDBv2.ReplicaStatus.CREATING; if (value.is_CREATION__FAILED) return Amazon.DynamoDBv2.ReplicaStatus.CREATION_FAILED; if (value.is_UPDATING) return Amazon.DynamoDBv2.ReplicaStatus.UPDATING; if (value.is_DELETING) return Amazon.DynamoDBv2.ReplicaStatus.DELETING; if (value.is_ACTIVE) return Amazon.DynamoDBv2.ReplicaStatus.ACTIVE; if (value.is_REGION__DISABLED) return Amazon.DynamoDBv2.ReplicaStatus.REGION_DISABLED; if (value.is_INACCESSIBLE__ENCRYPTION__CREDENTIALS) return Amazon.DynamoDBv2.ReplicaStatus.INACCESSIBLE_ENCRYPTION_CREDENTIALS; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReplicaStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus (Amazon.DynamoDBv2.ReplicaStatus value) { if (Amazon.DynamoDBv2.ReplicaStatus.CREATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_CREATING(); if (Amazon.DynamoDBv2.ReplicaStatus.CREATION_FAILED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_CREATION__FAILED(); if (Amazon.DynamoDBv2.ReplicaStatus.UPDATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_UPDATING(); if (Amazon.DynamoDBv2.ReplicaStatus.DELETING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_DELETING(); if (Amazon.DynamoDBv2.ReplicaStatus.ACTIVE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_ACTIVE(); if (Amazon.DynamoDBv2.ReplicaStatus.REGION_DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_REGION__DISABLED(); if (Amazon.DynamoDBv2.ReplicaStatus.INACCESSIBLE_ENCRYPTION_CREDENTIALS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaStatus.create_INACCESSIBLE__ENCRYPTION__CREDENTIALS(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReplicaStatus value"); } internal static Amazon.DynamoDBv2.Model.RequestLimitExceededException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_RequestLimitExceeded value) { return new Amazon.DynamoDBv2.Model.RequestLimitExceededException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_RequestLimitExceeded ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded (Amazon.DynamoDBv2.Model.RequestLimitExceededException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_RequestLimitExceeded ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ResourceInUseException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceInUseException value) { return new Amazon.DynamoDBv2.Model.ResourceInUseException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceInUseException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException (Amazon.DynamoDBv2.Model.ResourceInUseException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceInUseException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.ResourceNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceNotFoundException value) { return new Amazon.DynamoDBv2.Model.ResourceNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException (Amazon.DynamoDBv2.Model.ResourceNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.RestoreTableFromBackupRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableFromBackupInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupInput)value; Amazon.DynamoDBv2.Model.RestoreTableFromBackupRequest converted = new Amazon.DynamoDBv2.Model.RestoreTableFromBackupRequest(); converted.TargetTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M15_TargetTableName(concrete._TargetTableName); converted.BackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M9_BackupArn(concrete._BackupArn); if (concrete._BillingModeOverride.is_Some) converted.BillingModeOverride = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M19_BillingModeOverride(concrete._BillingModeOverride); if (concrete._GlobalSecondaryIndexOverride.is_Some) converted.GlobalSecondaryIndexOverride = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M28_GlobalSecondaryIndexOverride(concrete._GlobalSecondaryIndexOverride); if (concrete._LocalSecondaryIndexOverride.is_Some) converted.LocalSecondaryIndexOverride = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M27_LocalSecondaryIndexOverride(concrete._LocalSecondaryIndexOverride); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); if (concrete._SSESpecificationOverride.is_Some) converted.SSESpecificationOverride = (Amazon.DynamoDBv2.Model.SSESpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M24_SSESpecificationOverride(concrete._SSESpecificationOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableFromBackupInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput (Amazon.DynamoDBv2.Model.RestoreTableFromBackupRequest value) { Amazon.DynamoDBv2.BillingMode var_billingModeOverride = value.BillingModeOverride; System.Collections.Generic.List var_globalSecondaryIndexOverride = value.GlobalSecondaryIndexOverride; System.Collections.Generic.List var_localSecondaryIndexOverride = value.LocalSecondaryIndexOverride; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; Amazon.DynamoDBv2.Model.SSESpecification var_sSESpecificationOverride = value.SSESpecificationOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M15_TargetTableName(value.TargetTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M9_BackupArn(value.BackupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M19_BillingModeOverride(var_billingModeOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M28_GlobalSecondaryIndexOverride(var_globalSecondaryIndexOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M27_LocalSecondaryIndexOverride(var_localSecondaryIndexOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M24_SSESpecificationOverride(var_sSESpecificationOverride) ) ; } internal static Amazon.DynamoDBv2.Model.RestoreTableFromBackupResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableFromBackupOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupOutput)value; Amazon.DynamoDBv2.Model.RestoreTableFromBackupResponse converted = new Amazon.DynamoDBv2.Model.RestoreTableFromBackupResponse(); if (concrete._TableDescription.is_Some) converted.TableDescription = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput__M16_TableDescription(concrete._TableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableFromBackupOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput (Amazon.DynamoDBv2.Model.RestoreTableFromBackupResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_tableDescription = value.TableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableFromBackupOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput__M16_TableDescription(var_tableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableToPointInTimeInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeInput)value; Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeRequest converted = new Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeRequest(); if (concrete._SourceTableArn.is_Some) converted.SourceTableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M14_SourceTableArn(concrete._SourceTableArn); if (concrete._SourceTableName.is_Some) converted.SourceTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_SourceTableName(concrete._SourceTableName); converted.TargetTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_TargetTableName(concrete._TargetTableName); if (concrete._UseLatestRestorableTime.is_Some) converted.UseLatestRestorableTime = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M23_UseLatestRestorableTime(concrete._UseLatestRestorableTime); if (concrete._RestoreDateTime.is_Some) converted.RestoreDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_RestoreDateTime(concrete._RestoreDateTime); if (concrete._BillingModeOverride.is_Some) converted.BillingModeOverride = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M19_BillingModeOverride(concrete._BillingModeOverride); if (concrete._GlobalSecondaryIndexOverride.is_Some) converted.GlobalSecondaryIndexOverride = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M28_GlobalSecondaryIndexOverride(concrete._GlobalSecondaryIndexOverride); if (concrete._LocalSecondaryIndexOverride.is_Some) converted.LocalSecondaryIndexOverride = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M27_LocalSecondaryIndexOverride(concrete._LocalSecondaryIndexOverride); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); if (concrete._SSESpecificationOverride.is_Some) converted.SSESpecificationOverride = (Amazon.DynamoDBv2.Model.SSESpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M24_SSESpecificationOverride(concrete._SSESpecificationOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableToPointInTimeInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput (Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeRequest value) { string var_sourceTableArn = value.SourceTableArn; string var_sourceTableName = value.SourceTableName; bool? var_useLatestRestorableTime = value.UseLatestRestorableTime; System.DateTime? var_restoreDateTime = value.RestoreDateTime; Amazon.DynamoDBv2.BillingMode var_billingModeOverride = value.BillingModeOverride; System.Collections.Generic.List var_globalSecondaryIndexOverride = value.GlobalSecondaryIndexOverride; System.Collections.Generic.List var_localSecondaryIndexOverride = value.LocalSecondaryIndexOverride; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; Amazon.DynamoDBv2.Model.SSESpecification var_sSESpecificationOverride = value.SSESpecificationOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M14_SourceTableArn(var_sourceTableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_SourceTableName(var_sourceTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_TargetTableName(value.TargetTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M23_UseLatestRestorableTime(var_useLatestRestorableTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_RestoreDateTime(var_restoreDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M19_BillingModeOverride(var_billingModeOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M28_GlobalSecondaryIndexOverride(var_globalSecondaryIndexOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M27_LocalSecondaryIndexOverride(var_localSecondaryIndexOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M24_SSESpecificationOverride(var_sSESpecificationOverride) ) ; } internal static Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableToPointInTimeOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeOutput)value; Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeResponse converted = new Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeResponse(); if (concrete._TableDescription.is_Some) converted.TableDescription = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput__M16_TableDescription(concrete._TableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreTableToPointInTimeOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput (Amazon.DynamoDBv2.Model.RestoreTableToPointInTimeResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_tableDescription = value.TableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreTableToPointInTimeOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput__M16_TableDescription(var_tableDescription) ) ; } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnConsumedCapacity value) { if (value.is_INDEXES) return Amazon.DynamoDBv2.ReturnConsumedCapacity.INDEXES; if (value.is_TOTAL) return Amazon.DynamoDBv2.ReturnConsumedCapacity.TOTAL; if (value.is_NONE) return Amazon.DynamoDBv2.ReturnConsumedCapacity.NONE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnConsumedCapacity value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnConsumedCapacity ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { if (Amazon.DynamoDBv2.ReturnConsumedCapacity.INDEXES.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnConsumedCapacity.create_INDEXES(); if (Amazon.DynamoDBv2.ReturnConsumedCapacity.TOTAL.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnConsumedCapacity.create_TOTAL(); if (Amazon.DynamoDBv2.ReturnConsumedCapacity.NONE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnConsumedCapacity.create_NONE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnConsumedCapacity value"); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnItemCollectionMetrics value) { if (value.is_SIZE) return Amazon.DynamoDBv2.ReturnItemCollectionMetrics.SIZE; if (value.is_NONE) return Amazon.DynamoDBv2.ReturnItemCollectionMetrics.NONE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnItemCollectionMetrics value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnItemCollectionMetrics ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { if (Amazon.DynamoDBv2.ReturnItemCollectionMetrics.SIZE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnItemCollectionMetrics.create_SIZE(); if (Amazon.DynamoDBv2.ReturnItemCollectionMetrics.NONE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnItemCollectionMetrics.create_NONE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnItemCollectionMetrics value"); } internal static Amazon.DynamoDBv2.ReturnValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnValue value) { if (value.is_NONE) return Amazon.DynamoDBv2.ReturnValue.NONE; if (value.is_ALL__OLD) return Amazon.DynamoDBv2.ReturnValue.ALL_OLD; if (value.is_UPDATED__OLD) return Amazon.DynamoDBv2.ReturnValue.UPDATED_OLD; if (value.is_ALL__NEW) return Amazon.DynamoDBv2.ReturnValue.ALL_NEW; if (value.is_UPDATED__NEW) return Amazon.DynamoDBv2.ReturnValue.UPDATED_NEW; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnValue value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue (Amazon.DynamoDBv2.ReturnValue value) { if (Amazon.DynamoDBv2.ReturnValue.NONE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValue.create_NONE(); if (Amazon.DynamoDBv2.ReturnValue.ALL_OLD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValue.create_ALL__OLD(); if (Amazon.DynamoDBv2.ReturnValue.UPDATED_OLD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValue.create_UPDATED__OLD(); if (Amazon.DynamoDBv2.ReturnValue.ALL_NEW.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValue.create_ALL__NEW(); if (Amazon.DynamoDBv2.ReturnValue.UPDATED_NEW.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValue.create_UPDATED__NEW(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnValue value"); } internal static Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnValuesOnConditionCheckFailure value) { if (value.is_ALL__OLD) return Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure.ALL_OLD; if (value.is_NONE) return Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure.NONE; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReturnValuesOnConditionCheckFailure ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value) { if (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure.ALL_OLD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValuesOnConditionCheckFailure.create_ALL__OLD(); if (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure.NONE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ReturnValuesOnConditionCheckFailure.create_NONE(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value"); } internal static Amazon.DynamoDBv2.S3SseAlgorithm FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm (software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3SseAlgorithm value) { if (value.is_AES256) return Amazon.DynamoDBv2.S3SseAlgorithm.AES256; if (value.is_KMS) return Amazon.DynamoDBv2.S3SseAlgorithm.KMS; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.S3SseAlgorithm value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3SseAlgorithm ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm (Amazon.DynamoDBv2.S3SseAlgorithm value) { if (Amazon.DynamoDBv2.S3SseAlgorithm.AES256.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.S3SseAlgorithm.create_AES256(); if (Amazon.DynamoDBv2.S3SseAlgorithm.KMS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.S3SseAlgorithm.create_KMS(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.S3SseAlgorithm value"); } internal static Amazon.DynamoDBv2.ScalarAttributeType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ScalarAttributeType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IScalarAttributeType value) { if (value.is_S) return Amazon.DynamoDBv2.ScalarAttributeType.S; if (value.is_N) return Amazon.DynamoDBv2.ScalarAttributeType.N; if (value.is_B) return Amazon.DynamoDBv2.ScalarAttributeType.B; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ScalarAttributeType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IScalarAttributeType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ScalarAttributeType (Amazon.DynamoDBv2.ScalarAttributeType value) { if (Amazon.DynamoDBv2.ScalarAttributeType.S.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ScalarAttributeType.create_S(); if (Amazon.DynamoDBv2.ScalarAttributeType.N.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ScalarAttributeType.create_N(); if (Amazon.DynamoDBv2.ScalarAttributeType.B.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.ScalarAttributeType.create_B(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.ScalarAttributeType value"); } internal static Amazon.DynamoDBv2.Model.ScanRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IScanInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanInput)value; Amazon.DynamoDBv2.Model.ScanRequest converted = new Amazon.DynamoDBv2.Model.ScanRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_IndexName(concrete._IndexName); if (concrete._AttributesToGet.is_Some) converted.AttributesToGet = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M15_AttributesToGet(concrete._AttributesToGet); if (concrete._Limit.is_Some) converted.Limit = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M5_Limit(concrete._Limit); if (concrete._Select.is_Some) converted.Select = (Amazon.DynamoDBv2.Select) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M6_Select(concrete._Select); if (concrete._ScanFilter.is_Some) converted.ScanFilter = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M10_ScanFilter(concrete._ScanFilter); if (concrete._ConditionalOperator.is_Some) converted.ConditionalOperator = (Amazon.DynamoDBv2.ConditionalOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M19_ConditionalOperator(concrete._ConditionalOperator); if (concrete._ExclusiveStartKey.is_Some) converted.ExclusiveStartKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M17_ExclusiveStartKey(concrete._ExclusiveStartKey); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._TotalSegments.is_Some) converted.TotalSegments = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M13_TotalSegments(concrete._TotalSegments); if (concrete._Segment.is_Some) converted.Segment = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M7_Segment(concrete._Segment); if (concrete._ProjectionExpression.is_Some) converted.ProjectionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M20_ProjectionExpression(concrete._ProjectionExpression); if (concrete._FilterExpression.is_Some) converted.FilterExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M16_FilterExpression(concrete._FilterExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M14_ConsistentRead(concrete._ConsistentRead); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IScanInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput (Amazon.DynamoDBv2.Model.ScanRequest value) { string var_indexName = value.IndexName; System.Collections.Generic.List var_attributesToGet = value.AttributesToGet; int? var_limit = value.Limit; Amazon.DynamoDBv2.Select var_select = value.Select; System.Collections.Generic.Dictionary var_scanFilter = value.ScanFilter; Amazon.DynamoDBv2.ConditionalOperator var_conditionalOperator = value.ConditionalOperator; System.Collections.Generic.Dictionary var_exclusiveStartKey = value.ExclusiveStartKey; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; int? var_totalSegments = value.TotalSegments; int? var_segment = value.Segment; string var_projectionExpression = value.ProjectionExpression; string var_filterExpression = value.FilterExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; bool? var_consistentRead = value.ConsistentRead; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M15_AttributesToGet(var_attributesToGet) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M5_Limit(var_limit) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M6_Select(var_select) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M10_ScanFilter(var_scanFilter) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M19_ConditionalOperator(var_conditionalOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M17_ExclusiveStartKey(var_exclusiveStartKey) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M13_TotalSegments(var_totalSegments) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M7_Segment(var_segment) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M20_ProjectionExpression(var_projectionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M16_FilterExpression(var_filterExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M25_ExpressionAttributeValues(var_expressionAttributeValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M14_ConsistentRead(var_consistentRead) ) ; } internal static Amazon.DynamoDBv2.Model.ScanResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IScanOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanOutput)value; Amazon.DynamoDBv2.Model.ScanResponse converted = new Amazon.DynamoDBv2.Model.ScanResponse(); if (concrete._Items.is_Some) converted.Items = (System.Collections.Generic.List>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Items(concrete._Items); if (concrete._Count.is_Some) converted.Count = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Count(concrete._Count); if (concrete._ScannedCount.is_Some) converted.ScannedCount = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M12_ScannedCount(concrete._ScannedCount); if (concrete._LastEvaluatedKey.is_Some) converted.LastEvaluatedKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_LastEvaluatedKey(concrete._LastEvaluatedKey); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IScanOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput (Amazon.DynamoDBv2.Model.ScanResponse value) { System.Collections.Generic.List> var_items = value.Items; int? var_count = value.Count; int? var_scannedCount = value.ScannedCount; System.Collections.Generic.Dictionary var_lastEvaluatedKey = value.LastEvaluatedKey; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ScanOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Items(var_items) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Count(var_count) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M12_ScannedCount(var_scannedCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_LastEvaluatedKey(var_lastEvaluatedKey) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_ConsumedCapacity(var_consumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Select FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISelect value) { if (value.is_ALL__ATTRIBUTES) return Amazon.DynamoDBv2.Select.ALL_ATTRIBUTES; if (value.is_ALL__PROJECTED__ATTRIBUTES) return Amazon.DynamoDBv2.Select.ALL_PROJECTED_ATTRIBUTES; if (value.is_SPECIFIC__ATTRIBUTES) return Amazon.DynamoDBv2.Select.SPECIFIC_ATTRIBUTES; if (value.is_COUNT) return Amazon.DynamoDBv2.Select.COUNT; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.Select value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISelect ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select (Amazon.DynamoDBv2.Select value) { if (Amazon.DynamoDBv2.Select.ALL_ATTRIBUTES.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.Select.create_ALL__ATTRIBUTES(); if (Amazon.DynamoDBv2.Select.ALL_PROJECTED_ATTRIBUTES.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.Select.create_ALL__PROJECTED__ATTRIBUTES(); if (Amazon.DynamoDBv2.Select.SPECIFIC_ATTRIBUTES.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.Select.create_SPECIFIC__ATTRIBUTES(); if (Amazon.DynamoDBv2.Select.COUNT.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.Select.create_COUNT(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.Select value"); } internal static Amazon.DynamoDBv2.SSEStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_SSEStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEStatus value) { if (value.is_ENABLING) return Amazon.DynamoDBv2.SSEStatus.ENABLING; if (value.is_ENABLED) return Amazon.DynamoDBv2.SSEStatus.ENABLED; if (value.is_DISABLING) return Amazon.DynamoDBv2.SSEStatus.DISABLING; if (value.is_DISABLED) return Amazon.DynamoDBv2.SSEStatus.DISABLED; if (value.is_UPDATING) return Amazon.DynamoDBv2.SSEStatus.UPDATING; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.SSEStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_SSEStatus (Amazon.DynamoDBv2.SSEStatus value) { if (Amazon.DynamoDBv2.SSEStatus.ENABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEStatus.create_ENABLING(); if (Amazon.DynamoDBv2.SSEStatus.ENABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEStatus.create_ENABLED(); if (Amazon.DynamoDBv2.SSEStatus.DISABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEStatus.create_DISABLING(); if (Amazon.DynamoDBv2.SSEStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEStatus.create_DISABLED(); if (Amazon.DynamoDBv2.SSEStatus.UPDATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEStatus.create_UPDATING(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.SSEStatus value"); } internal static Amazon.DynamoDBv2.SSEType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEType value) { if (value.is_AES256) return Amazon.DynamoDBv2.SSEType.AES256; if (value.is_KMS) return Amazon.DynamoDBv2.SSEType.KMS; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.SSEType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType (Amazon.DynamoDBv2.SSEType value) { if (Amazon.DynamoDBv2.SSEType.AES256.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEType.create_AES256(); if (Amazon.DynamoDBv2.SSEType.KMS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEType.create_KMS(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.SSEType value"); } internal static Amazon.DynamoDBv2.StreamViewType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_StreamViewType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IStreamViewType value) { if (value.is_NEW__IMAGE) return Amazon.DynamoDBv2.StreamViewType.NEW_IMAGE; if (value.is_OLD__IMAGE) return Amazon.DynamoDBv2.StreamViewType.OLD_IMAGE; if (value.is_NEW__AND__OLD__IMAGES) return Amazon.DynamoDBv2.StreamViewType.NEW_AND_OLD_IMAGES; if (value.is_KEYS__ONLY) return Amazon.DynamoDBv2.StreamViewType.KEYS_ONLY; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.StreamViewType value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IStreamViewType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_StreamViewType (Amazon.DynamoDBv2.StreamViewType value) { if (Amazon.DynamoDBv2.StreamViewType.NEW_IMAGE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamViewType.create_NEW__IMAGE(); if (Amazon.DynamoDBv2.StreamViewType.OLD_IMAGE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamViewType.create_OLD__IMAGE(); if (Amazon.DynamoDBv2.StreamViewType.NEW_AND_OLD_IMAGES.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamViewType.create_NEW__AND__OLD__IMAGES(); if (Amazon.DynamoDBv2.StreamViewType.KEYS_ONLY.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamViewType.create_KEYS__ONLY(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.StreamViewType value"); } internal static Amazon.DynamoDBv2.Model.TableAlreadyExistsException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableAlreadyExistsException value) { return new Amazon.DynamoDBv2.Model.TableAlreadyExistsException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableAlreadyExistsException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException (Amazon.DynamoDBv2.Model.TableAlreadyExistsException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableAlreadyExistsException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableClass value) { if (value.is_STANDARD) return Amazon.DynamoDBv2.TableClass.STANDARD; if (value.is_STANDARD__INFREQUENT__ACCESS) return Amazon.DynamoDBv2.TableClass.STANDARD_INFREQUENT_ACCESS; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TableClass value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableClass ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass (Amazon.DynamoDBv2.TableClass value) { if (Amazon.DynamoDBv2.TableClass.STANDARD.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableClass.create_STANDARD(); if (Amazon.DynamoDBv2.TableClass.STANDARD_INFREQUENT_ACCESS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableClass.create_STANDARD__INFREQUENT__ACCESS(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TableClass value"); } internal static Amazon.DynamoDBv2.Model.TableInUseException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableInUseException value) { return new Amazon.DynamoDBv2.Model.TableInUseException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableInUseException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException (Amazon.DynamoDBv2.Model.TableInUseException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableInUseException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.TableNotFoundException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableNotFoundException value) { return new Amazon.DynamoDBv2.Model.TableNotFoundException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableNotFoundException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException (Amazon.DynamoDBv2.Model.TableNotFoundException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableNotFoundException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.TableStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableStatus value) { if (value.is_CREATING) return Amazon.DynamoDBv2.TableStatus.CREATING; if (value.is_UPDATING) return Amazon.DynamoDBv2.TableStatus.UPDATING; if (value.is_DELETING) return Amazon.DynamoDBv2.TableStatus.DELETING; if (value.is_ACTIVE) return Amazon.DynamoDBv2.TableStatus.ACTIVE; if (value.is_INACCESSIBLE__ENCRYPTION__CREDENTIALS) return Amazon.DynamoDBv2.TableStatus.INACCESSIBLE_ENCRYPTION_CREDENTIALS; if (value.is_ARCHIVING) return Amazon.DynamoDBv2.TableStatus.ARCHIVING; if (value.is_ARCHIVED) return Amazon.DynamoDBv2.TableStatus.ARCHIVED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TableStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus (Amazon.DynamoDBv2.TableStatus value) { if (Amazon.DynamoDBv2.TableStatus.CREATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_CREATING(); if (Amazon.DynamoDBv2.TableStatus.UPDATING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_UPDATING(); if (Amazon.DynamoDBv2.TableStatus.DELETING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_DELETING(); if (Amazon.DynamoDBv2.TableStatus.ACTIVE.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_ACTIVE(); if (Amazon.DynamoDBv2.TableStatus.INACCESSIBLE_ENCRYPTION_CREDENTIALS.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_INACCESSIBLE__ENCRYPTION__CREDENTIALS(); if (Amazon.DynamoDBv2.TableStatus.ARCHIVING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_ARCHIVING(); if (Amazon.DynamoDBv2.TableStatus.ARCHIVED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TableStatus.create_ARCHIVED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TableStatus value"); } internal static Amazon.DynamoDBv2.Model.TagResourceRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITagResourceInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TagResourceInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TagResourceInput)value; Amazon.DynamoDBv2.Model.TagResourceRequest converted = new Amazon.DynamoDBv2.Model.TagResourceRequest(); converted.ResourceArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M11_ResourceArn(concrete._ResourceArn); converted.Tags = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M4_Tags(concrete._Tags); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITagResourceInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput (Amazon.DynamoDBv2.Model.TagResourceRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TagResourceInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M11_ResourceArn(value.ResourceArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M4_Tags(value.Tags) ) ; } internal static Amazon.DynamoDBv2.TimeToLiveStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TimeToLiveStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveStatus value) { if (value.is_ENABLING) return Amazon.DynamoDBv2.TimeToLiveStatus.ENABLING; if (value.is_DISABLING) return Amazon.DynamoDBv2.TimeToLiveStatus.DISABLING; if (value.is_ENABLED) return Amazon.DynamoDBv2.TimeToLiveStatus.ENABLED; if (value.is_DISABLED) return Amazon.DynamoDBv2.TimeToLiveStatus.DISABLED; throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TimeToLiveStatus value"); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TimeToLiveStatus (Amazon.DynamoDBv2.TimeToLiveStatus value) { if (Amazon.DynamoDBv2.TimeToLiveStatus.ENABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveStatus.create_ENABLING(); if (Amazon.DynamoDBv2.TimeToLiveStatus.DISABLING.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveStatus.create_DISABLING(); if (Amazon.DynamoDBv2.TimeToLiveStatus.ENABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveStatus.create_ENABLED(); if (Amazon.DynamoDBv2.TimeToLiveStatus.DISABLED.Equals(value)) return software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveStatus.create_DISABLED(); throw new System.ArgumentException("Invalid Amazon.DynamoDBv2.TimeToLiveStatus value"); } internal static Amazon.DynamoDBv2.Model.TransactGetItemsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItemsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsInput)value; Amazon.DynamoDBv2.Model.TransactGetItemsRequest converted = new Amazon.DynamoDBv2.Model.TransactGetItemsRequest(); converted.TransactItems = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M13_TransactItems(concrete._TransactItems); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItemsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput (Amazon.DynamoDBv2.Model.TransactGetItemsRequest value) { Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M13_TransactItems(value.TransactItems) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) ) ; } internal static Amazon.DynamoDBv2.Model.TransactGetItemsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItemsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsOutput)value; Amazon.DynamoDBv2.Model.TransactGetItemsResponse converted = new Amazon.DynamoDBv2.Model.TransactGetItemsResponse(); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._Responses.is_Some) converted.Responses = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M9_Responses(concrete._Responses); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItemsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput (Amazon.DynamoDBv2.Model.TransactGetItemsResponse value) { System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; System.Collections.Generic.List var_responses = value.Responses; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItemsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M9_Responses(var_responses) ) ; } internal static Amazon.DynamoDBv2.Model.TransactionCanceledException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionCanceledException value) { return new Amazon.DynamoDBv2.Model.TransactionCanceledException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M7_Message(value._Message) , new Exception(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M19_CancellationReasons(value._CancellationReasons).ToString()) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionCanceledException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException (Amazon.DynamoDBv2.Model.TransactionCanceledException value) { string var_message = value.Message; System.Collections.Generic.List var_cancellationReasons = value.CancellationReasons; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionCanceledException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M7_Message(var_message) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M19_CancellationReasons(var_cancellationReasons) ) ; } internal static Amazon.DynamoDBv2.Model.TransactionConflictException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionConflictException value) { return new Amazon.DynamoDBv2.Model.TransactionConflictException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException__M7_message(value._message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionConflictException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException (Amazon.DynamoDBv2.Model.TransactionConflictException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionConflictException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException__M7_message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.TransactionInProgressException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException (software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionInProgressException value) { return new Amazon.DynamoDBv2.Model.TransactionInProgressException ( FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException__M7_Message(value._Message) ) ; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionInProgressException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException (Amazon.DynamoDBv2.Model.TransactionInProgressException value) { string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionInProgressException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException__M7_Message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.TransactWriteItemsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItemsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsInput)value; Amazon.DynamoDBv2.Model.TransactWriteItemsRequest converted = new Amazon.DynamoDBv2.Model.TransactWriteItemsRequest(); converted.TransactItems = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M13_TransactItems(concrete._TransactItems); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ReturnItemCollectionMetrics.is_Some) converted.ReturnItemCollectionMetrics = (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M27_ReturnItemCollectionMetrics(concrete._ReturnItemCollectionMetrics); if (concrete._ClientRequestToken.is_Some) converted.ClientRequestToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M18_ClientRequestToken(concrete._ClientRequestToken); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItemsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput (Amazon.DynamoDBv2.Model.TransactWriteItemsRequest value) { Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; Amazon.DynamoDBv2.ReturnItemCollectionMetrics var_returnItemCollectionMetrics = value.ReturnItemCollectionMetrics; string var_clientRequestToken = value.ClientRequestToken; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M13_TransactItems(value.TransactItems) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M27_ReturnItemCollectionMetrics(var_returnItemCollectionMetrics) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M18_ClientRequestToken(var_clientRequestToken) ) ; } internal static Amazon.DynamoDBv2.Model.TransactWriteItemsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItemsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsOutput)value; Amazon.DynamoDBv2.Model.TransactWriteItemsResponse converted = new Amazon.DynamoDBv2.Model.TransactWriteItemsResponse(); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._ItemCollectionMetrics.is_Some) converted.ItemCollectionMetrics = (System.Collections.Generic.Dictionary>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M21_ItemCollectionMetrics(concrete._ItemCollectionMetrics); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItemsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput (Amazon.DynamoDBv2.Model.TransactWriteItemsResponse value) { System.Collections.Generic.List var_consumedCapacity = value.ConsumedCapacity; System.Collections.Generic.Dictionary> var_itemCollectionMetrics = value.ItemCollectionMetrics; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItemsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M21_ItemCollectionMetrics(var_itemCollectionMetrics) ) ; } internal static Amazon.DynamoDBv2.Model.UntagResourceRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUntagResourceInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UntagResourceInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UntagResourceInput)value; Amazon.DynamoDBv2.Model.UntagResourceRequest converted = new Amazon.DynamoDBv2.Model.UntagResourceRequest(); converted.ResourceArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M11_ResourceArn(concrete._ResourceArn); converted.TagKeys = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M7_TagKeys(concrete._TagKeys); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUntagResourceInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput (Amazon.DynamoDBv2.Model.UntagResourceRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UntagResourceInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M11_ResourceArn(value.ResourceArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M7_TagKeys(value.TagKeys) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateContinuousBackupsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContinuousBackupsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsInput)value; Amazon.DynamoDBv2.Model.UpdateContinuousBackupsRequest converted = new Amazon.DynamoDBv2.Model.UpdateContinuousBackupsRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M9_TableName(concrete._TableName); converted.PointInTimeRecoverySpecification = (Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M32_PointInTimeRecoverySpecification(concrete._PointInTimeRecoverySpecification); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContinuousBackupsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput (Amazon.DynamoDBv2.Model.UpdateContinuousBackupsRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M32_PointInTimeRecoverySpecification(value.PointInTimeRecoverySpecification) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContinuousBackupsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsOutput)value; Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse converted = new Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse(); if (concrete._ContinuousBackupsDescription.is_Some) converted.ContinuousBackupsDescription = (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput__M28_ContinuousBackupsDescription(concrete._ContinuousBackupsDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContinuousBackupsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput (Amazon.DynamoDBv2.Model.UpdateContinuousBackupsResponse value) { Amazon.DynamoDBv2.Model.ContinuousBackupsDescription var_continuousBackupsDescription = value.ContinuousBackupsDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContinuousBackupsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput__M28_ContinuousBackupsDescription(var_continuousBackupsDescription) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateContributorInsightsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContributorInsightsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsInput)value; Amazon.DynamoDBv2.Model.UpdateContributorInsightsRequest converted = new Amazon.DynamoDBv2.Model.UpdateContributorInsightsRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_IndexName(concrete._IndexName); converted.ContributorInsightsAction = (Amazon.DynamoDBv2.ContributorInsightsAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M25_ContributorInsightsAction(concrete._ContributorInsightsAction); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContributorInsightsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput (Amazon.DynamoDBv2.Model.UpdateContributorInsightsRequest value) { string var_indexName = value.IndexName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M25_ContributorInsightsAction(value.ContributorInsightsAction) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateContributorInsightsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContributorInsightsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsOutput)value; Amazon.DynamoDBv2.Model.UpdateContributorInsightsResponse converted = new Amazon.DynamoDBv2.Model.UpdateContributorInsightsResponse(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_IndexName(concrete._IndexName); if (concrete._ContributorInsightsStatus.is_Some) converted.ContributorInsightsStatus = (Amazon.DynamoDBv2.ContributorInsightsStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M25_ContributorInsightsStatus(concrete._ContributorInsightsStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateContributorInsightsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput (Amazon.DynamoDBv2.Model.UpdateContributorInsightsResponse value) { string var_tableName = value.TableName; string var_indexName = value.IndexName; Amazon.DynamoDBv2.ContributorInsightsStatus var_contributorInsightsStatus = value.ContributorInsightsStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateContributorInsightsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M25_ContributorInsightsStatus(var_contributorInsightsStatus) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateGlobalTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableInput)value; Amazon.DynamoDBv2.Model.UpdateGlobalTableRequest converted = new Amazon.DynamoDBv2.Model.UpdateGlobalTableRequest(); converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M15_GlobalTableName(concrete._GlobalTableName); converted.ReplicaUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M14_ReplicaUpdates(concrete._ReplicaUpdates); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput (Amazon.DynamoDBv2.Model.UpdateGlobalTableRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M15_GlobalTableName(value.GlobalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M14_ReplicaUpdates(value.ReplicaUpdates) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateGlobalTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableOutput)value; Amazon.DynamoDBv2.Model.UpdateGlobalTableResponse converted = new Amazon.DynamoDBv2.Model.UpdateGlobalTableResponse(); if (concrete._GlobalTableDescription.is_Some) converted.GlobalTableDescription = (Amazon.DynamoDBv2.Model.GlobalTableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput__M22_GlobalTableDescription(concrete._GlobalTableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput (Amazon.DynamoDBv2.Model.UpdateGlobalTableResponse value) { Amazon.DynamoDBv2.Model.GlobalTableDescription var_globalTableDescription = value.GlobalTableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput__M22_GlobalTableDescription(var_globalTableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableSettingsInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsInput)value; Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsRequest converted = new Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsRequest(); converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M15_GlobalTableName(concrete._GlobalTableName); if (concrete._GlobalTableBillingMode.is_Some) converted.GlobalTableBillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M22_GlobalTableBillingMode(concrete._GlobalTableBillingMode); if (concrete._GlobalTableProvisionedWriteCapacityUnits.is_Some) converted.GlobalTableProvisionedWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M40_GlobalTableProvisionedWriteCapacityUnits(concrete._GlobalTableProvisionedWriteCapacityUnits); if (concrete._GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate.is_Some) converted.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M60_GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(concrete._GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate); if (concrete._GlobalTableGlobalSecondaryIndexSettingsUpdate.is_Some) converted.GlobalTableGlobalSecondaryIndexSettingsUpdate = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M45_GlobalTableGlobalSecondaryIndexSettingsUpdate(concrete._GlobalTableGlobalSecondaryIndexSettingsUpdate); if (concrete._ReplicaSettingsUpdate.is_Some) converted.ReplicaSettingsUpdate = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M21_ReplicaSettingsUpdate(concrete._ReplicaSettingsUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableSettingsInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput (Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsRequest value) { Amazon.DynamoDBv2.BillingMode var_globalTableBillingMode = value.GlobalTableBillingMode; long? var_globalTableProvisionedWriteCapacityUnits = value.GlobalTableProvisionedWriteCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate = value.GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate; System.Collections.Generic.List var_globalTableGlobalSecondaryIndexSettingsUpdate = value.GlobalTableGlobalSecondaryIndexSettingsUpdate; System.Collections.Generic.List var_replicaSettingsUpdate = value.ReplicaSettingsUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M15_GlobalTableName(value.GlobalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M22_GlobalTableBillingMode(var_globalTableBillingMode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M40_GlobalTableProvisionedWriteCapacityUnits(var_globalTableProvisionedWriteCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M60_GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(var_globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M45_GlobalTableGlobalSecondaryIndexSettingsUpdate(var_globalTableGlobalSecondaryIndexSettingsUpdate) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M21_ReplicaSettingsUpdate(var_replicaSettingsUpdate) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableSettingsOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsOutput)value; Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsResponse converted = new Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsResponse(); if (concrete._GlobalTableName.is_Some) converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_GlobalTableName(concrete._GlobalTableName); if (concrete._ReplicaSettings.is_Some) converted.ReplicaSettings = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_ReplicaSettings(concrete._ReplicaSettings); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalTableSettingsOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput (Amazon.DynamoDBv2.Model.UpdateGlobalTableSettingsResponse value) { string var_globalTableName = value.GlobalTableName; System.Collections.Generic.List var_replicaSettings = value.ReplicaSettings; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalTableSettingsOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_GlobalTableName(var_globalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_ReplicaSettings(var_replicaSettings) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateItemRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateItemInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemInput)value; Amazon.DynamoDBv2.Model.UpdateItemRequest converted = new Amazon.DynamoDBv2.Model.UpdateItemRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M9_TableName(concrete._TableName); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M3_Key(concrete._Key); if (concrete._AttributeUpdates.is_Some) converted.AttributeUpdates = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_AttributeUpdates(concrete._AttributeUpdates); if (concrete._Expected.is_Some) converted.Expected = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M8_Expected(concrete._Expected); if (concrete._ConditionalOperator.is_Some) converted.ConditionalOperator = (Amazon.DynamoDBv2.ConditionalOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionalOperator(concrete._ConditionalOperator); if (concrete._ReturnValues.is_Some) converted.ReturnValues = (Amazon.DynamoDBv2.ReturnValue) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M12_ReturnValues(concrete._ReturnValues); if (concrete._ReturnConsumedCapacity.is_Some) converted.ReturnConsumedCapacity = (Amazon.DynamoDBv2.ReturnConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M22_ReturnConsumedCapacity(concrete._ReturnConsumedCapacity); if (concrete._ReturnItemCollectionMetrics.is_Some) converted.ReturnItemCollectionMetrics = (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M27_ReturnItemCollectionMetrics(concrete._ReturnItemCollectionMetrics); if (concrete._UpdateExpression.is_Some) converted.UpdateExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_UpdateExpression(concrete._UpdateExpression); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateItemInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput (Amazon.DynamoDBv2.Model.UpdateItemRequest value) { System.Collections.Generic.Dictionary var_attributeUpdates = value.AttributeUpdates; System.Collections.Generic.Dictionary var_expected = value.Expected; Amazon.DynamoDBv2.ConditionalOperator var_conditionalOperator = value.ConditionalOperator; Amazon.DynamoDBv2.ReturnValue var_returnValues = value.ReturnValues; Amazon.DynamoDBv2.ReturnConsumedCapacity var_returnConsumedCapacity = value.ReturnConsumedCapacity; Amazon.DynamoDBv2.ReturnItemCollectionMetrics var_returnItemCollectionMetrics = value.ReturnItemCollectionMetrics; string var_updateExpression = value.UpdateExpression; string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_AttributeUpdates(var_attributeUpdates) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M8_Expected(var_expected) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionalOperator(var_conditionalOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M12_ReturnValues(var_returnValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M22_ReturnConsumedCapacity(var_returnConsumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M27_ReturnItemCollectionMetrics(var_returnItemCollectionMetrics) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_UpdateExpression(var_updateExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M25_ExpressionAttributeValues(var_expressionAttributeValues) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateItemOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemOutput)value; Amazon.DynamoDBv2.Model.UpdateItemResponse converted = new Amazon.DynamoDBv2.Model.UpdateItemResponse(); if (concrete._Attributes.is_Some) converted.Attributes = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M10_Attributes(concrete._Attributes); if (concrete._ConsumedCapacity.is_Some) converted.ConsumedCapacity = (Amazon.DynamoDBv2.Model.ConsumedCapacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M16_ConsumedCapacity(concrete._ConsumedCapacity); if (concrete._ItemCollectionMetrics.is_Some) converted.ItemCollectionMetrics = (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M21_ItemCollectionMetrics(concrete._ItemCollectionMetrics); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateItemOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput (Amazon.DynamoDBv2.Model.UpdateItemResponse value) { System.Collections.Generic.Dictionary var_attributes = value.Attributes; Amazon.DynamoDBv2.Model.ConsumedCapacity var_consumedCapacity = value.ConsumedCapacity; Amazon.DynamoDBv2.Model.ItemCollectionMetrics var_itemCollectionMetrics = value.ItemCollectionMetrics; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateItemOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M10_Attributes(var_attributes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M16_ConsumedCapacity(var_consumedCapacity) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M21_ItemCollectionMetrics(var_itemCollectionMetrics) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTableRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableInput)value; Amazon.DynamoDBv2.Model.UpdateTableRequest converted = new Amazon.DynamoDBv2.Model.UpdateTableRequest(); if (concrete._AttributeDefinitions.is_Some) converted.AttributeDefinitions = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M20_AttributeDefinitions(concrete._AttributeDefinitions); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M9_TableName(concrete._TableName); if (concrete._BillingMode.is_Some) converted.BillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M11_BillingMode(concrete._BillingMode); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._GlobalSecondaryIndexUpdates.is_Some) converted.GlobalSecondaryIndexUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M27_GlobalSecondaryIndexUpdates(concrete._GlobalSecondaryIndexUpdates); if (concrete._StreamSpecification.is_Some) converted.StreamSpecification = (Amazon.DynamoDBv2.Model.StreamSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M19_StreamSpecification(concrete._StreamSpecification); if (concrete._SSESpecification.is_Some) converted.SSESpecification = (Amazon.DynamoDBv2.Model.SSESpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M16_SSESpecification(concrete._SSESpecification); if (concrete._ReplicaUpdates.is_Some) converted.ReplicaUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M14_ReplicaUpdates(concrete._ReplicaUpdates); if (concrete._TableClass.is_Some) converted.TableClass = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M10_TableClass(concrete._TableClass); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput (Amazon.DynamoDBv2.Model.UpdateTableRequest value) { System.Collections.Generic.List var_attributeDefinitions = value.AttributeDefinitions; Amazon.DynamoDBv2.BillingMode var_billingMode = value.BillingMode; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; System.Collections.Generic.List var_globalSecondaryIndexUpdates = value.GlobalSecondaryIndexUpdates; Amazon.DynamoDBv2.Model.StreamSpecification var_streamSpecification = value.StreamSpecification; Amazon.DynamoDBv2.Model.SSESpecification var_sSESpecification = value.SSESpecification; System.Collections.Generic.List var_replicaUpdates = value.ReplicaUpdates; Amazon.DynamoDBv2.TableClass var_tableClass = value.TableClass; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M20_AttributeDefinitions(var_attributeDefinitions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M11_BillingMode(var_billingMode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M21_ProvisionedThroughput(var_provisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M27_GlobalSecondaryIndexUpdates(var_globalSecondaryIndexUpdates) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M19_StreamSpecification(var_streamSpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M16_SSESpecification(var_sSESpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M14_ReplicaUpdates(var_replicaUpdates) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M10_TableClass(var_tableClass) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTableResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableOutput)value; Amazon.DynamoDBv2.Model.UpdateTableResponse converted = new Amazon.DynamoDBv2.Model.UpdateTableResponse(); if (concrete._TableDescription.is_Some) converted.TableDescription = (Amazon.DynamoDBv2.Model.TableDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput__M16_TableDescription(concrete._TableDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput (Amazon.DynamoDBv2.Model.UpdateTableResponse value) { Amazon.DynamoDBv2.Model.TableDescription var_tableDescription = value.TableDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput__M16_TableDescription(var_tableDescription) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableReplicaAutoScalingInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingInput)value; Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingRequest converted = new Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingRequest(); if (concrete._GlobalSecondaryIndexUpdates.is_Some) converted.GlobalSecondaryIndexUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M27_GlobalSecondaryIndexUpdates(concrete._GlobalSecondaryIndexUpdates); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M9_TableName(concrete._TableName); if (concrete._ProvisionedWriteCapacityAutoScalingUpdate.is_Some) converted.ProvisionedWriteCapacityAutoScalingUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M41_ProvisionedWriteCapacityAutoScalingUpdate(concrete._ProvisionedWriteCapacityAutoScalingUpdate); if (concrete._ReplicaUpdates.is_Some) converted.ReplicaUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M14_ReplicaUpdates(concrete._ReplicaUpdates); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableReplicaAutoScalingInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput (Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingRequest value) { System.Collections.Generic.List var_globalSecondaryIndexUpdates = value.GlobalSecondaryIndexUpdates; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_provisionedWriteCapacityAutoScalingUpdate = value.ProvisionedWriteCapacityAutoScalingUpdate; System.Collections.Generic.List var_replicaUpdates = value.ReplicaUpdates; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M27_GlobalSecondaryIndexUpdates(var_globalSecondaryIndexUpdates) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M41_ProvisionedWriteCapacityAutoScalingUpdate(var_provisionedWriteCapacityAutoScalingUpdate) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M14_ReplicaUpdates(var_replicaUpdates) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableReplicaAutoScalingOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingOutput)value; Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingResponse converted = new Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingResponse(); if (concrete._TableAutoScalingDescription.is_Some) converted.TableAutoScalingDescription = (Amazon.DynamoDBv2.Model.TableAutoScalingDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription(concrete._TableAutoScalingDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTableReplicaAutoScalingOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput (Amazon.DynamoDBv2.Model.UpdateTableReplicaAutoScalingResponse value) { Amazon.DynamoDBv2.Model.TableAutoScalingDescription var_tableAutoScalingDescription = value.TableAutoScalingDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTableReplicaAutoScalingOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription(var_tableAutoScalingDescription) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTimeToLiveRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTimeToLiveInput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveInput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveInput)value; Amazon.DynamoDBv2.Model.UpdateTimeToLiveRequest converted = new Amazon.DynamoDBv2.Model.UpdateTimeToLiveRequest(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M9_TableName(concrete._TableName); converted.TimeToLiveSpecification = (Amazon.DynamoDBv2.Model.TimeToLiveSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M23_TimeToLiveSpecification(concrete._TimeToLiveSpecification); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTimeToLiveInput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput (Amazon.DynamoDBv2.Model.UpdateTimeToLiveRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveInput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M23_TimeToLiveSpecification(value.TimeToLiveSpecification) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateTimeToLiveResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTimeToLiveOutput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveOutput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveOutput)value; Amazon.DynamoDBv2.Model.UpdateTimeToLiveResponse converted = new Amazon.DynamoDBv2.Model.UpdateTimeToLiveResponse(); if (concrete._TimeToLiveSpecification.is_Some) converted.TimeToLiveSpecification = (Amazon.DynamoDBv2.Model.TimeToLiveSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput__M23_TimeToLiveSpecification(concrete._TimeToLiveSpecification); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateTimeToLiveOutput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput (Amazon.DynamoDBv2.Model.UpdateTimeToLiveResponse value) { Amazon.DynamoDBv2.Model.TimeToLiveSpecification var_timeToLiveSpecification = value.TimeToLiveSpecification; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateTimeToLiveOutput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput__M23_TimeToLiveSpecification(var_timeToLiveSpecification) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_S (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_S (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_N (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_N (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue(value); } internal static System.IO.MemoryStream FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_B (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_B (System.IO.MemoryStream value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_SS (Dafny.ISequence> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue(value); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_SS (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_NS (Dafny.ISequence> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue(value); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_NS (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_BS (Dafny.ISequence> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue(value); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M2_BS (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_M (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_M (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_L (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M1_L (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_NULL (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_NullAttributeValue(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_NULL (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_NullAttributeValue(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_BOOL (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BooleanAttributeValue(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue__M4_BOOL (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BooleanAttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M10_Statements (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M10_Statements (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest(value); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_BatchExecuteStatementInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M9_Responses (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M9_Responses (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchExecuteStatementOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M12_RequestItems (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M12_RequestItems (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap(value); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BatchGetItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static System.Collections.Generic.Dictionary>> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M9_Responses (Wrappers_Compile._IOption, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>> value) { return value.is_None ? (System.Collections.Generic.Dictionary>>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M9_Responses (System.Collections.Generic.Dictionary>> value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap((System.Collections.Generic.Dictionary>>) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M15_UnprocessedKeys (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M15_UnprocessedKeys (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetItemOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M12_RequestItems (Dafny.IMap, Dafny.ISequence> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap(value); } internal static Dafny.IMap, Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M12_RequestItems (System.Collections.Generic.Dictionary> value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap(value); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M27_ReturnItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchWriteItemInput__M27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics((Amazon.DynamoDBv2.ReturnItemCollectionMetrics) value)); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_UnprocessedItems (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_UnprocessedItems (System.Collections.Generic.Dictionary> value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap((System.Collections.Generic.Dictionary>) value)); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M21_ItemCollectionMetrics (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M21_ItemCollectionMetrics (System.Collections.Generic.Dictionary> value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable((System.Collections.Generic.Dictionary>) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BatchWriteItemOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M10_BackupName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateBackupInput__M10_BackupName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName(value); } internal static Amazon.DynamoDBv2.Model.BackupDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput__M13_BackupDetails (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BackupDetails) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CreateBackupOutput__M13_BackupDetails (Amazon.DynamoDBv2.Model.BackupDetails value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails((Amazon.DynamoDBv2.Model.BackupDetails) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M15_GlobalTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M15_GlobalTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M16_ReplicationGroup (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CreateGlobalTableInput__M16_ReplicationGroup (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList(value); } internal static Amazon.DynamoDBv2.Model.GlobalTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput__M22_GlobalTableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.GlobalTableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_CreateGlobalTableOutput__M22_GlobalTableDescription (Amazon.DynamoDBv2.Model.GlobalTableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription((Amazon.DynamoDBv2.Model.GlobalTableDescription) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M20_AttributeDefinitions (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M20_AttributeDefinitions (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_LocalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_LocalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M11_BillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static Amazon.DynamoDBv2.Model.StreamSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M19_StreamSpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.StreamSpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M19_StreamSpecification (Amazon.DynamoDBv2.Model.StreamSpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification((Amazon.DynamoDBv2.Model.StreamSpecification) value)); } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M16_SSESpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSESpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M16_SSESpecification (Amazon.DynamoDBv2.Model.SSESpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification((Amazon.DynamoDBv2.Model.SSESpecification) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M4_Tags (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M4_Tags (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M10_TableClass (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_CreateTableInput__M10_TableClass (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput__M16_TableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_CreateTableOutput__M16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput__M9_BackupArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteBackupInput__M9_BackupArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Amazon.DynamoDBv2.Model.BackupDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput__M17_BackupDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BackupDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DeleteBackupOutput__M17_BackupDescription (Amazon.DynamoDBv2.Model.BackupDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription((Amazon.DynamoDBv2.Model.BackupDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M8_Expected (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M8_Expected (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionalOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ConditionalOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator((Amazon.DynamoDBv2.ConditionalOperator) value)); } internal static Amazon.DynamoDBv2.ReturnValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M12_ReturnValues (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValue) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M12_ReturnValues (Amazon.DynamoDBv2.ReturnValue value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue((Amazon.DynamoDBv2.ReturnValue) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M27_ReturnItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics((Amazon.DynamoDBv2.ReturnItemCollectionMetrics) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_DeleteItemInput__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M10_Attributes (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M10_Attributes (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.Model.ItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M21_ItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteItemOutput__M21_ItemCollectionMetrics (Amazon.DynamoDBv2.Model.ItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics((Amazon.DynamoDBv2.Model.ItemCollectionMetrics) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_DeleteTableInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput__M16_TableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DeleteTableOutput__M16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput__M9_BackupArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeBackupInput__M9_BackupArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Amazon.DynamoDBv2.Model.BackupDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput__M17_BackupDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BackupDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeBackupOutput__M17_BackupDescription (Amazon.DynamoDBv2.Model.BackupDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription((Amazon.DynamoDBv2.Model.BackupDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_DescribeContinuousBackupsInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.ContinuousBackupsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput__M28_ContinuousBackupsDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_DescribeContinuousBackupsOutput__M28_ContinuousBackupsDescription (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription((Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeContributorInsightsInput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M27_ContributorInsightsRuleList (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M27_ContributorInsightsRuleList (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.ContributorInsightsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M25_ContributorInsightsStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ContributorInsightsStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M25_ContributorInsightsStatus (Amazon.DynamoDBv2.ContributorInsightsStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus((Amazon.DynamoDBv2.ContributorInsightsStatus) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M18_LastUpdateDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M18_LastUpdateDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime((System.DateTime) value)); } internal static Amazon.DynamoDBv2.Model.FailureException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M16_FailureException (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.FailureException) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeContributorInsightsOutput__M16_FailureException (Amazon.DynamoDBv2.Model.FailureException value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException((Amazon.DynamoDBv2.Model.FailureException) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse__M9_Endpoints (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeEndpointsResponse__M9_Endpoints (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput__M9_ExportArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeExportInput__M9_ExportArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn(value); } internal static Amazon.DynamoDBv2.Model.ExportDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput__M17_ExportDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ExportDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeExportOutput__M17_ExportDescription (Amazon.DynamoDBv2.Model.ExportDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription((Amazon.DynamoDBv2.Model.ExportDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput__M15_GlobalTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeGlobalTableInput__M15_GlobalTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.GlobalTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput__M22_GlobalTableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.GlobalTableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_DescribeGlobalTableOutput__M22_GlobalTableDescription (Amazon.DynamoDBv2.Model.GlobalTableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription((Amazon.DynamoDBv2.Model.GlobalTableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput__M15_GlobalTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DescribeGlobalTableSettingsInput__M15_GlobalTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_GlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_GlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_ReplicaSettings (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_DescribeGlobalTableSettingsOutput__M15_ReplicaSettings (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput__M9_ImportArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeImportInput__M9_ImportArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn(value); } internal static Amazon.DynamoDBv2.Model.ImportTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput__M22_ImportTableDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeImportOutput__M22_ImportTableDescription (Amazon.DynamoDBv2.Model.ImportTableDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DescribeKinesisStreamingDestinationInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M29_KinesisDataStreamDestinations (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_DescribeKinesisStreamingDestinationOutput__M29_KinesisDataStreamDestinations (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations((System.Collections.Generic.List) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M27_AccountMaxReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M27_AccountMaxReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M28_AccountMaxWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M28_AccountMaxWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M25_TableMaxReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M25_TableMaxReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M26_TableMaxWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_DescribeLimitsOutput__M26_TableMaxWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_DescribeTableInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput__M5_Table (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DescribeTableOutput__M5_Table (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_DescribeTableReplicaAutoScalingInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.TableAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableAutoScalingDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_DescribeTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription (Amazon.DynamoDBv2.Model.TableAutoScalingDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription((Amazon.DynamoDBv2.Model.TableAutoScalingDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_DescribeTimeToLiveInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.TimeToLiveDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput__M21_TimeToLiveDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TimeToLiveDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_DescribeTimeToLiveOutput__M21_TimeToLiveDescription (Amazon.DynamoDBv2.Model.TimeToLiveDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription((Amazon.DynamoDBv2.Model.TimeToLiveDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_StreamArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_DisableKinesisStreamingDestinationInput__M9_StreamArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_StreamArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M9_StreamArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn((string) value)); } internal static Amazon.DynamoDBv2.DestinationStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M17_DestinationStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.DestinationStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_DisableKinesisStreamingDestinationOutput__M17_DestinationStatus (Amazon.DynamoDBv2.DestinationStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus((Amazon.DynamoDBv2.DestinationStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_StreamArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_EnableKinesisStreamingDestinationInput__M9_StreamArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_StreamArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M9_StreamArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn((string) value)); } internal static Amazon.DynamoDBv2.DestinationStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M17_DestinationStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.DestinationStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_EnableKinesisStreamingDestinationOutput__M17_DestinationStatus (Amazon.DynamoDBv2.DestinationStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus((Amazon.DynamoDBv2.DestinationStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_Statement (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_Statement (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M10_Parameters (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M10_Parameters (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters((System.Collections.Generic.List) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken((string) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ExecuteStatementInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject((int) value)); } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M5_Items (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> value) { return value.is_None ? (System.Collections.Generic.List>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M5_Items (System.Collections.Generic.List> value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList((System.Collections.Generic.List>) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken((string) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_LastEvaluatedKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExecuteStatementOutput__M16_LastEvaluatedKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_TransactStatements (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_TransactStatements (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_ClientRequestToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M18_ClientRequestToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken((string) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExecuteTransactionInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M9_Responses (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M9_Responses (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ExecuteTransactionOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_TableArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_TableArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M10_ExportTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M10_ExportTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M11_ClientToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M11_ClientToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Bucket (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Bucket (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3BucketOwner (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3BucketOwner (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Prefix (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M8_S3Prefix (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix((string) value)); } internal static Amazon.DynamoDBv2.S3SseAlgorithm FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M14_S3SseAlgorithm (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.S3SseAlgorithm) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M14_S3SseAlgorithm (Amazon.DynamoDBv2.S3SseAlgorithm value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm((Amazon.DynamoDBv2.S3SseAlgorithm) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3SseKmsKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M13_S3SseKmsKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId((string) value)); } internal static Amazon.DynamoDBv2.ExportFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M12_ExportFormat (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ExportFormat) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ExportTableToPointInTimeInput__M12_ExportFormat (Amazon.DynamoDBv2.ExportFormat value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat((Amazon.DynamoDBv2.ExportFormat) value)); } internal static Amazon.DynamoDBv2.Model.ExportDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput__M17_ExportDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ExportDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ExportTableToPointInTimeOutput__M17_ExportDescription (Amazon.DynamoDBv2.Model.ExportDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription((Amazon.DynamoDBv2.Model.ExportDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M15_AttributesToGet (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M15_AttributesToGet (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList((System.Collections.Generic.List) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M20_ProjectionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M20_ProjectionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_GetItemInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M4_Item (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M4_Item (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_GetItemOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_ClientToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_ClientToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken((string) value)); } internal static Amazon.DynamoDBv2.Model.S3BucketSource FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M14_S3BucketSource (software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3BucketSource value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3BucketSource ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M14_S3BucketSource (Amazon.DynamoDBv2.Model.S3BucketSource value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource(value); } internal static Amazon.DynamoDBv2.InputFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_InputFormat (software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormat value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormat ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M11_InputFormat (Amazon.DynamoDBv2.InputFormat value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat(value); } internal static Amazon.DynamoDBv2.Model.InputFormatOptions FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M18_InputFormatOptions (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.InputFormatOptions) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M18_InputFormatOptions (Amazon.DynamoDBv2.Model.InputFormatOptions value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions((Amazon.DynamoDBv2.Model.InputFormatOptions) value)); } internal static Amazon.DynamoDBv2.InputCompressionType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M20_InputCompressionType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.InputCompressionType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M20_InputCompressionType (Amazon.DynamoDBv2.InputCompressionType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType((Amazon.DynamoDBv2.InputCompressionType) value)); } internal static Amazon.DynamoDBv2.Model.TableCreationParameters FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M23_TableCreationParameters (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableCreationParameters value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableCreationParameters ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ImportTableInput__M23_TableCreationParameters (Amazon.DynamoDBv2.Model.TableCreationParameters value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters(value); } internal static Amazon.DynamoDBv2.Model.ImportTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput__M22_ImportTableDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportTableOutput__M22_ImportTableDescription (Amazon.DynamoDBv2.Model.ImportTableDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_InvalidEndpointException__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_InvalidEndpointException__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupsInputLimit(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupsInputLimit((int) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeLowerBound (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeLowerBound(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeLowerBound (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeLowerBound((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeUpperBound (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeUpperBound(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M19_TimeRangeUpperBound (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeUpperBound((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M23_ExclusiveStartBackupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M23_ExclusiveStartBackupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn((string) value)); } internal static Amazon.DynamoDBv2.BackupTypeFilter FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M10_BackupType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BackupTypeFilter) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_BackupTypeFilter(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListBackupsInput__M10_BackupType (Amazon.DynamoDBv2.BackupTypeFilter value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_BackupTypeFilter((Amazon.DynamoDBv2.BackupTypeFilter) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M15_BackupSummaries (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M15_BackupSummaries (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M22_LastEvaluatedBackupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListBackupsOutput__M22_LastEvaluatedBackupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M10_MaxResults (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsLimit(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsInput__M10_MaxResults (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsLimit((int) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M28_ContributorInsightsSummaries (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M28_ContributorInsightsSummaries (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ListContributorInsightsOutput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M10_MaxResults (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListExportsMaxLimit(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M10_MaxResults (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListExportsMaxLimit((int) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListExportsInput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M15_ExportSummaries (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M15_ExportSummaries (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListExportsOutput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M29_ExclusiveStartGlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M29_ExclusiveStartGlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject((int) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M10_RegionName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ListGlobalTablesInput__M10_RegionName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M12_GlobalTables (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M12_GlobalTables (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M28_LastEvaluatedGlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ListGlobalTablesOutput__M28_LastEvaluatedGlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_PageSize (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListImportsMaxLimit(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M8_PageSize (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListImportsMaxLimit((int) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListImportsInput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M17_ImportSummaryList (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M17_ImportSummaryList (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ListImportsOutput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M23_ExclusiveStartTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M23_ExclusiveStartTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ListTablesInputLimit(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ListTablesInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ListTablesInputLimit((int) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M10_TableNames (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M10_TableNames (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M22_LastEvaluatedTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ListTablesOutput__M22_LastEvaluatedTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M11_ResourceArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M11_ResourceArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ListTagsOfResourceInput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M4_Tags (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M4_Tags (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M9_NextToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ListTagsOfResourceOutput__M9_NextToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M4_Item (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M4_Item (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M8_Expected (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M8_Expected (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M12_ReturnValues (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValue) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M12_ReturnValues (Amazon.DynamoDBv2.ReturnValue value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue((Amazon.DynamoDBv2.ReturnValue) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M27_ReturnItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics((Amazon.DynamoDBv2.ReturnItemCollectionMetrics) value)); } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionalOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ConditionalOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator((Amazon.DynamoDBv2.ConditionalOperator) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_PutItemInput__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M10_Attributes (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M10_Attributes (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.Model.ItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M21_ItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_PutItemOutput__M21_ItemCollectionMetrics (Amazon.DynamoDBv2.Model.ItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics((Amazon.DynamoDBv2.Model.ItemCollectionMetrics) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.Select FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M6_Select (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Select) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M6_Select (Amazon.DynamoDBv2.Select value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select((Amazon.DynamoDBv2.Select) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M15_AttributesToGet (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M15_AttributesToGet (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList((System.Collections.Generic.List) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject((int) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M13_KeyConditions (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M13_KeyConditions (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M11_QueryFilter (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M11_QueryFilter (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M19_ConditionalOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ConditionalOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator((Amazon.DynamoDBv2.ConditionalOperator) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_ScanIndexForward (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_ScanIndexForward (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M17_ExclusiveStartKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M17_ExclusiveStartKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M20_ProjectionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M20_ProjectionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_FilterExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M16_FilterExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_KeyConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M22_KeyConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_QueryInput__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Items (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> value) { return value.is_None ? (System.Collections.Generic.List>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Items (System.Collections.Generic.List> value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList((System.Collections.Generic.List>) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Count (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M5_Count (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer((int) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M12_ScannedCount (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M12_ScannedCount (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer((int) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_LastEvaluatedKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_LastEvaluatedKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_QueryOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M15_TargetTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M15_TargetTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M9_BackupArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M9_BackupArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M19_BillingModeOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M19_BillingModeOverride (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M28_GlobalSecondaryIndexOverride (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M28_GlobalSecondaryIndexOverride (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M27_LocalSecondaryIndexOverride (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M27_LocalSecondaryIndexOverride (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M24_SSESpecificationOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSESpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_RestoreTableFromBackupInput__M24_SSESpecificationOverride (Amazon.DynamoDBv2.Model.SSESpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification((Amazon.DynamoDBv2.Model.SSESpecification) value)); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput__M16_TableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_RestoreTableFromBackupOutput__M16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M14_SourceTableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M14_SourceTableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_SourceTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_SourceTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_TargetTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_TargetTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M23_UseLatestRestorableTime (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M23_UseLatestRestorableTime (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_RestoreDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M15_RestoreDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M19_BillingModeOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M19_BillingModeOverride (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M28_GlobalSecondaryIndexOverride (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M28_GlobalSecondaryIndexOverride (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M27_LocalSecondaryIndexOverride (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M27_LocalSecondaryIndexOverride (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M24_SSESpecificationOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSESpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_RestoreTableToPointInTimeInput__M24_SSESpecificationOverride (Amazon.DynamoDBv2.Model.SSESpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification((Amazon.DynamoDBv2.Model.SSESpecification) value)); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput__M16_TableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_RestoreTableToPointInTimeOutput__M16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M15_AttributesToGet (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M15_AttributesToGet (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList((System.Collections.Generic.List) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M5_Limit (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M5_Limit (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject((int) value)); } internal static Amazon.DynamoDBv2.Select FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M6_Select (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Select) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M6_Select (Amazon.DynamoDBv2.Select value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Select((Amazon.DynamoDBv2.Select) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M10_ScanFilter (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M10_ScanFilter (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M19_ConditionalOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ConditionalOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator((Amazon.DynamoDBv2.ConditionalOperator) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M17_ExclusiveStartKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M17_ExclusiveStartKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M13_TotalSegments (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ScanTotalSegments(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M13_TotalSegments (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ScanTotalSegments((int) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M7_Segment (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ScanSegment(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M7_Segment (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ScanSegment((int) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M20_ProjectionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M20_ProjectionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M16_FilterExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M16_FilterExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ScanInput__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Items (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> value) { return value.is_None ? (System.Collections.Generic.List>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Items (System.Collections.Generic.List> value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList((System.Collections.Generic.List>) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Count (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M5_Count (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer((int) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M12_ScannedCount (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M12_ScannedCount (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer((int) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_LastEvaluatedKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_LastEvaluatedKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ScanOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M11_ResourceArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M11_ResourceArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M4_Tags (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TagResourceInput__M4_Tags (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M13_TransactItems (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M13_TransactItems (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList(value); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactGetItemsInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M9_Responses (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TransactGetItemsOutput__M9_Responses (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M19_CancellationReasons (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException__M19_CancellationReasons (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException__M7_message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException__M7_message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M13_TransactItems (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M13_TransactItems (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList(value); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M27_ReturnItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics((Amazon.DynamoDBv2.ReturnItemCollectionMetrics) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M18_ClientRequestToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TransactWriteItemsInput__M18_ClientRequestToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M16_ConsumedCapacity (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M21_ItemCollectionMetrics (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary>) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_TransactWriteItemsOutput__M21_ItemCollectionMetrics (System.Collections.Generic.Dictionary> value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable((System.Collections.Generic.Dictionary>) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M11_ResourceArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M11_ResourceArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M7_TagKeys (Dafny.ISequence> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList(value); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_UntagResourceInput__M7_TagKeys (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M32_PointInTimeRecoverySpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoverySpecification value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoverySpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_UpdateContinuousBackupsInput__M32_PointInTimeRecoverySpecification (Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification(value); } internal static Amazon.DynamoDBv2.Model.ContinuousBackupsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput__M28_ContinuousBackupsDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_UpdateContinuousBackupsOutput__M28_ContinuousBackupsDescription (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription((Amazon.DynamoDBv2.Model.ContinuousBackupsDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.ContributorInsightsAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M25_ContributorInsightsAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsAction value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsAction(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateContributorInsightsInput__M25_ContributorInsightsAction (Amazon.DynamoDBv2.ContributorInsightsAction value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsAction(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.ContributorInsightsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M25_ContributorInsightsStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ContributorInsightsStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateContributorInsightsOutput__M25_ContributorInsightsStatus (Amazon.DynamoDBv2.ContributorInsightsStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus((Amazon.DynamoDBv2.ContributorInsightsStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M15_GlobalTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M15_GlobalTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M14_ReplicaUpdates (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateGlobalTableInput__M14_ReplicaUpdates (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList(value); } internal static Amazon.DynamoDBv2.Model.GlobalTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput__M22_GlobalTableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.GlobalTableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_UpdateGlobalTableOutput__M22_GlobalTableDescription (Amazon.DynamoDBv2.Model.GlobalTableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription((Amazon.DynamoDBv2.Model.GlobalTableDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M15_GlobalTableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M15_GlobalTableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M22_GlobalTableBillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M22_GlobalTableBillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M40_GlobalTableProvisionedWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M40_GlobalTableProvisionedWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M60_GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M60_GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M45_GlobalTableGlobalSecondaryIndexSettingsUpdate (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M45_GlobalTableGlobalSecondaryIndexSettingsUpdate (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M21_ReplicaSettingsUpdate (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_UpdateGlobalTableSettingsInput__M21_ReplicaSettingsUpdate (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_GlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_GlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_ReplicaSettings (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_UpdateGlobalTableSettingsOutput__M15_ReplicaSettings (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_AttributeUpdates (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_AttributeUpdates (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M8_Expected (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M8_Expected (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ConditionalOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionalOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ConditionalOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionalOperator (Amazon.DynamoDBv2.ConditionalOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionalOperator((Amazon.DynamoDBv2.ConditionalOperator) value)); } internal static Amazon.DynamoDBv2.ReturnValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M12_ReturnValues (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValue) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M12_ReturnValues (Amazon.DynamoDBv2.ReturnValue value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReturnValue((Amazon.DynamoDBv2.ReturnValue) value)); } internal static Amazon.DynamoDBv2.ReturnConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M22_ReturnConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M22_ReturnConsumedCapacity (Amazon.DynamoDBv2.ReturnConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReturnConsumedCapacity((Amazon.DynamoDBv2.ReturnConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.ReturnItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M27_ReturnItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M27_ReturnItemCollectionMetrics (Amazon.DynamoDBv2.ReturnItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReturnItemCollectionMetrics((Amazon.DynamoDBv2.ReturnItemCollectionMetrics) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_UpdateExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M16_UpdateExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_UpdateItemInput__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M10_Attributes (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M10_Attributes (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M16_ConsumedCapacity (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConsumedCapacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity((Amazon.DynamoDBv2.Model.ConsumedCapacity) value)); } internal static Amazon.DynamoDBv2.Model.ItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M21_ItemCollectionMetrics (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ItemCollectionMetrics) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateItemOutput__M21_ItemCollectionMetrics (Amazon.DynamoDBv2.Model.ItemCollectionMetrics value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics((Amazon.DynamoDBv2.Model.ItemCollectionMetrics) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M20_AttributeDefinitions (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M20_AttributeDefinitions (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M11_BillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M27_GlobalSecondaryIndexUpdates (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M27_GlobalSecondaryIndexUpdates (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.StreamSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M19_StreamSpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.StreamSpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M19_StreamSpecification (Amazon.DynamoDBv2.Model.StreamSpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification((Amazon.DynamoDBv2.Model.StreamSpecification) value)); } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M16_SSESpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSESpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M16_SSESpecification (Amazon.DynamoDBv2.Model.SSESpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification((Amazon.DynamoDBv2.Model.SSESpecification) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M14_ReplicaUpdates (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M14_ReplicaUpdates (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M10_TableClass (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateTableInput__M10_TableClass (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput__M16_TableDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_UpdateTableOutput__M16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription((Amazon.DynamoDBv2.Model.TableDescription) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M27_GlobalSecondaryIndexUpdates (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M27_GlobalSecondaryIndexUpdates (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M41_ProvisionedWriteCapacityAutoScalingUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M41_ProvisionedWriteCapacityAutoScalingUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M14_ReplicaUpdates (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateTableReplicaAutoScalingInput__M14_ReplicaUpdates (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.TableAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableAutoScalingDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_UpdateTableReplicaAutoScalingOutput__M27_TableAutoScalingDescription (Amazon.DynamoDBv2.Model.TableAutoScalingDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription((Amazon.DynamoDBv2.Model.TableAutoScalingDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.TimeToLiveSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M23_TimeToLiveSpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveSpecification value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveSpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_UpdateTimeToLiveInput__M23_TimeToLiveSpecification (Amazon.DynamoDBv2.Model.TimeToLiveSpecification value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification(value); } internal static Amazon.DynamoDBv2.Model.TimeToLiveSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput__M23_TimeToLiveSpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TimeToLiveSpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_UpdateTimeToLiveOutput__M23_TimeToLiveSpecification (Amazon.DynamoDBv2.Model.TimeToLiveSpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification((Amazon.DynamoDBv2.Model.TimeToLiveSpecification) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue (string value) { return Dafny.Sequence.FromString(value); } internal static System.IO.MemoryStream FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue (Dafny.ISequence value) { return new System.IO.MemoryStream(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue (System.IO.MemoryStream value) { return Dafny.Sequence.FromArray(value.ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue__M6_member).ToArray()); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M5_value(pair.Value)) )); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue__M6_member).ToArray()); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_NullAttributeValue (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_NullAttributeValue (bool value) { return value; } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BooleanAttributeValue (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BooleanAttributeValue (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple__M6_member).ToArray()); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary>> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap (Dafny.IMap, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap (System.Collections.Generic.Dictionary>> value) { return Dafny.Map, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>.FromCollection(value.Select(pair => new Dafny.Pair, Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap (Dafny.IMap, Dafny.ISequence> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap (System.Collections.Generic.Dictionary> value) { return Dafny.Map, Dafny.ISequence>.FromCollection(value.Select(pair => new Dafny.Pair, Dafny.ISequence>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable (Dafny.IMap, Dafny.ISequence> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M5_value(pair.Cdr)); } internal static Dafny.IMap, Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable (System.Collections.Generic.Dictionary> value) { return Dafny.Map, Dafny.ISequence>.FromCollection(value.Select(pair => new Dafny.Pair, Dafny.ISequence>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M5_value(pair.Value)) )); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.BackupDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupDetails value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDetails concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDetails)value; Amazon.DynamoDBv2.Model.BackupDetails converted = new Amazon.DynamoDBv2.Model.BackupDetails(); converted.BackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M9_BackupArn(concrete._BackupArn); converted.BackupName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupName(concrete._BackupName); if (concrete._BackupSizeBytes.is_Some) converted.BackupSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M15_BackupSizeBytes(concrete._BackupSizeBytes); converted.BackupStatus = (Amazon.DynamoDBv2.BackupStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M12_BackupStatus(concrete._BackupStatus); converted.BackupType = (Amazon.DynamoDBv2.BackupType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupType(concrete._BackupType); converted.BackupCreationDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M22_BackupCreationDateTime(concrete._BackupCreationDateTime); if (concrete._BackupExpiryDateTime.is_Some) converted.BackupExpiryDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M20_BackupExpiryDateTime(concrete._BackupExpiryDateTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupDetails ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails (Amazon.DynamoDBv2.Model.BackupDetails value) { long? var_backupSizeBytes = value.BackupSizeBytes; System.DateTime? var_backupExpiryDateTime = value.BackupExpiryDateTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDetails ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M9_BackupArn(value.BackupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupName(value.BackupName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M15_BackupSizeBytes(var_backupSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M12_BackupStatus(value.BackupStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupType(value.BackupType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M22_BackupCreationDateTime(value.BackupCreationDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M20_BackupExpiryDateTime(var_backupExpiryDateTime) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.GlobalTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableDescription)value; Amazon.DynamoDBv2.Model.GlobalTableDescription converted = new Amazon.DynamoDBv2.Model.GlobalTableDescription(); if (concrete._ReplicationGroup.is_Some) converted.ReplicationGroup = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_ReplicationGroup(concrete._ReplicationGroup); if (concrete._GlobalTableArn.is_Some) converted.GlobalTableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M14_GlobalTableArn(concrete._GlobalTableArn); if (concrete._CreationDateTime.is_Some) converted.CreationDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_CreationDateTime(concrete._CreationDateTime); if (concrete._GlobalTableStatus.is_Some) converted.GlobalTableStatus = (Amazon.DynamoDBv2.GlobalTableStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M17_GlobalTableStatus(concrete._GlobalTableStatus); if (concrete._GlobalTableName.is_Some) converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M15_GlobalTableName(concrete._GlobalTableName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription (Amazon.DynamoDBv2.Model.GlobalTableDescription value) { System.Collections.Generic.List var_replicationGroup = value.ReplicationGroup; string var_globalTableArn = value.GlobalTableArn; System.DateTime? var_creationDateTime = value.CreationDateTime; Amazon.DynamoDBv2.GlobalTableStatus var_globalTableStatus = value.GlobalTableStatus; string var_globalTableName = value.GlobalTableName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_ReplicationGroup(var_replicationGroup) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M14_GlobalTableArn(var_globalTableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_CreationDateTime(var_creationDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M17_GlobalTableStatus(var_globalTableStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M15_GlobalTableName(var_globalTableName) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughput concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughput)value; Amazon.DynamoDBv2.Model.ProvisionedThroughput converted = new Amazon.DynamoDBv2.Model.ProvisionedThroughput(); converted.ReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M17_ReadCapacityUnits(concrete._ReadCapacityUnits); converted.WriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M18_WriteCapacityUnits(concrete._WriteCapacityUnits); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughput ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M17_ReadCapacityUnits(value.ReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M18_WriteCapacityUnits(value.WriteCapacityUnits) ) ; } internal static Amazon.DynamoDBv2.Model.StreamSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._IStreamSpecification value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamSpecification concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamSpecification)value; Amazon.DynamoDBv2.Model.StreamSpecification converted = new Amazon.DynamoDBv2.Model.StreamSpecification(); converted.StreamEnabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M13_StreamEnabled(concrete._StreamEnabled); if (concrete._StreamViewType.is_Some) converted.StreamViewType = (Amazon.DynamoDBv2.StreamViewType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M14_StreamViewType(concrete._StreamViewType); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IStreamSpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification (Amazon.DynamoDBv2.Model.StreamSpecification value) { Amazon.DynamoDBv2.StreamViewType var_streamViewType = value.StreamViewType; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.StreamSpecification ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M13_StreamEnabled(value.StreamEnabled) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M14_StreamViewType(var_streamViewType) ) ; } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSESpecification value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.SSESpecification concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.SSESpecification)value; Amazon.DynamoDBv2.Model.SSESpecification converted = new Amazon.DynamoDBv2.Model.SSESpecification(); if (concrete._Enabled.is_Some) converted.Enabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_Enabled(concrete._Enabled); if (concrete._SSEType.is_Some) converted.SSEType = (Amazon.DynamoDBv2.SSEType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_SSEType(concrete._SSEType); if (concrete._KMSMasterKeyId.is_Some) converted.KMSMasterKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M14_KMSMasterKeyId(concrete._KMSMasterKeyId); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSESpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification (Amazon.DynamoDBv2.Model.SSESpecification value) { bool? var_enabled = value.Enabled; Amazon.DynamoDBv2.SSEType var_sSEType = value.SSEType; string var_kMSMasterKeyId = value.KMSMasterKeyId; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.SSESpecification ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_Enabled(var_enabled) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_SSEType(var_sSEType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M14_KMSMasterKeyId(var_kMSMasterKeyId) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.TableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TableDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TableDescription)value; Amazon.DynamoDBv2.Model.TableDescription converted = new Amazon.DynamoDBv2.Model.TableDescription(); if (concrete._AttributeDefinitions.is_Some) converted.AttributeDefinitions = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M20_AttributeDefinitions(concrete._AttributeDefinitions); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_TableName(concrete._TableName); if (concrete._KeySchema.is_Some) converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_KeySchema(concrete._KeySchema); if (concrete._TableStatus.is_Some) converted.TableStatus = (Amazon.DynamoDBv2.TableStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M11_TableStatus(concrete._TableStatus); if (concrete._CreationDateTime.is_Some) converted.CreationDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M16_CreationDateTime(concrete._CreationDateTime); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._TableSizeBytes.is_Some) converted.TableSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_TableSizeBytes(concrete._TableSizeBytes); if (concrete._ItemCount.is_Some) converted.ItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_ItemCount(concrete._ItemCount); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_TableArn(concrete._TableArn); if (concrete._TableId.is_Some) converted.TableId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M7_TableId(concrete._TableId); if (concrete._BillingModeSummary.is_Some) converted.BillingModeSummary = (Amazon.DynamoDBv2.Model.BillingModeSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_BillingModeSummary(concrete._BillingModeSummary); if (concrete._LocalSecondaryIndexes.is_Some) converted.LocalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_LocalSecondaryIndexes(concrete._LocalSecondaryIndexes); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._StreamSpecification.is_Some) converted.StreamSpecification = (Amazon.DynamoDBv2.Model.StreamSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M19_StreamSpecification(concrete._StreamSpecification); if (concrete._LatestStreamLabel.is_Some) converted.LatestStreamLabel = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_LatestStreamLabel(concrete._LatestStreamLabel); if (concrete._LatestStreamArn.is_Some) converted.LatestStreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_LatestStreamArn(concrete._LatestStreamArn); if (concrete._GlobalTableVersion.is_Some) converted.GlobalTableVersion = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_GlobalTableVersion(concrete._GlobalTableVersion); if (concrete._Replicas.is_Some) converted.Replicas = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_Replicas(concrete._Replicas); if (concrete._RestoreSummary.is_Some) converted.RestoreSummary = (Amazon.DynamoDBv2.Model.RestoreSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_RestoreSummary(concrete._RestoreSummary); if (concrete._SSEDescription.is_Some) converted.SSEDescription = (Amazon.DynamoDBv2.Model.SSEDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_SSEDescription(concrete._SSEDescription); if (concrete._ArchivalSummary.is_Some) converted.ArchivalSummary = (Amazon.DynamoDBv2.Model.ArchivalSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_ArchivalSummary(concrete._ArchivalSummary); if (concrete._TableClassSummary.is_Some) converted.TableClassSummary = (Amazon.DynamoDBv2.Model.TableClassSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_TableClassSummary(concrete._TableClassSummary); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription (Amazon.DynamoDBv2.Model.TableDescription value) { System.Collections.Generic.List var_attributeDefinitions = value.AttributeDefinitions; string var_tableName = value.TableName; System.Collections.Generic.List var_keySchema = value.KeySchema; Amazon.DynamoDBv2.TableStatus var_tableStatus = value.TableStatus; System.DateTime? var_creationDateTime = value.CreationDateTime; Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription var_provisionedThroughput = value.ProvisionedThroughput; long? var_tableSizeBytes = value.TableSizeBytes; long? var_itemCount = value.ItemCount; string var_tableArn = value.TableArn; string var_tableId = value.TableId; Amazon.DynamoDBv2.Model.BillingModeSummary var_billingModeSummary = value.BillingModeSummary; System.Collections.Generic.List var_localSecondaryIndexes = value.LocalSecondaryIndexes; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.Model.StreamSpecification var_streamSpecification = value.StreamSpecification; string var_latestStreamLabel = value.LatestStreamLabel; string var_latestStreamArn = value.LatestStreamArn; string var_globalTableVersion = value.GlobalTableVersion; System.Collections.Generic.List var_replicas = value.Replicas; Amazon.DynamoDBv2.Model.RestoreSummary var_restoreSummary = value.RestoreSummary; Amazon.DynamoDBv2.Model.SSEDescription var_sSEDescription = value.SSEDescription; Amazon.DynamoDBv2.Model.ArchivalSummary var_archivalSummary = value.ArchivalSummary; Amazon.DynamoDBv2.Model.TableClassSummary var_tableClassSummary = value.TableClassSummary; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TableDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M20_AttributeDefinitions(var_attributeDefinitions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_KeySchema(var_keySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M11_TableStatus(var_tableStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M16_CreationDateTime(var_creationDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_ProvisionedThroughput(var_provisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_TableSizeBytes(var_tableSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_ItemCount(var_itemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M7_TableId(var_tableId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_BillingModeSummary(var_billingModeSummary) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_LocalSecondaryIndexes(var_localSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M19_StreamSpecification(var_streamSpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_LatestStreamLabel(var_latestStreamLabel) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_LatestStreamArn(var_latestStreamArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_GlobalTableVersion(var_globalTableVersion) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_Replicas(var_replicas) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_RestoreSummary(var_restoreSummary) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_SSEDescription(var_sSEDescription) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_ArchivalSummary(var_archivalSummary) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_TableClassSummary(var_tableClassSummary) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.BackupDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDescription)value; Amazon.DynamoDBv2.Model.BackupDescription converted = new Amazon.DynamoDBv2.Model.BackupDescription(); if (concrete._BackupDetails.is_Some) converted.BackupDetails = (Amazon.DynamoDBv2.Model.BackupDetails) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M13_BackupDetails(concrete._BackupDetails); if (concrete._SourceTableDetails.is_Some) converted.SourceTableDetails = (Amazon.DynamoDBv2.Model.SourceTableDetails) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M18_SourceTableDetails(concrete._SourceTableDetails); if (concrete._SourceTableFeatureDetails.is_Some) converted.SourceTableFeatureDetails = (Amazon.DynamoDBv2.Model.SourceTableFeatureDetails) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M25_SourceTableFeatureDetails(concrete._SourceTableFeatureDetails); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription (Amazon.DynamoDBv2.Model.BackupDescription value) { Amazon.DynamoDBv2.Model.BackupDetails var_backupDetails = value.BackupDetails; Amazon.DynamoDBv2.Model.SourceTableDetails var_sourceTableDetails = value.SourceTableDetails; Amazon.DynamoDBv2.Model.SourceTableFeatureDetails var_sourceTableFeatureDetails = value.SourceTableFeatureDetails; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M13_BackupDetails(var_backupDetails) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M18_SourceTableDetails(var_sourceTableDetails) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M25_SourceTableFeatureDetails(var_sourceTableFeatureDetails) ) ; } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M5_value(pair.Value)) )); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap (Dafny.IMap, Dafny.ISequence> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, Dafny.ISequence>.FromCollection(value.Select(pair => new Dafny.Pair, Dafny.ISequence>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M5_value(pair.Value)) )); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity (software.amazon.cryptography.services.dynamodb.internaldafny.types._IConsumedCapacity value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ConsumedCapacity concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ConsumedCapacity)value; Amazon.DynamoDBv2.Model.ConsumedCapacity converted = new Amazon.DynamoDBv2.Model.ConsumedCapacity(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M9_TableName(concrete._TableName); if (concrete._CapacityUnits.is_Some) converted.CapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M13_CapacityUnits(concrete._CapacityUnits); if (concrete._ReadCapacityUnits.is_Some) converted.ReadCapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M17_ReadCapacityUnits(concrete._ReadCapacityUnits); if (concrete._WriteCapacityUnits.is_Some) converted.WriteCapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M18_WriteCapacityUnits(concrete._WriteCapacityUnits); if (concrete._Table.is_Some) converted.Table = (Amazon.DynamoDBv2.Model.Capacity) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M5_Table(concrete._Table); if (concrete._LocalSecondaryIndexes.is_Some) converted.LocalSecondaryIndexes = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M21_LocalSecondaryIndexes(concrete._LocalSecondaryIndexes); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IConsumedCapacity ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { string var_tableName = value.TableName; double? var_capacityUnits = value.CapacityUnits; double? var_readCapacityUnits = value.ReadCapacityUnits; double? var_writeCapacityUnits = value.WriteCapacityUnits; Amazon.DynamoDBv2.Model.Capacity var_table = value.Table; System.Collections.Generic.Dictionary var_localSecondaryIndexes = value.LocalSecondaryIndexes; System.Collections.Generic.Dictionary var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ConsumedCapacity ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M13_CapacityUnits(var_capacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M17_ReadCapacityUnits(var_readCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M18_WriteCapacityUnits(var_writeCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M5_Table(var_table) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M21_LocalSecondaryIndexes(var_localSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) ) ; } internal static Amazon.DynamoDBv2.Model.ItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics (software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemCollectionMetrics value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemCollectionMetrics concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemCollectionMetrics)value; Amazon.DynamoDBv2.Model.ItemCollectionMetrics converted = new Amazon.DynamoDBv2.Model.ItemCollectionMetrics(); if (concrete._ItemCollectionKey.is_Some) converted.ItemCollectionKey = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M17_ItemCollectionKey(concrete._ItemCollectionKey); if (concrete._SizeEstimateRangeGB.is_Some) converted.SizeEstimateRangeGB = FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M19_SizeEstimateRangeGB(concrete._SizeEstimateRangeGB).Select(i => (double) i).ToList(); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemCollectionMetrics ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics (Amazon.DynamoDBv2.Model.ItemCollectionMetrics value) { System.Collections.Generic.Dictionary var_itemCollectionKey = value.ItemCollectionKey; System.Collections.Generic.List var_sizeEstimateRangeGB = value.SizeEstimateRangeGB; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemCollectionMetrics ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M17_ItemCollectionKey(var_itemCollectionKey) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M19_SizeEstimateRangeGB(var_sizeEstimateRangeGB) ) ; } internal static Amazon.DynamoDBv2.Model.ContinuousBackupsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ContinuousBackupsDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ContinuousBackupsDescription)value; Amazon.DynamoDBv2.Model.ContinuousBackupsDescription converted = new Amazon.DynamoDBv2.Model.ContinuousBackupsDescription(); converted.ContinuousBackupsStatus = (Amazon.DynamoDBv2.ContinuousBackupsStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M23_ContinuousBackupsStatus(concrete._ContinuousBackupsStatus); if (concrete._PointInTimeRecoveryDescription.is_Some) converted.PointInTimeRecoveryDescription = (Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M30_PointInTimeRecoveryDescription(concrete._PointInTimeRecoveryDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription (Amazon.DynamoDBv2.Model.ContinuousBackupsDescription value) { Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription var_pointInTimeRecoveryDescription = value.PointInTimeRecoveryDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ContinuousBackupsDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M23_ContinuousBackupsStatus(value.ContinuousBackupsStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M30_PointInTimeRecoveryDescription(var_pointInTimeRecoveryDescription) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList__M6_member).ToArray()); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static Amazon.DynamoDBv2.Model.FailureException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException (software.amazon.cryptography.services.dynamodb.internaldafny.types._IFailureException value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.FailureException concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.FailureException)value; Amazon.DynamoDBv2.Model.FailureException converted = new Amazon.DynamoDBv2.Model.FailureException(); if (concrete._ExceptionName.is_Some) converted.ExceptionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M13_ExceptionName(concrete._ExceptionName); if (concrete._ExceptionDescription.is_Some) converted.ExceptionDescription = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M20_ExceptionDescription(concrete._ExceptionDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IFailureException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException (Amazon.DynamoDBv2.Model.FailureException value) { string var_exceptionName = value.ExceptionName; string var_exceptionDescription = value.ExceptionDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.FailureException ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M13_ExceptionName(var_exceptionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M20_ExceptionDescription(var_exceptionDescription) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ExportDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportDescription)value; Amazon.DynamoDBv2.Model.ExportDescription converted = new Amazon.DynamoDBv2.Model.ExportDescription(); if (concrete._ExportArn.is_Some) converted.ExportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ExportArn(concrete._ExportArn); if (concrete._ExportStatus.is_Some) converted.ExportStatus = (Amazon.DynamoDBv2.ExportStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportStatus(concrete._ExportStatus); if (concrete._StartTime.is_Some) converted.StartTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_StartTime(concrete._StartTime); if (concrete._EndTime.is_Some) converted.EndTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_EndTime(concrete._EndTime); if (concrete._ExportManifest.is_Some) converted.ExportManifest = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_ExportManifest(concrete._ExportManifest); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_TableArn(concrete._TableArn); if (concrete._TableId.is_Some) converted.TableId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_TableId(concrete._TableId); if (concrete._ExportTime.is_Some) converted.ExportTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M10_ExportTime(concrete._ExportTime); if (concrete._ClientToken.is_Some) converted.ClientToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_ClientToken(concrete._ClientToken); if (concrete._S3Bucket.is_Some) converted.S3Bucket = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Bucket(concrete._S3Bucket); if (concrete._S3BucketOwner.is_Some) converted.S3BucketOwner = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3BucketOwner(concrete._S3BucketOwner); if (concrete._S3Prefix.is_Some) converted.S3Prefix = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Prefix(concrete._S3Prefix); if (concrete._S3SseAlgorithm.is_Some) converted.S3SseAlgorithm = (Amazon.DynamoDBv2.S3SseAlgorithm) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_S3SseAlgorithm(concrete._S3SseAlgorithm); if (concrete._S3SseKmsKeyId.is_Some) converted.S3SseKmsKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3SseKmsKeyId(concrete._S3SseKmsKeyId); if (concrete._FailureCode.is_Some) converted.FailureCode = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_FailureCode(concrete._FailureCode); if (concrete._FailureMessage.is_Some) converted.FailureMessage = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_FailureMessage(concrete._FailureMessage); if (concrete._ExportFormat.is_Some) converted.ExportFormat = (Amazon.DynamoDBv2.ExportFormat) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportFormat(concrete._ExportFormat); if (concrete._BilledSizeBytes.is_Some) converted.BilledSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M15_BilledSizeBytes(concrete._BilledSizeBytes); if (concrete._ItemCount.is_Some) converted.ItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ItemCount(concrete._ItemCount); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription (Amazon.DynamoDBv2.Model.ExportDescription value) { string var_exportArn = value.ExportArn; Amazon.DynamoDBv2.ExportStatus var_exportStatus = value.ExportStatus; System.DateTime? var_startTime = value.StartTime; System.DateTime? var_endTime = value.EndTime; string var_exportManifest = value.ExportManifest; string var_tableArn = value.TableArn; string var_tableId = value.TableId; System.DateTime? var_exportTime = value.ExportTime; string var_clientToken = value.ClientToken; string var_s3Bucket = value.S3Bucket; string var_s3BucketOwner = value.S3BucketOwner; string var_s3Prefix = value.S3Prefix; Amazon.DynamoDBv2.S3SseAlgorithm var_s3SseAlgorithm = value.S3SseAlgorithm; string var_s3SseKmsKeyId = value.S3SseKmsKeyId; string var_failureCode = value.FailureCode; string var_failureMessage = value.FailureMessage; Amazon.DynamoDBv2.ExportFormat var_exportFormat = value.ExportFormat; long? var_billedSizeBytes = value.BilledSizeBytes; long? var_itemCount = value.ItemCount; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ExportArn(var_exportArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportStatus(var_exportStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_StartTime(var_startTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_EndTime(var_endTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_ExportManifest(var_exportManifest) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_TableId(var_tableId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M10_ExportTime(var_exportTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_ClientToken(var_clientToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Bucket(var_s3Bucket) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3BucketOwner(var_s3BucketOwner) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Prefix(var_s3Prefix) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_S3SseAlgorithm(var_s3SseAlgorithm) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3SseKmsKeyId(var_s3SseKmsKeyId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_FailureCode(var_failureCode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_FailureMessage(var_failureMessage) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportFormat(var_exportFormat) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M15_BilledSizeBytes(var_billedSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ItemCount(var_itemCount) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ImportTableDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableDescription)value; Amazon.DynamoDBv2.Model.ImportTableDescription converted = new Amazon.DynamoDBv2.Model.ImportTableDescription(); if (concrete._ImportArn.is_Some) converted.ImportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_ImportArn(concrete._ImportArn); if (concrete._ImportStatus.is_Some) converted.ImportStatus = (Amazon.DynamoDBv2.ImportStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M12_ImportStatus(concrete._ImportStatus); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M8_TableArn(concrete._TableArn); if (concrete._TableId.is_Some) converted.TableId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_TableId(concrete._TableId); if (concrete._ClientToken.is_Some) converted.ClientToken = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_ClientToken(concrete._ClientToken); if (concrete._S3BucketSource.is_Some) converted.S3BucketSource = (Amazon.DynamoDBv2.Model.S3BucketSource) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_S3BucketSource(concrete._S3BucketSource); if (concrete._ErrorCount.is_Some) converted.ErrorCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M10_ErrorCount(concrete._ErrorCount); if (concrete._CloudWatchLogGroupArn.is_Some) converted.CloudWatchLogGroupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M21_CloudWatchLogGroupArn(concrete._CloudWatchLogGroupArn); if (concrete._InputFormat.is_Some) converted.InputFormat = (Amazon.DynamoDBv2.InputFormat) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_InputFormat(concrete._InputFormat); if (concrete._InputFormatOptions.is_Some) converted.InputFormatOptions = (Amazon.DynamoDBv2.Model.InputFormatOptions) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_InputFormatOptions(concrete._InputFormatOptions); if (concrete._InputCompressionType.is_Some) converted.InputCompressionType = (Amazon.DynamoDBv2.InputCompressionType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M20_InputCompressionType(concrete._InputCompressionType); if (concrete._TableCreationParameters.is_Some) converted.TableCreationParameters = (Amazon.DynamoDBv2.Model.TableCreationParameters) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M23_TableCreationParameters(concrete._TableCreationParameters); if (concrete._StartTime.is_Some) converted.StartTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_StartTime(concrete._StartTime); if (concrete._EndTime.is_Some) converted.EndTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_EndTime(concrete._EndTime); if (concrete._ProcessedSizeBytes.is_Some) converted.ProcessedSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedSizeBytes(concrete._ProcessedSizeBytes); if (concrete._ProcessedItemCount.is_Some) converted.ProcessedItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedItemCount(concrete._ProcessedItemCount); if (concrete._ImportedItemCount.is_Some) converted.ImportedItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M17_ImportedItemCount(concrete._ImportedItemCount); if (concrete._FailureCode.is_Some) converted.FailureCode = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_FailureCode(concrete._FailureCode); if (concrete._FailureMessage.is_Some) converted.FailureMessage = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_FailureMessage(concrete._FailureMessage); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportTableDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription (Amazon.DynamoDBv2.Model.ImportTableDescription value) { string var_importArn = value.ImportArn; Amazon.DynamoDBv2.ImportStatus var_importStatus = value.ImportStatus; string var_tableArn = value.TableArn; string var_tableId = value.TableId; string var_clientToken = value.ClientToken; Amazon.DynamoDBv2.Model.S3BucketSource var_s3BucketSource = value.S3BucketSource; long? var_errorCount = value.ErrorCount; string var_cloudWatchLogGroupArn = value.CloudWatchLogGroupArn; Amazon.DynamoDBv2.InputFormat var_inputFormat = value.InputFormat; Amazon.DynamoDBv2.Model.InputFormatOptions var_inputFormatOptions = value.InputFormatOptions; Amazon.DynamoDBv2.InputCompressionType var_inputCompressionType = value.InputCompressionType; Amazon.DynamoDBv2.Model.TableCreationParameters var_tableCreationParameters = value.TableCreationParameters; System.DateTime? var_startTime = value.StartTime; System.DateTime? var_endTime = value.EndTime; long? var_processedSizeBytes = value.ProcessedSizeBytes; long? var_processedItemCount = value.ProcessedItemCount; long? var_importedItemCount = value.ImportedItemCount; string var_failureCode = value.FailureCode; string var_failureMessage = value.FailureMessage; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportTableDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_ImportArn(var_importArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M12_ImportStatus(var_importStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_TableId(var_tableId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_ClientToken(var_clientToken) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_S3BucketSource(var_s3BucketSource) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M10_ErrorCount(var_errorCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M21_CloudWatchLogGroupArn(var_cloudWatchLogGroupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_InputFormat(var_inputFormat) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_InputFormatOptions(var_inputFormatOptions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M20_InputCompressionType(var_inputCompressionType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M23_TableCreationParameters(var_tableCreationParameters) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_StartTime(var_startTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_EndTime(var_endTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedSizeBytes(var_processedSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedItemCount(var_processedItemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M17_ImportedItemCount(var_importedItemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_FailureCode(var_failureCode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_FailureMessage(var_failureMessage) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations__M6_member).ToArray()); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject (long value) { return value; } internal static Amazon.DynamoDBv2.Model.TableAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableAutoScalingDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TableAutoScalingDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TableAutoScalingDescription)value; Amazon.DynamoDBv2.Model.TableAutoScalingDescription converted = new Amazon.DynamoDBv2.Model.TableAutoScalingDescription(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M9_TableName(concrete._TableName); if (concrete._TableStatus.is_Some) converted.TableStatus = (Amazon.DynamoDBv2.TableStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M11_TableStatus(concrete._TableStatus); if (concrete._Replicas.is_Some) converted.Replicas = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M8_Replicas(concrete._Replicas); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableAutoScalingDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription (Amazon.DynamoDBv2.Model.TableAutoScalingDescription value) { string var_tableName = value.TableName; Amazon.DynamoDBv2.TableStatus var_tableStatus = value.TableStatus; System.Collections.Generic.List var_replicas = value.Replicas; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TableAutoScalingDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M11_TableStatus(var_tableStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M8_Replicas(var_replicas) ) ; } internal static Amazon.DynamoDBv2.Model.TimeToLiveDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveDescription)value; Amazon.DynamoDBv2.Model.TimeToLiveDescription converted = new Amazon.DynamoDBv2.Model.TimeToLiveDescription(); if (concrete._TimeToLiveStatus.is_Some) converted.TimeToLiveStatus = (Amazon.DynamoDBv2.TimeToLiveStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M16_TimeToLiveStatus(concrete._TimeToLiveStatus); if (concrete._AttributeName.is_Some) converted.AttributeName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M13_AttributeName(concrete._AttributeName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription (Amazon.DynamoDBv2.Model.TimeToLiveDescription value) { Amazon.DynamoDBv2.TimeToLiveStatus var_timeToLiveStatus = value.TimeToLiveStatus; string var_attributeName = value.AttributeName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M16_TimeToLiveStatus(var_timeToLiveStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M13_AttributeName(var_attributeName) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters__M6_member).ToArray()); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLNextToken (string value) { return Dafny.Sequence.FromString(value); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_PositiveIntegerObject (int value) { return value; } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList (Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return new System.Collections.Generic.List>(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList__M6_member)); } internal static Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList (System.Collections.Generic.List> value) { return Dafny.Sequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ClientRequestToken (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn (string value) { return Dafny.Sequence.FromString(value); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.S3BucketSource FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource (software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3BucketSource value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.S3BucketSource concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.S3BucketSource)value; Amazon.DynamoDBv2.Model.S3BucketSource converted = new Amazon.DynamoDBv2.Model.S3BucketSource(); if (concrete._S3BucketOwner.is_Some) converted.S3BucketOwner = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M13_S3BucketOwner(concrete._S3BucketOwner); converted.S3Bucket = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M8_S3Bucket(concrete._S3Bucket); if (concrete._S3KeyPrefix.is_Some) converted.S3KeyPrefix = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M11_S3KeyPrefix(concrete._S3KeyPrefix); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IS3BucketSource ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource (Amazon.DynamoDBv2.Model.S3BucketSource value) { string var_s3BucketOwner = value.S3BucketOwner; string var_s3KeyPrefix = value.S3KeyPrefix; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.S3BucketSource ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M13_S3BucketOwner(var_s3BucketOwner) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M8_S3Bucket(value.S3Bucket) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M11_S3KeyPrefix(var_s3KeyPrefix) ) ; } internal static Amazon.DynamoDBv2.Model.InputFormatOptions FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions (software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormatOptions value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormatOptions concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormatOptions)value; Amazon.DynamoDBv2.Model.InputFormatOptions converted = new Amazon.DynamoDBv2.Model.InputFormatOptions(); if (concrete._Csv.is_Some) converted.Csv = (Amazon.DynamoDBv2.Model.CsvOptions) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions__M3_Csv(concrete._Csv); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IInputFormatOptions ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions (Amazon.DynamoDBv2.Model.InputFormatOptions value) { Amazon.DynamoDBv2.Model.CsvOptions var_csv = value.Csv; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.InputFormatOptions ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions__M3_Csv(var_csv) ) ; } internal static Amazon.DynamoDBv2.Model.TableCreationParameters FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableCreationParameters value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TableCreationParameters concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TableCreationParameters)value; Amazon.DynamoDBv2.Model.TableCreationParameters converted = new Amazon.DynamoDBv2.Model.TableCreationParameters(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_TableName(concrete._TableName); converted.AttributeDefinitions = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M20_AttributeDefinitions(concrete._AttributeDefinitions); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_KeySchema(concrete._KeySchema); if (concrete._BillingMode.is_Some) converted.BillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M11_BillingMode(concrete._BillingMode); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._SSESpecification.is_Some) converted.SSESpecification = (Amazon.DynamoDBv2.Model.SSESpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M16_SSESpecification(concrete._SSESpecification); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableCreationParameters ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters (Amazon.DynamoDBv2.Model.TableCreationParameters value) { Amazon.DynamoDBv2.BillingMode var_billingMode = value.BillingMode; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; Amazon.DynamoDBv2.Model.SSESpecification var_sSESpecification = value.SSESpecification; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TableCreationParameters ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M20_AttributeDefinitions(value.AttributeDefinitions) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M11_BillingMode(var_billingMode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M21_ProvisionedThroughput(var_provisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M16_SSESpecification(var_sSESpecification) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String (string value) { return Dafny.Sequence.FromString(value); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupsInputLimit (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupsInputLimit (int value) { return value; } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeLowerBound (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeLowerBound (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeUpperBound (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TimeRangeUpperBound (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_NextTokenString (string value) { return Dafny.Sequence.FromString(value); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsLimit (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ListContributorInsightsLimit (int value) { return value; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries__M6_member).ToArray()); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListExportsMaxLimit (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListExportsMaxLimit (int value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportNextToken (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList__M6_member).ToArray()); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListImportsMaxLimit (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ListImportsMaxLimit (int value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportNextToken (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList__M6_member).ToArray()); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ListTablesInputLimit (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ListTablesInputLimit (int value) { return value; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ResourceArnString (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M5_value(pair.Value)) )); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyExpression (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyExpression (string value) { return Dafny.Sequence.FromString(value); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Integer (int value) { return value; } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ScanTotalSegments (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ScanTotalSegments (int value) { return value; } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ScanSegment (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ScanSegment (int value) { return value; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoverySpecification value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoverySpecification concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoverySpecification)value; Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification converted = new Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification(); converted.PointInTimeRecoveryEnabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification__M26_PointInTimeRecoveryEnabled(concrete._PointInTimeRecoveryEnabled); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoverySpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification (Amazon.DynamoDBv2.Model.PointInTimeRecoverySpecification value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoverySpecification ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification__M26_PointInTimeRecoveryEnabled(value.PointInTimeRecoveryEnabled) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingSettingsUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsUpdate)value; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate converted = new Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate(); if (concrete._MinimumUnits.is_Some) converted.MinimumUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MinimumUnits(concrete._MinimumUnits); if (concrete._MaximumUnits.is_Some) converted.MaximumUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MaximumUnits(concrete._MaximumUnits); if (concrete._AutoScalingDisabled.is_Some) converted.AutoScalingDisabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_AutoScalingDisabled(concrete._AutoScalingDisabled); if (concrete._AutoScalingRoleArn.is_Some) converted.AutoScalingRoleArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M18_AutoScalingRoleArn(concrete._AutoScalingRoleArn); if (concrete._ScalingPolicyUpdate.is_Some) converted.ScalingPolicyUpdate = (Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_ScalingPolicyUpdate(concrete._ScalingPolicyUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { long? var_minimumUnits = value.MinimumUnits; long? var_maximumUnits = value.MaximumUnits; bool? var_autoScalingDisabled = value.AutoScalingDisabled; string var_autoScalingRoleArn = value.AutoScalingRoleArn; Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate var_scalingPolicyUpdate = value.ScalingPolicyUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MinimumUnits(var_minimumUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MaximumUnits(var_maximumUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_AutoScalingDisabled(var_autoScalingDisabled) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M18_AutoScalingRoleArn(var_autoScalingRoleArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_ScalingPolicyUpdate(var_scalingPolicyUpdate) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList__M6_member).ToArray()); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M5_value(pair.Value)) )); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.TimeToLiveSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveSpecification value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveSpecification concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveSpecification)value; Amazon.DynamoDBv2.Model.TimeToLiveSpecification converted = new Amazon.DynamoDBv2.Model.TimeToLiveSpecification(); converted.Enabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M7_Enabled(concrete._Enabled); converted.AttributeName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M13_AttributeName(concrete._AttributeName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITimeToLiveSpecification ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification (Amazon.DynamoDBv2.Model.TimeToLiveSpecification value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TimeToLiveSpecification ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M7_Enabled(value.Enabled) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M13_AttributeName(value.AttributeName) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_StringSetAttributeValue__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_StringAttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NumberSetAttributeValue__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_NumberAttributeValue(value); } internal static System.IO.MemoryStream FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BinarySetAttributeValue__M6_member (System.IO.MemoryStream value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BinaryAttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_MapAttributeValue__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ListAttributeValue__M6_member (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static Amazon.DynamoDBv2.Model.BatchStatementRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementRequest value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_PartiQLBatchRequest__M6_member (Amazon.DynamoDBv2.Model.BatchStatementRequest value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest(value); } internal static Amazon.DynamoDBv2.Model.BatchStatementResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementResponse value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementResponse ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_PartiQLBatchResponse__M6_member (Amazon.DynamoDBv2.Model.BatchStatementResponse value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse(value); } internal static Amazon.DynamoDBv2.Model.ConsumedCapacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IConsumedCapacity value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IConsumedCapacity ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ConsumedCapacityMultiple__M6_member (Amazon.DynamoDBv2.Model.ConsumedCapacity value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Amazon.DynamoDBv2.Model.KeysAndAttributes FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BatchGetRequestMap__M5_value (Amazon.DynamoDBv2.Model.KeysAndAttributes value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M5_value (Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList(value); } internal static Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchGetResponseMap__M5_value (System.Collections.Generic.List> value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M5_value (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_BatchWriteItemRequestMap__M5_value (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M5_value (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsPerTable__M5_value (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M9_BackupArn (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M9_BackupArn (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M15_BackupSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M15_BackupSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes((long) value)); } internal static Amazon.DynamoDBv2.BackupStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M12_BackupStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupStatus value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M12_BackupStatus (Amazon.DynamoDBv2.BackupStatus value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus(value); } internal static Amazon.DynamoDBv2.BackupType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupType value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M10_BackupType (Amazon.DynamoDBv2.BackupType value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType(value); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M22_BackupCreationDateTime (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M22_BackupCreationDateTime (System.DateTime value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime(value); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M20_BackupExpiryDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails__M20_BackupExpiryDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.Model.Replica FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplica value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplica ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList__M6_member (Amazon.DynamoDBv2.Model.Replica value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_ReplicationGroup (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_ReplicationGroup (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M14_GlobalTableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalTableArnString(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M14_GlobalTableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalTableArnString((string) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_CreationDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M16_CreationDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.GlobalTableStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M17_GlobalTableStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.GlobalTableStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_GlobalTableStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M17_GlobalTableStatus (Amazon.DynamoDBv2.GlobalTableStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_GlobalTableStatus((Amazon.DynamoDBv2.GlobalTableStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M15_GlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalTableDescription__M15_GlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static Amazon.DynamoDBv2.Model.AttributeDefinition FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeDefinition value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeDefinition ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions__M6_member (Amazon.DynamoDBv2.Model.AttributeDefinition value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition(value); } internal static Amazon.DynamoDBv2.Model.KeySchemaElement FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeySchemaElement value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeySchemaElement ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema__M6_member (Amazon.DynamoDBv2.Model.KeySchemaElement value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement(value); } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndex value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexList__M6_member (Amazon.DynamoDBv2.Model.LocalSecondaryIndex value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex(value); } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndex value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList__M6_member (Amazon.DynamoDBv2.Model.GlobalSecondaryIndex value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex(value); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M17_ReadCapacityUnits (long value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value); } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M17_ReadCapacityUnits (long value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M18_WriteCapacityUnits (long value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value); } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput__M18_WriteCapacityUnits (long value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M13_StreamEnabled (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_StreamEnabled(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M13_StreamEnabled (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_StreamEnabled(value); } internal static Amazon.DynamoDBv2.StreamViewType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M14_StreamViewType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.StreamViewType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_StreamViewType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification__M14_StreamViewType (Amazon.DynamoDBv2.StreamViewType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_StreamViewType((Amazon.DynamoDBv2.StreamViewType) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_Enabled (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_SSEEnabled(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_Enabled (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_SSEEnabled((bool) value)); } internal static Amazon.DynamoDBv2.SSEType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_SSEType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.SSEType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M7_SSEType (Amazon.DynamoDBv2.SSEType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType((Amazon.DynamoDBv2.SSEType) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M14_KMSMasterKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification__M14_KMSMasterKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId((string) value)); } internal static Amazon.DynamoDBv2.Model.Tag FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITag value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITag ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TagList__M6_member (Amazon.DynamoDBv2.Model.Tag value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M20_AttributeDefinitions (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M20_AttributeDefinitions (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_KeySchema (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_KeySchema (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M11_TableStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M11_TableStatus (Amazon.DynamoDBv2.TableStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus((Amazon.DynamoDBv2.TableStatus) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M16_CreationDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M16_CreationDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription((Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_TableSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_TableSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_ItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M9_ItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M7_TableId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M7_TableId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId((string) value)); } internal static Amazon.DynamoDBv2.Model.BillingModeSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_BillingModeSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BillingModeSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_BillingModeSummary (Amazon.DynamoDBv2.Model.BillingModeSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary((Amazon.DynamoDBv2.Model.BillingModeSummary) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_LocalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M21_LocalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.StreamSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M19_StreamSpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.StreamSpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M19_StreamSpecification (Amazon.DynamoDBv2.Model.StreamSpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification((Amazon.DynamoDBv2.Model.StreamSpecification) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_LatestStreamLabel (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_LatestStreamLabel (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_LatestStreamArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_LatestStreamArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_GlobalTableVersion (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M18_GlobalTableVersion (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_Replicas (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M8_Replicas (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.RestoreSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_RestoreSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.RestoreSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_RestoreSummary (Amazon.DynamoDBv2.Model.RestoreSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary((Amazon.DynamoDBv2.Model.RestoreSummary) value)); } internal static Amazon.DynamoDBv2.Model.SSEDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_SSEDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSEDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M14_SSEDescription (Amazon.DynamoDBv2.Model.SSEDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription((Amazon.DynamoDBv2.Model.SSEDescription) value)); } internal static Amazon.DynamoDBv2.Model.ArchivalSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_ArchivalSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ArchivalSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M15_ArchivalSummary (Amazon.DynamoDBv2.Model.ArchivalSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary((Amazon.DynamoDBv2.Model.ArchivalSummary) value)); } internal static Amazon.DynamoDBv2.Model.TableClassSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_TableClassSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableClassSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TableDescription__M17_TableClassSummary (Amazon.DynamoDBv2.Model.TableClassSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary((Amazon.DynamoDBv2.Model.TableClassSummary) value)); } internal static Amazon.DynamoDBv2.Model.BackupDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M13_BackupDetails (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BackupDetails) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M13_BackupDetails (Amazon.DynamoDBv2.Model.BackupDetails value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupDetails((Amazon.DynamoDBv2.Model.BackupDetails) value)); } internal static Amazon.DynamoDBv2.Model.SourceTableDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M18_SourceTableDetails (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SourceTableDetails) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M18_SourceTableDetails (Amazon.DynamoDBv2.Model.SourceTableDetails value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails((Amazon.DynamoDBv2.Model.SourceTableDetails) value)); } internal static Amazon.DynamoDBv2.Model.SourceTableFeatureDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M25_SourceTableFeatureDetails (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SourceTableFeatureDetails) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_BackupDescription__M25_SourceTableFeatureDetails (Amazon.DynamoDBv2.Model.SourceTableFeatureDetails value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails((Amazon.DynamoDBv2.Model.SourceTableFeatureDetails) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.ExpectedAttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExpectedAttributeMap__M5_value (Amazon.DynamoDBv2.Model.ExpectedAttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ExpressionAttributeNameVariable(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ExpressionAttributeNameVariable(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M5_value (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap__M5_value (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ExpressionAttributeValueVariable(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ExpressionAttributeValueVariable(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M13_CapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M13_CapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M17_ReadCapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M17_ReadCapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M18_WriteCapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M18_WriteCapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static Amazon.DynamoDBv2.Model.Capacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M5_Table (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Capacity) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M5_Table (Amazon.DynamoDBv2.Model.Capacity value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity((Amazon.DynamoDBv2.Model.Capacity) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M21_LocalSecondaryIndexes (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M21_LocalSecondaryIndexes (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ConsumedCapacity__M22_GlobalSecondaryIndexes (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M17_ItemCollectionKey (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M17_ItemCollectionKey (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M19_SizeEstimateRangeGB (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics__M19_SizeEstimateRangeGB (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.ContinuousBackupsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M23_ContinuousBackupsStatus (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsStatus value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContinuousBackupsStatus(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContinuousBackupsStatus ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M23_ContinuousBackupsStatus (Amazon.DynamoDBv2.ContinuousBackupsStatus value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContinuousBackupsStatus(value); } internal static Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M30_PointInTimeRecoveryDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContinuousBackupsDescription__M30_PointInTimeRecoveryDescription (Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription((Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContributorInsightsRule(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ContributorInsightsRuleList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContributorInsightsRule(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M13_ExceptionName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExceptionName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M13_ExceptionName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExceptionName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M20_ExceptionDescription (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExceptionDescription(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_FailureException__M20_ExceptionDescription (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExceptionDescription((string) value)); } internal static Amazon.DynamoDBv2.Model.Endpoint FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IEndpoint value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IEndpoint ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Endpoints__M6_member (Amazon.DynamoDBv2.Model.Endpoint value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ExportArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ExportArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn((string) value)); } internal static Amazon.DynamoDBv2.ExportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ExportStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportStatus (Amazon.DynamoDBv2.ExportStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus((Amazon.DynamoDBv2.ExportStatus) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_StartTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportStartTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_StartTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportStartTime((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_EndTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportEndTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_EndTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportEndTime((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_ExportManifest (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ExportManifest(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_ExportManifest (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ExportManifest((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_TableId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M7_TableId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId((string) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M10_ExportTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M10_ExportTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ExportTime((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_ClientToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_ClientToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Bucket (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Bucket (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3BucketOwner (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3BucketOwner (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Prefix (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M8_S3Prefix (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix((string) value)); } internal static Amazon.DynamoDBv2.S3SseAlgorithm FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_S3SseAlgorithm (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.S3SseAlgorithm) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_S3SseAlgorithm (Amazon.DynamoDBv2.S3SseAlgorithm value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3SseAlgorithm((Amazon.DynamoDBv2.S3SseAlgorithm) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3SseKmsKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M13_S3SseKmsKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3SseKmsKeyId((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_FailureCode (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M11_FailureCode (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_FailureMessage (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M14_FailureMessage (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage((string) value)); } internal static Amazon.DynamoDBv2.ExportFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportFormat (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ExportFormat) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M12_ExportFormat (Amazon.DynamoDBv2.ExportFormat value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportFormat((Amazon.DynamoDBv2.ExportFormat) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M15_BilledSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BilledSizeBytes(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M15_BilledSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BilledSizeBytes((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ExportDescription__M9_ItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount((long) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_ReplicaSettingsDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaSettingsDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_ImportArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_ImportArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn((string) value)); } internal static Amazon.DynamoDBv2.ImportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M12_ImportStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ImportStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M12_ImportStatus (Amazon.DynamoDBv2.ImportStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus((Amazon.DynamoDBv2.ImportStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_TableId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_TableId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_ClientToken (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_ClientToken (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ClientToken((string) value)); } internal static Amazon.DynamoDBv2.Model.S3BucketSource FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_S3BucketSource (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.S3BucketSource) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_S3BucketSource (Amazon.DynamoDBv2.Model.S3BucketSource value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource((Amazon.DynamoDBv2.Model.S3BucketSource) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M10_ErrorCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ErrorCount(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M10_ErrorCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ErrorCount((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M21_CloudWatchLogGroupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M21_CloudWatchLogGroupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn((string) value)); } internal static Amazon.DynamoDBv2.InputFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_InputFormat (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.InputFormat) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_InputFormat (Amazon.DynamoDBv2.InputFormat value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat((Amazon.DynamoDBv2.InputFormat) value)); } internal static Amazon.DynamoDBv2.Model.InputFormatOptions FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_InputFormatOptions (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.InputFormatOptions) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_InputFormatOptions (Amazon.DynamoDBv2.Model.InputFormatOptions value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions((Amazon.DynamoDBv2.Model.InputFormatOptions) value)); } internal static Amazon.DynamoDBv2.InputCompressionType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M20_InputCompressionType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.InputCompressionType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M20_InputCompressionType (Amazon.DynamoDBv2.InputCompressionType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_InputCompressionType((Amazon.DynamoDBv2.InputCompressionType) value)); } internal static Amazon.DynamoDBv2.Model.TableCreationParameters FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M23_TableCreationParameters (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableCreationParameters) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M23_TableCreationParameters (Amazon.DynamoDBv2.Model.TableCreationParameters value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters((Amazon.DynamoDBv2.Model.TableCreationParameters) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_StartTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M9_StartTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_EndTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M7_EndTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime((System.DateTime) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ProcessedItemCount(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M18_ProcessedItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ProcessedItemCount((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M17_ImportedItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportedItemCount(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M17_ImportedItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportedItemCount((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_FailureCode (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M11_FailureCode (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_FailureMessage (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ImportTableDescription__M14_FailureMessage (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage((string) value)); } internal static Amazon.DynamoDBv2.Model.KinesisDataStreamDestination FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKinesisDataStreamDestination value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKinesisDataStreamDestination ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_KinesisDataStreamDestinations__M6_member (Amazon.DynamoDBv2.Model.KinesisDataStreamDestination value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static Amazon.DynamoDBv2.TableStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M11_TableStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M11_TableStatus (Amazon.DynamoDBv2.TableStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_TableStatus((Amazon.DynamoDBv2.TableStatus) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M8_Replicas (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAutoScalingDescription__M8_Replicas (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TimeToLiveStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M16_TimeToLiveStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TimeToLiveStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TimeToLiveStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M16_TimeToLiveStatus (Amazon.DynamoDBv2.TimeToLiveStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_TimeToLiveStatus((Amazon.DynamoDBv2.TimeToLiveStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M13_AttributeName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription__M13_AttributeName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName((string) value)); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters__M6_member (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList__M6_member (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_ItemList__M6_member (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value); } internal static Amazon.DynamoDBv2.Model.ParameterizedStatement FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IParameterizedStatement value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IParameterizedStatement ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ParameterizedStatements__M6_member (Amazon.DynamoDBv2.Model.ParameterizedStatement value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement(value); } internal static Amazon.DynamoDBv2.Model.ItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemResponse value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemResponse ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_ItemResponseList__M6_member (Amazon.DynamoDBv2.Model.ItemResponse value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M13_S3BucketOwner (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M13_S3BucketOwner (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_S3BucketOwner((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M8_S3Bucket (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M8_S3Bucket (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Bucket(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M11_S3KeyPrefix (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource__M11_S3KeyPrefix (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_S3Prefix((string) value)); } internal static Amazon.DynamoDBv2.Model.CsvOptions FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions__M3_Csv (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.CsvOptions) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_InputFormatOptions__M3_Csv (Amazon.DynamoDBv2.Model.CsvOptions value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions((Amazon.DynamoDBv2.Model.CsvOptions) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M20_AttributeDefinitions (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M20_AttributeDefinitions (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeDefinitions(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M11_BillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static Amazon.DynamoDBv2.Model.SSESpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M16_SSESpecification (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSESpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M16_SSESpecification (Amazon.DynamoDBv2.Model.SSESpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_SSESpecification((Amazon.DynamoDBv2.Model.SSESpecification) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TableCreationParameters__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.BackupSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupSummary value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSummaries__M6_member (Amazon.DynamoDBv2.Model.BackupSummary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary(value); } internal static Amazon.DynamoDBv2.Model.ContributorInsightsSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsSummary value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ContributorInsightsSummaries__M6_member (Amazon.DynamoDBv2.Model.ContributorInsightsSummary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary(value); } internal static Amazon.DynamoDBv2.Model.ExportSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportSummary value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportSummaries__M6_member (Amazon.DynamoDBv2.Model.ExportSummary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary(value); } internal static Amazon.DynamoDBv2.Model.GlobalTable FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTable value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTable ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_GlobalTableList__M6_member (Amazon.DynamoDBv2.Model.GlobalTable value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable(value); } internal static Amazon.DynamoDBv2.Model.ImportSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportSummary value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportSummaryList__M6_member (Amazon.DynamoDBv2.Model.ImportSummary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_TableNameList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.Condition FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_KeyConditions__M5_value (Amazon.DynamoDBv2.Model.Condition value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.Condition FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_FilterConditionMap__M5_value (Amazon.DynamoDBv2.Model.Condition value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition(value); } internal static Amazon.DynamoDBv2.Model.TransactGetItem FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItem value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItem ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TransactGetItemList__M6_member (Amazon.DynamoDBv2.Model.TransactGetItem value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem(value); } internal static Amazon.DynamoDBv2.Model.CancellationReason FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICancellationReason value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICancellationReason ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_CancellationReasonList__M6_member (Amazon.DynamoDBv2.Model.CancellationReason value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason(value); } internal static Amazon.DynamoDBv2.Model.TransactWriteItem FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItem value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItem ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TransactWriteItemList__M6_member (Amazon.DynamoDBv2.Model.TransactWriteItem value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TagKeyList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification__M26_PointInTimeRecoveryEnabled (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_PointInTimeRecoverySpecification__M26_PointInTimeRecoveryEnabled (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value); } internal static Amazon.DynamoDBv2.Model.ReplicaUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ReplicaUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicaUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MinimumUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MinimumUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MaximumUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M12_MaximumUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_AutoScalingDisabled (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_AutoScalingDisabled (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M18_AutoScalingRoleArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AutoScalingRoleArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M18_AutoScalingRoleArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AutoScalingRoleArn((string) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_ScalingPolicyUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate__M19_ScalingPolicyUpdate (Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate((Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate) value)); } internal static Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableGlobalSecondaryIndexSettingsUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableGlobalSecondaryIndexSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_GlobalTableGlobalSecondaryIndexSettingsUpdateList__M6_member (Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate(value); } internal static Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ReplicaSettingsUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValueUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_AttributeUpdates__M5_value (Amazon.DynamoDBv2.Model.AttributeValueUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate(value); } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_GlobalSecondaryIndexUpdateList__M6_member (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate(value); } internal static Amazon.DynamoDBv2.Model.ReplicationGroupUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicationGroupUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicationGroupUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicationGroupUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicationGroupUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate(value); } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexAutoScalingUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_GlobalSecondaryIndexAutoScalingUpdateList__M6_member (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate(value); } internal static Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaAutoScalingUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M7_Enabled (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TimeToLiveEnabled(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M7_Enabled (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TimeToLiveEnabled(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M13_AttributeName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveSpecification__M13_AttributeName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.BatchStatementRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementRequest value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementRequest concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementRequest)value; Amazon.DynamoDBv2.Model.BatchStatementRequest converted = new Amazon.DynamoDBv2.Model.BatchStatementRequest(); converted.Statement = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M9_Statement(concrete._Statement); if (concrete._Parameters.is_Some) converted.Parameters = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M10_Parameters(concrete._Parameters); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M14_ConsistentRead(concrete._ConsistentRead); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest (Amazon.DynamoDBv2.Model.BatchStatementRequest value) { System.Collections.Generic.List var_parameters = value.Parameters; bool? var_consistentRead = value.ConsistentRead; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementRequest ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M9_Statement(value.Statement) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M10_Parameters(var_parameters) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M14_ConsistentRead(var_consistentRead) ) ; } internal static Amazon.DynamoDBv2.Model.BatchStatementResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementResponse value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementResponse concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementResponse)value; Amazon.DynamoDBv2.Model.BatchStatementResponse converted = new Amazon.DynamoDBv2.Model.BatchStatementResponse(); if (concrete._Error.is_Some) converted.Error = (Amazon.DynamoDBv2.Model.BatchStatementError) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M5_Error(concrete._Error); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M9_TableName(concrete._TableName); if (concrete._Item.is_Some) converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M4_Item(concrete._Item); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementResponse ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse (Amazon.DynamoDBv2.Model.BatchStatementResponse value) { Amazon.DynamoDBv2.Model.BatchStatementError var_error = value.Error; string var_tableName = value.TableName; System.Collections.Generic.Dictionary var_item = value.Item; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementResponse ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M5_Error(var_error) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M4_Item(var_item) ) ; } internal static Amazon.DynamoDBv2.Model.KeysAndAttributes FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.KeysAndAttributes concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.KeysAndAttributes)value; Amazon.DynamoDBv2.Model.KeysAndAttributes converted = new Amazon.DynamoDBv2.Model.KeysAndAttributes(); converted.Keys = (System.Collections.Generic.List>) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M4_Keys(concrete._Keys); if (concrete._AttributesToGet.is_Some) converted.AttributesToGet = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M15_AttributesToGet(concrete._AttributesToGet); if (concrete._ConsistentRead.is_Some) converted.ConsistentRead = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M14_ConsistentRead(concrete._ConsistentRead); if (concrete._ProjectionExpression.is_Some) converted.ProjectionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M20_ProjectionExpression(concrete._ProjectionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeysAndAttributes ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes (Amazon.DynamoDBv2.Model.KeysAndAttributes value) { System.Collections.Generic.List var_attributesToGet = value.AttributesToGet; bool? var_consistentRead = value.ConsistentRead; string var_projectionExpression = value.ProjectionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.KeysAndAttributes ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M4_Keys(value.Keys) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M15_AttributesToGet(var_attributesToGet) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M14_ConsistentRead(var_consistentRead) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M20_ProjectionExpression(var_projectionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M24_ExpressionAttributeNames(var_expressionAttributeNames) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple__M6_member).ToArray()); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes (long value) { return value; } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static Amazon.DynamoDBv2.Model.Replica FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplica value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Replica concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Replica)value; Amazon.DynamoDBv2.Model.Replica converted = new Amazon.DynamoDBv2.Model.Replica(); if (concrete._RegionName.is_Some) converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica__M10_RegionName(concrete._RegionName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplica ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica (Amazon.DynamoDBv2.Model.Replica value) { string var_regionName = value.RegionName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Replica ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica__M10_RegionName(var_regionName) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalTableArnString (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalTableArnString (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.AttributeDefinition FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeDefinition value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeDefinition concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeDefinition)value; Amazon.DynamoDBv2.Model.AttributeDefinition converted = new Amazon.DynamoDBv2.Model.AttributeDefinition(); converted.AttributeName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeName(concrete._AttributeName); converted.AttributeType = (Amazon.DynamoDBv2.ScalarAttributeType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeType(concrete._AttributeType); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeDefinition ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition (Amazon.DynamoDBv2.Model.AttributeDefinition value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeDefinition ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeName(value.AttributeName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeType(value.AttributeType) ) ; } internal static Amazon.DynamoDBv2.Model.KeySchemaElement FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeySchemaElement value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.KeySchemaElement concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.KeySchemaElement)value; Amazon.DynamoDBv2.Model.KeySchemaElement converted = new Amazon.DynamoDBv2.Model.KeySchemaElement(); converted.AttributeName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M13_AttributeName(concrete._AttributeName); converted.KeyType = (Amazon.DynamoDBv2.KeyType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M7_KeyType(concrete._KeyType); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeySchemaElement ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement (Amazon.DynamoDBv2.Model.KeySchemaElement value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.KeySchemaElement ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M13_AttributeName(value.AttributeName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M7_KeyType(value.KeyType) ) ; } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndex value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndex concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndex)value; Amazon.DynamoDBv2.Model.LocalSecondaryIndex converted = new Amazon.DynamoDBv2.Model.LocalSecondaryIndex(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_IndexName(concrete._IndexName); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_KeySchema(concrete._KeySchema); converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M10_Projection(concrete._Projection); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex (Amazon.DynamoDBv2.Model.LocalSecondaryIndex value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndex ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M10_Projection(value.Projection) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndex value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndex concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndex)value; Amazon.DynamoDBv2.Model.GlobalSecondaryIndex converted = new Amazon.DynamoDBv2.Model.GlobalSecondaryIndex(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_IndexName(concrete._IndexName); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_KeySchema(concrete._KeySchema); converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M10_Projection(concrete._Projection); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex (Amazon.DynamoDBv2.Model.GlobalSecondaryIndex value) { Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndex ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M10_Projection(value.Projection) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M21_ProvisionedThroughput(var_provisionedThroughput) ) ; } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_StreamEnabled (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_StreamEnabled (bool value) { return value; } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_SSEEnabled (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_SSEEnabled (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.Tag FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITag value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Tag concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Tag)value; Amazon.DynamoDBv2.Model.Tag converted = new Amazon.DynamoDBv2.Model.Tag(); converted.Key = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M3_Key(concrete._Key); converted.Value = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M5_Value(concrete._Value); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITag ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag (Amazon.DynamoDBv2.Model.Tag value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Tag ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M5_Value(value.Value) ) ; } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughputDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputDescription)value; Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription converted = new Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription(); if (concrete._LastIncreaseDateTime.is_Some) converted.LastIncreaseDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastIncreaseDateTime(concrete._LastIncreaseDateTime); if (concrete._LastDecreaseDateTime.is_Some) converted.LastDecreaseDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastDecreaseDateTime(concrete._LastDecreaseDateTime); if (concrete._NumberOfDecreasesToday.is_Some) converted.NumberOfDecreasesToday = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M22_NumberOfDecreasesToday(concrete._NumberOfDecreasesToday); if (concrete._ReadCapacityUnits.is_Some) converted.ReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M17_ReadCapacityUnits(concrete._ReadCapacityUnits); if (concrete._WriteCapacityUnits.is_Some) converted.WriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M18_WriteCapacityUnits(concrete._WriteCapacityUnits); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughputDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription value) { System.DateTime? var_lastIncreaseDateTime = value.LastIncreaseDateTime; System.DateTime? var_lastDecreaseDateTime = value.LastDecreaseDateTime; long? var_numberOfDecreasesToday = value.NumberOfDecreasesToday; long? var_readCapacityUnits = value.ReadCapacityUnits; long? var_writeCapacityUnits = value.WriteCapacityUnits; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastIncreaseDateTime(var_lastIncreaseDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastDecreaseDateTime(var_lastDecreaseDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M22_NumberOfDecreasesToday(var_numberOfDecreasesToday) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M17_ReadCapacityUnits(var_readCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M18_WriteCapacityUnits(var_writeCapacityUnits) ) ; } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long (long value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.BillingModeSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBillingModeSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BillingModeSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BillingModeSummary)value; Amazon.DynamoDBv2.Model.BillingModeSummary converted = new Amazon.DynamoDBv2.Model.BillingModeSummary(); if (concrete._BillingMode.is_Some) converted.BillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M11_BillingMode(concrete._BillingMode); if (concrete._LastUpdateToPayPerRequestDateTime.is_Some) converted.LastUpdateToPayPerRequestDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M33_LastUpdateToPayPerRequestDateTime(concrete._LastUpdateToPayPerRequestDateTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBillingModeSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary (Amazon.DynamoDBv2.Model.BillingModeSummary value) { Amazon.DynamoDBv2.BillingMode var_billingMode = value.BillingMode; System.DateTime? var_lastUpdateToPayPerRequestDateTime = value.LastUpdateToPayPerRequestDateTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BillingModeSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M11_BillingMode(var_billingMode) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M33_LastUpdateToPayPerRequestDateTime(var_lastUpdateToPayPerRequestDateTime) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.RestoreSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreSummary)value; Amazon.DynamoDBv2.Model.RestoreSummary converted = new Amazon.DynamoDBv2.Model.RestoreSummary(); if (concrete._SourceBackupArn.is_Some) converted.SourceBackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_SourceBackupArn(concrete._SourceBackupArn); if (concrete._SourceTableArn.is_Some) converted.SourceTableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M14_SourceTableArn(concrete._SourceTableArn); converted.RestoreDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_RestoreDateTime(concrete._RestoreDateTime); converted.RestoreInProgress = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M17_RestoreInProgress(concrete._RestoreInProgress); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IRestoreSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary (Amazon.DynamoDBv2.Model.RestoreSummary value) { string var_sourceBackupArn = value.SourceBackupArn; string var_sourceTableArn = value.SourceTableArn; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.RestoreSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_SourceBackupArn(var_sourceBackupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M14_SourceTableArn(var_sourceTableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_RestoreDateTime(value.RestoreDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M17_RestoreInProgress(value.RestoreInProgress) ) ; } internal static Amazon.DynamoDBv2.Model.SSEDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEDescription)value; Amazon.DynamoDBv2.Model.SSEDescription converted = new Amazon.DynamoDBv2.Model.SSEDescription(); if (concrete._Status.is_Some) converted.Status = (Amazon.DynamoDBv2.SSEStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M6_Status(concrete._Status); if (concrete._SSEType.is_Some) converted.SSEType = (Amazon.DynamoDBv2.SSEType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M7_SSEType(concrete._SSEType); if (concrete._KMSMasterKeyArn.is_Some) converted.KMSMasterKeyArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M15_KMSMasterKeyArn(concrete._KMSMasterKeyArn); if (concrete._InaccessibleEncryptionDateTime.is_Some) converted.InaccessibleEncryptionDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M30_InaccessibleEncryptionDateTime(concrete._InaccessibleEncryptionDateTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISSEDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription (Amazon.DynamoDBv2.Model.SSEDescription value) { Amazon.DynamoDBv2.SSEStatus var_status = value.Status; Amazon.DynamoDBv2.SSEType var_sSEType = value.SSEType; string var_kMSMasterKeyArn = value.KMSMasterKeyArn; System.DateTime? var_inaccessibleEncryptionDateTime = value.InaccessibleEncryptionDateTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.SSEDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M6_Status(var_status) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M7_SSEType(var_sSEType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M15_KMSMasterKeyArn(var_kMSMasterKeyArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M30_InaccessibleEncryptionDateTime(var_inaccessibleEncryptionDateTime) ) ; } internal static Amazon.DynamoDBv2.Model.ArchivalSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IArchivalSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ArchivalSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ArchivalSummary)value; Amazon.DynamoDBv2.Model.ArchivalSummary converted = new Amazon.DynamoDBv2.Model.ArchivalSummary(); if (concrete._ArchivalDateTime.is_Some) converted.ArchivalDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M16_ArchivalDateTime(concrete._ArchivalDateTime); if (concrete._ArchivalReason.is_Some) converted.ArchivalReason = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M14_ArchivalReason(concrete._ArchivalReason); if (concrete._ArchivalBackupArn.is_Some) converted.ArchivalBackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M17_ArchivalBackupArn(concrete._ArchivalBackupArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IArchivalSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary (Amazon.DynamoDBv2.Model.ArchivalSummary value) { System.DateTime? var_archivalDateTime = value.ArchivalDateTime; string var_archivalReason = value.ArchivalReason; string var_archivalBackupArn = value.ArchivalBackupArn; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ArchivalSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M16_ArchivalDateTime(var_archivalDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M14_ArchivalReason(var_archivalReason) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M17_ArchivalBackupArn(var_archivalBackupArn) ) ; } internal static Amazon.DynamoDBv2.Model.TableClassSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableClassSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TableClassSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TableClassSummary)value; Amazon.DynamoDBv2.Model.TableClassSummary converted = new Amazon.DynamoDBv2.Model.TableClassSummary(); if (concrete._TableClass.is_Some) converted.TableClass = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M10_TableClass(concrete._TableClass); if (concrete._LastUpdateDateTime.is_Some) converted.LastUpdateDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M18_LastUpdateDateTime(concrete._LastUpdateDateTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITableClassSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary (Amazon.DynamoDBv2.Model.TableClassSummary value) { Amazon.DynamoDBv2.TableClass var_tableClass = value.TableClass; System.DateTime? var_lastUpdateDateTime = value.LastUpdateDateTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TableClassSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M10_TableClass(var_tableClass) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M18_LastUpdateDateTime(var_lastUpdateDateTime) ) ; } internal static Amazon.DynamoDBv2.Model.SourceTableDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISourceTableDetails value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableDetails concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableDetails)value; Amazon.DynamoDBv2.Model.SourceTableDetails converted = new Amazon.DynamoDBv2.Model.SourceTableDetails(); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_TableName(concrete._TableName); converted.TableId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M7_TableId(concrete._TableId); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M8_TableArn(concrete._TableArn); if (concrete._TableSizeBytes.is_Some) converted.TableSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M14_TableSizeBytes(concrete._TableSizeBytes); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_KeySchema(concrete._KeySchema); converted.TableCreationDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_TableCreationDateTime(concrete._TableCreationDateTime); converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._ItemCount.is_Some) converted.ItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_ItemCount(concrete._ItemCount); if (concrete._BillingMode.is_Some) converted.BillingMode = (Amazon.DynamoDBv2.BillingMode) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M11_BillingMode(concrete._BillingMode); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISourceTableDetails ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails (Amazon.DynamoDBv2.Model.SourceTableDetails value) { string var_tableArn = value.TableArn; long? var_tableSizeBytes = value.TableSizeBytes; long? var_itemCount = value.ItemCount; Amazon.DynamoDBv2.BillingMode var_billingMode = value.BillingMode; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableDetails ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M7_TableId(value.TableId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M14_TableSizeBytes(var_tableSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_TableCreationDateTime(value.TableCreationDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_ProvisionedThroughput(value.ProvisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_ItemCount(var_itemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M11_BillingMode(var_billingMode) ) ; } internal static Amazon.DynamoDBv2.Model.SourceTableFeatureDetails FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails (software.amazon.cryptography.services.dynamodb.internaldafny.types._ISourceTableFeatureDetails value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableFeatureDetails concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableFeatureDetails)value; Amazon.DynamoDBv2.Model.SourceTableFeatureDetails converted = new Amazon.DynamoDBv2.Model.SourceTableFeatureDetails(); if (concrete._LocalSecondaryIndexes.is_Some) converted.LocalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_LocalSecondaryIndexes(concrete._LocalSecondaryIndexes); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._StreamDescription.is_Some) converted.StreamDescription = (Amazon.DynamoDBv2.Model.StreamSpecification) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M17_StreamDescription(concrete._StreamDescription); if (concrete._TimeToLiveDescription.is_Some) converted.TimeToLiveDescription = (Amazon.DynamoDBv2.Model.TimeToLiveDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_TimeToLiveDescription(concrete._TimeToLiveDescription); if (concrete._SSEDescription.is_Some) converted.SSEDescription = (Amazon.DynamoDBv2.Model.SSEDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M14_SSEDescription(concrete._SSEDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ISourceTableFeatureDetails ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails (Amazon.DynamoDBv2.Model.SourceTableFeatureDetails value) { System.Collections.Generic.List var_localSecondaryIndexes = value.LocalSecondaryIndexes; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.Model.StreamSpecification var_streamDescription = value.StreamDescription; Amazon.DynamoDBv2.Model.TimeToLiveDescription var_timeToLiveDescription = value.TimeToLiveDescription; Amazon.DynamoDBv2.Model.SSEDescription var_sSEDescription = value.SSEDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.SourceTableFeatureDetails ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_LocalSecondaryIndexes(var_localSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M17_StreamDescription(var_streamDescription) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_TimeToLiveDescription(var_timeToLiveDescription) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M14_SSEDescription(var_sSEDescription) ) ; } internal static Amazon.DynamoDBv2.Model.ExpectedAttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExpectedAttributeValue concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExpectedAttributeValue)value; Amazon.DynamoDBv2.Model.ExpectedAttributeValue converted = new Amazon.DynamoDBv2.Model.ExpectedAttributeValue(); if (concrete._Value.is_Some) converted.Value = (Amazon.DynamoDBv2.Model.AttributeValue) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M5_Value(concrete._Value); if (concrete._Exists.is_Some) converted.Exists = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M6_Exists(concrete._Exists); if (concrete._ComparisonOperator.is_Some) converted.ComparisonOperator = (Amazon.DynamoDBv2.ComparisonOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_ComparisonOperator(concrete._ComparisonOperator); if (concrete._AttributeValueList.is_Some) converted.AttributeValueList = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_AttributeValueList(concrete._AttributeValueList); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExpectedAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue (Amazon.DynamoDBv2.Model.ExpectedAttributeValue value) { Amazon.DynamoDBv2.Model.AttributeValue var_value = value.Value; bool? var_exists = value.Exists; Amazon.DynamoDBv2.ComparisonOperator var_comparisonOperator = value.ComparisonOperator; System.Collections.Generic.List var_attributeValueList = value.AttributeValueList; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExpectedAttributeValue ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M5_Value(var_value) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M6_Exists(var_exists) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_ComparisonOperator(var_comparisonOperator) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_AttributeValueList(var_attributeValueList) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ExpressionAttributeNameVariable (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ExpressionAttributeNameVariable (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ExpressionAttributeValueVariable (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ExpressionAttributeValueVariable (string value) { return Dafny.Sequence.FromString(value); } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits (Dafny.ISequence value) { return BitConverter.ToDouble(value.CloneAsArray(), 0); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits (double value) { return Dafny.Sequence.FromArray(BitConverter.GetBytes(value)); } internal static Amazon.DynamoDBv2.Model.Capacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Capacity concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Capacity)value; Amazon.DynamoDBv2.Model.Capacity converted = new Amazon.DynamoDBv2.Model.Capacity(); if (concrete._ReadCapacityUnits.is_Some) converted.ReadCapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M17_ReadCapacityUnits(concrete._ReadCapacityUnits); if (concrete._WriteCapacityUnits.is_Some) converted.WriteCapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M18_WriteCapacityUnits(concrete._WriteCapacityUnits); if (concrete._CapacityUnits.is_Some) converted.CapacityUnits = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M13_CapacityUnits(concrete._CapacityUnits); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity (Amazon.DynamoDBv2.Model.Capacity value) { double? var_readCapacityUnits = value.ReadCapacityUnits; double? var_writeCapacityUnits = value.WriteCapacityUnits; double? var_capacityUnits = value.CapacityUnits; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Capacity ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M17_ReadCapacityUnits(var_readCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M18_WriteCapacityUnits(var_writeCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M13_CapacityUnits(var_capacityUnits) ) ; } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return value.ItemEnumerable.ToDictionary(pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M3_key(pair.Car), pair => FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M5_value(pair.Cdr)); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap (System.Collections.Generic.Dictionary value) { return Dafny.Map, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>.FromCollection(value.Select(pair => new Dafny.Pair, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M3_key(pair.Key), ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M5_value(pair.Value)) )); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoveryDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoveryDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoveryDescription)value; Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription converted = new Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription(); if (concrete._PointInTimeRecoveryStatus.is_Some) converted.PointInTimeRecoveryStatus = (Amazon.DynamoDBv2.PointInTimeRecoveryStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M25_PointInTimeRecoveryStatus(concrete._PointInTimeRecoveryStatus); if (concrete._EarliestRestorableDateTime.is_Some) converted.EarliestRestorableDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M26_EarliestRestorableDateTime(concrete._EarliestRestorableDateTime); if (concrete._LatestRestorableDateTime.is_Some) converted.LatestRestorableDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M24_LatestRestorableDateTime(concrete._LatestRestorableDateTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPointInTimeRecoveryDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription (Amazon.DynamoDBv2.Model.PointInTimeRecoveryDescription value) { Amazon.DynamoDBv2.PointInTimeRecoveryStatus var_pointInTimeRecoveryStatus = value.PointInTimeRecoveryStatus; System.DateTime? var_earliestRestorableDateTime = value.EarliestRestorableDateTime; System.DateTime? var_latestRestorableDateTime = value.LatestRestorableDateTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.PointInTimeRecoveryDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M25_PointInTimeRecoveryStatus(var_pointInTimeRecoveryStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M26_EarliestRestorableDateTime(var_earliestRestorableDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M24_LatestRestorableDateTime(var_latestRestorableDateTime) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContributorInsightsRule (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ContributorInsightsRule (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExceptionName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExceptionName (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExceptionDescription (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ExceptionDescription (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.Endpoint FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint (software.amazon.cryptography.services.dynamodb.internaldafny.types._IEndpoint value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Endpoint concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Endpoint)value; Amazon.DynamoDBv2.Model.Endpoint converted = new Amazon.DynamoDBv2.Model.Endpoint(); converted.Address = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M7_Address(concrete._Address); converted.CachePeriodInMinutes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M20_CachePeriodInMinutes(concrete._CachePeriodInMinutes); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IEndpoint ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint (Amazon.DynamoDBv2.Model.Endpoint value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Endpoint ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M7_Address(value.Address) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M20_CachePeriodInMinutes(value.CachePeriodInMinutes) ) ; } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportStartTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ExportStartTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportEndTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportEndTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ExportManifest (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ExportManifest (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_FailureCode (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_FailureMessage (string value) { return Dafny.Sequence.FromString(value); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BilledSizeBytes (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BilledSizeBytes (long value) { return value; } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount (long value) { return value; } internal static Amazon.DynamoDBv2.Model.ReplicaSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsDescription)value; Amazon.DynamoDBv2.Model.ReplicaSettingsDescription converted = new Amazon.DynamoDBv2.Model.ReplicaSettingsDescription(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M10_RegionName(concrete._RegionName); if (concrete._ReplicaStatus.is_Some) converted.ReplicaStatus = (Amazon.DynamoDBv2.ReplicaStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M13_ReplicaStatus(concrete._ReplicaStatus); if (concrete._ReplicaBillingModeSummary.is_Some) converted.ReplicaBillingModeSummary = (Amazon.DynamoDBv2.Model.BillingModeSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M25_ReplicaBillingModeSummary(concrete._ReplicaBillingModeSummary); if (concrete._ReplicaProvisionedReadCapacityUnits.is_Some) converted.ReplicaProvisionedReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaProvisionedReadCapacityUnits(concrete._ReplicaProvisionedReadCapacityUnits); if (concrete._ReplicaProvisionedReadCapacityAutoScalingSettings.is_Some) converted.ReplicaProvisionedReadCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings(concrete._ReplicaProvisionedReadCapacityAutoScalingSettings); if (concrete._ReplicaProvisionedWriteCapacityUnits.is_Some) converted.ReplicaProvisionedWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M36_ReplicaProvisionedWriteCapacityUnits(concrete._ReplicaProvisionedWriteCapacityUnits); if (concrete._ReplicaProvisionedWriteCapacityAutoScalingSettings.is_Some) converted.ReplicaProvisionedWriteCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings(concrete._ReplicaProvisionedWriteCapacityAutoScalingSettings); if (concrete._ReplicaGlobalSecondaryIndexSettings.is_Some) converted.ReplicaGlobalSecondaryIndexSettings = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaGlobalSecondaryIndexSettings(concrete._ReplicaGlobalSecondaryIndexSettings); if (concrete._ReplicaTableClassSummary.is_Some) converted.ReplicaTableClassSummary = (Amazon.DynamoDBv2.Model.TableClassSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M24_ReplicaTableClassSummary(concrete._ReplicaTableClassSummary); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription (Amazon.DynamoDBv2.Model.ReplicaSettingsDescription value) { Amazon.DynamoDBv2.ReplicaStatus var_replicaStatus = value.ReplicaStatus; Amazon.DynamoDBv2.Model.BillingModeSummary var_replicaBillingModeSummary = value.ReplicaBillingModeSummary; long? var_replicaProvisionedReadCapacityUnits = value.ReplicaProvisionedReadCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_replicaProvisionedReadCapacityAutoScalingSettings = value.ReplicaProvisionedReadCapacityAutoScalingSettings; long? var_replicaProvisionedWriteCapacityUnits = value.ReplicaProvisionedWriteCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_replicaProvisionedWriteCapacityAutoScalingSettings = value.ReplicaProvisionedWriteCapacityAutoScalingSettings; System.Collections.Generic.List var_replicaGlobalSecondaryIndexSettings = value.ReplicaGlobalSecondaryIndexSettings; Amazon.DynamoDBv2.Model.TableClassSummary var_replicaTableClassSummary = value.ReplicaTableClassSummary; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M10_RegionName(value.RegionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M13_ReplicaStatus(var_replicaStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M25_ReplicaBillingModeSummary(var_replicaBillingModeSummary) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaProvisionedReadCapacityUnits(var_replicaProvisionedReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings(var_replicaProvisionedReadCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M36_ReplicaProvisionedWriteCapacityUnits(var_replicaProvisionedWriteCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings(var_replicaProvisionedWriteCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaGlobalSecondaryIndexSettings(var_replicaGlobalSecondaryIndexSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M24_ReplicaTableClassSummary(var_replicaTableClassSummary) ) ; } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ErrorCount (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_ErrorCount (long value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn (string value) { return Dafny.Sequence.FromString(value); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ProcessedItemCount (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ProcessedItemCount (long value) { return value; } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportedItemCount (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_ImportedItemCount (long value) { return value; } internal static Amazon.DynamoDBv2.Model.KinesisDataStreamDestination FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKinesisDataStreamDestination value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.KinesisDataStreamDestination concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.KinesisDataStreamDestination)value; Amazon.DynamoDBv2.Model.KinesisDataStreamDestination converted = new Amazon.DynamoDBv2.Model.KinesisDataStreamDestination(); if (concrete._StreamArn.is_Some) converted.StreamArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M9_StreamArn(concrete._StreamArn); if (concrete._DestinationStatus.is_Some) converted.DestinationStatus = (Amazon.DynamoDBv2.DestinationStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M17_DestinationStatus(concrete._DestinationStatus); if (concrete._DestinationStatusDescription.is_Some) converted.DestinationStatusDescription = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M28_DestinationStatusDescription(concrete._DestinationStatusDescription); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKinesisDataStreamDestination ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination (Amazon.DynamoDBv2.Model.KinesisDataStreamDestination value) { string var_streamArn = value.StreamArn; Amazon.DynamoDBv2.DestinationStatus var_destinationStatus = value.DestinationStatus; string var_destinationStatusDescription = value.DestinationStatusDescription; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.KinesisDataStreamDestination ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M9_StreamArn(var_streamArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M17_DestinationStatus(var_destinationStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M28_DestinationStatusDescription(var_destinationStatusDescription) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_TimeToLiveAttributeName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ParameterizedStatement FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement (software.amazon.cryptography.services.dynamodb.internaldafny.types._IParameterizedStatement value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ParameterizedStatement concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ParameterizedStatement)value; Amazon.DynamoDBv2.Model.ParameterizedStatement converted = new Amazon.DynamoDBv2.Model.ParameterizedStatement(); converted.Statement = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M9_Statement(concrete._Statement); if (concrete._Parameters.is_Some) converted.Parameters = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M10_Parameters(concrete._Parameters); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IParameterizedStatement ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement (Amazon.DynamoDBv2.Model.ParameterizedStatement value) { System.Collections.Generic.List var_parameters = value.Parameters; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ParameterizedStatement ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M9_Statement(value.Statement) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M10_Parameters(var_parameters) ) ; } internal static Amazon.DynamoDBv2.Model.ItemResponse FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse (software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemResponse value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemResponse concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemResponse)value; Amazon.DynamoDBv2.Model.ItemResponse converted = new Amazon.DynamoDBv2.Model.ItemResponse(); if (concrete._Item.is_Some) converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse__M4_Item(concrete._Item); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemResponse ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse (Amazon.DynamoDBv2.Model.ItemResponse value) { System.Collections.Generic.Dictionary var_item = value.Item; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ItemResponse ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse__M4_Item(var_item) ) ; } internal static Amazon.DynamoDBv2.Model.CsvOptions FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICsvOptions value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CsvOptions concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CsvOptions)value; Amazon.DynamoDBv2.Model.CsvOptions converted = new Amazon.DynamoDBv2.Model.CsvOptions(); if (concrete._Delimiter.is_Some) converted.Delimiter = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M9_Delimiter(concrete._Delimiter); if (concrete._HeaderList.is_Some) converted.HeaderList = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M10_HeaderList(concrete._HeaderList); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICsvOptions ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions (Amazon.DynamoDBv2.Model.CsvOptions value) { string var_delimiter = value.Delimiter; System.Collections.Generic.List var_headerList = value.HeaderList; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CsvOptions ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M9_Delimiter(var_delimiter) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M10_HeaderList(var_headerList) ) ; } internal static Amazon.DynamoDBv2.Model.BackupSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupSummary)value; Amazon.DynamoDBv2.Model.BackupSummary converted = new Amazon.DynamoDBv2.Model.BackupSummary(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_TableName(concrete._TableName); if (concrete._TableId.is_Some) converted.TableId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M7_TableId(concrete._TableId); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M8_TableArn(concrete._TableArn); if (concrete._BackupArn.is_Some) converted.BackupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_BackupArn(concrete._BackupArn); if (concrete._BackupName.is_Some) converted.BackupName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupName(concrete._BackupName); if (concrete._BackupCreationDateTime.is_Some) converted.BackupCreationDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M22_BackupCreationDateTime(concrete._BackupCreationDateTime); if (concrete._BackupExpiryDateTime.is_Some) converted.BackupExpiryDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M20_BackupExpiryDateTime(concrete._BackupExpiryDateTime); if (concrete._BackupStatus.is_Some) converted.BackupStatus = (Amazon.DynamoDBv2.BackupStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M12_BackupStatus(concrete._BackupStatus); if (concrete._BackupType.is_Some) converted.BackupType = (Amazon.DynamoDBv2.BackupType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupType(concrete._BackupType); if (concrete._BackupSizeBytes.is_Some) converted.BackupSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M15_BackupSizeBytes(concrete._BackupSizeBytes); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBackupSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary (Amazon.DynamoDBv2.Model.BackupSummary value) { string var_tableName = value.TableName; string var_tableId = value.TableId; string var_tableArn = value.TableArn; string var_backupArn = value.BackupArn; string var_backupName = value.BackupName; System.DateTime? var_backupCreationDateTime = value.BackupCreationDateTime; System.DateTime? var_backupExpiryDateTime = value.BackupExpiryDateTime; Amazon.DynamoDBv2.BackupStatus var_backupStatus = value.BackupStatus; Amazon.DynamoDBv2.BackupType var_backupType = value.BackupType; long? var_backupSizeBytes = value.BackupSizeBytes; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BackupSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M7_TableId(var_tableId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_BackupArn(var_backupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupName(var_backupName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M22_BackupCreationDateTime(var_backupCreationDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M20_BackupExpiryDateTime(var_backupExpiryDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M12_BackupStatus(var_backupStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupType(var_backupType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M15_BackupSizeBytes(var_backupSizeBytes) ) ; } internal static Amazon.DynamoDBv2.Model.ContributorInsightsSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsSummary)value; Amazon.DynamoDBv2.Model.ContributorInsightsSummary converted = new Amazon.DynamoDBv2.Model.ContributorInsightsSummary(); if (concrete._TableName.is_Some) converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_TableName(concrete._TableName); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_IndexName(concrete._IndexName); if (concrete._ContributorInsightsStatus.is_Some) converted.ContributorInsightsStatus = (Amazon.DynamoDBv2.ContributorInsightsStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M25_ContributorInsightsStatus(concrete._ContributorInsightsStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IContributorInsightsSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary (Amazon.DynamoDBv2.Model.ContributorInsightsSummary value) { string var_tableName = value.TableName; string var_indexName = value.IndexName; Amazon.DynamoDBv2.ContributorInsightsStatus var_contributorInsightsStatus = value.ContributorInsightsStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ContributorInsightsSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_TableName(var_tableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M25_ContributorInsightsStatus(var_contributorInsightsStatus) ) ; } internal static Amazon.DynamoDBv2.Model.ExportSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportSummary)value; Amazon.DynamoDBv2.Model.ExportSummary converted = new Amazon.DynamoDBv2.Model.ExportSummary(); if (concrete._ExportArn.is_Some) converted.ExportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M9_ExportArn(concrete._ExportArn); if (concrete._ExportStatus.is_Some) converted.ExportStatus = (Amazon.DynamoDBv2.ExportStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M12_ExportStatus(concrete._ExportStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IExportSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary (Amazon.DynamoDBv2.Model.ExportSummary value) { string var_exportArn = value.ExportArn; Amazon.DynamoDBv2.ExportStatus var_exportStatus = value.ExportStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ExportSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M9_ExportArn(var_exportArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M12_ExportStatus(var_exportStatus) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalTable FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTable value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTable concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTable)value; Amazon.DynamoDBv2.Model.GlobalTable converted = new Amazon.DynamoDBv2.Model.GlobalTable(); if (concrete._GlobalTableName.is_Some) converted.GlobalTableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M15_GlobalTableName(concrete._GlobalTableName); if (concrete._ReplicationGroup.is_Some) converted.ReplicationGroup = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M16_ReplicationGroup(concrete._ReplicationGroup); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTable ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable (Amazon.DynamoDBv2.Model.GlobalTable value) { string var_globalTableName = value.GlobalTableName; System.Collections.Generic.List var_replicationGroup = value.ReplicationGroup; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTable ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M15_GlobalTableName(var_globalTableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M16_ReplicationGroup(var_replicationGroup) ) ; } internal static Amazon.DynamoDBv2.Model.ImportSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary (software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportSummary value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportSummary concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportSummary)value; Amazon.DynamoDBv2.Model.ImportSummary converted = new Amazon.DynamoDBv2.Model.ImportSummary(); if (concrete._ImportArn.is_Some) converted.ImportArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_ImportArn(concrete._ImportArn); if (concrete._ImportStatus.is_Some) converted.ImportStatus = (Amazon.DynamoDBv2.ImportStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M12_ImportStatus(concrete._ImportStatus); if (concrete._TableArn.is_Some) converted.TableArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M8_TableArn(concrete._TableArn); if (concrete._S3BucketSource.is_Some) converted.S3BucketSource = (Amazon.DynamoDBv2.Model.S3BucketSource) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M14_S3BucketSource(concrete._S3BucketSource); if (concrete._CloudWatchLogGroupArn.is_Some) converted.CloudWatchLogGroupArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M21_CloudWatchLogGroupArn(concrete._CloudWatchLogGroupArn); if (concrete._InputFormat.is_Some) converted.InputFormat = (Amazon.DynamoDBv2.InputFormat) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M11_InputFormat(concrete._InputFormat); if (concrete._StartTime.is_Some) converted.StartTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_StartTime(concrete._StartTime); if (concrete._EndTime.is_Some) converted.EndTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M7_EndTime(concrete._EndTime); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IImportSummary ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary (Amazon.DynamoDBv2.Model.ImportSummary value) { string var_importArn = value.ImportArn; Amazon.DynamoDBv2.ImportStatus var_importStatus = value.ImportStatus; string var_tableArn = value.TableArn; Amazon.DynamoDBv2.Model.S3BucketSource var_s3BucketSource = value.S3BucketSource; string var_cloudWatchLogGroupArn = value.CloudWatchLogGroupArn; Amazon.DynamoDBv2.InputFormat var_inputFormat = value.InputFormat; System.DateTime? var_startTime = value.StartTime; System.DateTime? var_endTime = value.EndTime; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ImportSummary ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_ImportArn(var_importArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M12_ImportStatus(var_importStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M8_TableArn(var_tableArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M14_S3BucketSource(var_s3BucketSource) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M21_CloudWatchLogGroupArn(var_cloudWatchLogGroupArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M11_InputFormat(var_inputFormat) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_StartTime(var_startTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M7_EndTime(var_endTime) ) ; } internal static Amazon.DynamoDBv2.Model.Condition FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Condition concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Condition)value; Amazon.DynamoDBv2.Model.Condition converted = new Amazon.DynamoDBv2.Model.Condition(); if (concrete._AttributeValueList.is_Some) converted.AttributeValueList = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_AttributeValueList(concrete._AttributeValueList); converted.ComparisonOperator = (Amazon.DynamoDBv2.ComparisonOperator) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_ComparisonOperator(concrete._ComparisonOperator); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICondition ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition (Amazon.DynamoDBv2.Model.Condition value) { System.Collections.Generic.List var_attributeValueList = value.AttributeValueList; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Condition ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_AttributeValueList(var_attributeValueList) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_ComparisonOperator(value.ComparisonOperator) ) ; } internal static Amazon.DynamoDBv2.Model.TransactGetItem FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItem value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItem concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItem)value; Amazon.DynamoDBv2.Model.TransactGetItem converted = new Amazon.DynamoDBv2.Model.TransactGetItem(); converted.Get = (Amazon.DynamoDBv2.Model.Get) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem__M3_Get(concrete._Get); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactGetItem ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem (Amazon.DynamoDBv2.Model.TransactGetItem value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactGetItem ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem__M3_Get(value.Get) ) ; } internal static Amazon.DynamoDBv2.Model.CancellationReason FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICancellationReason value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CancellationReason concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CancellationReason)value; Amazon.DynamoDBv2.Model.CancellationReason converted = new Amazon.DynamoDBv2.Model.CancellationReason(); if (concrete._Item.is_Some) converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Item(concrete._Item); if (concrete._Code.is_Some) converted.Code = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Code(concrete._Code); if (concrete._Message.is_Some) converted.Message = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M7_Message(concrete._Message); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICancellationReason ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason (Amazon.DynamoDBv2.Model.CancellationReason value) { System.Collections.Generic.Dictionary var_item = value.Item; string var_code = value.Code; string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CancellationReason ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Item(var_item) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Code(var_code) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M7_Message(var_message) ) ; } internal static Amazon.DynamoDBv2.Model.TransactWriteItem FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem (software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItem value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItem concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItem)value; Amazon.DynamoDBv2.Model.TransactWriteItem converted = new Amazon.DynamoDBv2.Model.TransactWriteItem(); if (concrete._ConditionCheck.is_Some) converted.ConditionCheck = (Amazon.DynamoDBv2.Model.ConditionCheck) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M14_ConditionCheck(concrete._ConditionCheck); if (concrete._Put.is_Some) converted.Put = (Amazon.DynamoDBv2.Model.Put) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M3_Put(concrete._Put); if (concrete._Delete.is_Some) converted.Delete = (Amazon.DynamoDBv2.Model.Delete) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Delete(concrete._Delete); if (concrete._Update.is_Some) converted.Update = (Amazon.DynamoDBv2.Model.Update) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Update(concrete._Update); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ITransactWriteItem ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem (Amazon.DynamoDBv2.Model.TransactWriteItem value) { Amazon.DynamoDBv2.Model.ConditionCheck var_conditionCheck = value.ConditionCheck; Amazon.DynamoDBv2.Model.Put var_put = value.Put; Amazon.DynamoDBv2.Model.Delete var_delete = value.Delete; Amazon.DynamoDBv2.Model.Update var_update = value.Update; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.TransactWriteItem ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M14_ConditionCheck(var_conditionCheck) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M3_Put(var_put) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Delete(var_delete) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Update(var_update) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ReplicaUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaUpdate)value; Amazon.DynamoDBv2.Model.ReplicaUpdate converted = new Amazon.DynamoDBv2.Model.ReplicaUpdate(); if (concrete._Create.is_Some) converted.Create = (Amazon.DynamoDBv2.Model.CreateReplicaAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Create(concrete._Create); if (concrete._Delete.is_Some) converted.Delete = (Amazon.DynamoDBv2.Model.DeleteReplicaAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Delete(concrete._Delete); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate (Amazon.DynamoDBv2.Model.ReplicaUpdate value) { Amazon.DynamoDBv2.Model.CreateReplicaAction var_create = value.Create; Amazon.DynamoDBv2.Model.DeleteReplicaAction var_delete = value.Delete; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Create(var_create) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Delete(var_delete) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AutoScalingRoleArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AutoScalingRoleArn (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyUpdate)value; Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate converted = new Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate(); if (concrete._PolicyName.is_Some) converted.PolicyName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M10_PolicyName(concrete._PolicyName); converted.TargetTrackingScalingPolicyConfiguration = (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M40_TargetTrackingScalingPolicyConfiguration(concrete._TargetTrackingScalingPolicyConfiguration); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate (Amazon.DynamoDBv2.Model.AutoScalingPolicyUpdate value) { string var_policyName = value.PolicyName; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M10_PolicyName(var_policyName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M40_TargetTrackingScalingPolicyConfiguration(value.TargetTrackingScalingPolicyConfiguration) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableGlobalSecondaryIndexSettingsUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableGlobalSecondaryIndexSettingsUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableGlobalSecondaryIndexSettingsUpdate)value; Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate converted = new Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedWriteCapacityUnits.is_Some) converted.ProvisionedWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M29_ProvisionedWriteCapacityUnits(concrete._ProvisionedWriteCapacityUnits); if (concrete._ProvisionedWriteCapacityAutoScalingSettingsUpdate.is_Some) converted.ProvisionedWriteCapacityAutoScalingSettingsUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M49_ProvisionedWriteCapacityAutoScalingSettingsUpdate(concrete._ProvisionedWriteCapacityAutoScalingSettingsUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalTableGlobalSecondaryIndexSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate (Amazon.DynamoDBv2.Model.GlobalTableGlobalSecondaryIndexSettingsUpdate value) { long? var_provisionedWriteCapacityUnits = value.ProvisionedWriteCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_provisionedWriteCapacityAutoScalingSettingsUpdate = value.ProvisionedWriteCapacityAutoScalingSettingsUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalTableGlobalSecondaryIndexSettingsUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M29_ProvisionedWriteCapacityUnits(var_provisionedWriteCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M49_ProvisionedWriteCapacityAutoScalingSettingsUpdate(var_provisionedWriteCapacityAutoScalingSettingsUpdate) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsUpdate)value; Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate converted = new Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M10_RegionName(concrete._RegionName); if (concrete._ReplicaProvisionedReadCapacityUnits.is_Some) converted.ReplicaProvisionedReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M35_ReplicaProvisionedReadCapacityUnits(concrete._ReplicaProvisionedReadCapacityUnits); if (concrete._ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate.is_Some) converted.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M55_ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(concrete._ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate); if (concrete._ReplicaGlobalSecondaryIndexSettingsUpdate.is_Some) converted.ReplicaGlobalSecondaryIndexSettingsUpdate = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M41_ReplicaGlobalSecondaryIndexSettingsUpdate(concrete._ReplicaGlobalSecondaryIndexSettingsUpdate); if (concrete._ReplicaTableClass.is_Some) converted.ReplicaTableClass = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M17_ReplicaTableClass(concrete._ReplicaTableClass); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate (Amazon.DynamoDBv2.Model.ReplicaSettingsUpdate value) { long? var_replicaProvisionedReadCapacityUnits = value.ReplicaProvisionedReadCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_replicaProvisionedReadCapacityAutoScalingSettingsUpdate = value.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate; System.Collections.Generic.List var_replicaGlobalSecondaryIndexSettingsUpdate = value.ReplicaGlobalSecondaryIndexSettingsUpdate; Amazon.DynamoDBv2.TableClass var_replicaTableClass = value.ReplicaTableClass; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaSettingsUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M10_RegionName(value.RegionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M35_ReplicaProvisionedReadCapacityUnits(var_replicaProvisionedReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M55_ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(var_replicaProvisionedReadCapacityAutoScalingSettingsUpdate) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M41_ReplicaGlobalSecondaryIndexSettingsUpdate(var_replicaGlobalSecondaryIndexSettingsUpdate) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M17_ReplicaTableClass(var_replicaTableClass) ) ; } internal static Amazon.DynamoDBv2.Model.AttributeValueUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValueUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValueUpdate)value; Amazon.DynamoDBv2.Model.AttributeValueUpdate converted = new Amazon.DynamoDBv2.Model.AttributeValueUpdate(); if (concrete._Value.is_Some) converted.Value = (Amazon.DynamoDBv2.Model.AttributeValue) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M5_Value(concrete._Value); if (concrete._Action.is_Some) converted.Action = (Amazon.DynamoDBv2.AttributeAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M6_Action(concrete._Action); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValueUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate (Amazon.DynamoDBv2.Model.AttributeValueUpdate value) { Amazon.DynamoDBv2.Model.AttributeValue var_value = value.Value; Amazon.DynamoDBv2.AttributeAction var_action = value.Action; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AttributeValueUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M5_Value(var_value) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M6_Action(var_action) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexUpdate)value; Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate converted = new Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate(); if (concrete._Update.is_Some) converted.Update = (Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Update(concrete._Update); if (concrete._Create.is_Some) converted.Create = (Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Create(concrete._Create); if (concrete._Delete.is_Some) converted.Delete = (Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Delete(concrete._Delete); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexUpdate value) { Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction var_update = value.Update; Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction var_create = value.Create; Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction var_delete = value.Delete; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Update(var_update) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Create(var_create) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Delete(var_delete) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicationGroupUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicationGroupUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicationGroupUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicationGroupUpdate)value; Amazon.DynamoDBv2.Model.ReplicationGroupUpdate converted = new Amazon.DynamoDBv2.Model.ReplicationGroupUpdate(); if (concrete._Create.is_Some) converted.Create = (Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Create(concrete._Create); if (concrete._Update.is_Some) converted.Update = (Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Update(concrete._Update); if (concrete._Delete.is_Some) converted.Delete = (Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Delete(concrete._Delete); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicationGroupUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate (Amazon.DynamoDBv2.Model.ReplicationGroupUpdate value) { Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction var_create = value.Create; Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction var_update = value.Update; Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction var_delete = value.Delete; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicationGroupUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Create(var_create) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Update(var_update) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Delete(var_delete) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexAutoScalingUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexAutoScalingUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexAutoScalingUpdate)value; Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate converted = new Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedWriteCapacityAutoScalingUpdate.is_Some) converted.ProvisionedWriteCapacityAutoScalingUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M41_ProvisionedWriteCapacityAutoScalingUpdate(concrete._ProvisionedWriteCapacityAutoScalingUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexAutoScalingUpdate value) { string var_indexName = value.IndexName; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_provisionedWriteCapacityAutoScalingUpdate = value.ProvisionedWriteCapacityAutoScalingUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexAutoScalingUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M41_ProvisionedWriteCapacityAutoScalingUpdate(var_provisionedWriteCapacityAutoScalingUpdate) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingUpdate)value; Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate converted = new Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M10_RegionName(concrete._RegionName); if (concrete._ReplicaGlobalSecondaryIndexUpdates.is_Some) converted.ReplicaGlobalSecondaryIndexUpdates = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M34_ReplicaGlobalSecondaryIndexUpdates(concrete._ReplicaGlobalSecondaryIndexUpdates); if (concrete._ReplicaProvisionedReadCapacityAutoScalingUpdate.is_Some) converted.ReplicaProvisionedReadCapacityAutoScalingUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M47_ReplicaProvisionedReadCapacityAutoScalingUpdate(concrete._ReplicaProvisionedReadCapacityAutoScalingUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate (Amazon.DynamoDBv2.Model.ReplicaAutoScalingUpdate value) { System.Collections.Generic.List var_replicaGlobalSecondaryIndexUpdates = value.ReplicaGlobalSecondaryIndexUpdates; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_replicaProvisionedReadCapacityAutoScalingUpdate = value.ReplicaProvisionedReadCapacityAutoScalingUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M10_RegionName(value.RegionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M34_ReplicaGlobalSecondaryIndexUpdates(var_replicaGlobalSecondaryIndexUpdates) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M47_ReplicaProvisionedReadCapacityAutoScalingUpdate(var_replicaProvisionedReadCapacityAutoScalingUpdate) ) ; } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TimeToLiveEnabled (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TimeToLiveEnabled (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M9_Statement (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M9_Statement (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M10_Parameters (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M10_Parameters (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters((System.Collections.Generic.List) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_BatchStatementRequest__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static Amazon.DynamoDBv2.Model.BatchStatementError FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M5_Error (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BatchStatementError) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M5_Error (Amazon.DynamoDBv2.Model.BatchStatementError value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError((Amazon.DynamoDBv2.Model.BatchStatementError) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M4_Item (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BatchStatementResponse__M4_Item (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M4_Keys (Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList(value); } internal static Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M4_Keys (System.Collections.Generic.List> value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M15_AttributesToGet (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M15_AttributesToGet (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_AttributeNameList((System.Collections.Generic.List) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M14_ConsistentRead (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M14_ConsistentRead (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConsistentRead((bool) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M20_ProjectionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M20_ProjectionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_KeysAndAttributes__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.Model.WriteRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IWriteRequest value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IWriteRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_WriteRequests__M6_member (Amazon.DynamoDBv2.Model.WriteRequest value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest(value); } internal static Amazon.DynamoDBv2.Model.ItemCollectionMetrics FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemCollectionMetrics value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IItemCollectionMetrics ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionMetricsMultiple__M6_member (Amazon.DynamoDBv2.Model.ItemCollectionMetrics value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ItemCollectionMetrics(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica__M10_RegionName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_Replica__M10_RegionName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName((string) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicaDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName(value); } internal static Amazon.DynamoDBv2.ScalarAttributeType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IScalarAttributeType value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ScalarAttributeType(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IScalarAttributeType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_AttributeDefinition__M13_AttributeType (Amazon.DynamoDBv2.ScalarAttributeType value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ScalarAttributeType(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M13_AttributeName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M13_AttributeName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName(value); } internal static Amazon.DynamoDBv2.KeyType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M7_KeyType (software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeyType value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyType(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IKeyType ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_KeySchemaElement__M7_KeyType (Amazon.DynamoDBv2.KeyType value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyType(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M10_Projection (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_LocalSecondaryIndex__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M10_Projection (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_GlobalSecondaryIndex__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M3_Key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M3_Key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_TagKeyString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M5_Value (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_TagValueString(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Tag__M5_Value (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_TagValueString(value); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastIncreaseDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastIncreaseDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastDecreaseDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M20_LastDecreaseDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M22_NumberOfDecreasesToday (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M22_NumberOfDecreasesToday (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M17_ReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M17_ReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M18_WriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription__M18_WriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject((long) value)); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M11_BillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M33_LastUpdateToPayPerRequestDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary__M33_LastUpdateToPayPerRequestDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_LocalSecondaryIndexDescriptionList__M6_member (Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription(value); } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_GlobalSecondaryIndexDescriptionList__M6_member (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_SourceBackupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_SourceBackupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M14_SourceTableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M14_SourceTableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_RestoreDateTime (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M15_RestoreDateTime (System.DateTime value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M17_RestoreInProgress (bool value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_RestoreInProgress(value); } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_RestoreSummary__M17_RestoreInProgress (bool value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_RestoreInProgress(value); } internal static Amazon.DynamoDBv2.SSEStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M6_Status (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.SSEStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_SSEStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M6_Status (Amazon.DynamoDBv2.SSEStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_SSEStatus((Amazon.DynamoDBv2.SSEStatus) value)); } internal static Amazon.DynamoDBv2.SSEType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M7_SSEType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.SSEType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M7_SSEType (Amazon.DynamoDBv2.SSEType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_SSEType((Amazon.DynamoDBv2.SSEType) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M15_KMSMasterKeyArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_KMSMasterKeyArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M15_KMSMasterKeyArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_KMSMasterKeyArn((string) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M30_InaccessibleEncryptionDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription__M30_InaccessibleEncryptionDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M16_ArchivalDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M16_ArchivalDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M14_ArchivalReason (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ArchivalReason(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M14_ArchivalReason (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ArchivalReason((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M17_ArchivalBackupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ArchivalSummary__M17_ArchivalBackupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn((string) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M10_TableClass (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M10_TableClass (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M18_LastUpdateDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary__M18_LastUpdateDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M7_TableId (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M7_TableId (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M14_TableSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M14_TableSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_TableCreationDateTime (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TableCreationDateTime(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_TableCreationDateTime (System.DateTime value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TableCreationDateTime(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_ProvisionedThroughput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_ItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M9_ItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ItemCount((long) value)); } internal static Amazon.DynamoDBv2.BillingMode FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M11_BillingMode (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BillingMode) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_SourceTableDetails__M11_BillingMode (Amazon.DynamoDBv2.BillingMode value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_BillingMode((Amazon.DynamoDBv2.BillingMode) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_LocalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_LocalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.StreamSpecification FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M17_StreamDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.StreamSpecification) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M17_StreamDescription (Amazon.DynamoDBv2.Model.StreamSpecification value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_StreamSpecification((Amazon.DynamoDBv2.Model.StreamSpecification) value)); } internal static Amazon.DynamoDBv2.Model.TimeToLiveDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_TimeToLiveDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TimeToLiveDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M21_TimeToLiveDescription (Amazon.DynamoDBv2.Model.TimeToLiveDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TimeToLiveDescription((Amazon.DynamoDBv2.Model.TimeToLiveDescription) value)); } internal static Amazon.DynamoDBv2.Model.SSEDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M14_SSEDescription (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.SSEDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_SourceTableFeatureDetails__M14_SSEDescription (Amazon.DynamoDBv2.Model.SSEDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_SSEDescription((Amazon.DynamoDBv2.Model.SSEDescription) value)); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M5_Value (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AttributeValue) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M5_Value (Amazon.DynamoDBv2.Model.AttributeValue value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue((Amazon.DynamoDBv2.Model.AttributeValue) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M6_Exists (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M6_Exists (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static Amazon.DynamoDBv2.ComparisonOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_ComparisonOperator (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ComparisonOperator) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_ComparisonOperator (Amazon.DynamoDBv2.ComparisonOperator value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator((Amazon.DynamoDBv2.ComparisonOperator) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_AttributeValueList (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ExpectedAttributeValue__M18_AttributeValueList (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList((System.Collections.Generic.List) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M17_ReadCapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M17_ReadCapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M18_WriteCapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M18_WriteCapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static double? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M13_CapacityUnits (Wrappers_Compile._IOption> value) { return value.is_None ? (double?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity__M13_CapacityUnits (double? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ConsumedCapacityUnits((double) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Amazon.DynamoDBv2.Model.Capacity FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICapacity ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_SecondaryIndexesCapacityMap__M5_value (Amazon.DynamoDBv2.Model.Capacity value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Capacity(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M3_key (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M3_key (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_AttributeName(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M5_value (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ItemCollectionKeyAttributeMap__M5_value (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateBound(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateRange__M6_member (double value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateBound(value); } internal static Amazon.DynamoDBv2.PointInTimeRecoveryStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M25_PointInTimeRecoveryStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.PointInTimeRecoveryStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_PointInTimeRecoveryStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M25_PointInTimeRecoveryStatus (Amazon.DynamoDBv2.PointInTimeRecoveryStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_PointInTimeRecoveryStatus((Amazon.DynamoDBv2.PointInTimeRecoveryStatus) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M26_EarliestRestorableDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M26_EarliestRestorableDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M24_LatestRestorableDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_PointInTimeRecoveryDescription__M24_LatestRestorableDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M7_Address (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M7_Address (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M20_CachePeriodInMinutes (long value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value); } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_Endpoint__M20_CachePeriodInMinutes (long value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Amazon.DynamoDBv2.ReplicaStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M13_ReplicaStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReplicaStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M13_ReplicaStatus (Amazon.DynamoDBv2.ReplicaStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus((Amazon.DynamoDBv2.ReplicaStatus) value)); } internal static Amazon.DynamoDBv2.Model.BillingModeSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M25_ReplicaBillingModeSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.BillingModeSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M25_ReplicaBillingModeSummary (Amazon.DynamoDBv2.Model.BillingModeSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_BillingModeSummary((Amazon.DynamoDBv2.Model.BillingModeSummary) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaProvisionedReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaProvisionedReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M36_ReplicaProvisionedWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M36_ReplicaProvisionedWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaGlobalSecondaryIndexSettings (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M35_ReplicaGlobalSecondaryIndexSettings (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.TableClassSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M24_ReplicaTableClassSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableClassSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ReplicaSettingsDescription__M24_ReplicaTableClassSummary (Amazon.DynamoDBv2.Model.TableClassSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary((Amazon.DynamoDBv2.Model.TableClassSummary) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M9_StreamArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M9_StreamArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_StreamArn((string) value)); } internal static Amazon.DynamoDBv2.DestinationStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M17_DestinationStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.DestinationStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M17_DestinationStatus (Amazon.DynamoDBv2.DestinationStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_DestinationStatus((Amazon.DynamoDBv2.DestinationStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M28_DestinationStatusDescription (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_KinesisDataStreamDestination__M28_DestinationStatusDescription (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_ReplicaAutoScalingDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M9_Statement (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M9_Statement (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_PartiQLStatement(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M10_Parameters (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ParameterizedStatement__M10_Parameters (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_PreparedStatementParameters((System.Collections.Generic.List) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse__M4_Item (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ItemResponse__M4_Item (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M9_Delimiter (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_CsvDelimiter(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M9_Delimiter (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_CsvDelimiter((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M10_HeaderList (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_CsvOptions__M10_HeaderList (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>>.create_None() : Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M7_TableId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M7_TableId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_TableId((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_BackupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M9_BackupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_BackupArn((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupName((string) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M22_BackupCreationDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M22_BackupCreationDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_BackupCreationDateTime((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M20_BackupExpiryDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M20_BackupExpiryDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.BackupStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M12_BackupStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BackupStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M12_BackupStatus (Amazon.DynamoDBv2.BackupStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_BackupStatus((Amazon.DynamoDBv2.BackupStatus) value)); } internal static Amazon.DynamoDBv2.BackupType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BackupType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M10_BackupType (Amazon.DynamoDBv2.BackupType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_BackupType((Amazon.DynamoDBv2.BackupType) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M15_BackupSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BackupSummary__M15_BackupSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_BackupSizeBytes((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_TableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_TableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.ContributorInsightsStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M25_ContributorInsightsStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ContributorInsightsStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ContributorInsightsSummary__M25_ContributorInsightsStatus (Amazon.DynamoDBv2.ContributorInsightsStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ContributorInsightsStatus((Amazon.DynamoDBv2.ContributorInsightsStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M9_ExportArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M9_ExportArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ExportArn((string) value)); } internal static Amazon.DynamoDBv2.ExportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M12_ExportStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ExportStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ExportSummary__M12_ExportStatus (Amazon.DynamoDBv2.ExportStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ExportStatus((Amazon.DynamoDBv2.ExportStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M15_GlobalTableName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M15_GlobalTableName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M16_ReplicationGroup (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_GlobalTable__M16_ReplicationGroup (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_ReplicaList((System.Collections.Generic.List) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_ImportArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_ImportArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_ImportArn((string) value)); } internal static Amazon.DynamoDBv2.ImportStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M12_ImportStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ImportStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M12_ImportStatus (Amazon.DynamoDBv2.ImportStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ImportStatus((Amazon.DynamoDBv2.ImportStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M8_TableArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M8_TableArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S8_TableArn((string) value)); } internal static Amazon.DynamoDBv2.Model.S3BucketSource FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M14_S3BucketSource (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.S3BucketSource) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M14_S3BucketSource (Amazon.DynamoDBv2.Model.S3BucketSource value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_S3BucketSource((Amazon.DynamoDBv2.Model.S3BucketSource) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M21_CloudWatchLogGroupArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M21_CloudWatchLogGroupArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_CloudWatchLogGroupArn((string) value)); } internal static Amazon.DynamoDBv2.InputFormat FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M11_InputFormat (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.InputFormat) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M11_InputFormat (Amazon.DynamoDBv2.InputFormat value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_InputFormat((Amazon.DynamoDBv2.InputFormat) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_StartTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M9_StartTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_ImportStartTime((System.DateTime) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M7_EndTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportSummary__M7_EndTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ImportEndTime((System.DateTime) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_AttributeValueList (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_AttributeValueList (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.ComparisonOperator FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_ComparisonOperator (software.amazon.cryptography.services.dynamodb.internaldafny.types._IComparisonOperator value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IComparisonOperator ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_Condition__M18_ComparisonOperator (Amazon.DynamoDBv2.ComparisonOperator value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ComparisonOperator(value); } internal static Amazon.DynamoDBv2.Model.Get FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem__M3_Get (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGet value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGet ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_TransactGetItem__M3_Get (Amazon.DynamoDBv2.Model.Get value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Item (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Item (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_AttributeMap((System.Collections.Generic.Dictionary) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Code (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Code(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M4_Code (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Code((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_CancellationReason__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_ErrorMessage((string) value)); } internal static Amazon.DynamoDBv2.Model.ConditionCheck FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M14_ConditionCheck (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ConditionCheck) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M14_ConditionCheck (Amazon.DynamoDBv2.Model.ConditionCheck value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck((Amazon.DynamoDBv2.Model.ConditionCheck) value)); } internal static Amazon.DynamoDBv2.Model.Put FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M3_Put (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Put) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M3_Put (Amazon.DynamoDBv2.Model.Put value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put((Amazon.DynamoDBv2.Model.Put) value)); } internal static Amazon.DynamoDBv2.Model.Delete FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Delete (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Delete) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Delete (Amazon.DynamoDBv2.Model.Delete value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete((Amazon.DynamoDBv2.Model.Delete) value)); } internal static Amazon.DynamoDBv2.Model.Update FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Update (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Update) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TransactWriteItem__M6_Update (Amazon.DynamoDBv2.Model.Update value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update((Amazon.DynamoDBv2.Model.Update) value)); } internal static Amazon.DynamoDBv2.Model.CreateReplicaAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Create (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.CreateReplicaAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Create (Amazon.DynamoDBv2.Model.CreateReplicaAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction((Amazon.DynamoDBv2.Model.CreateReplicaAction) value)); } internal static Amazon.DynamoDBv2.Model.DeleteReplicaAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Delete (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.DeleteReplicaAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaUpdate__M6_Delete (Amazon.DynamoDBv2.Model.DeleteReplicaAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction((Amazon.DynamoDBv2.Model.DeleteReplicaAction) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M10_PolicyName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M10_PolicyName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName((string) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M40_TargetTrackingScalingPolicyConfiguration (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_AutoScalingPolicyUpdate__M40_TargetTrackingScalingPolicyConfiguration (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M29_ProvisionedWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M29_ProvisionedWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M49_ProvisionedWriteCapacityAutoScalingSettingsUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_GlobalTableGlobalSecondaryIndexSettingsUpdate__M49_ProvisionedWriteCapacityAutoScalingSettingsUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M35_ReplicaProvisionedReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M35_ReplicaProvisionedReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M55_ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M55_ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M41_ReplicaGlobalSecondaryIndexSettingsUpdate (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M41_ReplicaGlobalSecondaryIndexSettingsUpdate (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M17_ReplicaTableClass (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ReplicaSettingsUpdate__M17_ReplicaTableClass (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M5_Value (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AttributeValue) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M5_Value (Amazon.DynamoDBv2.Model.AttributeValue value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue((Amazon.DynamoDBv2.Model.AttributeValue) value)); } internal static Amazon.DynamoDBv2.AttributeAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M6_Action (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.AttributeAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_AttributeAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_AttributeValueUpdate__M6_Action (Amazon.DynamoDBv2.AttributeAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_AttributeAction((Amazon.DynamoDBv2.AttributeAction) value)); } internal static Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Update (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Update (Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction((Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction) value)); } internal static Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Create (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Create (Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction((Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction) value)); } internal static Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Delete (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_GlobalSecondaryIndexUpdate__M6_Delete (Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction((Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction) value)); } internal static Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Create (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Create (Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction((Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction) value)); } internal static Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Update (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Update (Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction((Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction) value)); } internal static Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Delete (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ReplicationGroupUpdate__M6_Delete (Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction((Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M41_ProvisionedWriteCapacityAutoScalingUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_GlobalSecondaryIndexAutoScalingUpdate__M41_ProvisionedWriteCapacityAutoScalingUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M34_ReplicaGlobalSecondaryIndexUpdates (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M34_ReplicaGlobalSecondaryIndexUpdates (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M47_ReplicaProvisionedReadCapacityAutoScalingUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaAutoScalingUpdate__M47_ReplicaProvisionedReadCapacityAutoScalingUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static Amazon.DynamoDBv2.Model.BatchStatementError FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError (software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementError value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementError concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementError)value; Amazon.DynamoDBv2.Model.BatchStatementError converted = new Amazon.DynamoDBv2.Model.BatchStatementError(); if (concrete._Code.is_Some) converted.Code = (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M4_Code(concrete._Code); if (concrete._Message.is_Some) converted.Message = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M7_Message(concrete._Message); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IBatchStatementError ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError (Amazon.DynamoDBv2.Model.BatchStatementError value) { Amazon.DynamoDBv2.BatchStatementErrorCodeEnum var_code = value.Code; string var_message = value.Message; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.BatchStatementError ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M4_Code(var_code) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M7_Message(var_message) ) ; } internal static System.Collections.Generic.List> FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList (Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return new System.Collections.Generic.List>(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList__M6_member)); } internal static Dafny.ISequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList (System.Collections.Generic.List> value) { return Dafny.Sequence, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.WriteRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest (software.amazon.cryptography.services.dynamodb.internaldafny.types._IWriteRequest value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.WriteRequest concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.WriteRequest)value; Amazon.DynamoDBv2.Model.WriteRequest converted = new Amazon.DynamoDBv2.Model.WriteRequest(); if (concrete._PutRequest.is_Some) converted.PutRequest = (Amazon.DynamoDBv2.Model.PutRequest) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M10_PutRequest(concrete._PutRequest); if (concrete._DeleteRequest.is_Some) converted.DeleteRequest = (Amazon.DynamoDBv2.Model.DeleteRequest) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M13_DeleteRequest(concrete._DeleteRequest); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IWriteRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest (Amazon.DynamoDBv2.Model.WriteRequest value) { Amazon.DynamoDBv2.Model.PutRequest var_putRequest = value.PutRequest; Amazon.DynamoDBv2.Model.DeleteRequest var_deleteRequest = value.DeleteRequest; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.WriteRequest ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M10_PutRequest(var_putRequest) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M13_DeleteRequest(var_deleteRequest) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaDescription)value; Amazon.DynamoDBv2.Model.ReplicaDescription converted = new Amazon.DynamoDBv2.Model.ReplicaDescription(); if (concrete._RegionName.is_Some) converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M10_RegionName(concrete._RegionName); if (concrete._ReplicaStatus.is_Some) converted.ReplicaStatus = (Amazon.DynamoDBv2.ReplicaStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M13_ReplicaStatus(concrete._ReplicaStatus); if (concrete._ReplicaStatusDescription.is_Some) converted.ReplicaStatusDescription = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaStatusDescription(concrete._ReplicaStatusDescription); if (concrete._ReplicaStatusPercentProgress.is_Some) converted.ReplicaStatusPercentProgress = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M28_ReplicaStatusPercentProgress(concrete._ReplicaStatusPercentProgress); if (concrete._KMSMasterKeyId.is_Some) converted.KMSMasterKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M14_KMSMasterKeyId(concrete._KMSMasterKeyId); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._ReplicaInaccessibleDateTime.is_Some) converted.ReplicaInaccessibleDateTime = (System.DateTime) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M27_ReplicaInaccessibleDateTime(concrete._ReplicaInaccessibleDateTime); if (concrete._ReplicaTableClassSummary.is_Some) converted.ReplicaTableClassSummary = (Amazon.DynamoDBv2.Model.TableClassSummary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaTableClassSummary(concrete._ReplicaTableClassSummary); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription (Amazon.DynamoDBv2.Model.ReplicaDescription value) { string var_regionName = value.RegionName; Amazon.DynamoDBv2.ReplicaStatus var_replicaStatus = value.ReplicaStatus; string var_replicaStatusDescription = value.ReplicaStatusDescription; string var_replicaStatusPercentProgress = value.ReplicaStatusPercentProgress; string var_kMSMasterKeyId = value.KMSMasterKeyId; Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; System.DateTime? var_replicaInaccessibleDateTime = value.ReplicaInaccessibleDateTime; Amazon.DynamoDBv2.Model.TableClassSummary var_replicaTableClassSummary = value.ReplicaTableClassSummary; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M10_RegionName(var_regionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M13_ReplicaStatus(var_replicaStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaStatusDescription(var_replicaStatusDescription) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M28_ReplicaStatusPercentProgress(var_replicaStatusPercentProgress) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M14_KMSMasterKeyId(var_kMSMasterKeyId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M27_ReplicaInaccessibleDateTime(var_replicaInaccessibleDateTime) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaTableClassSummary(var_replicaTableClassSummary) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_KeySchemaAttributeName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Projection concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Projection)value; Amazon.DynamoDBv2.Model.Projection converted = new Amazon.DynamoDBv2.Model.Projection(); if (concrete._ProjectionType.is_Some) converted.ProjectionType = (Amazon.DynamoDBv2.ProjectionType) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M14_ProjectionType(concrete._ProjectionType); if (concrete._NonKeyAttributes.is_Some) converted.NonKeyAttributes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M16_NonKeyAttributes(concrete._NonKeyAttributes); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection (Amazon.DynamoDBv2.Model.Projection value) { Amazon.DynamoDBv2.ProjectionType var_projectionType = value.ProjectionType; System.Collections.Generic.List var_nonKeyAttributes = value.NonKeyAttributes; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Projection ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M14_ProjectionType(var_projectionType) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M16_NonKeyAttributes(var_nonKeyAttributes) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_TagValueString (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_TagValueString (string value) { return Dafny.Sequence.FromString(value); } internal static long FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject (long value) { return value; } internal static long ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_NonNegativeLongObject (long value) { return value; } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexDescription)value; Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription converted = new Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_IndexName(concrete._IndexName); if (concrete._KeySchema.is_Some) converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_KeySchema(concrete._KeySchema); if (concrete._Projection.is_Some) converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M10_Projection(concrete._Projection); if (concrete._IndexSizeBytes.is_Some) converted.IndexSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M14_IndexSizeBytes(concrete._IndexSizeBytes); if (concrete._ItemCount.is_Some) converted.ItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_ItemCount(concrete._ItemCount); if (concrete._IndexArn.is_Some) converted.IndexArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M8_IndexArn(concrete._IndexArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription (Amazon.DynamoDBv2.Model.LocalSecondaryIndexDescription value) { string var_indexName = value.IndexName; System.Collections.Generic.List var_keySchema = value.KeySchema; Amazon.DynamoDBv2.Model.Projection var_projection = value.Projection; long? var_indexSizeBytes = value.IndexSizeBytes; long? var_itemCount = value.ItemCount; string var_indexArn = value.IndexArn; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_KeySchema(var_keySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M10_Projection(var_projection) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M14_IndexSizeBytes(var_indexSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_ItemCount(var_itemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M8_IndexArn(var_indexArn) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexDescription)value; Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription converted = new Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_IndexName(concrete._IndexName); if (concrete._KeySchema.is_Some) converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_KeySchema(concrete._KeySchema); if (concrete._Projection.is_Some) converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M10_Projection(concrete._Projection); if (concrete._IndexStatus.is_Some) converted.IndexStatus = (Amazon.DynamoDBv2.IndexStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_IndexStatus(concrete._IndexStatus); if (concrete._Backfilling.is_Some) converted.Backfilling = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_Backfilling(concrete._Backfilling); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); if (concrete._IndexSizeBytes.is_Some) converted.IndexSizeBytes = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M14_IndexSizeBytes(concrete._IndexSizeBytes); if (concrete._ItemCount.is_Some) converted.ItemCount = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_ItemCount(concrete._ItemCount); if (concrete._IndexArn.is_Some) converted.IndexArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M8_IndexArn(concrete._IndexArn); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexDescription value) { string var_indexName = value.IndexName; System.Collections.Generic.List var_keySchema = value.KeySchema; Amazon.DynamoDBv2.Model.Projection var_projection = value.Projection; Amazon.DynamoDBv2.IndexStatus var_indexStatus = value.IndexStatus; bool? var_backfilling = value.Backfilling; Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription var_provisionedThroughput = value.ProvisionedThroughput; long? var_indexSizeBytes = value.IndexSizeBytes; long? var_itemCount = value.ItemCount; string var_indexArn = value.IndexArn; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_KeySchema(var_keySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M10_Projection(var_projection) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_IndexStatus(var_indexStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_Backfilling(var_backfilling) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M21_ProvisionedThroughput(var_provisionedThroughput) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M14_IndexSizeBytes(var_indexSizeBytes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_ItemCount(var_itemCount) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M8_IndexArn(var_indexArn) ) ; } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_RestoreInProgress (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_RestoreInProgress (bool value) { return value; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_KMSMasterKeyArn (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S15_KMSMasterKeyArn (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ArchivalReason (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ArchivalReason (string value) { return Dafny.Sequence.FromString(value); } internal static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TableCreationDateTime (Dafny.ISequence value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = new string(value.Elements); return System.DateTime.ParseExact(timestampString, "s", culture); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_TableCreationDateTime (System.DateTime value) { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(""); string timestampString = value.ToString("s", culture); return Dafny.Sequence.FromString(timestampString); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList__M6_member).ToArray()); } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateBound (Dafny.ISequence value) { return BitConverter.ToDouble(value.CloneAsArray(), 0); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ItemCollectionSizeEstimateBound (double value) { return Dafny.Sequence.FromArray(BitConverter.GetBytes(value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingSettingsDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsDescription)value; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription converted = new Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription(); if (concrete._MinimumUnits.is_Some) converted.MinimumUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MinimumUnits(concrete._MinimumUnits); if (concrete._MaximumUnits.is_Some) converted.MaximumUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MaximumUnits(concrete._MaximumUnits); if (concrete._AutoScalingDisabled.is_Some) converted.AutoScalingDisabled = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M19_AutoScalingDisabled(concrete._AutoScalingDisabled); if (concrete._AutoScalingRoleArn.is_Some) converted.AutoScalingRoleArn = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M18_AutoScalingRoleArn(concrete._AutoScalingRoleArn); if (concrete._ScalingPolicies.is_Some) converted.ScalingPolicies = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M15_ScalingPolicies(concrete._ScalingPolicies); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingSettingsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { long? var_minimumUnits = value.MinimumUnits; long? var_maximumUnits = value.MaximumUnits; bool? var_autoScalingDisabled = value.AutoScalingDisabled; string var_autoScalingRoleArn = value.AutoScalingRoleArn; System.Collections.Generic.List var_scalingPolicies = value.ScalingPolicies; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingSettingsDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MinimumUnits(var_minimumUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MaximumUnits(var_maximumUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M19_AutoScalingDisabled(var_autoScalingDisabled) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M18_AutoScalingRoleArn(var_autoScalingRoleArn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M15_ScalingPolicies(var_scalingPolicies) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingDescription)value; Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription converted = new Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription(); if (concrete._RegionName.is_Some) converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M10_RegionName(concrete._RegionName); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._ReplicaProvisionedReadCapacityAutoScalingSettings.is_Some) converted.ReplicaProvisionedReadCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings(concrete._ReplicaProvisionedReadCapacityAutoScalingSettings); if (concrete._ReplicaProvisionedWriteCapacityAutoScalingSettings.is_Some) converted.ReplicaProvisionedWriteCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings(concrete._ReplicaProvisionedWriteCapacityAutoScalingSettings); if (concrete._ReplicaStatus.is_Some) converted.ReplicaStatus = (Amazon.DynamoDBv2.ReplicaStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M13_ReplicaStatus(concrete._ReplicaStatus); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaAutoScalingDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription (Amazon.DynamoDBv2.Model.ReplicaAutoScalingDescription value) { string var_regionName = value.RegionName; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_replicaProvisionedReadCapacityAutoScalingSettings = value.ReplicaProvisionedReadCapacityAutoScalingSettings; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_replicaProvisionedWriteCapacityAutoScalingSettings = value.ReplicaProvisionedWriteCapacityAutoScalingSettings; Amazon.DynamoDBv2.ReplicaStatus var_replicaStatus = value.ReplicaStatus; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaAutoScalingDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M10_RegionName(var_regionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings(var_replicaProvisionedReadCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings(var_replicaProvisionedWriteCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M13_ReplicaStatus(var_replicaStatus) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_CsvDelimiter (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_CsvDelimiter (string value) { return Dafny.Sequence.FromString(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.Get FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGet value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Get concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Get)value; Amazon.DynamoDBv2.Model.Get converted = new Amazon.DynamoDBv2.Model.Get(); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M3_Key(concrete._Key); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M9_TableName(concrete._TableName); if (concrete._ProjectionExpression.is_Some) converted.ProjectionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M20_ProjectionExpression(concrete._ProjectionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGet ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get (Amazon.DynamoDBv2.Model.Get value) { string var_projectionExpression = value.ProjectionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Get ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M20_ProjectionExpression(var_projectionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M24_ExpressionAttributeNames(var_expressionAttributeNames) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Code (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Code (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ConditionCheck FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck (software.amazon.cryptography.services.dynamodb.internaldafny.types._IConditionCheck value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ConditionCheck concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ConditionCheck)value; Amazon.DynamoDBv2.Model.ConditionCheck converted = new Amazon.DynamoDBv2.Model.ConditionCheck(); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M3_Key(concrete._Key); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M9_TableName(concrete._TableName); converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); if (concrete._ReturnValuesOnConditionCheckFailure.is_Some) converted.ReturnValuesOnConditionCheckFailure = (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M35_ReturnValuesOnConditionCheckFailure(concrete._ReturnValuesOnConditionCheckFailure); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IConditionCheck ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck (Amazon.DynamoDBv2.Model.ConditionCheck value) { System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure var_returnValuesOnConditionCheckFailure = value.ReturnValuesOnConditionCheckFailure; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ConditionCheck ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M19_ConditionExpression(value.ConditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M25_ExpressionAttributeValues(var_expressionAttributeValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M35_ReturnValuesOnConditionCheckFailure(var_returnValuesOnConditionCheckFailure) ) ; } internal static Amazon.DynamoDBv2.Model.Put FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPut value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Put concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Put)value; Amazon.DynamoDBv2.Model.Put converted = new Amazon.DynamoDBv2.Model.Put(); converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M4_Item(concrete._Item); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M9_TableName(concrete._TableName); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); if (concrete._ReturnValuesOnConditionCheckFailure.is_Some) converted.ReturnValuesOnConditionCheckFailure = (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M35_ReturnValuesOnConditionCheckFailure(concrete._ReturnValuesOnConditionCheckFailure); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPut ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put (Amazon.DynamoDBv2.Model.Put value) { string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure var_returnValuesOnConditionCheckFailure = value.ReturnValuesOnConditionCheckFailure; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Put ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M4_Item(value.Item) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M25_ExpressionAttributeValues(var_expressionAttributeValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M35_ReturnValuesOnConditionCheckFailure(var_returnValuesOnConditionCheckFailure) ) ; } internal static Amazon.DynamoDBv2.Model.Delete FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDelete value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Delete concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Delete)value; Amazon.DynamoDBv2.Model.Delete converted = new Amazon.DynamoDBv2.Model.Delete(); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M3_Key(concrete._Key); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M9_TableName(concrete._TableName); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); if (concrete._ReturnValuesOnConditionCheckFailure.is_Some) converted.ReturnValuesOnConditionCheckFailure = (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M35_ReturnValuesOnConditionCheckFailure(concrete._ReturnValuesOnConditionCheckFailure); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDelete ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete (Amazon.DynamoDBv2.Model.Delete value) { string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure var_returnValuesOnConditionCheckFailure = value.ReturnValuesOnConditionCheckFailure; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Delete ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M25_ExpressionAttributeValues(var_expressionAttributeValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M35_ReturnValuesOnConditionCheckFailure(var_returnValuesOnConditionCheckFailure) ) ; } internal static Amazon.DynamoDBv2.Model.Update FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.Update concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.Update)value; Amazon.DynamoDBv2.Model.Update converted = new Amazon.DynamoDBv2.Model.Update(); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M3_Key(concrete._Key); converted.UpdateExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M16_UpdateExpression(concrete._UpdateExpression); converted.TableName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M9_TableName(concrete._TableName); if (concrete._ConditionExpression.is_Some) converted.ConditionExpression = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M19_ConditionExpression(concrete._ConditionExpression); if (concrete._ExpressionAttributeNames.is_Some) converted.ExpressionAttributeNames = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M24_ExpressionAttributeNames(concrete._ExpressionAttributeNames); if (concrete._ExpressionAttributeValues.is_Some) converted.ExpressionAttributeValues = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M25_ExpressionAttributeValues(concrete._ExpressionAttributeValues); if (concrete._ReturnValuesOnConditionCheckFailure.is_Some) converted.ReturnValuesOnConditionCheckFailure = (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M35_ReturnValuesOnConditionCheckFailure(concrete._ReturnValuesOnConditionCheckFailure); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update (Amazon.DynamoDBv2.Model.Update value) { string var_conditionExpression = value.ConditionExpression; System.Collections.Generic.Dictionary var_expressionAttributeNames = value.ExpressionAttributeNames; System.Collections.Generic.Dictionary var_expressionAttributeValues = value.ExpressionAttributeValues; Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure var_returnValuesOnConditionCheckFailure = value.ReturnValuesOnConditionCheckFailure; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Update ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M3_Key(value.Key) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M16_UpdateExpression(value.UpdateExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M9_TableName(value.TableName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M19_ConditionExpression(var_conditionExpression) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M24_ExpressionAttributeNames(var_expressionAttributeNames) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M25_ExpressionAttributeValues(var_expressionAttributeValues) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M35_ReturnValuesOnConditionCheckFailure(var_returnValuesOnConditionCheckFailure) ) ; } internal static Amazon.DynamoDBv2.Model.CreateReplicaAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateReplicaAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicaAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicaAction)value; Amazon.DynamoDBv2.Model.CreateReplicaAction converted = new Amazon.DynamoDBv2.Model.CreateReplicaAction(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction__M10_RegionName(concrete._RegionName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateReplicaAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction (Amazon.DynamoDBv2.Model.CreateReplicaAction value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicaAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction__M10_RegionName(value.RegionName) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteReplicaAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteReplicaAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicaAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicaAction)value; Amazon.DynamoDBv2.Model.DeleteReplicaAction converted = new Amazon.DynamoDBv2.Model.DeleteReplicaAction(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction__M10_RegionName(concrete._RegionName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteReplicaAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction (Amazon.DynamoDBv2.Model.DeleteReplicaAction value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicaAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction__M10_RegionName(value.RegionName) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate)value; Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate converted = new Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate(); if (concrete._DisableScaleIn.is_Some) converted.DisableScaleIn = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M14_DisableScaleIn(concrete._DisableScaleIn); if (concrete._ScaleInCooldown.is_Some) converted.ScaleInCooldown = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M15_ScaleInCooldown(concrete._ScaleInCooldown); if (concrete._ScaleOutCooldown.is_Some) converted.ScaleOutCooldown = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M16_ScaleOutCooldown(concrete._ScaleOutCooldown); converted.TargetValue = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M11_TargetValue(concrete._TargetValue); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate value) { bool? var_disableScaleIn = value.DisableScaleIn; int? var_scaleInCooldown = value.ScaleInCooldown; int? var_scaleOutCooldown = value.ScaleOutCooldown; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M14_DisableScaleIn(var_disableScaleIn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M15_ScaleInCooldown(var_scaleInCooldown) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M16_ScaleOutCooldown(var_scaleOutCooldown) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M11_TargetValue((int)value.TargetValue) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalSecondaryIndexAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalSecondaryIndexAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalSecondaryIndexAction)value; Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction converted = new Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M9_IndexName(concrete._IndexName); converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateGlobalSecondaryIndexAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction (Amazon.DynamoDBv2.Model.UpdateGlobalSecondaryIndexAction value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateGlobalSecondaryIndexAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M21_ProvisionedThroughput(value.ProvisionedThroughput) ) ; } internal static Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalSecondaryIndexAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalSecondaryIndexAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalSecondaryIndexAction)value; Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction converted = new Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_IndexName(concrete._IndexName); converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_KeySchema(concrete._KeySchema); converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M10_Projection(concrete._Projection); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateGlobalSecondaryIndexAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction (Amazon.DynamoDBv2.Model.CreateGlobalSecondaryIndexAction value) { Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateGlobalSecondaryIndexAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_KeySchema(value.KeySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M10_Projection(value.Projection) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M21_ProvisionedThroughput(var_provisionedThroughput) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteGlobalSecondaryIndexAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteGlobalSecondaryIndexAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteGlobalSecondaryIndexAction)value; Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction converted = new Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction__M9_IndexName(concrete._IndexName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteGlobalSecondaryIndexAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction (Amazon.DynamoDBv2.Model.DeleteGlobalSecondaryIndexAction value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteGlobalSecondaryIndexAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction__M9_IndexName(value.IndexName) ) ; } internal static Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateReplicationGroupMemberAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicationGroupMemberAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicationGroupMemberAction)value; Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction converted = new Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M10_RegionName(concrete._RegionName); if (concrete._KMSMasterKeyId.is_Some) converted.KMSMasterKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M14_KMSMasterKeyId(concrete._KMSMasterKeyId); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._TableClassOverride.is_Some) converted.TableClassOverride = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M18_TableClassOverride(concrete._TableClassOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ICreateReplicationGroupMemberAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction (Amazon.DynamoDBv2.Model.CreateReplicationGroupMemberAction value) { string var_kMSMasterKeyId = value.KMSMasterKeyId; Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.TableClass var_tableClassOverride = value.TableClassOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.CreateReplicationGroupMemberAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M10_RegionName(value.RegionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M14_KMSMasterKeyId(var_kMSMasterKeyId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M18_TableClassOverride(var_tableClassOverride) ) ; } internal static Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateReplicationGroupMemberAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateReplicationGroupMemberAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateReplicationGroupMemberAction)value; Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction converted = new Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M10_RegionName(concrete._RegionName); if (concrete._KMSMasterKeyId.is_Some) converted.KMSMasterKeyId = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M14_KMSMasterKeyId(concrete._KMSMasterKeyId); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); if (concrete._GlobalSecondaryIndexes.is_Some) converted.GlobalSecondaryIndexes = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes(concrete._GlobalSecondaryIndexes); if (concrete._TableClassOverride.is_Some) converted.TableClassOverride = (Amazon.DynamoDBv2.TableClass) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M18_TableClassOverride(concrete._TableClassOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IUpdateReplicationGroupMemberAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction (Amazon.DynamoDBv2.Model.UpdateReplicationGroupMemberAction value) { string var_kMSMasterKeyId = value.KMSMasterKeyId; Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; System.Collections.Generic.List var_globalSecondaryIndexes = value.GlobalSecondaryIndexes; Amazon.DynamoDBv2.TableClass var_tableClassOverride = value.TableClassOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.UpdateReplicationGroupMemberAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M10_RegionName(value.RegionName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M14_KMSMasterKeyId(var_kMSMasterKeyId) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes(var_globalSecondaryIndexes) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M18_TableClassOverride(var_tableClassOverride) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteReplicationGroupMemberAction value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicationGroupMemberAction concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicationGroupMemberAction)value; Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction converted = new Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction(); converted.RegionName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction__M10_RegionName(concrete._RegionName); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteReplicationGroupMemberAction ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction (Amazon.DynamoDBv2.Model.DeleteReplicationGroupMemberAction value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteReplicationGroupMemberAction ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction__M10_RegionName(value.RegionName) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.BatchStatementErrorCodeEnum FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M4_Code (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchStatementErrorCodeEnum(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M4_Code (Amazon.DynamoDBv2.BatchStatementErrorCodeEnum value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_BatchStatementErrorCodeEnum((Amazon.DynamoDBv2.BatchStatementErrorCodeEnum) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M7_Message (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_BatchStatementError__M7_Message (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList__M6_member (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S7_KeyList__M6_member (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Amazon.DynamoDBv2.Model.PutRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M10_PutRequest (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.PutRequest) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M10_PutRequest (Amazon.DynamoDBv2.Model.PutRequest value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest((Amazon.DynamoDBv2.Model.PutRequest) value)); } internal static Amazon.DynamoDBv2.Model.DeleteRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M13_DeleteRequest (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.DeleteRequest) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S12_WriteRequest__M13_DeleteRequest (Amazon.DynamoDBv2.Model.DeleteRequest value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest((Amazon.DynamoDBv2.Model.DeleteRequest) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M10_RegionName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M10_RegionName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName((string) value)); } internal static Amazon.DynamoDBv2.ReplicaStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M13_ReplicaStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReplicaStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M13_ReplicaStatus (Amazon.DynamoDBv2.ReplicaStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus((Amazon.DynamoDBv2.ReplicaStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaStatusDescription (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaStatusDescription(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaStatusDescription (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaStatusDescription((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M28_ReplicaStatusPercentProgress (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaStatusPercentProgress(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M28_ReplicaStatusPercentProgress (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaStatusPercentProgress((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M14_KMSMasterKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M14_KMSMasterKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId((string) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride((Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList((System.Collections.Generic.List) value)); } internal static System.DateTime? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M27_ReplicaInaccessibleDateTime (Wrappers_Compile._IOption> value) { return value.is_None ? (System.DateTime?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M27_ReplicaInaccessibleDateTime (System.DateTime? value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Date((System.DateTime) value)); } internal static Amazon.DynamoDBv2.Model.TableClassSummary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaTableClassSummary (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.TableClassSummary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_ReplicaDescription__M24_ReplicaTableClassSummary (Amazon.DynamoDBv2.Model.TableClassSummary value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S17_TableClassSummary((Amazon.DynamoDBv2.Model.TableClassSummary) value)); } internal static Amazon.DynamoDBv2.ProjectionType FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M14_ProjectionType (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ProjectionType) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ProjectionType(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M14_ProjectionType (Amazon.DynamoDBv2.ProjectionType value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ProjectionType((Amazon.DynamoDBv2.ProjectionType) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M16_NonKeyAttributes (Wrappers_Compile._IOption>> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList(value.Extract()); } internal static Wrappers_Compile._IOption>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M16_NonKeyAttributes (System.Collections.Generic.List value) { // BEGIN MANUAL EDIT if (value == null || value.Count == 0) { return Wrappers_Compile.Option>>.create_None(); } return Wrappers_Compile.Option>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList((System.Collections.Generic.List) value)); // END MANUAL EDIT } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_KeySchema (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_KeySchema (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M10_Projection (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Projection) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection((Amazon.DynamoDBv2.Model.Projection) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M14_IndexSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M14_IndexSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_ItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_ItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M8_IndexArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M8_IndexArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_KeySchema (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_KeySchema (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M10_Projection (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Projection) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection((Amazon.DynamoDBv2.Model.Projection) value)); } internal static Amazon.DynamoDBv2.IndexStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_IndexStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.IndexStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_IndexStatus (Amazon.DynamoDBv2.IndexStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus((Amazon.DynamoDBv2.IndexStatus) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_Backfilling (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_Backfilling(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M11_Backfilling (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_Backfilling((bool) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_ProvisionedThroughputDescription((Amazon.DynamoDBv2.Model.ProvisionedThroughputDescription) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M14_IndexSizeBytes (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M14_IndexSizeBytes (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_ItemCount (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M9_ItemCount (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S4_Long((long) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M8_IndexArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_GlobalSecondaryIndexDescription__M8_IndexArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexInfo value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexInfo ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_LocalSecondaryIndexes__M6_member (Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo(value); } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexInfo value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexInfo ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_GlobalSecondaryIndexes__M6_member (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo(value); } internal static Amazon.DynamoDBv2.Model.AttributeValue FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_AttributeValueList__M6_member (Amazon.DynamoDBv2.Model.AttributeValue value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_AttributeValue(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MinimumUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MinimumUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MaximumUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M12_MaximumUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M19_AutoScalingDisabled (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M19_AutoScalingDisabled (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M18_AutoScalingRoleArn (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M18_AutoScalingRoleArn (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_String((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M15_ScalingPolicies (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription__M15_ScalingPolicies (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S50_ReplicaGlobalSecondaryIndexSettingsDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M10_RegionName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M10_RegionName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M49_ReplicaProvisionedReadCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M50_ReplicaProvisionedWriteCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static Amazon.DynamoDBv2.ReplicaStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M13_ReplicaStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReplicaStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAutoScalingDescription__M13_ReplicaStatus (Amazon.DynamoDBv2.ReplicaStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_ReplicaStatus((Amazon.DynamoDBv2.ReplicaStatus) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_CsvHeader(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_CsvHeaderList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_CsvHeader(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M20_ProjectionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M20_ProjectionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_ProjectionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Get__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M19_ConditionExpression (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M19_ConditionExpression (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M35_ReturnValuesOnConditionCheckFailure (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_ConditionCheck__M35_ReturnValuesOnConditionCheckFailure (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure((Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M4_Item (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M4_Item (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M35_ReturnValuesOnConditionCheckFailure (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Put__M35_ReturnValuesOnConditionCheckFailure (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure((Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M35_ReturnValuesOnConditionCheckFailure (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Delete__M35_ReturnValuesOnConditionCheckFailure (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure((Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M16_UpdateExpression (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M16_UpdateExpression (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S16_UpdateExpression(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M9_TableName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M9_TableName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_TableName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M19_ConditionExpression (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M19_ConditionExpression (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_ConditionExpression((string) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M24_ExpressionAttributeNames (Wrappers_Compile._IOption, Dafny.ISequence>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap(value.Extract()); } internal static Wrappers_Compile._IOption, Dafny.ISequence>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M24_ExpressionAttributeNames (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, Dafny.ISequence>>.create_None() : Wrappers_Compile.Option, Dafny.ISequence>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_ExpressionAttributeNameMap((System.Collections.Generic.Dictionary) value)); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M25_ExpressionAttributeValues (Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> value) { return value.is_None ? (System.Collections.Generic.Dictionary) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap(value.Extract()); } internal static Wrappers_Compile._IOption, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M25_ExpressionAttributeValues (System.Collections.Generic.Dictionary value) { return value == null ? Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_None() : Wrappers_Compile.Option, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue>>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ExpressionAttributeValueMap((System.Collections.Generic.Dictionary) value)); } internal static Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M35_ReturnValuesOnConditionCheckFailure (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Update__M35_ReturnValuesOnConditionCheckFailure (Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S35_ReturnValuesOnConditionCheckFailure((Amazon.DynamoDBv2.ReturnValuesOnConditionCheckFailure) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_CreateReplicaAction__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_DeleteReplicaAction__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M14_DisableScaleIn (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M14_DisableScaleIn (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M15_ScaleInCooldown (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M15_ScaleInCooldown (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject((int) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M16_ScaleOutCooldown (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M16_ScaleOutCooldown (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject((int) value)); } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M11_TargetValue (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S57_AutoScalingTargetTrackingScalingPolicyConfigurationUpdate__M11_TargetValue (double value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double(value); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S45_ReplicaGlobalSecondaryIndexSettingsUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M21_ProvisionedThroughput (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughput ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_UpdateGlobalSecondaryIndexAction__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_KeySchema (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M9_KeySchema (System.Collections.Generic.List value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M10_Projection (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProjection ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_CreateGlobalSecondaryIndexAction__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_DeleteGlobalSecondaryIndexAction__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M14_KMSMasterKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M14_KMSMasterKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId((string) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride((Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M18_TableClassOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_CreateReplicationGroupMemberAction__M18_TableClassOverride (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M14_KMSMasterKeyId (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M14_KMSMasterKeyId (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S14_KMSMasterKeyId((string) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride((Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M22_GlobalSecondaryIndexes (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.TableClass FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M18_TableClassOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.TableClass) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_UpdateReplicationGroupMemberAction__M18_TableClassOverride (Amazon.DynamoDBv2.TableClass value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_TableClass((Amazon.DynamoDBv2.TableClass) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction__M10_RegionName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S34_DeleteReplicationGroupMemberAction__M10_RegionName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_RegionName(value); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingUpdate value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S48_ReplicaGlobalSecondaryIndexAutoScalingUpdateList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate(value); } internal static Amazon.DynamoDBv2.Model.PutRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest (software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutRequest value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.PutRequest concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.PutRequest)value; Amazon.DynamoDBv2.Model.PutRequest converted = new Amazon.DynamoDBv2.Model.PutRequest(); converted.Item = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest__M4_Item(concrete._Item); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IPutRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest (Amazon.DynamoDBv2.Model.PutRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.PutRequest ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest__M4_Item(value.Item) ) ; } internal static Amazon.DynamoDBv2.Model.DeleteRequest FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest (software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteRequest value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteRequest concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteRequest)value; Amazon.DynamoDBv2.Model.DeleteRequest converted = new Amazon.DynamoDBv2.Model.DeleteRequest(); converted.Key = (System.Collections.Generic.Dictionary) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest__M3_Key(concrete._Key); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IDeleteRequest ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest (Amazon.DynamoDBv2.Model.DeleteRequest value) { return new software.amazon.cryptography.services.dynamodb.internaldafny.types.DeleteRequest ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest__M3_Key(value.Key) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaStatusDescription (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaStatusDescription (string value) { return Dafny.Sequence.FromString(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaStatusPercentProgress (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_ReplicaStatusPercentProgress (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride (software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughputOverride value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputOverride concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputOverride)value; Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride converted = new Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride(); if (concrete._ReadCapacityUnits.is_Some) converted.ReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride__M17_ReadCapacityUnits(concrete._ReadCapacityUnits); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IProvisionedThroughputOverride ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { long? var_readCapacityUnits = value.ReadCapacityUnits; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ProvisionedThroughputOverride ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride__M17_ReadCapacityUnits(var_readCapacityUnits) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList__M6_member).ToArray()); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList (Dafny.ISequence> value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList__M6_member)); } internal static Dafny.ISequence> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList (System.Collections.Generic.List value) { return Dafny.Sequence>.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList__M6_member).ToArray()); } internal static bool FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_Backfilling (bool value) { return value; } internal static bool ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_Backfilling (bool value) { return value; } internal static Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo (software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexInfo value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexInfo concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexInfo)value; Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo converted = new Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_IndexName(concrete._IndexName); if (concrete._KeySchema.is_Some) converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_KeySchema(concrete._KeySchema); if (concrete._Projection.is_Some) converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M10_Projection(concrete._Projection); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._ILocalSecondaryIndexInfo ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo (Amazon.DynamoDBv2.Model.LocalSecondaryIndexInfo value) { string var_indexName = value.IndexName; System.Collections.Generic.List var_keySchema = value.KeySchema; Amazon.DynamoDBv2.Model.Projection var_projection = value.Projection; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.LocalSecondaryIndexInfo ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_KeySchema(var_keySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M10_Projection(var_projection) ) ; } internal static Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo (software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexInfo value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexInfo concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexInfo)value; Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo converted = new Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_IndexName(concrete._IndexName); if (concrete._KeySchema.is_Some) converted.KeySchema = (System.Collections.Generic.List) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_KeySchema(concrete._KeySchema); if (concrete._Projection.is_Some) converted.Projection = (Amazon.DynamoDBv2.Model.Projection) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M10_Projection(concrete._Projection); if (concrete._ProvisionedThroughput.is_Some) converted.ProvisionedThroughput = (Amazon.DynamoDBv2.Model.ProvisionedThroughput) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M21_ProvisionedThroughput(concrete._ProvisionedThroughput); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IGlobalSecondaryIndexInfo ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo (Amazon.DynamoDBv2.Model.GlobalSecondaryIndexInfo value) { string var_indexName = value.IndexName; System.Collections.Generic.List var_keySchema = value.KeySchema; Amazon.DynamoDBv2.Model.Projection var_projection = value.Projection; Amazon.DynamoDBv2.Model.ProvisionedThroughput var_provisionedThroughput = value.ProvisionedThroughput; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.GlobalSecondaryIndexInfo ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_KeySchema(var_keySchema) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M10_Projection(var_projection) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M21_ProvisionedThroughput(var_provisionedThroughput) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsDescription)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M9_IndexName(concrete._IndexName); if (concrete._IndexStatus.is_Some) converted.IndexStatus = (Amazon.DynamoDBv2.IndexStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M11_IndexStatus(concrete._IndexStatus); if (concrete._ProvisionedReadCapacityUnits.is_Some) converted.ProvisionedReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M28_ProvisionedReadCapacityUnits(concrete._ProvisionedReadCapacityUnits); if (concrete._ProvisionedReadCapacityAutoScalingSettings.is_Some) converted.ProvisionedReadCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M42_ProvisionedReadCapacityAutoScalingSettings(concrete._ProvisionedReadCapacityAutoScalingSettings); if (concrete._ProvisionedWriteCapacityUnits.is_Some) converted.ProvisionedWriteCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M29_ProvisionedWriteCapacityUnits(concrete._ProvisionedWriteCapacityUnits); if (concrete._ProvisionedWriteCapacityAutoScalingSettings.is_Some) converted.ProvisionedWriteCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M43_ProvisionedWriteCapacityAutoScalingSettings(concrete._ProvisionedWriteCapacityAutoScalingSettings); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsDescription value) { Amazon.DynamoDBv2.IndexStatus var_indexStatus = value.IndexStatus; long? var_provisionedReadCapacityUnits = value.ProvisionedReadCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_provisionedReadCapacityAutoScalingSettings = value.ProvisionedReadCapacityAutoScalingSettings; long? var_provisionedWriteCapacityUnits = value.ProvisionedWriteCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_provisionedWriteCapacityAutoScalingSettings = value.ProvisionedWriteCapacityAutoScalingSettings; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M11_IndexStatus(var_indexStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M28_ProvisionedReadCapacityUnits(var_provisionedReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M42_ProvisionedReadCapacityAutoScalingSettings(var_provisionedReadCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M29_ProvisionedWriteCapacityUnits(var_provisionedWriteCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M43_ProvisionedWriteCapacityAutoScalingSettings(var_provisionedWriteCapacityAutoScalingSettings) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList__M6_member).ToArray()); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_CsvHeader (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_CsvHeader (string value) { return Dafny.Sequence.FromString(value); } internal static int FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject (int value) { return value; } internal static int ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject (int value) { return value; } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double (Dafny.ISequence value) { return BitConverter.ToDouble(value.CloneAsArray(), 0); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double (double value) { return Dafny.Sequence.FromArray(BitConverter.GetBytes(value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsUpdate)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedReadCapacityUnits.is_Some) converted.ProvisionedReadCapacityUnits = (long) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M28_ProvisionedReadCapacityUnits(concrete._ProvisionedReadCapacityUnits); if (concrete._ProvisionedReadCapacityAutoScalingSettingsUpdate.is_Some) converted.ProvisionedReadCapacityAutoScalingSettingsUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M48_ProvisionedReadCapacityAutoScalingSettingsUpdate(concrete._ProvisionedReadCapacityAutoScalingSettingsUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexSettingsUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexSettingsUpdate value) { long? var_provisionedReadCapacityUnits = value.ProvisionedReadCapacityUnits; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_provisionedReadCapacityAutoScalingSettingsUpdate = value.ProvisionedReadCapacityAutoScalingSettingsUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexSettingsUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M28_ProvisionedReadCapacityUnits(var_provisionedReadCapacityUnits) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M48_ProvisionedReadCapacityAutoScalingSettingsUpdate(var_provisionedReadCapacityAutoScalingSettingsUpdate) ) ; } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList (Dafny.ISequence value) { return new System.Collections.Generic.List(value.Elements.Select(FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList__M6_member)); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList (System.Collections.Generic.List value) { return Dafny.Sequence.FromArray(value.Select(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList__M6_member).ToArray()); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingUpdate value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingUpdate concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingUpdate)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedReadCapacityAutoScalingUpdate.is_Some) converted.ProvisionedReadCapacityAutoScalingUpdate = (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M40_ProvisionedReadCapacityAutoScalingUpdate(concrete._ProvisionedReadCapacityAutoScalingUpdate); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingUpdate ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingUpdate value) { string var_indexName = value.IndexName; Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate var_provisionedReadCapacityAutoScalingUpdate = value.ProvisionedReadCapacityAutoScalingUpdate; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingUpdate ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M40_ProvisionedReadCapacityAutoScalingUpdate(var_provisionedReadCapacityAutoScalingUpdate) ) ; } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest__M4_Item (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_PutRequest__M4_Item (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_PutItemInputAttributeMap(value); } internal static System.Collections.Generic.Dictionary FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest__M3_Key (Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static Dafny.IMap, software.amazon.cryptography.services.dynamodb.internaldafny.types._IAttributeValue> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_DeleteRequest__M3_Key (System.Collections.Generic.Dictionary value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S3_Key(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride__M17_ReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride__M17_ReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S42_ReplicaGlobalSecondaryIndexDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList__M6_member (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_NonKeyAttributeName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_NonKeyAttributeNameList__M6_member (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_NonKeyAttributeName(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_KeySchema (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M9_KeySchema (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M10_Projection (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Projection) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_LocalSecondaryIndexInfo__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection((Amazon.DynamoDBv2.Model.Projection) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static System.Collections.Generic.List FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_KeySchema (Wrappers_Compile._IOption> value) { return value.is_None ? (System.Collections.Generic.List) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M9_KeySchema (System.Collections.Generic.List value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_KeySchema((System.Collections.Generic.List) value)); } internal static Amazon.DynamoDBv2.Model.Projection FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M10_Projection (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.Projection) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M10_Projection (Amazon.DynamoDBv2.Model.Projection value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection((Amazon.DynamoDBv2.Model.Projection) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughput FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M21_ProvisionedThroughput (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughput) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_GlobalSecondaryIndexInfo__M21_ProvisionedThroughput (Amazon.DynamoDBv2.Model.ProvisionedThroughput value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_ProvisionedThroughput((Amazon.DynamoDBv2.Model.ProvisionedThroughput) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S32_AutoScalingPolicyDescriptionList__M6_member (Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Amazon.DynamoDBv2.IndexStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M11_IndexStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.IndexStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M11_IndexStatus (Amazon.DynamoDBv2.IndexStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus((Amazon.DynamoDBv2.IndexStatus) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M28_ProvisionedReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M28_ProvisionedReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M42_ProvisionedReadCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M42_ProvisionedReadCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M29_ProvisionedWriteCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M29_ProvisionedWriteCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M43_ProvisionedWriteCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S46_ReplicaGlobalSecondaryIndexSettingsDescription__M43_ProvisionedWriteCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingDescription value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S53_ReplicaGlobalSecondaryIndexAutoScalingDescriptionList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static long? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M28_ProvisionedReadCapacityUnits (Wrappers_Compile._IOption value) { return value.is_None ? (long?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M28_ProvisionedReadCapacityUnits (long? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_PositiveLongObject((long) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M48_ProvisionedReadCapacityAutoScalingSettingsUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S41_ReplicaGlobalSecondaryIndexSettingsUpdate__M48_ProvisionedReadCapacityAutoScalingSettingsUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList__M6_member (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndex value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex(value); } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ReplicaGlobalSecondaryIndexList__M6_member (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex(value); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M40_ProvisionedReadCapacityAutoScalingUpdate (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S44_ReplicaGlobalSecondaryIndexAutoScalingUpdate__M40_ProvisionedReadCapacityAutoScalingUpdate (Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_AutoScalingSettingsUpdate((Amazon.DynamoDBv2.Model.AutoScalingSettingsUpdate) value)); } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexDescription)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexDescription value) { string var_indexName = value.IndexName; Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_NonKeyAttributeName (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_NonKeyAttributeName (string value) { return Dafny.Sequence.FromString(value); } internal static Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyDescription)value; Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription converted = new Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription(); if (concrete._PolicyName.is_Some) converted.PolicyName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M10_PolicyName(concrete._PolicyName); if (concrete._TargetTrackingScalingPolicyConfiguration.is_Some) converted.TargetTrackingScalingPolicyConfiguration = (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M40_TargetTrackingScalingPolicyConfiguration(concrete._TargetTrackingScalingPolicyConfiguration); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingPolicyDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription (Amazon.DynamoDBv2.Model.AutoScalingPolicyDescription value) { string var_policyName = value.PolicyName; Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription var_targetTrackingScalingPolicyConfiguration = value.TargetTrackingScalingPolicyConfiguration; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingPolicyDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M10_PolicyName(var_policyName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M40_TargetTrackingScalingPolicyConfiguration(var_targetTrackingScalingPolicyConfiguration) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingDescription)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription(); if (concrete._IndexName.is_Some) converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M9_IndexName(concrete._IndexName); if (concrete._IndexStatus.is_Some) converted.IndexStatus = (Amazon.DynamoDBv2.IndexStatus) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M11_IndexStatus(concrete._IndexStatus); if (concrete._ProvisionedReadCapacityAutoScalingSettings.is_Some) converted.ProvisionedReadCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M42_ProvisionedReadCapacityAutoScalingSettings(concrete._ProvisionedReadCapacityAutoScalingSettings); if (concrete._ProvisionedWriteCapacityAutoScalingSettings.is_Some) converted.ProvisionedWriteCapacityAutoScalingSettings = (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M43_ProvisionedWriteCapacityAutoScalingSettings(concrete._ProvisionedWriteCapacityAutoScalingSettings); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndexAutoScalingDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndexAutoScalingDescription value) { string var_indexName = value.IndexName; Amazon.DynamoDBv2.IndexStatus var_indexStatus = value.IndexStatus; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_provisionedReadCapacityAutoScalingSettings = value.ProvisionedReadCapacityAutoScalingSettings; Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription var_provisionedWriteCapacityAutoScalingSettings = value.ProvisionedWriteCapacityAutoScalingSettings; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndexAutoScalingDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M9_IndexName(var_indexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M11_IndexStatus(var_indexStatus) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M42_ProvisionedReadCapacityAutoScalingSettings(var_provisionedReadCapacityAutoScalingSettings) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M43_ProvisionedWriteCapacityAutoScalingSettings(var_provisionedWriteCapacityAutoScalingSettings) ) ; } internal static Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex (software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndex value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndex concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndex)value; Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex converted = new Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex(); converted.IndexName = (string) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M9_IndexName(concrete._IndexName); if (concrete._ProvisionedThroughputOverride.is_Some) converted.ProvisionedThroughputOverride = (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M29_ProvisionedThroughputOverride(concrete._ProvisionedThroughputOverride); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IReplicaGlobalSecondaryIndex ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex (Amazon.DynamoDBv2.Model.ReplicaGlobalSecondaryIndex value) { Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride var_provisionedThroughputOverride = value.ProvisionedThroughputOverride; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.ReplicaGlobalSecondaryIndex ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M9_IndexName(value.IndexName) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M29_ProvisionedThroughputOverride(var_provisionedThroughputOverride) ) ; } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ReplicaGlobalSecondaryIndexDescription__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride((Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M10_PolicyName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M10_PolicyName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S21_AutoScalingPolicyName((string) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M40_TargetTrackingScalingPolicyConfiguration (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_AutoScalingPolicyDescription__M40_TargetTrackingScalingPolicyConfiguration (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription((Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M9_IndexName (Wrappers_Compile._IOption> value) { return value.is_None ? (string) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value.Extract()); } internal static Wrappers_Compile._IOption> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M9_IndexName (string value) { return value == null ? Wrappers_Compile.Option>.create_None() : Wrappers_Compile.Option>.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName((string) value)); } internal static Amazon.DynamoDBv2.IndexStatus FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M11_IndexStatus (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.IndexStatus) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M11_IndexStatus (Amazon.DynamoDBv2.IndexStatus value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S11_IndexStatus((Amazon.DynamoDBv2.IndexStatus) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M42_ProvisionedReadCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M42_ProvisionedReadCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M43_ProvisionedWriteCapacityAutoScalingSettings (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S49_ReplicaGlobalSecondaryIndexAutoScalingDescription__M43_ProvisionedWriteCapacityAutoScalingSettings (Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_AutoScalingSettingsDescription((Amazon.DynamoDBv2.Model.AutoScalingSettingsDescription) value)); } internal static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M9_IndexName (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M9_IndexName (string value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S9_IndexName(value); } internal static Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M29_ProvisionedThroughputOverride (Wrappers_Compile._IOption value) { return value.is_None ? (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_ReplicaGlobalSecondaryIndex__M29_ProvisionedThroughputOverride (Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ProvisionedThroughputOverride((Amazon.DynamoDBv2.Model.ProvisionedThroughputOverride) value)); } internal static Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription (software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationDescription value) { software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationDescription concrete = (software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationDescription)value; Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription converted = new Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription(); if (concrete._DisableScaleIn.is_Some) converted.DisableScaleIn = (bool) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M14_DisableScaleIn(concrete._DisableScaleIn); if (concrete._ScaleInCooldown.is_Some) converted.ScaleInCooldown = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M15_ScaleInCooldown(concrete._ScaleInCooldown); if (concrete._ScaleOutCooldown.is_Some) converted.ScaleOutCooldown = (int) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M16_ScaleOutCooldown(concrete._ScaleOutCooldown); converted.TargetValue = (double) FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M11_TargetValue(concrete._TargetValue); return converted; } internal static software.amazon.cryptography.services.dynamodb.internaldafny.types._IAutoScalingTargetTrackingScalingPolicyConfigurationDescription ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription (Amazon.DynamoDBv2.Model.AutoScalingTargetTrackingScalingPolicyConfigurationDescription value) { bool? var_disableScaleIn = value.DisableScaleIn; int? var_scaleInCooldown = value.ScaleInCooldown; int? var_scaleOutCooldown = value.ScaleOutCooldown; return new software.amazon.cryptography.services.dynamodb.internaldafny.types.AutoScalingTargetTrackingScalingPolicyConfigurationDescription ( ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M14_DisableScaleIn(var_disableScaleIn) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M15_ScaleInCooldown(var_scaleInCooldown) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M16_ScaleOutCooldown(var_scaleOutCooldown) , ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M11_TargetValue((int)value.TargetValue) ) ; } internal static bool? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M14_DisableScaleIn (Wrappers_Compile._IOption value) { return value.is_None ? (bool?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M14_DisableScaleIn (bool? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_BooleanObject((bool) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M15_ScaleInCooldown (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M15_ScaleInCooldown (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject((int) value)); } internal static int? FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M16_ScaleOutCooldown (Wrappers_Compile._IOption value) { return value.is_None ? (int?) null : FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject(value.Extract()); } internal static Wrappers_Compile._IOption ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M16_ScaleOutCooldown (int? value) { return value == null ? Wrappers_Compile.Option.create_None() : Wrappers_Compile.Option.create_Some(ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S13_IntegerObject((int) value)); } internal static double FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M11_TargetValue (Dafny.ISequence value) { return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double(value); } internal static Dafny.ISequence ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S62_AutoScalingTargetTrackingScalingPolicyConfigurationDescription__M11_TargetValue (double value) { return ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S6_Double(value); } internal static string FromDafny_N6_smithy__N3_api__S6_String (Dafny.ISequence value) { return new string(value.Elements); } internal static Dafny.ISequence ToDafny_N6_smithy__N3_api__S6_String (string value) { return Dafny.Sequence.FromString(value); } public static System.Exception FromDafny_CommonError(software.amazon.cryptography.services.dynamodb.internaldafny.types._IError value) { switch(value) { case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupInUseException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_BackupNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ContinuousBackupsUnavailableException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_DuplicateItemException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportConflictException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ExportNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableAlreadyExistsException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_GlobalTableNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IdempotentParameterMismatchException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportConflictException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ImportNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_IndexNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InternalServerError dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidExportTimeException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_InvalidRestoreTimeException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ItemCollectionSizeLimitExceededException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_LimitExceededException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_PointInTimeRecoveryUnavailableException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ProvisionedThroughputExceededException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaAlreadyExistsException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ReplicaNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_RequestLimitExceeded dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceInUseException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ResourceNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableAlreadyExistsException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableInUseException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TableNotFoundException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionCanceledException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionConflictException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_TransactionInProgressException dafnyVal: return FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException(dafnyVal); case software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_Opaque dafnyVal: return new SystemException(dafnyVal._obj.ToString()); default: // The switch MUST be complete for _IError, so `value` MUST NOT be an _IError. (How did you get here?) return new SystemException();; } } public static software.amazon.cryptography.services.dynamodb.internaldafny.types._IError ToDafny_CommonError(System.Exception value) { switch (value) { case Amazon.DynamoDBv2.Model.BackupInUseException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_BackupInUseException(e); case Amazon.DynamoDBv2.Model.BackupNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_BackupNotFoundException(e); case Amazon.DynamoDBv2.Model.ConditionalCheckFailedException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException(e); case Amazon.DynamoDBv2.Model.ContinuousBackupsUnavailableException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S37_ContinuousBackupsUnavailableException(e); case Amazon.DynamoDBv2.Model.DuplicateItemException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_DuplicateItemException(e); case Amazon.DynamoDBv2.Model.ExportConflictException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportConflictException(e); case Amazon.DynamoDBv2.Model.ExportNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ExportNotFoundException(e); case Amazon.DynamoDBv2.Model.GlobalTableAlreadyExistsException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S33_GlobalTableAlreadyExistsException(e); case Amazon.DynamoDBv2.Model.GlobalTableNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_GlobalTableNotFoundException(e); case Amazon.DynamoDBv2.Model.IdempotentParameterMismatchException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S36_IdempotentParameterMismatchException(e); case Amazon.DynamoDBv2.Model.ImportConflictException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportConflictException(e); case Amazon.DynamoDBv2.Model.ImportNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S23_ImportNotFoundException(e); case Amazon.DynamoDBv2.Model.IndexNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_IndexNotFoundException(e); case Amazon.DynamoDBv2.Model.InternalServerErrorException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_InternalServerError(e); case Amazon.DynamoDBv2.Model.InvalidExportTimeException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S26_InvalidExportTimeException(e); case Amazon.DynamoDBv2.Model.InvalidRestoreTimeException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_InvalidRestoreTimeException(e); case Amazon.DynamoDBv2.Model.ItemCollectionSizeLimitExceededException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S40_ItemCollectionSizeLimitExceededException(e); case Amazon.DynamoDBv2.Model.LimitExceededException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_LimitExceededException(e); case Amazon.DynamoDBv2.Model.PointInTimeRecoveryUnavailableException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S39_PointInTimeRecoveryUnavailableException(e); case Amazon.DynamoDBv2.Model.ProvisionedThroughputExceededException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S38_ProvisionedThroughputExceededException(e); case Amazon.DynamoDBv2.Model.ReplicaAlreadyExistsException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S29_ReplicaAlreadyExistsException(e); case Amazon.DynamoDBv2.Model.ReplicaNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S24_ReplicaNotFoundException(e); case Amazon.DynamoDBv2.Model.RequestLimitExceededException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S20_RequestLimitExceeded(e); case Amazon.DynamoDBv2.Model.ResourceInUseException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_ResourceInUseException(e); case Amazon.DynamoDBv2.Model.ResourceNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S25_ResourceNotFoundException(e); case Amazon.DynamoDBv2.Model.TableAlreadyExistsException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S27_TableAlreadyExistsException(e); case Amazon.DynamoDBv2.Model.TableInUseException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S19_TableInUseException(e); case Amazon.DynamoDBv2.Model.TableNotFoundException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S22_TableNotFoundException(e); case Amazon.DynamoDBv2.Model.TransactionCanceledException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionCanceledException(e); case Amazon.DynamoDBv2.Model.TransactionConflictException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S28_TransactionConflictException(e); case Amazon.DynamoDBv2.Model.TransactionInProgressException e: return TypeConversion.ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_TransactionInProgressException(e); default: return new software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_Opaque(value); } } } }