GetProvisionedConcurrencyConfigResponse.fromJson constructor

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

Implementation

factory GetProvisionedConcurrencyConfigResponse.fromJson(
    Map<String, dynamic> json) {
  return GetProvisionedConcurrencyConfigResponse(
    allocatedProvisionedConcurrentExecutions:
        json['AllocatedProvisionedConcurrentExecutions'] as int?,
    availableProvisionedConcurrentExecutions:
        json['AvailableProvisionedConcurrentExecutions'] as int?,
    lastModified: json['LastModified'] as String?,
    requestedProvisionedConcurrentExecutions:
        json['RequestedProvisionedConcurrentExecutions'] as int?,
    status: (json['Status'] as String?)?.toProvisionedConcurrencyStatusEnum(),
    statusReason: json['StatusReason'] as String?,
  );
}