GetAggregateConfigRuleComplianceSummaryResponse.fromJson constructor

GetAggregateConfigRuleComplianceSummaryResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetAggregateConfigRuleComplianceSummaryResponse.fromJson(
    Map<String, dynamic> json) {
  return GetAggregateConfigRuleComplianceSummaryResponse(
    aggregateComplianceCounts: (json['AggregateComplianceCounts'] as List?)
        ?.whereNotNull()
        .map((e) =>
            AggregateComplianceCount.fromJson(e as Map<String, dynamic>))
        .toList(),
    groupByKey: json['GroupByKey'] as String?,
    nextToken: json['NextToken'] as String?,
  );
}