CreateDataSourceResponse.fromJson constructor

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

Implementation

factory CreateDataSourceResponse.fromJson(Map<String, dynamic> json) {
  return CreateDataSourceResponse(
    arn: json['Arn'] as String?,
    creationStatus: (json['CreationStatus'] as String?)?.toResourceStatus(),
    dataSourceId: json['DataSourceId'] as String?,
    requestId: json['RequestId'] as String?,
  );
}