toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'closedShards': ?closedShards,
'creationTimestamp': ?creationTimestamp,
'encryptionType': ?encryptionType,
'id': ?id,
'kmsKeyId': ?kmsKeyId,
'maxRecordSizeInKib': ?maxRecordSizeInKib,
'name': ?name,
'openShards': ?openShards,
'region': ?region,
'retentionPeriod': ?retentionPeriod,
'shardLevelMetrics': ?shardLevelMetrics,
'status': ?status,
'streamModeDetails': ?(() { final guardedValue = streamModeDetails; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetStreamStreamModeDetail, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'tags': ?tags,
'warmThroughputs': ?(() { final guardedValue = warmThroughputs; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetStreamWarmThroughput, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
};
}