CreateIAMPolicyAssignmentResponse.fromJson constructor
CreateIAMPolicyAssignmentResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CreateIAMPolicyAssignmentResponse.fromJson(
Map<String, dynamic> json) {
return CreateIAMPolicyAssignmentResponse(
assignmentId: json['AssignmentId'] as String?,
assignmentName: json['AssignmentName'] as String?,
assignmentStatus:
(json['AssignmentStatus'] as String?)?.toAssignmentStatus(),
identities: (json['Identities'] as Map<String, dynamic>?)?.map((k, e) =>
MapEntry(
k, (e as List).whereNotNull().map((e) => e as String).toList())),
policyArn: json['PolicyArn'] as String?,
requestId: json['RequestId'] as String?,
);
}